Skip to content

Added a test for changing an iframe's parentage. - #11677

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:iframe-change-parentage-test
Jun 9, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:iframe-change-parentage-test

Conversation

@asajeffrey

@asajeffrey asajeffrey commented Jun 8, 2016 •

Copy link
Copy Markdown
Contributor

Add a test for what happens when an iframe's parent browsing context changes.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes

This change is Reviewable

@asajeffrey asajeffrey added A-content/dom Interacting with the DOM from web content A-testing labels Jun 8, 2016
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 8, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

r? @ConnorGBrewster

@highfive highfive assigned cbrewster and unassigned KiChjang Jun 8, 2016
@KiChjang

KiChjang commented Jun 8, 2016

Copy link
Copy Markdown
Contributor

@bors-servo delegate=ConnorGBrewster

@bors-servo

Copy link
Copy Markdown
Contributor

✌️ @ConnorGBrewster can now approve this pull request

@cbrewster

Copy link
Copy Markdown
Contributor

Looks good!
@bors-servo r+

-S-awaiting-review

Previously, bors-servo wrote…

✌️ @ConnorGBrewster can now approve this pull request


Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@cbrewster cbrewster removed the S-awaiting-review There is new code that needs to be reviewed. label Jun 8, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 23b1dc4 has been approved by ConnorGBrewster

@highfive highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 8, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 23b1dc4 with merge 588a623...

bors-servo pushed a commit that referenced this pull request Jun 8, 2016
…norGBrewster

Added a test for changing an iframe's parentage.

<!-- Please describe your changes on the following line: -->
Add a test for what happens when an iframe's parent browsing context changes.

---
<!-- 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
- [X] There are tests for these changes

<!-- 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/11677)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel

@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 8, 2016
@highfive

highfive commented Jun 8, 2016

Copy link
Copy Markdown
  ▶ CRASH [expected OK] /_mozilla/mozilla/iframe/change_parentage.html
  │ 
  │ Xlib:  extension &#34;XFree86-VidModeExtension&#34; missing on display &#34;:0&#34;.
  │ ERROR:constellation::constellation: Panic: called `Option::unwrap()` on a `None` value
  │ ERROR:constellation::constellation: Backtrace:
  │ frame #0  - 0x00007ff0a682f47d - backtrace::backtrace::trace::hccde8df28b4db2a2
  │ frame #1  - 0x00007ff0a682f405 - backtrace::capture::Backtrace::new::h42f95930bb8c5ee8
  │ frame #2  - 0x00007ff0a58865a9 - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::h89adae1a802be550
  │ frame #3  - 0x00007ff0a6820cf8 - util::panicking::initiate_panic_hook::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::he2b22674ad1748f3
  │ frame #4  - 0x00007ff0a6aeb78c - std::panicking::rust_panic_with_hook::h983af77c1a2e581b
  │ frame #5  - 0x00007ff0a6b05b01 - std::panicking::begin_panic::he426e15a3766089a
  │ frame #6  - 0x00007ff0a6aecffa - std::panicking::begin_panic_fmt::hdddb415186c241e7
  │ frame #7  - 0x00007ff0a6b05a9e - rust_begin_unwind
  │ frame #8  - 0x00007ff0a6b3c09f - core::panicking::panic_fmt::hf4e16cb7f0d41a25
  │ frame #9  - 0x00007ff0a6b3c378 - core::panicking::panic::h907815f47e914305
  │ frame #10 - 0x00007ff0a56abe01 - script::dom::event::Event::new_uninitialized::h05ae188a870e92b9
  │ frame #11 - 0x00007ff0a56b3cbb - script::dom::event::Event::new::h7a12c706eaf845bc
  │ frame #12 - 0x00007ff0a56fabbc - script::dom::eventtarget::EventTarget::fire_event::h0d5b30039f5820d2
  │ frame #13 - 0x00007ff0a58f915a - script::task_source::dom_manipulation::DOMManipulationTask::handle_task::h0ea31f97e475cb7a
  │ frame #14 - 0x00007ff0a5890aa5 - script::script_thread::ScriptThread::handle_msg_from_script::h47e979ae1e7fb676
  │ frame #15 - 0x00007ff0a58dd52f - script::script_thread::ScriptThread::handle_msgs::_$u7b$$u7b$closure$u7d$$u7d$::hb50cf7fd97943b65
  │ frame #16 - 0x00007ff0a58c58c9 - script::script_thread::ScriptThread::handle_msgs::h1e1abab71191c950
  │ frame #17 - 0x00007ff0a5884c27 - std::panicking::try::call::h78dcd5319adf08fa
  │ frame #18 - 0x00007ff0a6b0fcfb - __rust_try
  │ frame #19 - 0x00007ff0a6b0fc9e - __rust_maybe_catch_panic
  │ frame #20 - 0x00007ff0a5885f0d - _&lt;F as alloc..boxed..FnBox&lt;A&gt;&gt;::call_box::hce043844655ea6a9
  │ frame #21 - 0x00007ff0a6b03cc4 - std::sys::thread::Thread::new::thread_start::h9c883b6d445ece46
  │ frame #22 - 0x00007ff0a294e181 - start_thread
  │ frame #23 - 0x00007ff0a246547c - __clone
  │ frame #24 - 0x0000000000000000 - &lt;unknown&gt;
  │ 
  └ ERROR:constellation::constellation: Pipeline failed in hard-fail mode.  Crashing!

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Jun 8, 2016
@asajeffrey

