Skip to content

Freeze old pipeline in iframes - #8886

Merged
bors-servo merged 3 commits into
servo:masterfrom
paulrouget:freeze-pipeline-iframe
Dec 18, 2015
Merged

bors-servo merged 3 commits into
servo:masterfrom
paulrouget:freeze-pipeline-iframe

Conversation

@paulrouget

Copy link
Copy Markdown
Contributor

Fixes #8673 and part of #8674

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 8, 2015
@paulrouget

Copy link
Copy Markdown
Contributor Author

Could someone tell me where I should write a test?

@Ms2ger

Ms2ger commented Dec 8, 2015

Copy link
Copy Markdown
Contributor

Sorry, wrong button.

Add a test under tests/wpt/mozilla? If you're using mozbrowser, maybe create a new subdirectory for it. You may need to set prefs, these are in the metadata directory

@Ms2ger Ms2ger reopened this Dec 8, 2015
@paulrouget

Copy link
Copy Markdown
Contributor Author

I didn't manage to properly test the frozen state of the iframe. This test crashes without this patch though.

@Manishearth

Copy link
Copy Markdown
Member

r? @mbrubeck

@mbrubeck

Copy link
Copy Markdown
Contributor

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


Comments from the review on Reviewable.io

@mbrubeck

Copy link
Copy Markdown
Contributor

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 0da33f9 has been approved by mbrubeck

@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 Dec 16, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 0da33f9 with merge 3ae8a87...

bors-servo pushed a commit that referenced this pull request Dec 16, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Dec 16, 2015
@mbrubeck

Copy link
Copy Markdown
Contributor
  ▶ CRASH [expected TIMEOUT] /html/browsers/browsing-the-web/navigating-across-documents/002.html
  │ 
  │ thread 'ScriptTask PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'ScriptTask: received freeze msg for a
  │                     pipeline ID not associated with this script task. This is a bug.', ../src/libcore/option.rs:335
  │ stack backtrace:
  │    1:        0x10ea2d178 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
  │    2:        0x10ea2f23f - panicking::log_panic::_<closure>::closure.40842
  │    3:        0x10ea2ece2 - panicking::log_panic::h7a04edac7e1f2797HEx
  │    4:        0x10ea1aaf6 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
  │    5:        0x10ea1aede - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
  │    6:        0x10ea2c797 - rust_begin_unwind
  │    7:        0x10ea518a0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
  │    8:        0x10dc99bc8 - script_task::_<impl>::handle_msg_from_constellation::h48e9f2652a337bc5D02
  │    9:        0x10dc9539e - script_task::_<impl>::handle_msgs::_<closure>::closure.158717
  │   10:        0x10dc7e39d - script_task::_<impl>::handle_msgs::h09234e46a6f77ec4LP2
  │   11:        0x10dc46017 - sys_common::unwind::try::try_fn::try_fn::h14806146711523557709
  │   12:        0x10ea2c5b8 - __rust_try
  │   13:        0x10ea296be - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  │   14:        0x10dc47a61 - boxed::_<impl>::call_box::call_box::h13042718455976863970
  │   15:        0x10ea2e4cd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  │   16:     0x7fff84ed8059 - _pthread_body
  │   17:     0x7fff84ed7fd6 - _pthread_start
  └ Pipeline failed in hard-fail mode.  Crashing!

@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 Dec 17, 2015
@paulrouget

Copy link
Copy Markdown
Contributor Author

The issue was that the page was getting a freeze message while it was not created yet. Latest commit addresses this issue.

@jdm

jdm commented Dec 17, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+
That solution looks good to me. Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 47a7d17 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Dec 17, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

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

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Dec 17, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

🔒 Merge conflict

@paulrouget
paulrouget force-pushed the freeze-pipeline-iframe branch from 47a7d17 to f0b25e1 Compare December 18, 2015 07:34
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Dec 18, 2015
@Manishearth

Copy link
Copy Markdown
Member

@bors-servo delegate+ r=mbrubeck,jdm

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f0b25e1 has been approved by mbrubeck,jdm

@bors-servo

Copy link
Copy Markdown
Contributor

✌️ @paulrouget can now approve this pull request

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f0b25e1 with merge 2ef972b...

@highfive highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Dec 18, 2015
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-needs-rebase There are merge conflict errors. labels Dec 18, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt

@bors-servo
bors-servo merged commit f0b25e1 into servo:master Dec 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants