Closed Bug 1114051 Opened 11 years ago Closed 10 years ago

[E10s] Right click on a link

Categories

(Firefox :: Menus, defect)

37 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Tracking Status
e10s ? ---

People

(Reporter: herdir, Assigned: billm)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux i686; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20141220030202 Steps to reproduce: Right click on a link. If E10s is not activate, it work fine. Actual results: The options "Open link in a new tab, open link in new window and open link in new private window" doesn't work. Nothing happen when clicking on this buttons. Expected results: It should open link in a new tab or open link in new window or open link in new private window.
Confirming. From error console: Error: NS_ERROR_XPC_CANT_PASS_CPOW_TO_NATIVE: It's illegal to pass a CPOW to native code arg 0 [nsIScriptSecurityManager.getAppCodebasePrincipal] Source File: chrome://browser/content/nsContextMenu.js Line: 832
Status: UNCONFIRMED → NEW
Ever confirmed: true
tracking-e10s: --- → ?
Attached patch fix-context-menuSplinter Review
Assignee: nobody → wmccloskey
Status: NEW → ASSIGNED
Flags: needinfo?(wmccloskey)
Attachment #8539717 - Flags: review?(mconley)
Also, it failed because the URI argument to getAppCodebasePrincipal is an nsIURI CPOW. I could have made it a local URI, but this seems like a better fix.
Comment on attachment 8539717 [details] [diff] [review] fix-context-menu Review of attachment 8539717 [details] [diff] [review]: ----------------------------------------------------------------- This looks right to me - thanks billm.
Attachment #8539717 - Flags: review?(mconley) → review+
Component: Untriaged → Menus
OS: Linux → All
Hardware: x86 → All
Bit surprised we don't have test coverage for this.
Works fine after latest Nightly update Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0 ID:20141222030202 CSet: b915a50bc6be
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
It looks like this was probably fixed via backout of bug 1072980.
Blocks: 1072980
The fix from bug 1072980 is back in and this bug is back
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
(In reply to Matthias Versen [:Matti] from comment #19) > The fix from bug 1072980 is back in and this bug is back Please post more details then. I just tested and the problem in comment 0 is fixed for me.
Flags: needinfo?(bugzilla)
sorry for the noise, i mixed "link" and "Image"
Status: REOPENED → RESOLVED
Closed: 11 years ago10 years ago
Flags: needinfo?(bugzilla)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: