Closed
Bug 1317293
Opened 8 years ago
Closed 8 years ago
Add remote type match check to nsFrameLoader::SwapWithOtherRemoteLoader
Categories
(Core :: Security: Process Sandboxing, defect)
Core
Security: Process Sandboxing
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: bobowen, Assigned: bobowen)
References
Details
(Whiteboard: sbwc2, sblc3, sbmc2,[e10s-multi:M2])
Attachments
(1 file)
(deleted),
patch
|
billm
:
review+
|
Details | Diff | Splinter Review |
This check was suggested for bug 1147911 comment 34, but it broke dragging tabs in and out of the browser.
The check should be valid, so this bug is to follow-up and fix whatever is causing the problem.
Then we can also add the check in nsFrameLoader::SwapWithOtherRemoteLoader to make sure the remote types match.
Assignee | ||
Comment 1•8 years ago
|
||
Looks like another change has fixed this, but I'm not sure what (which is annoying).
But I think it means I can land this check now, which is good.
Assignee | ||
Comment 2•8 years ago
|
||
I tried to go back and reproduce this on the original last changeset for bug 1147911 and couldn't.
So it's quite probable that I made a mistake when I initially tried to add this check. :-(
Anyway, here's a try push:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2028bd545ae85c1793601c856cd9ff74497d6dda
Assignee | ||
Comment 3•8 years ago
|
||
We have some devtools failures, I think just when swapping, because bug 1318767 changed the parameters for updateBrowserRemoteness, but missed the call in swap.js [1].
Here's another try push, with that fixed:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=da7025827cdd2a75d49fc7e238dccd8742f59d46
[1] https://hg.mozilla.org/mozilla-central/file/3cedab21a7e6/devtools/client/responsive.html/browser/swap.js#l153
Blocks: 1318767
Assignee | ||
Comment 4•8 years ago
|
||
... and a fix for that has just landed in bug 1331601.
Depends on: 1331601
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8829367 -
Flags: review?(wmccloskey)
Attachment #8829367 -
Flags: review?(wmccloskey) → review+
Blocks: 1330403
Pushed by bobowencode@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/34c57b2a36e3
Only allow nsFrameLoader::SwapWithOtherRemoteLoader when remote types match. r=billm
Comment 7•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•8 years ago
|
status-firefox52:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•