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

'closeevent' argument for Document::createEvent #11051

Merged
merged 1 commit into from May 9, 2016

Conversation

@mrmiywj
Copy link
Contributor

mrmiywj commented May 6, 2016

Add "close event" argument for Document::createEvent
Fixes #10737


This change is Reviewable

@highfive
Copy link

highfive commented May 6, 2016

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

@highfive
Copy link

highfive commented May 6, 2016

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/document.rs, components/script/dom/closeevent.rs
@Ms2ger
Copy link
Contributor

Ms2ger commented May 6, 2016

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

📌 Commit efeddfb has been approved by Ms2ger

@Ms2ger
Copy link
Contributor

Ms2ger commented May 6, 2016

@bors-servo r-

./mach test-tidy reports

./components/script/dom/document.rs:42: use statement is not in alphabetical order
    expected: dom::errorevent::ErrorEvent
    found: dom::closeevent::CloseEvent
@highfive
Copy link

highfive commented May 6, 2016

New code was committed to pull request.

@Ms2ger
Copy link
Contributor

Ms2ger commented May 6, 2016

@bors-servo r+

Thanks again

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

📌 Commit 77a0913 has been approved by Ms2ger

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

Testing commit 77a0913 with merge bb2d56c...

bors-servo added a commit that referenced this pull request May 6, 2016
'closeevent' argument for Document::createEvent

Add "close event" argument for Document::createEvent
Fixes #10737

<!-- 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/11051)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

💔 Test failed - windows

@mbrubeck
Copy link
Contributor

mbrubeck commented May 6, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

Testing commit 77a0913 with merge 05268a8...

@bors-servo
Copy link
Contributor

bors-servo commented May 6, 2016

💔 Test failed - windows

@larsbergstrom
Copy link
Contributor

larsbergstrom commented May 6, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 7, 2016

Testing commit 77a0913 with merge 9509da3...

bors-servo added a commit that referenced this pull request May 7, 2016
'closeevent' argument for Document::createEvent

Add "close event" argument for Document::createEvent
Fixes #10737

<!-- 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/11051)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 7, 2016

💔 Test failed - mac-rel-wpt

@highfive
Copy link

highfive commented May 7, 2016

  ▶ Unexpected subtest result in /websockets/interfaces/CloseEvent/historical.html:
  │ FAIL [expected PASS] createEvent(&#34;CloseEvent&#34;)
  │   → assert_throws: function &#34;function () {
    document.createEvent(&#34;CloseEvent&#34;)
  }&#34; did not throw
  │ 
  │ @http://web-platform.test:8000/websockets/interfaces/CloseEvent/historical.html:2:3
  │ 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/websockets/interfaces/CloseEvent/historical.html:1:1
@Ms2ger
Copy link
Contributor

Ms2ger commented May 7, 2016

You can remove that part of tests/wpt/web-platform-tests/websockets/interfaces/CloseEvent/historical.html.

@Ms2ger
Copy link
Contributor

Ms2ger commented May 7, 2016

Or make a change similar to web-platform-tests/wpt#2964

fix alphabetical order

delete unused tests
@highfive
Copy link

highfive commented May 8, 2016

New code was committed to pull request.

@mrmiywj
Copy link
Contributor Author

mrmiywj commented May 8, 2016

cc @Ms2ger

@Ms2ger
Copy link
Contributor

Ms2ger commented May 9, 2016

Thanks!

@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2016

📌 Commit dfaad2d has been approved by Ms2ger

@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2016

Testing commit dfaad2d with merge a76db9a...

bors-servo added a commit that referenced this pull request May 9, 2016
'closeevent' argument for Document::createEvent

Add "close event" argument for Document::createEvent
Fixes #10737

<!-- 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/11051)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 9, 2016

@bors-servo bors-servo merged commit dfaad2d into servo:master May 9, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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.

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