Commit Graph

427 Commits

Author SHA1 Message Date
Ian Moody
4574a0e4ee Bug 1160339 - Make nsContextMenu.linkText a function again for addon-compat. r=mconley 2015-04-30 23:02:39 +01:00
Neil Deakin
0b9c9f0f24 Bug 1134769, move selection info retrieval on context menu to content process, r=mconley 2015-04-29 08:38:42 -04:00
Ian Moody
73619089b4 Bug 1134424 - Use the existing reference to the document in nsContextMenu.saveMedia() rather than unsafely creating a new one. r=gabor 2015-04-21 16:23:41 +01:00
Ian Moody
a3897e8e23 Bug 1134424 - Use a message to safely get the dataURL of the canvas for saving media with e10s. r=gabor 2015-04-21 23:09:03 +01:00
Neil Deakin
bd6ecdf9fe Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Ian Moody
cf5a1cddb1 Bug 1141734 - Pass this.browser into PrintUtils.print() in nsContextMenu.printFrame(). r=gabor 2015-04-15 22:44:50 +01:00
Ian Moody
4fcc190ddc Bug 1140859 - Pass the outerWindowID into nsContextMenu.saveHelper() and use that to get the window, rather than unsafely accessing doc.defaultView. r=gabor 2015-04-12 11:05:32 +01:00
Ian Moody
1aab2c04d1 Bug 1140859 - Pass the safe documentURIObject into nsContextMenu.saveHelper() rather than unsafely accessing it on the document. r=gabor 2015-04-11 10:51:09 +01:00
Ian Moody
90fdf320ee Bug 850378 - Set channel.contentDispositionFilename to value of a[download] in nsContextMenu.saveHelper(). r=dolske
This lets the "Save Link As..." context menu command use the download attibute hint for filenames
2015-03-20 19:06:51 +00:00
Ian Moody
e2a88adda7 Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings. r=gabor 2015-03-21 14:15:26 +00:00
Ian Moody
0899b55d6c Bug 1134222 - Save a reference to the ownerDocument during the sync contextmenu message, and use it for saveLink(). r=gabor 2015-04-11 09:08:41 +01:00
Gijs Kruitbosch
9c46e44409 Bug 1133981 - e10s-ify findbar FAYT key handling, r=mconley 2015-03-11 20:22:09 +00:00
Ian Moody
770800ae3b Bug 1141346 - Make 'This Frame' > 'Reload Frame' use messages to avoid unsafe CPOW usage. r=gabor 2015-03-21 00:13:57 +00:00
Mike Conley
f4f9569d35 Bug 1150120 - Pass outerWindowID up when sending contextmenu message up from content process. r=gabor.
This will hopefully allow us to avoid using CPOWs for contentDocument and contentWindow
when doing things like printing or viewing the source of subframes.
2015-04-01 13:38:24 -04:00
Tooru Fujisawa
e3640ab3ee Bug 1140725 - Remove isDisabledForEvents from nsContextMenu.js. r=dolske 2015-04-07 18:19:16 +09:00
Jim Mathies
d9df1d0d1f Bug 1122525 - On right-click query in advance media related information from the image cache and forward this info to chrome with the contextmenu event. r=mconley 2015-03-31 12:59:06 -05:00
Ian Moody
67302893c0 Bug 1141186 - Fix context-menu Share commands so they don't use unsafe CPOWs. r=mconley 2015-03-11 21:19:30 +00:00
Ian Moody
d0bd66678d Bug 1134222 - Store the value of linkText that is calculated during nsContextMenu init and reuse it later rather than recalculating it. r=mconley 2015-03-08 10:37:00 -04:00
Alex Verstak
7ecbab6ff5 Bug 1113431 - Propagate referrer policy throughout the UI: command-click and context menu open link in new tab/window. r=gijskruitbosch 2015-03-04 23:29:55 -08:00
Ian Moody
ade5f4a50d Bug 1134391 - Make "View Image/Video" command use messages to avoid unsafe CPOW warnings. r=mconley 2015-03-04 21:27:35 +00:00
Ian Moody
c05998ad4c Bug 1140878 - Move SwitchDocumentDirection() to toolkit/content/browser-content.js so it can be safely used in e10s. r=mconley 2015-03-11 21:19:18 +00:00
Ian Moody
93fd0367ad Bug 1135934 - Make "View Background Image" and "View Description" use gContextMenuContentData to avoid unsafe CPOW warnings. r=mconley 2015-03-08 10:19:00 -04:00
Ian Moody
5e8ba720a0 Bug 1135916 - Make "Copy Email Address" use gContextMenuContentData to avoid unsafe CPOW warning. r=mconley 2015-03-08 10:18:00 -04:00
Gijs Kruitbosch
e238e351a8 Bug 1111967 - honor browser.casting.enabled pref for casting on desktop, r=mconley 2015-03-09 13:15:55 +00:00
Ian Moody
82aacdf877 Bug 1133577 - Make context-menu open link/frame commands use messages to avoid unsafe CPOW warnings. r=mconley 2015-02-21 00:22:39 +00:00
Ian Moody
e00b4962a3 Bug 1134409 - Make "Full Screen" context-menu command use messages instead of CPOWs. r=mconley. 2015-02-19 01:39:00 -05:00
Ian Moody
8ea82d1941 Bug 1134399 - Make context-menu media commands use messages to avoid unsafe CPOW usage warnings. r=mconley 2015-02-19 01:37:00 -05:00
Gijs Kruitbosch
b4a166d8d2 Bug 1111147 - update nsContextMenu for EME, r=florian 2015-02-10 02:04:06 +00:00
Bill McCloskey
e641723ad4 Bug 1127927 - Make link saving safe for e10s (r=mconley) 2015-02-11 12:55:29 -08:00
Nathan Froyd
d2e479b22d Bug 1118502 - part 2 - ensure addOneTab sees a referrer URI if it was available; r=mconley
addOneTab uses the existence of a referrer URI to determine where to
position the newly opened tab.  Bug 1031264 changed callsites so that a
referrer URI was no longer passed in if the opening link had
rel=noreferrer set on it.  This change, then, broke placement of newly
opened tabs if their opening link had rel=noreferrer on it.

