Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

11158 - add event handlers #11255

Merged
merged 1 commit into from May 21, 2016
Merged

11158 - add event handlers #11255

merged 1 commit into from May 21, 2016

Conversation

@s-baldrick
Copy link
Contributor

s-baldrick commented May 18, 2016

Thank you for contributing to Servo! Please replace each [ ] by [X] when the step is complete, and replace __ with appropriate data:

  • ./mach build -d does not report any errors
  • ./mach test-tidy --faster does not report any errors
  • These changes fix #11158 (github issue number if applicable).

Either:

  • There are tests for these changes OR
  • These changes do not require tests because ____

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


This change is Reviewable

@highfive
Copy link

highfive commented May 18, 2016

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

@highfive
Copy link

highfive commented May 18, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/document.rs, components/script/dom/eventtarget.rs, components/script/dom/webidls/EventHandler.webidl, components/script/dom/macros.rs, components/script/dom/webidls/Document.webidl, components/script/dom/htmlelement.rs, components/script/dom/webidls/BeforeUnloadEvent.webidl, components/script/dom/webidls/HTMLFrameSetElement.webidl, components/script/dom/mod.rs, components/script/dom/webidls/HTMLElement.webidl, components/script/dom/beforeunloadevent.rs, components/script/dom/window.rs, components/script/dom/htmlframesetelement.rs, components/script/dom/htmlbodyelement.rs
@highfive
Copy link

highfive commented May 18, 2016

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@wafflespeanut
Copy link
Member

wafflespeanut commented May 19, 2016

r? @nox or @jdm or someone else...

@highfive highfive assigned nox and unassigned wafflespeanut May 19, 2016
@cbrewster
Copy link
Member

cbrewster commented May 19, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2016

Trying commit 462fca1 with merge b377ff2...

