Closed
Bug 1449383
Opened 7 years ago
Closed 3 years ago
With "Facebook Container" extension, some shift-clicked external links *open in Facebook's container*, & crash if you drag them off, in mozilla::dom::TabChild::RecvSwappedWithOtherRemoteLoader: MOZ_CRASH("Update to TabContext after swap was denied.")
Categories
(Core :: DOM: Content Processes, defect, P3)
Core
DOM: Content Processes
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | wontfix |
firefox60 | --- | wontfix |
firefox61 | --- | wontfix |
firefox62 | --- | wontfix |
firefox65 | --- | wontfix |
firefox66 | --- | wontfix |
firefox67 | --- | fix-optional |
firefox68 | --- | fix-optional |
People
(Reporter: dholbert, Unassigned)
References
()
Details
(Keywords: crash, regression, Whiteboard: [sci-exclude])
Crash Data
Attachments
(1 file)
9.39 MB,
video/ogg
|
Details |
STR:
1. Install the "Facebook Container" add-on:
https://addons.mozilla.org/en-US/firefox/addon/facebook-container/
2. Visit https://www.facebook.com/ and log in.
3. Right click on your facebook tab and choose "Pin Tab".
4. In that pinned tab, visit e.g. https://www.facebook.com/mozilla/posts/10156136938527381 (or just scroll down your feed to find a post an external link)
5. Shift+Click the external link (the "blog.mozilla.com" link in the post above; either the link-text or the "tile", doesn't matter).
---> A new window opens with a tab at the external site.
6. Ctrl+T in that new window to open a second tab.
7. Now drag the blog.mozilla.com tab off of that window.
EXPECTED RESULTS:
- After step 5, the new window (from shift-click) should be a normal tab.
- No crash.
ACTUAL RESULTS:
- After step 5: the blog.mozilla.com tab is in the Facebook container! (it has a blue underline and says "Facebook" at the right of the URL bar, despite the fact that it's a non-Facebook site!) This doesn't always happen, but it's happened in at least 50% of my attempts. If it doesn't happen for you, try repeating step 5.
- After step 7: the dragged-off tab and the pinned facebook tab both show "content process crashed" pages.
Sample crash report: bp-71f130a9-9670-4cc6-ac34-db6ee0180328
I'm not sure where this bug should go -- I'm guessing the "After step 5" vs. "After step 7" results might be two independent bugs, where the latter one only happens after we've triggered the first one. Not sure though.
Reporter | ||
Comment 1•7 years ago
|
||
A few updates:
- You don't actually need the tab to be pinned. So you can skip step 3.
- So far, I *think* this only seems to happen for links that shows "l.facebook.com/l.php?u=..." in the link-target-preview status-bubble when you hover it them. (It's not entirely predictable which external links will show up this way, but typically one of the link-text or the "tile" or the text below the tile will show up that way, at https://www.facebook.com/mozilla/posts/10156136938527381 ) Note that links only seem to show up this way the first time you click them, and then Facebook immediately updates them, or something.
- Also worth noting: I haven't been able to trigger this bug by *directly visiting* a l.facebook.com link. I can only trigger it by shift-clicking one on Facebook, in a pinned tab.
- At the end of my STR, the facebook tab doesn't always seem to crash, but the dragged-off tab always does.
Summary: With "Facebook Container" extension & pinned facebook tab, shift-clicked external links open in Facebook's container, and then crash if you drag them off of of that new window → With "Facebook Container" extension, a some shift-clicked external links *open in Facebook's container*, and then crash if you drag them off of of that new window
Reporter | ||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Looks like the crash (from crash report in comment 0) is:
> MOZ_CRASH(Update to TabContext after swap was denied.)
Also looks like we've had versions of this same issue previously: bug 1294237, bug 1280105. CC'ing baku & mconley who were involved with fixing those bugs...
Reporter | ||
Comment 4•7 years ago
|
||
(baku, maybe you could take a first look here?)
Crash Signature: [@ mozilla::dom::TabChild::RecvSwappedWithOtherRemoteLoader]
Flags: needinfo?(amarchesini)
Summary: With "Facebook Container" extension, a some shift-clicked external links *open in Facebook's container*, and then crash if you drag them off of of that new window → With "Facebook Container" extension, some shift-clicked external links *open in Facebook's container*, & crash if you drag them off, in mozilla::dom::TabChild::RecvSwappedWithOtherRemoteLoader: MOZ_CRASH("Update to TabContext after swap was denied.")
Reporter | ||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Hi jim, Baku isn't available to work on this, can you find someone else to take a look?
Flags: needinfo?(amarchesini) → needinfo?(jmathies)
Updated•7 years ago
|
Component: IPC → DOM: Content Processes
![]() |
||
Updated•7 years ago
|
Flags: needinfo?(jmathies)
OS: Unspecified → All
Priority: -- → P2
Hardware: Unspecified → All
Updated•7 years ago
|
status-firefox60:
--- → wontfix
status-firefox61:
--- → affected
status-firefox62:
--- → affected
Keywords: regression
Comment 6•7 years ago
|
||
Is this still reproducible in 62? I still see the crash signature at a fairly low volume.
Reporter | ||
Comment 7•7 years ago
|
||
Yes it is. I just triggered it now with Friday's Nightly (hadn't quite gotten today's yet when I tried to repro) -- here's the crash report: bp-72a7988d-d6d3-486e-bbfd-b95f80180604
Updated•7 years ago
|
Reporter | ||
Comment 8•7 years ago
|
||
FWIW, this bug's STR got a bit worse a few days ago -- see bug 1475699. (Basically, we now get a blank new window, rather than a new window with the right content in the wrong container. bug 1475699 has the details.)
I suspect that once that regression has been addressed, this will go back to being broken in the same way that it was before; but it'd be worth retesting at that point to be sure.
See Also: → 1475699
Comment 9•6 years ago
|
||
Updating affected branches. Fairly low volume on all branches.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Jim, could you please find someone to look into this?
Flags: needinfo?(jmathies)
![]() |
||
Comment 11•6 years ago
|
||
This is pretty corner case so I really don't have anyone with the cycles for it right now.
Flags: needinfo?(jmathies)
Priority: P2 → P3
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Crash Signature: [@ mozilla::dom::TabChild::RecvSwappedWithOtherRemoteLoader] → [@ mozilla::dom::TabChild::RecvSwappedWithOtherRemoteLoader]
[@ mozilla::dom::BrowserChild::RecvSwappedWithOtherRemoteLoader ]
Updated•6 years ago
|
Whiteboard: [sci-exclude]
Comment 12•3 years ago
|
||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•