Closed
Bug 1159259
Opened 10 years ago
Closed 8 years ago
[e10s] Link-related commands on context menu on sidebar links doesn't work
Categories
(Firefox :: Menus, defect, P1)
Firefox
Menus
Tracking
()
People
(Reporter: enndeakin, Assigned: Kwan)
References
Details
(Keywords: regression)
Attachments
(2 files)
Steps:
1. Set a bookmark to open in the sidebar (Open properties for the bookmark and check the 'Load this bookmark in the sidebar' checkbox)
2. Open that bookmark. It will appear in the sidebar.
3. Open the context menu for a link on that newly opened sidebar.
4. Select 'Open in new tab'
Expected:
Link opens in new tab
Actual:
Nothing happens
Console error:
JavaScript error: chrome://browser/content/nsContextMenu.js, line 867: TypeError: gContextMenuContentData is null
Similar errors for other commands, open in new window, save link. Copy link works ok.
Reporter | ||
Comment 1•10 years ago
|
||
Bookmark link gives a different error:
Full message: ReferenceError: linkURI is not defined
Full stack: PlacesCommandHook.bookmarkLink<@chrome://browser/content/browser.js:5358:42
TaskImpl_run@resource://gre/modules/Task.jsm:314:40
TaskImpl@resource://gre/modules/Task.jsm:275:3
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:14
CM_bookmarkLink@chrome://browser/content/nsContextMenu.js:1559:1
oncommand@chrome://browser/content/web-panels.xul:1:1
Reporter | ||
Comment 2•10 years ago
|
||
Actually, this doesn't work in single-process windows either, but I assume from the error message that this is a regression from 1133577.
Keywords: regression
Comment 3•10 years ago
|
||
It works correctly in release.
Assignee | ||
Comment 5•10 years ago
|
||
This is a regression from bug 1133577, but that is not the true cause. It would appear the browser in the sidebar is not getting the content script browser/base/content.js loaded. As such far more than just the link commands are busted, any content-menu command fixed to be free of unsafe CPOWs is now likely busted (many of the dependent bugs of bug 1109869).
Using the browser console to load the content.js script into the sidebar browser seems to be enough to fix this bug.
However there seem to be other issues with the context menu in the sidebar. For instance it looks like the attachment to me. The Navigation buttons all having right padding for some reason, and the stop button is never replaced with the reload one. I wonder if some work similar to that in bug 782850 is needed to make the sidebar context menu more sane.
Comment 7•9 years ago
|
||
From comment 5, sounds like this should also be related to bug 1109869.
Blocks: 1109869
Comment 8•9 years ago
|
||
Whether this is or isn't an e10s issue or should block, I think that it's a significant regression for context menu options to stop working. My goal here is to find someone to work on this at some point. Maybe someone can take it on with 43 or 44 as their aim.
status-firefox41:
--- → affected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
tracking-firefox43:
--- → +
Comment 9•9 years ago
|
||
Marking as wontfix for 40-41.
Javaun are these problems in the sidebar menus something you care about for 42 onwards? If so, can you suggest someone to have a look? And if not, I'll untrack this. I'll also try nominating this for firefox-backlog triage.
Flags: needinfo?(jmoradi)
Flags: firefox-backlog?
Updated•9 years ago
|
Comment 10•9 years ago
|
||
Sorry Liz, I'm behind on NI's. I can't replicate, it seems to work as intended for me on OSX, I see the bookmark open in the sidebar.
I don't care about this one going forward. I'd be happy putting it into the normal backlog triage, it seems edge case.
Flags: needinfo?(jmoradi)
Updated•9 years ago
|
Comment 11•9 years ago
|
||
I do not think this is an e10s issue because it is reproducible on Firefox 43 beta 7 (20151126120800) which is a non e10s build and also on Firefox 45.0a1 (2015-11-26) with e10s enabled/disabled and Firefox 44.0a2 (2015-11-27) with e10s enabled/disabled.
Tested on Ubuntu 14.04 64-bit, Mac OS X 10.11.1 and Windows 10 64-bit.
status-firefox44:
--- → affected
status-firefox45:
--- → affected
Flags: qe-verify+
OS: Unspecified → All
Hardware: Unspecified → All
Comment 12•9 years ago
|
||
Wontfix for 43. We could still take a fix here but I am dropping tracking since this was wontfixed 4 releases in a row.
Updated•9 years ago
|
Component: General → Menus
Comment 13•9 years ago
|
||
I can reproduce this issue on Beta 45.0b3 with e10s active and disabled. The links Open in new Tab, new Window, and new Private Window do not fire an action.
Comment 15•9 years ago
|
||
I tried to reproduce this, but unfortunately setting a bookmark to open in a sidebar no longer works (filed bug 1258739)
Assignee | ||
Comment 16•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/55152/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/55152/
Attachment #8756412 -
Flags: review?(enndeakin)
Reporter | ||
Updated•9 years ago
|
Attachment #8756412 -
Flags: review?(enndeakin) → review+
Reporter | ||
Comment 17•9 years ago
|
||
Comment on attachment 8756412 [details]
MozReview Request: Bug 1159259 - Add content.js frameScript to the web-panel sidebar so link-related context commands will work
https://reviewboard.mozilla.org/r/55152/#review52450
Assignee | ||
Comment 18•8 years ago
|
||
Try:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=91fb2b109d9e
Some oranges but all intermittents.
Keywords: checkin-needed
Comment 19•8 years ago
|
||
Keywords: checkin-needed
Comment 20•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → moz-ian
Comment 21•8 years ago
|
||
Ian, should we uplift this e10s bug fix from Aurora 49 to Beta 48? We plan to enable e10s by default for some release channel users with Firefox 48.
Assignee | ||
Comment 22•8 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #21)
> Ian, should we uplift this e10s bug fix from Aurora 49 to Beta 48? We plan
> to enable e10s by default for some release channel users with Firefox 48.
Could do, it's a fairly straightforward fix, but it's not just broken in e10s, so the fact that that's being enabled shouldn't affect uplift considerations.
Flags: needinfo?(moz-ian)
Comment 23•8 years ago
|
||
Setting tracking-e10s=- based on Ian's comment 22 that this bug can affect non-e10s users, too.
Comment 24•8 years ago
|
||
I managed to investigate this bug on 49.0b8 build1 (20160829102229), using
- Windows 10 x64
- Mac OS X 10.10.5
- Ubuntu 16.04 x64
These are the results:
- With e10s on / off, "Save Link As...", "Save Link to Pocket" and "Inspect Element" context menu options are not working; the following errors are triggered in Browser Console, respectively: https://drive.google.com/file/d/0B0nYKG6PRiCcYVlNbDV3RGxxRDg/view?usp=sharing. This situation is also reproducible on Latest Nightly 51.0a1 (2016-08-31) and Latest Aurora 50.0a2 (2016-08-31);
- On 48.0.2 build1 (20160823121617), only "Bookmark This Link", "Copy Link Location" and "Search Google for..." context menu options are working, the rest of them throwing similar errors with the above mentioned ones;
- I also tried on latest Nightly the context menu options for other page elements, in the same situation (bookmark open in sidebar) and the following context menu options are not working, throwing similar errors with the above mentioned ones: "Save Page to Pocket", "Inspect Element" (for an empty place in the page, for an image, video element, audio element or for text), "Save Audio As".
Updated•8 years ago
|
Flags: needinfo?(moz-ian)
Assignee | ||
Comment 25•6 years ago
|
||
"Open in Sidebar"/the web-panel sidebar has been removed entirely in bug 1452645.
Flags: needinfo?(moz-ian)
Updated•6 years ago
|
Flags: firefox-backlog?
Comment 26•6 years ago
|
||
Hi, I think we can remove the QeVerify + flag since this option was removed entirely.I will mark this issue Accordingly.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in
before you can comment on or make changes to this bug.
Description
•