Skip to content

Format script component - #21737

Merged
bors-servo merged 1 commit into
servo:masterfrom
chansuke:format_script
Sep 20, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
chansuke:format_script

Conversation

@chansuke

@chansuke chansuke commented Sep 18, 2018 •

Copy link
Copy Markdown
Contributor

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix part of Format all code with rustfmt #21373.
  • These changes do not require tests because they format code only.

This change is Reviewable

@highfive

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @emilio (or someone else) soon.

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/textencoder.rs, components/script/dom/htmlbrelement.rs, components/script/dom/audiodestinationnode.rs, components/script/dom/abstractworkerglobalscope.rs, components/script/dom/htmlformcontrolscollection.rs and 352 more
  • @KiChjang: components/script/dom/textencoder.rs, components/script/dom/htmlbrelement.rs, components/script/dom/audiodestinationnode.rs, components/script/dom/abstractworkerglobalscope.rs, components/script/dom/htmlformcontrolscollection.rs and 352 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 18, 2018
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@jdm jdm mentioned this pull request Sep 18, 2018
53 tasks done
@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #21723) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Sep 18, 2018
IdToInt32(cx, id);
}*/
}
}*/}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RefCell::new(RootedTraceableSet::new());
);
thread_local!(/// TLV Holds a set of JSTraceables that need to be rooted
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> = RefCell::new(RootedTraceableSet::new()););

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use dom::bindings::codegen::Bindings::BluetoothPermissionResultBinding::BluetoothPermissionDescriptor;
use dom::bindings::codegen::Bindings::BluetoothRemoteGATTServerBinding::BluetoothRemoteGATTServerBinding::
BluetoothRemoteGATTServerMethods;
BluetoothRemoteGATTServerMethods;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
.find(|n| {
n.is::<HTMLTableSectionElement>() && n.local_name() == &local_name!("tbody")
}) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// is meant for internal use from Rust code, which
// will probably be using a native Rust filter,
// which cannot produce an Err result.
{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdm jdm removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 19, 2018
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 19, 2018
@jdm

jdm commented Sep 19, 2018

Copy link
Copy Markdown
Member

@bors-servo p=10 r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c37a345 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Sep 19, 2018
@highfive highfive assigned jdm and unassigned emilio Sep 19, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit c37a345 with merge df2adeb...

bors-servo pushed a commit that referenced this pull request Sep 19, 2018
Format script component

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix part of #21373.
- [x] These changes do not require tests because they format code only.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21737)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 19, 2018
@jdm

jdm commented Sep 20, 2018

Copy link
Copy Markdown
Member

@bors-servo retry

  • oom

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit c37a345 into servo:master Sep 20, 2018
@bors-servo bors-servo mentioned this pull request Sep 20, 2018
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants