Closed Bug 1123796 Opened 9 years ago Closed 9 years ago

[e10s] context menu on a detached tab shows every entry.

Categories

(Firefox :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1087966
Tracking Status
e10s m6+ ---

People

(Reporter: clouserw, Assigned: handyman)

Details

Attachments

(1 file)

Attached image context_menu.png
I'm using Nightly: 37.0.a1 (2015-01-01)

STR:

1) Load gmail and click any email
2) Click the little down arrow in the top right of the email UI and choose "Show Original".  This opens the original email in a new tab.
3) Drag the new tab into a new window
4) Right click anywhere in the new window and see a giant context menu.  See attachment.

Random note:  On step 2 there is a URL in the URL bar.  After step 3 there is no URL anymore.
Actually, looks like the STR can be shortened to just steps 3 and 4.  Dragging any tab into a new window creates this giant context menu.
(In reply to Wil Clouser [:clouserw] from comment #0)
> Created attachment 8551890 [details]
> context_menu.png
> 
> I'm using Nightly: 37.0.a1 (2015-01-01)

I'm gonna go ask the dumb questions first: I don't suppose this goes away if you update? Nearly 3 weeks old, that copy. :-)

(and, conversely, if you can reproduce this on a clean profile with devedition (which 37 now is), that makes it more serious... doesn't sound like something we want to ship)

Oh, and also... when this happens, any errors in the browser console? (ctrl-shift-j)
Flags: needinfo?(wclouser)
Still happens in 38.0a1 (2015-01-19).  I don't have devedition on here.  Also, forgot to mention, I'm on Linux.
Flags: needinfo?(wclouser)
I get the following error in the browser console when this happens:

TypeError: elt.syncHandler is null   BrowserUtils.jsm:96:6


  getFocusSync: function(document) {
    let elt = document.commandDispatcher.focusedElement;
    var window = document.commandDispatcher.focusedWindow;

    const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    if (elt instanceof window.XULElement &&
        elt.localName == "browser" &&
        elt.namespaceURI == XUL_NS &&
        elt.getAttribute("remote")) {
-->   [elt, window] = elt.syncHandler.getFocusedElementAndWindow();
    }

Only happens in E10S mode.
Summary: Giant context menu is giant → [e10s] context menu on a detached tab shows every entry.
Are we tracking E10S bugs in any particular way?
Flags: needinfo?(mconley)
The e10s team triages Tuesdays and Thursdays - things with "e10s" in the summary or with the tracking-e10s flag set to ? are put into the triage queue.
tracking-e10s: --- → ?
Flags: needinfo?(mconley)
Assignee: nobody → davidp99
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: