Closed
Bug 1047751
Opened 10 years ago
Closed 10 years ago
[e10s] context menu is completely broken on https://developer.mozilla.org/en-US/Add-ons/Code_snippets
Categories
(Firefox :: Menus, defect)
Tracking
()
People
(Reporter: alice0775, Assigned: billm)
References
(Blocks 1 open bug, )
Details
Attachments
(5 files)
Right click on body, on link, on edit field, on selected text.
Context menu is broken, sometimes wrong mode. i.e.,
No Back forward reload stop on body
No HTML5 context menu
Context menu is not for selected text on selected text
Context menu is not for edit on textarea
Reporter | ||
Updated•10 years ago
|
Summary: [e10s] context menu is broken → [e10s] context menu is completely broken
Reporter | ||
Updated•10 years ago
|
Summary: [e10s] context menu is completely broken → [e10s] context menu is completely broken on https://developer.mozilla.org/en-US/Add-ons/Code_snippets
Reporter | ||
Comment 1•10 years ago
|
||
Timestamp: 2014/08/02 10:36:12
Error: NS_ERROR_FAILURE: Failure arg 0 [nsIXULContextMenuBuilder.init]
Timestamp: 2014/08/02 10:36:12
Error: gContextMenu is null
Source File: chrome://fontinfo/content/showfonts.js
Line: 39
Timestamp: 2014/08/02 10:36:12
Error: TypeError: gContextMenu is null
Source File: chrome://browser/content/browser.xul
Line: 1
Reporter | ||
Comment 2•10 years ago
|
||
http://eow.alc.co.jp/search?q=validation also affected
Reporter | ||
Comment 3•10 years ago
|
||
completely broken
Reporter | ||
Comment 4•10 years ago
|
||
Reporter | ||
Comment 5•10 years ago
|
||
Reporter | ||
Comment 6•10 years ago
|
||
Good: HTML5 context menus are available on empty area
Reporter | ||
Updated•10 years ago
|
Attachment #8468284 -
Attachment description: input field → input field, no edit control menus
Reporter | ||
Updated•10 years ago
|
Attachment #8468286 -
Attachment description: empty area → empty area, looks on link menu, no navigation, bookmark menus
Reporter | ||
Updated•10 years ago
|
tracking-e10s:
--- → ?
Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Updated•10 years ago
|
Flags: firefox-backlog+
Updated•10 years ago
|
Flags: firefox-backlog+
Assignee | ||
Updated•10 years ago
|
Assignee: mrbkap → wmccloskey
Assignee | ||
Comment 8•10 years ago
|
||
The problem here is that web pages can put a "contextmenu" attribute on HTML elements. This attribute then refers to a <menu> subtree that we're supposed to display if the user right clicks on the given element or one of its descendants.
The way we build this menu isn't e10s-compatible right now. We need to examine the <menu> object in the content process while building up a XUL menu in the parent. And all this happens in C++ right now.
The right way to fix this would be to examine the <menu> in a frame script in the child process, turning it into JSON. Then the parent would build the XUL menu from the JSON. I'm guessing that would be a few days of work.
However, I'm going to ask that we move this up to M3 or something. It really doesn't seem like M2 material. I'll post a patch that avoids constructing this menu at all in e10s, which at least papers over the problem while losing some functionality.
Assignee | ||
Comment 9•10 years ago
|
||
This should be sufficient for M2. I can't imagine many people use these page menus.
Attachment #8488146 -
Flags: review?(mconley)
Updated•10 years ago
|
Flags: firefox-backlog+
Assignee | ||
Comment 10•10 years ago
|
||
Filed bug 1066383 to make this work properly.
Updated•10 years ago
|
Flags: qe-verify?
Updated•10 years ago
|
Attachment #8488146 -
Flags: review?(mconley) → review+
Comment 11•10 years ago
|
||
Bill: is your r+'d disable-page-menu patch ready to land? We're trying to close out our remaining M2 bugs today.
Assignee | ||
Comment 13•10 years ago
|
||
Flags: needinfo?(wmccloskey)
Comment 14•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Updated•10 years ago
|
Iteration: --- → 35.1
Updated•10 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: jbecerra
Comment 15•10 years ago
|
||
I was able to reproduce this issue on Nightly 34.0a1 (2014-08-01) using Windows 7 x64.
Verified fixed on Latest Firefox 36.0a1 (2014-11-22) and Latest Firefox 35.0a2 (2014-11-23)(about:config -> browser.tabs.remote.autostar->true) using Windows 7 x64.
You need to log in
before you can comment on or make changes to this bug.
Description
•