Commit Graph

501 Commits

Author SHA1 Message Date
Mike Conley
ee684e0a3c Bug 1146454 - Stop using CPOWs for printing. r=billm
We were passing around content window CPOWs before to indicate
which content to send to the printer. This was, naturally, causing
unsafe CPOW usage warnings - especially when attempting to get at
the content window of an iframe with the context menu printing
command.

This patch changes the printing mechanism to use outer window IDs
instead of CPOWs.
2015-07-03 16:06:04 -04:00
Christoph Kerschbaumer
6e2a4b2144 Bug 1136055 - 'Save link as' does not follow HTTP 302 response / redirection. r=gijs 2015-06-18 10:19:32 -07:00
Ryan VanderMeulen
448d7e6c0f Backed out changeset 9dc97d73b64f in favor of using a revised patch. 2015-06-19 10:19:11 -04:00
Ian Moody
263e5508c0 Bug 1135933 - Make nsContextMenu.setDesktopBackground() use a message to get the image as a dataURL and make a new element with it to pass to the setDesktopBackground dialog. r=gabor
Also perform the disableSetDesktopBackground() check in content
2015-06-15 23:36:38 -07:00
Christoph Kerschbaumer
1d33bf28eb Bug 1136055 - 'Save link as ...' should be treated as toplevel load. r=Gijs 2015-06-15 10:13:03 -07:00
Jared Wein
c0309efb8f Bug 777680 - "Bookmark This Page" in context menu should be highlighted. r=mak 2015-06-13 11:52:17 -04:00
Justin Dolske
b1b99cc276 Bug 1161138 - Use normal L10N for Pocket strings. r=jaws 2015-06-09 12:11:26 -07:00
Ryan VanderMeulen
8647b4ec2d Backed out changeset 2a114efdfc3f (bug 1135933) for making browser_addKeywordSearch.js permafail.
CLOSED TREE
2015-05-29 12:25:09 -04:00
Ian Moody
fc7f832a79 Bug 1135933 - Make nsContextMenu.setDesktopBackground() use a message to get the image as a dataURL and make a new element with it to pass to the setDesktopBackground dialog. r=gabor
Also perform the disableSetDesktopBackground() check in content
2015-05-26 00:25:44 +01:00
J. Ryan Stinnett
8a5653d07e Bug 1168198 - Avoid popups for view source tabs. r=Gijs 2015-05-28 09:15:23 -05:00
J. Ryan Stinnett
a80afbb20d Bug 1168095 - Repair view source from sidebar pages. r=Gijs 2015-05-27 20:17:18 -05:00
J. Ryan Stinnett
375b366378 Bug 1067325 - MathML source in tab. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
cc8fe48b34 Bug 1067325 - Selection source in tab via frame scripts. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
3319e1fe68 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Birunthan Mohanathas
fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Marco Bonardo
105438a79f Bug 1160476 - ‘Bookmark this link’ context menu option doesn’t work. r=ttaubert 2015-05-20 13:48:17 +02:00
Jared Wein
89a88d76e7 Bug 1162713 - Implement "Save Link to Pocket" context menu item. r=dolske 2015-05-14 14:04:05 -04:00
Justin Dolske
ee5012bea2 Bug 1164407 - Pocket not enabled on ja builds under Mac OS X. r=adw 2015-05-13 18:18:29 -07:00
Gijs Kruitbosch
89e6742f53 Bug 1164410 - fix l10n use in pocket, r=jaws 2015-05-12 18:21:08 +01:00
Ian Moody
d1cf0c5a59 Bug 1135619 - Make "Bookmark This Frame" fetch the document title and description via message so it is safe in e10s. r=gabor 2015-03-04 21:27:35 +00:00
Mike Conley
868b8c1789 Bug 1025146 - Make viewing the source of a page or frame via the context menu work with remote browsers. r=jryans. 2015-05-08 17:04:30 -04:00
Drew Willcoxon
1c8be3df66 Bug 1162283 - Add support for limited hard-coded localizations to Pocket. r=dolske, a=dolske 2015-05-08 18:57:08 -07:00
Jared Wein
2b0d7d3646 Bug 1161654 - Remove some dead code in Pocket.jsm and use pktApi for checking if the user is logged in. r=dolske 2015-05-05 17:05:45 -07:00
Florian Quèze
bfee8f4d0f Bug 1155518 - Implement "Save to Pocket" context menu item, r=jaws. 2015-05-05 12:24:10 +02:00
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