Copy link
Copy Markdown
Contributor Author

@asajeffrey
asajeffrey force-pushed the iframe-change-parentage-test branch from 23b1dc4 to 0d6c312 Compare June 9, 2016 13:50
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 9, 2016
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey
asajeffrey force-pushed the iframe-change-parentage-test branch from 0d6c312 to b20af75 Compare June 9, 2016 13:51
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey
asajeffrey force-pushed the iframe-change-parentage-test branch from b20af75 to e21f2d1 Compare June 9, 2016 13:56
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Moved tests to web-platform-tests, rebased and squashed.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

@bors-servo r=@ConnorGBrewster

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit e21f2d1 has been approved by @ConnorGBrewster

@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. labels Jun 9, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit e21f2d1 with merge 453c1eb...

bors-servo pushed a commit that referenced this pull request Jun 9, 2016
…nnorGBrewster

Added a test for changing an iframe's parentage.

<!-- Please describe your changes on the following line: -->
Add a test for what happens when an iframe's parent browsing context changes.

---
<!-- 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
- [X] There are tests for these changes

<!-- 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/11677)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@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 Jun 9, 2016
@cbrewster cbrewster added the S-fails-tidy `./mach test-tidy` reported errors. label Jun 9, 2016
@jdm

jdm commented Jun 9, 2016

Copy link
Copy Markdown
Member
Running the WPT lint...
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 13
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 14
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 15
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 16
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 17
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 18
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 19
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_parentage.html line 20
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_child.html line 8
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_child.html line 9
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_child.html line 10
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_child.html line 11
INDENT TABS: html/semantics/embedded-content/the-iframe-element/change_child.html line 12
There were 13 errors (INDENT TABS: 13)

@asajeffrey
asajeffrey force-pushed the iframe-change-parentage-test branch from e21f2d1 to 999e057 Compare June 9, 2016 17:06
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 9, 2016
@highfive

highfive commented Jun 9, 2016

Copy link
Copy Markdown

New code was committed to pull request.

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Grr. Fixed tabs. @bors-servo r=ConnorGBrewster

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 999e057 has been approved by ConnorGBrewster

@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. labels Jun 9, 2016
@asajeffrey asajeffrey removed the S-fails-tidy `./mach test-tidy` reported errors. label Jun 9, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 999e057 with merge 3acb954...

bors-servo pushed a commit that referenced this pull request Jun 9, 2016
…norGBrewster

Added a test for changing an iframe's parentage.

<!-- Please describe your changes on the following line: -->
Add a test for what happens when an iframe's parent browsing context changes.

---
<!-- 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
- [X] There are tests for these changes

<!-- 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/11677)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, windows

@bors-servo
bors-servo merged commit 999e057 into servo:master Jun 9, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jun 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-content/dom Interacting with the DOM from web content A-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants