Commit Graph

406 Commits

Author SHA1 Message Date
Mike Conley
31222be0ea Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.
2015-08-06 10:44:16 -04:00
Neil Deakin
d49e7b6617 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Bernardo P. Rittmeyer
429e0235ca Bug 433238 - Password manager contextual menu password field manual fill. r=MattN 2015-08-06 15:28:07 -07:00
Jed Davis
e32b5dab07 Bug 1101100 - Multiprocess-enable nsWebBrowserPersist. r=billm
The high-level overview is that the parts of nsWebBrowserPersist which
access the DOM have been factored out (as WebBrowserPersistLocalDocument)
and abstracted (nsIWebBrowserPersistDocument) such that they can be
implemented in the cross-process case using IPC.
2015-08-05 14:25:39 -07:00
Jimmy Wang
f0e4983767 Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian 2015-07-08 17:18:38 -04:00
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