Instead of not passing in the referrer URI if rel=noreferrer, let's
instead explicitly tell addOneTab whether rel=noreferrer was present on
the opening link.  Then addOneTab can hide the referrer URI from the
actual network request, while still using the referrer URI to determine
tab placement.
2015-02-06 14:00:45 -05:00
Nathan Froyd
3dc67a168e Bug 1118502 - part 1 - fixup grabbing of documentURIObject; r=mconley
The patch for bug 1031264 factored out an _openLinkInParameters
function.  But this new function grabbed the referrerURI from
|document|, rather from the passed in |doc|, whereas all the callers had
obtained |referrerURI| from the (to-be-passed-in) |doc| object.  Let's
fix this mix-up before going any further.
2015-02-06 13:02:44 -05:00
Neil Deakin
5e4b4cd307 Bug 1059219, show text-related items (clipboard, undo, etc) in context menu for input type=number, r=mconley 2015-02-10 21:00:05 -05:00
Christoph Kerschbaumer
fc2d9ddd3d Bug 1087726: Make JS callers of ios.newChannel call ios.newChannel2 in browser/ (r=gijs) 2014-10-24 14:36:11 -07:00
Bill McCloskey
3b0120e94a Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Neil Deakin
c59b7336ca Bug 1066383, rework custom html menu item handling to support contextmenu attribute in separate process, r=janv,mconley,peterv 2014-12-16 11:21:11 -05:00
Carsten "Tomcat" Book
fa17e1ee61 Backed out changeset 8455b9eef8f8 (bug 1066383) for bustage on a CLOSED TREE 2014-12-22 14:36:02 +01:00
Neil Deakin
324ef14f83 Bug 1066383, rework custom html menu item handling to support contextmenu attribute in separate process, r=janv,mconley,peterv 2014-12-16 11:21:11 -05:00
Bill McCloskey
551b025f6b Bug 1072980 - Don't pass document CPOW to context menu (r=ally) 2014-12-18 17:34:24 -08:00
Nathan Froyd
6a4539c76d Bug 1031264 - make opening links in new {tabs,windows} honor rel="noreferrer"; r=mconley 2014-12-10 12:42:18 -05:00
Gijs Kruitbosch
1f4dbe6850 Bug 1100914 - switch telemetry to use an array of strings to indicate all states, r=jaws,f=bwinton 2014-11-20 16:07:46 +00:00
Matthew Gregan
12fbe6a15b Bug 1094310 - Disable media context menu items for blob and mediasource URLs. r=gavin 2014-11-19 16:52:03 +13:00
Dave Townsend
4060c5ea6f Bug 1060138: Add a hook for extensions to provide data to send across the synchronous contextmenu message. r=mconley 2014-11-17 10:58:13 -08:00
Dave Townsend
071c8cad7f Backing out bug 1060138 due to leaks. 2014-11-11 14:27:17 -08:00
Dave Townsend
48d5013ecf Bug 1060138: Add a hook for extensions to provide data to send across the synchronous contextmenu message. r=mconley 2014-11-11 12:52:13 -08:00
Mike Conley
8b0cd6f9a7 Bug 1067721 - [e10s] Make "Save Snapshot As" context menu item work for e10s. r=felipe. 2014-10-30 15:21:47 -04:00
Brad Lassey
b8d8ace943 Bug 1054959: re-land "Send Video To Device" feature with fixed test_contextmenu.html, r=gavin 2014-10-17 15:55:14 -07:00
Carsten "Tomcat" Book
363ff20ae3 Backed out changeset d38f7ebb2192 (bug 1054959) for m1 test failures 2014-10-17 09:58:52 +02:00
Brad Lassey
a554746fd0 bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava
* * *
bug 1054959 - follow up to fix context menut test r=orange CLOSED TREE
2014-10-15 18:24:34 -04:00
Wes Kocher
8993e08638 Backed out changeset 1828c0ae54b9 (bug 1054959) for mochitest-1 bustage on a CLOSED TREE 2014-10-16 15:13:30 -07:00
Brad Lassey
76281f263a bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava
* * *
bug 1054959 - follow up to fix context menut test r=orange CLOSED TREE
2014-10-15 18:24:34 -04:00