bors-servo added a commit that referenced this pull request May 19, 2016
11158 - add event handlers

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 --faster` does not report any errors
- [X] These changes fix #11158 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ____

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2016

💔 Test failed - linux-rel

@highfive
Copy link

highfive commented May 19, 2016

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute oncancel

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onclose

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute oncontextmenu

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute oncuechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondrag

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragend

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragenter

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragexit

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragleave

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragover

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondragstart

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondrop

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute ondurationchange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onended

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onfocus

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute oninvalid

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onloadstart

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmousedown

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmouseenter

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmouseleave

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmousemove

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmouseout

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onmouseup

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onratechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onscroll

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onseeked

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onseeking

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onselect

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onshow

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onstalled

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: attribute onvolumechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;oncancel&#34; with the proper type (98)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onclose&#34; with the proper type (103)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;oncontextmenu&#34; with the proper type (104)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;oncuechange&#34; with the proper type (105)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondrag&#34; with the proper type (107)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragend&#34; with the proper type (108)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragenter&#34; with the proper type (109)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragexit&#34; with the proper type (110)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragleave&#34; with the proper type (111)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragover&#34; with the proper type (112)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondragstart&#34; with the proper type (113)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondrop&#34; with the proper type (114)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;ondurationchange&#34; with the proper type (115)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onended&#34; with the proper type (117)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onfocus&#34; with the proper type (119)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;oninvalid&#34; with the proper type (121)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onloadstart&#34; with the proper type (128)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmousedown&#34; with the proper type (129)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmouseenter&#34; with the proper type (130)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmouseleave&#34; with the proper type (131)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmousemove&#34; with the proper type (132)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmouseout&#34; with the proper type (133)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onmouseup&#34; with the proper type (135)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onratechange&#34; with the proper type (141)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onscroll&#34; with the proper type (144)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onseeked&#34; with the proper type (145)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onseeking&#34; with the proper type (146)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inh</span><span class="stdout">erit property &#34;onselect&#34; with the proper type (147)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onshow&#34; with the proper type (148)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onstalled&#34; with the proper type (150)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: new Document() must inherit property &#34;onvolumechange&#34; with the proper type (155)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;oncancel&#34; with the proper type (98)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onclose&#34; with the proper type (103)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;oncontextmenu&#34; with the proper type (104)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;oncuechange&#34; with the proper type (105)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondrag&#34; with the proper type (107)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragend&#34; with the proper type (108)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragenter&#34; with the proper type (109)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragexit&#34; with the proper type (110)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragleave&#34; with the proper type (111)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragover&#34; with the proper type (112)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondragstart&#34; with the proper type (113)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondrop&#34; with the proper type (114)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;ondurationchange&#34; with the proper type (115)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onended&#34; with the proper type (117)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onfocus&#34; with the proper type (119)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;oninvalid&#34; with the proper type (121)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onloadstart&#34; with the proper type (128)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmousedown&#34; with the proper type (129)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmouseenter&#34; with the proper type (130)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmouseleave&#34; with the proper type (131)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmousemove&#34; with the proper type (132)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmouseout&#34; with the proper type (133)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onmouseup&#34; with the proper type (135)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onratechange&#34; with the proper type (141)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onscroll&#34; with the proper type (144)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onseeked&#34; with the proper type (145)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onseeking&#34; with the proper type (146)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onselect&#34; with the proper type (147)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onshow&#34; with the proper type (148)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onstalled&#34; with the proper type (150)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] Document interface: document.implementation.createDocument(null, &#34;&#34;, null) must inherit property &#34;onvolumechange&#34; with the proper type (155)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute oncancel

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onclose

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute oncontextmenu

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute oncuechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondrag

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragend

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragenter

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragexit

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragleave

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragover

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondragstart

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondrop

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute ondurationchange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onended

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onfocus

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute oninvalid

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onloadstart

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL]</span><span class="stdout"> HTMLElement interface: attribute onmousedown

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onmouseenter

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onmouseleave

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onmousemove

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onmouseout

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onmouseup

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onratechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onscroll

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onseeked

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onseeking

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onselect

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onshow

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onstalled

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: attribute onvolumechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;oncancel&#34; with the proper type (36)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onclose&#34; with the proper type (41)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;oncontextmenu&#34; with the proper type (42)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;oncuechange&#34; with the proper type (43)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondrag&#34; with the proper type (45)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragend&#34; with the proper type (46)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragenter&#34; with the proper type (47)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragexit&#34; with the proper type (48)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragleave&#34; with the proper type (49)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragover&#34; with the proper type (50)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondragstart&#34; with the proper type (51)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondrop&#34; with the proper type (52)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;ondurationchange&#34; with the proper type (53)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onended&#34; with the proper type (55)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onfocus&#34; with the proper type (57)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;oninvalid&#34; with the proper type (59)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onloadstart&#34; with the proper type (66)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmousedown&#34; with the proper type (67)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmouseenter&#34; with the proper type (68)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmouseleave&#34; with the proper type (69)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmousemove&#34; with the proper type (70)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmouseout&#34; with the proper type (71)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onmouseup&#34; with the proper type (73)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onratechange&#34; with the proper type (79)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onscroll&#34; with the proper type (82)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onseeked&#34; with the proper type (83)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onseeking&#34; with the proper type (84)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onselect&#34; with the proper type (85)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onshow&#34; with the proper type (86)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onstalled&#34; with the proper type (88)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLElement interface: document.createElement(&#34;noscript&#34;) must inherit property &#34;onvolumechange&#34; with the proper type (93)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onafterprint

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onbeforeprint

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onbeforeunload

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onhashchange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onlanguagechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onmessage

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onoffline

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute ononline

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onpagehide

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onpageshow

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: attribute onpopstate

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onafterprint&#34; with the proper type (6)

 </span><span class="stdout"> ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onbeforeprint&#34; with the proper type (7)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onbeforeunload&#34; with the proper type (8)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onhashchange&#34; with the proper type (9)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onlanguagechange&#34; with the proper type (10)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onmessage&#34; with the proper type (11)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onoffline&#34; with the proper type (12)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;ononline&#34; with the proper type (13)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onpagehide&#34; with the proper type (14)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onpageshow&#34; with the proper type (15)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLBodyElement interface: document.createElement(&#34;body&#34;) must inherit property &#34;onpopstate&#34; with the proper type (16)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface: existence and properties of interface object

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface object length

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface object name

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface: existence and properties of interface prototype object

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface: existence and properties of interface prototype object&#39;s &#34;constructor&#34; property

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] BeforeUnloadEvent interface: attribute returnValue

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onafterprint

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onbeforeprint

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onbeforeunload

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onhashchange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onlanguagechange

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onmessage

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onoffline

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute ononline

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onpagehide

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onpageshow

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onpopstate

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onstorage

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: attribute onunload

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onafterprint&#34; with the proper type (2)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onbeforeprint&#34; with the proper type (3)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onbeforeunload&#34; with the proper type (4)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onhashchange&#34; with the proper type (5)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onlanguagechange&#34; with the proper type (6)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onmessage&#34; with the proper type (7)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onoffline&#34; with the proper type (8)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;ononline&#34; with the proper type (9)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onpagehide&#34; with the proper type (10)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onpageshow&#34; with the proper type (11)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onpopstate&#34; with the proper type (12)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onstorage&#34; with the proper type (13)

  ▶ Unexpected subtest result in /html/dom/interfaces.html:
  └ PASS [expected FAIL] HTMLFrameSetElement interface: document.createElement(&#34;frameset&#34;) must inherit property &#34;onunload&#34; with the proper type (14)

  ▶ Unexpected subtest result in /html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src-not-in-document.html:
  └ PASS [expected FAIL] invoking load by setting src on video not in a document

  ▶ Unexpected subtest result in /html/semantics/embedded-content/media-elements/loading-the-media-resource/resource-selection-invoke-set-src.html:
  └ PASS [expected FAIL] invoking load by setting src

  ▶ Unexpected subtest result in /html/semantics/embedded-content/media-elements/loading-the-media-resource/load-removes-queued-error-event.html:
  │ FAIL [expected TIMEOUT] video error event
  │   → assert_array_equals: property 1, expected &#34;loadstart&#34; but got &#34;error&#34;
  │ 
  │ v.onerror&lt;@http://web-platform.test:8000/html/semantics/embedded-content/media-elements/loading-the-media-resource/load-removes-queued-error-event.html:15:7
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  └ Test.prototype.step_func/&lt;@http://web-platform.test:8000/resources/testharness.js:1421:20

  ▶ Unexpected subtest result in /html/semantics/embedded-content/media-elements/loading-the-media-resource/load-events-networkState.html:
  └ PASS [expected TIMEOUT] NETWORK_IDLE

  ▶ Unexpected subtest result in /html/semantics/embedded-content/media-elements/loading-the-media-resource/load-events-networkState.html:
  └ PASS [expected TIMEOUT] NETWORK_LOADING

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] focus

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] scroll

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] afterprint

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] beforeprint

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] beforeunload

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/ev</span><span class="stdout">ent-handler-attributes-body-window.html:
  └ PASS [expected FAIL] hashchange

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] languagechange

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] message

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] offline

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] online

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] pagehide

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] pageshow

  ▶ Unexpected subtest result in /html/webappapis/scripting/events/event-handler-attributes-body-window.html:
  └ PASS [expected FAIL] popstate

  ▶ Unexpected subtest result in /_mozilla/mozilla/interfaces.html:
  │ FAIL [expected PASS] Interfaces exposed on the window
  │   → assert_true: If this is failing: DANGER, are you sure you want to expose the new interface BeforeUnloadEvent to all webpages as a property on the window? Do not make a change to this file without review from jdm or Ms2ger for that specific change! expected true got false
  │ 
  │ @http://web-platform.test:8000/_mozilla/mozilla/interfaces.html:254:5
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1397:20
  │ test@http://web-platform.test:8000/resources/testharness.js:495:9
  └ @http://web-platform.test:8000/_mozilla/mozilla/interfaces.html:248:1
@cbrewster
Copy link
Member

cbrewster commented May 19, 2016

@s-baldrick here is a guide on updating the test expectations https://github.com/servo/servo/tree/master/tests/wpt#updating-test-expectations.

On the failure in /_mozilla/mozilla/interfaces.html you will need to add BeforeUnloadEvent to the list of exposed properties.

Thank you for this work!

use string_cache::Atom;
use util::str::DOMString;

#[dom_struct]

This comment has been minimized.

Copy link
@cbrewster

cbrewster May 19, 2016

Member

Could we add a comment linking to https://html.spec.whatwg.org/multipage/#beforeunloadevent above this line?

@KiChjang
Copy link
Member

KiChjang commented May 19, 2016

@bors-servo delegate=ConnorGBrewster

@bors-servo
Copy link
Contributor

bors-servo commented May 19, 2016

✌️ @ConnorGBrewster can now approve this pull request

@KiChjang
Copy link
Member

KiChjang commented May 19, 2016

r? @ConnorGBrewster

@highfive highfive assigned cbrewster and unassigned nox May 19, 2016
@cbrewster
Copy link
Member

cbrewster commented May 19, 2016

Looks good! Thank you for doing this! After fixing my suggestions + updating test expectations, this should be good!

Previously, KiChjang (Keith Yeung) wrote…

r? @ConnorGBrewster


Reviewed 1 of 6 files at r2, 4 of 6 files at r3, 7 of 9 files at r4.
Review status: 12 of 14 files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


components/script/dom/beforeunloadevent.rs, line 52 [r4] (raw file):

    }

    pub fn Constructor(global: GlobalRef,

This constructor isn't needed, there isn't one declared in the webidl.


Comments from Reviewable

@s-baldrick
Copy link
Contributor Author

s-baldrick commented May 19, 2016

Thanks for the feedback :)

Previously, ConnorGBrewster (Connor Brewster) wrote…

Looks good! Thank you for doing this! After fixing my suggestions + updating test expectations, this should be good!


Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.


Comments from Reviewable

@highfive
Copy link

highfive commented May 19, 2016

New code was committed to pull request.

@s-baldrick
Copy link
Contributor Author

s-baldrick commented May 19, 2016

Review status: 13 of 21 files reviewed at latest revision, 2 unresolved discussions.


components/script/dom/beforeunloadevent.rs, line 19 [r4] (raw file):

Previously, ConnorGBrewster (Connor Brewster) wrote…

Could we add a comment linking to https://html.spec.whatwg.org/multipage/#beforeunloadevent above this line?

Done.

components/script/dom/beforeunloadevent.rs, line 52 [r4] (raw file):

Previously, ConnorGBrewster (Connor Brewster) wrote…

This constructor isn't needed, there isn't one declared in the webidl.

Done.

Comments from Reviewable

@cbrewster
Copy link
Member

cbrewster commented May 20, 2016

@s-baldrick could you squash these commits? Then it would be good to go

Adding:
* global event handlers,
* window event handlers,
* document and element handlers,
* and support for BeforeUnloadEvent.

Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
@nox
Copy link
Member

nox commented May 20, 2016

@bors-servo r+

Git.

@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

📌 Commit d1af39c has been approved by nox

@highfive highfive assigned nox and unassigned cbrewster May 20, 2016
@nox
Copy link
Member

nox commented May 20, 2016

Ugh.

@bors-servo r=ConnorGBrewster retry

@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

💡 This pull request was already approved, no need to approve it again.

@highfive highfive assigned cbrewster and unassigned nox May 20, 2016
@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

📌 Commit d1af39c has been approved by ConnorGBrewster

@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

Testing commit d1af39c with merge 1986458...

bors-servo added a commit that referenced this pull request May 20, 2016
11158 - add event handlers

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 --faster` does not report any errors
- [X] These changes fix #11158 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ____

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 20, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 20, 2016

  ▶ TIMEOUT [expected OK] /html/dom/reflection-embedded.html
  │ 
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf   6:     &#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY</span><span class="stdout">::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, ../src/libstd/rand/mod.rs:159
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │ &lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │ thread &#39;http_loader for http://web-platform.test:8000/html/dom/test-valueOf&#39; panicked at &#39;could not initialize thread_rng: Too many open files (os error 24)&#39;, /Users/servo/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs:873
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  �</span><span class="stdout">��   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fae6169 - std::rand::thread_rng::THREAD_RNG_KEY::__init::h536e3917997a1628
  │    9:        0x10facd3dc - std::rand::thread_rng::h789d00d1fce4f79b
  │   10:        0x10e254c3c - _&lt;collections..hash..map..RandomState as core..default..Default&gt;::default::ha847494db5044892
  │   11:        0x10e293950 - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_</span><span class="stdout">RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  │   18:     0x7fff8c3c1fd6 - _pthread_start
  │ stack backtrace:
  │    1:        0x10fadf1e8 - std::sys::backtrace::tracing::imp::write::h9fb600083204ae7f
  │    2:        0x10fae5735 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hca543c34f11229ac
  │    3:        0x10fae534e - std::panicking::default_hook::hc2c969e7453d080c
  │    4:        0x10f2742c2 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::ha2bd86c312dc8d7a
  │    5:        0x10faccdd2 - std::panicking::rust_panic_with_hook::hfe203e3083c2b544
  │    6:        0x10fae5cf6 - std::panicking::begin_panic::h4889569716505182
  │    7:        0x10face6c8 - std::panicking::begin_panic_fmt::h484cd47786497f03
  │    8:        0x10fab708f - rand::thread_rng::THREAD_RNG_KEY::__init::h4e1387a2e4a21393
  │    9:        0x10fab6ecc - rand::thread_rng::he394b446ab605489
  │   10:        0x10f4c05b2 - uuid::Uuid::new_v4::hc206acac9c7e580d
  │   11:        0x10e29461b - net::http_loader::load::h981055a57a1b11f1
  │   12:        0x10e28f5f2 - std::panicking::try::call::h2f55588c0568c703
  │   13:        0x10fae8ebb - __rust_try
  │   14:        0x10fae8e55 - __rust_maybe_catch_panic
  │   15:        0x10e291b74 - _&lt;F as std..boxed..FnBox&lt;A&gt;&gt;::call_box::ha5012a14880088fa
  │   16:        0x10fae4698 - std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b
  │   17:     0x7fff8c3c2059 - _pthread_body
  └   18:     0x7fff8c3c1fd6 - _pthread_start
@KiChjang
Copy link
Member

KiChjang commented May 21, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 21, 2016

Testing commit d1af39c with merge 0b6ed67...

bors-servo added a commit that referenced this pull request May 21, 2016
11158 - add event handlers

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 --faster` does not report any errors
- [X] These changes fix #11158 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ____

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255)
<!-- Reviewable:end -->
@mbrubeck
Copy link
Contributor

mbrubeck commented May 21, 2016

@bors-servo force retry

@bors-servo
Copy link
Contributor

bors-servo commented May 21, 2016

Testing commit d1af39c with merge 5fc511a...

bors-servo added a commit that referenced this pull request May 21, 2016
11158 - add event handlers

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 --faster` does not report any errors
- [X] These changes fix #11158 (github issue number if applicable).

Either:
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ____

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 21, 2016

@bors-servo bors-servo merged commit d1af39c into servo:master May 21, 2016
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request May 21, 2016
3 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

9 participants
You can’t perform that action at this time.