Ryan VanderMeulen
5439a41bbd
Backed out changeset d8df7fcffeb1 (bug 862399) for browser_contextmenu.js failures.
2016-05-10 22:42:00 -04:00
Jared Wein
4b9b9a7d92
Bug 862399 - Add UI to loop playback of media files. r=gijs
...
MozReview-Commit-ID: 7cLdwpYTCGQ
2016-05-10 09:24:00 -04:00
Jared Wein
48b93f48cd
Bug 1126282 - Add a 1.25x faster video speed option in the video controls. r=gijs
...
MozReview-Commit-ID: GRf265vktMR
2016-05-09 09:39:00 +02:00
Matt Brubeck
a17fb5bfed
Bug 943888 - Always keep the bookmark star button enabled [r=mak]
...
MozReview-Commit-ID: 27ee1dbLSM1
--HG--
extra : rebase_source : 2d9a4aa005d585fa6ceafe174bbbd5f8c6b8f5ec
2016-04-25 13:59:00 -07:00
Henry Chang
c4d1435e06
Bug 1093642 - Part 1: Use parentAllowsMixedContent to decide if child tab should load mixed content. r=tanvi, r=MattN
...
This patch is to fix the "Right click and open in a new tab" case.
2016-04-21 11:07:34 +08:00
Jared Wein
353d6b0d9a
Bug 1222669 - Don't show the hidecontrols contextmenu item when viewing a standalone audio file. r=gijs
...
MozReview-Commit-ID: JGDFen7u9o4
2016-04-11 11:37:00 +02:00
Mats Palmgren
7b5cb65169
Bug 1025267 - Make some -moz- prefixed pseudo-classes chrome-only. r=bz
2016-04-01 02:08:15 +02:00
Carsten "Tomcat" Book
839ce412a8
merge fx-team to mozilla-central a=merge
2016-02-23 16:54:50 +01:00
Patrick Brosset
ce1b99b254
Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
...
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.
This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.
Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js
Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.
MozReview-Commit-ID: 5bFHxxrwxhL
--HG--
extra : rebase_source : cb30c7e47605f59674f2344dba10af814172333d
2016-02-22 10:02:54 +01:00
Andrea Marchesini
70ed9f27ca
Bug 1248251 - We should not send the referrer when a link is open in a different container., r=ttaubert
2016-02-22 15:43:54 +01:00
Xidorn Quan
0671ebf899
Bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code. r=smaug
...
--HG--
extra : source : a8b39fbf3673e59b0a41db2d748e092a87d4496c
2016-02-17 08:47:11 +08:00
Andrea Marchesini
73a7d37782
Bug 1248302 - We should not show any decoration for tab with usercontextid=0, r=gijs
2016-02-15 18:12:53 +00:00
Andrea Marchesini
1674c865bc
Bug 1246907 - Open link in a Container Tab - in the context menu, r=Gijs
2016-02-12 11:16:41 +00:00
Shane Caraveo
2aa905d8b9
Bug 1244462 set isContentSelected before using it for the on-build-contextmenu notification, r=gijs
2016-02-10 12:23:25 -08:00
Wes Kocher
4722a4bfe8
Backed out changeset 3d2eace770d1 (bug 1244120) for very frequent leaks on Win7 CLOSED TREE
...
--HG--
extra : commitid : AiLlcy3cWsb
2016-02-04 12:51:14 -08:00
Patrick Brosset
c9bb161dae
Bug 1244120 - Enable browser_rules_content_02.js with e10s; r=bgrins
...
Extracted a shared helper to open the browser context menu and choose
the 'inspect element' item. This helper works with e10s.
Adapted it a little bit so it waits for the right events in order to
make sure the inspector is ready.
This also involved modifying inspectNode in nsContextMenu.js to make it
wait until the node was selected and the node was ready.
Used this in browser_inspector_initialization.js,
browser_rules_content_02.js and browser_markup_keybindings_04.js
Also removed a now useless inspector-updated event that was trigger from
the animation-inspector panel in some situation. This was left behind
from a long time ago but didn't serve any purpose anymore.
--HG--
extra : commitid : BUtFyFVXwYi
extra : rebase_source : 1553c9ebc1d8da035058552924e4ad3cd1b09f09
2016-02-03 18:52:02 +01:00
Mike Conley
7e814daaed
Bug 1243643 - Don't pass unsafe CPOWs to saveImageURL when offering to save media to disk. r=jld
...
--HG--
extra : commitid : 2fLKtLtolNp
extra : rebase_source : bcb3c9c73b11759a5b5b00d6b183e883ee5ed8d4
2016-01-28 16:24:39 -05:00
George Wright
3996b5e615
Bug 1237025 - Stop using CPOWs for View Image Info context menu r=mconley
2016-01-19 19:21:49 -05:00
Mike Conley
1e0155b956
Bug 1238180 - Avoid unsafe CPOWs when opening Page / Frame / Image Info from the context menu. r=florian
...
--HG--
extra : commitid : 5UlX2bYXMNa
extra : rebase_source : 096d891c38daccc0ffb8143a66e3007f7ea74e00
2016-01-18 11:24:47 -05:00
Florian Quèze
489c0d2a58
Bug 1237648 - Cleanup usage of the search service in nsContextMenu.js and nsBrowserContentHandler.js, r=adw.
2016-01-08 11:27:50 +01:00
Shu-yu Guo
1768759efb
Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm)
2016-01-06 16:02:16 -08:00
Shane Caraveo
eabb5f6400
Bug 1215694 move pocket to a system addon, r=Gijs, r=glandium
...
part 1: reorganize file locations, r=Gijs
part 2: remove built-in pocket code, r=Gijs
part 3: l10n support, r=glandium
part 4: move code/functionality from part 2 into the addon, r=Gijs
part 5: remove dead code, r=Gijs
part 6: create a simple api for addons to add to reader mode, r=Gijs
part 7: various test fixes related to cui behaviour and pocket, r=me
--HG--
rename : browser/components/pocket/Pocket.jsm => browser/extensions/pocket/content/Pocket.jsm
rename : browser/components/pocket/main.js => browser/extensions/pocket/content/main.js
rename : browser/components/pocket/panels/css/firasans.css => browser/extensions/pocket/content/panels/css/firasans.css
rename : browser/components/pocket/panels/css/normalize.css => browser/extensions/pocket/content/panels/css/normalize.css
rename : browser/components/pocket/panels/css/saved.css => browser/extensions/pocket/content/panels/css/saved.css
rename : browser/components/pocket/panels/css/signup.css => browser/extensions/pocket/content/panels/css/signup.css
rename : browser/components/pocket/panels/fonts/FiraSans-Regular.woff => browser/extensions/pocket/content/panels/fonts/FiraSans-Regular.woff
rename : toolkit/themes/shared/reader/pocket.svg => browser/extensions/pocket/content/panels/img/pocket.svg
rename : browser/components/pocket/panels/img/pocketerror@1x.png => browser/extensions/pocket/content/panels/img/pocketerror@1x.png
rename : browser/components/pocket/panels/img/pocketerror@2x.png => browser/extensions/pocket/content/panels/img/pocketerror@2x.png
rename : browser/components/pocket/panels/img/pocketlogo@1x.png => browser/extensions/pocket/content/panels/img/pocketlogo@1x.png
rename : browser/components/pocket/panels/img/pocketlogo@2x.png => browser/extensions/pocket/content/panels/img/pocketlogo@2x.png
rename : browser/components/pocket/panels/img/pocketlogosolo@1x.png => browser/extensions/pocket/content/panels/img/pocketlogosolo@1x.png
rename : browser/components/pocket/panels/img/pocketlogosolo@2x.png => browser/extensions/pocket/content/panels/img/pocketlogosolo@2x.png
rename : browser/components/pocket/panels/img/pocketmenuitem16.png => browser/extensions/pocket/content/panels/img/pocketmenuitem16.png
rename : browser/components/pocket/panels/img/pocketmenuitem16@2x.png => browser/extensions/pocket/content/panels/img/pocketmenuitem16@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_button@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_button@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_button@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_button@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_devices@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_devices@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_devices@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_devices@2x.png
rename : browser/components/pocket/panels/img/pocketsignup_hero@1x.png => browser/extensions/pocket/content/panels/img/pocketsignup_hero@1x.png
rename : browser/components/pocket/panels/img/pocketsignup_hero@2x.png => browser/extensions/pocket/content/panels/img/pocketsignup_hero@2x.png
rename : browser/components/pocket/panels/img/signup_firefoxlogo@1x.png => browser/extensions/pocket/content/panels/img/signup_firefoxlogo@1x.png
rename : browser/components/pocket/panels/img/signup_firefoxlogo@2x.png => browser/extensions/pocket/content/panels/img/signup_firefoxlogo@2x.png
rename : browser/components/pocket/panels/img/signup_help@1x.png => browser/extensions/pocket/content/panels/img/signup_help@1x.png
rename : browser/components/pocket/panels/img/signup_help@2x.png => browser/extensions/pocket/content/panels/img/signup_help@2x.png
rename : browser/components/pocket/panels/img/signup_or@1x.png => browser/extensions/pocket/content/panels/img/signup_or@1x.png
rename : browser/components/pocket/panels/img/signup_or@2x.png => browser/extensions/pocket/content/panels/img/signup_or@2x.png
rename : browser/components/pocket/panels/img/tag_close@1x.png => browser/extensions/pocket/content/panels/img/tag_close@1x.png
rename : browser/components/pocket/panels/img/tag_close@2x.png => browser/extensions/pocket/content/panels/img/tag_close@2x.png
rename : browser/components/pocket/panels/img/tag_closeactive@1x.png => browser/extensions/pocket/content/panels/img/tag_closeactive@1x.png
rename : browser/components/pocket/panels/img/tag_closeactive@2x.png => browser/extensions/pocket/content/panels/img/tag_closeactive@2x.png
rename : browser/components/pocket/panels/js/messages.js => browser/extensions/pocket/content/panels/js/messages.js
rename : browser/components/pocket/panels/js/saved.js => browser/extensions/pocket/content/panels/js/saved.js
rename : browser/components/pocket/panels/js/signup.js => browser/extensions/pocket/content/panels/js/signup.js
rename : browser/components/pocket/panels/js/tmpl.js => browser/extensions/pocket/content/panels/js/tmpl.js
rename : browser/components/pocket/panels/js/vendor/handlebars.runtime.js => browser/extensions/pocket/content/panels/js/vendor/handlebars.runtime.js
rename : browser/components/pocket/panels/js/vendor/jquery-2.1.1.min.js => browser/extensions/pocket/content/panels/js/vendor/jquery-2.1.1.min.js
rename : browser/components/pocket/panels/js/vendor/jquery.tokeninput.min.js => browser/extensions/pocket/content/panels/js/vendor/jquery.tokeninput.min.js
rename : browser/components/pocket/panels/license.txt => browser/extensions/pocket/content/panels/license.txt
rename : browser/components/pocket/panels/saved.html => browser/extensions/pocket/content/panels/saved.html
rename : browser/components/pocket/panels/signup.html => browser/extensions/pocket/content/panels/signup.html
rename : browser/components/pocket/panels/tmpl/saved_premiumextras.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_premiumextras.handlebars
rename : browser/components/pocket/panels/tmpl/saved_premiumshell.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_premiumshell.handlebars
rename : browser/components/pocket/panels/tmpl/saved_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/saved_shell.handlebars
rename : browser/components/pocket/panels/tmpl/signup_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/signup_shell.handlebars
rename : browser/components/pocket/panels/tmpl/signupstoryboard_shell.handlebars => browser/extensions/pocket/content/panels/tmpl/signupstoryboard_shell.handlebars
rename : browser/components/pocket/pktApi.js => browser/extensions/pocket/content/pktApi.jsm
rename : browser/locales/en-US/chrome/browser/browser-pocket.properties => browser/extensions/pocket/locales/en-US/pocket.properties
2015-12-29 15:40:52 -08:00
Christoph Kerschbaumer
413a60a063
Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking)
2015-11-17 17:35:30 -08:00
Christoph Kerschbaumer
70c1329cf3
Bug 1223225 - Use channel.asyncOpen2() in browser/base/content/nsContextMenu.js (r=sicking)
2015-11-15 14:47:51 -08:00
Nigel Babu
f5c71b51f3
Backed out changeset 0080bcc1cecc (bug 1223225) for Windows 8 PGO bc1 bustage ON A CLOSED TREE
2015-11-16 16:03:39 +05:30
Christoph Kerschbaumer
4a1c180d7e
Bug 1223225 - Use channel.asyncOpen2() in browser/base/content/nsContextMenu.js (r=sicking)
2015-11-15 14:47:51 -08:00
Jared Wein
fd3e052054
Bug 1213421 - Truncate long body and title text in notifications. r=MattN
...
--HG--
extra : rebase_source : bb92c1846bbc15347cd6e5fe1b43919b11b2b467
2015-11-13 15:56:47 -05:00
J. Ryan Stinnett
986f2a5cde
Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau
2015-10-21 12:48:53 -05:00
Wes Kocher
0628e22f00
Merge m-c to inbound, a=merge CLOSED TREE
2015-10-05 13:11:26 -07:00
Gabor Krizsanits
255204ccf7
Bug 1190667 - WEAPI contextMenus. r=billm
2015-10-05 17:48:08 +02:00
J. Ryan Stinnett
00ecc8cd66
Bug 1210381 - Remove view-source: when copying links. r=mconley
...
--HG--
extra : transplant_source : %8Df%9Es%8B%EC%5B%DC%17%D0%3F%3A7%AB%26.%C0wGz
2015-10-01 17:21:29 -05:00
J. Ryan Stinnett
efe328f1b2
Bug 912121 - Rewrite require / import to match source tree. rs=devtools
...
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location. Here we rewrite all require and import calls to match the new
location that these files are installed to.
--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Boris Zbarsky
b1dc389abc
Bug 1194764. Fix the way we pass the outer window id to various things in context menu code to work in non-e10s mode too. r=jryans
2015-09-03 22:42:49 -04:00
Bernardo P. Rittmeyer
47f80bb9d3
Bug 1188719 - Show login fill context menu on username field. r=MattN
...
--HG--
extra : amend_source : 6171cf0c76c3d7567d553db72045d5f246dd5494
extra : transplant_source : %2C%06v%EA%D56%F6%1C%1E%F4J%14%B1%1F%F3%A0%27%7BaD
2015-08-24 19:06:00 -07:00
Mike Conley
77af80c31b
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.
--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Neil Deakin
4e5e016c5d
Bug 1134585, remove cpow usage from view selection source, r=mconley
2015-08-10 09:42:51 -04:00
Bernardo P. Rittmeyer
7ec5131e30
Bug 433238 - Password manager contextual menu password field manual fill. r=MattN
...
--HG--
extra : commitid : C2Thcw28VRq
extra : rebase_source : 6b6b628738bf715109161961bdced4489685058c
2015-08-06 15:28:07 -07:00
Jed Davis
f9cdea85fa
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
df7dcddd7e
Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian
2015-07-08 17:18:38 -04:00
Mike Conley
03b699b5f3
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.
--HG--
extra : commitid : 7bG2asTYoDR
extra : rebase_source : 3d8d10dbd0d7ce4b2891d81b5f15d71341b79f84
2015-07-03 16:06:04 -04:00
Christoph Kerschbaumer
1b37d7f28f
Bug 1136055 - 'Save link as' does not follow HTTP 302 response / redirection. r=gijs
...
--HG--
extra : rebase_source : e9add66a53f8f2627ed08d15e8462653563edd85
2015-06-18 10:19:32 -07:00
Ryan VanderMeulen
b56e92700c
Backed out changeset 9dc97d73b64f in favor of using a revised patch.
...
--HG--
extra : rebase_source : 6f35fc24e484beed9f117a5d262532bb66aed786
2015-06-19 10:19:11 -04:00
Ian Moody
7e004684e2
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
--HG--
extra : commitid : KxHNPz0K0D3
extra : rebase_source : d5f8876a2f3bc58fd4ce133c2eca9b18ce70f282
2015-06-15 23:36:38 -07:00
Christoph Kerschbaumer
89402898f0
Bug 1136055 - 'Save link as ...' should be treated as toplevel load. r=Gijs
2015-06-15 10:13:03 -07:00
Jared Wein
07c79c8b90
Bug 777680 - "Bookmark This Page" in context menu should be highlighted. r=mak
...
--HG--
extra : rebase_source : 5c3676692d33e07f934adefa9097658a269b0edf
2015-06-13 11:52:17 -04:00
Justin Dolske
daa0f38953
Bug 1161138 - Use normal L10N for Pocket strings. r=jaws
2015-06-09 12:11:26 -07:00
Ryan VanderMeulen
2fd90bf639
Backed out changeset 2a114efdfc3f (bug 1135933) for making browser_addKeywordSearch.js permafail.
...
CLOSED TREE
2015-05-29 12:25:09 -04:00
Ian Moody
1f4c2ff978
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
--HG--
extra : transplant_source : %27U%EC%AF%EB%B4%D8%3D%CE%D0%5D%CC%B7%9D%26%AF%8Bk%90%CE
2015-05-26 00:25:44 +01:00
J. Ryan Stinnett
8f9179fcab
Bug 1168198 - Avoid popups for view source tabs. r=Gijs
2015-05-28 09:15:23 -05:00
J. Ryan Stinnett
827375d5f8
Bug 1168095 - Repair view source from sidebar pages. r=Gijs
2015-05-27 20:17:18 -05:00
J. Ryan Stinnett
a9e07e1d86
Bug 1067325 - MathML source in tab. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
23ee447382
Bug 1067325 - Selection source in tab via frame scripts. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
2566a56af4
Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley
2015-05-23 18:17:50 -05:00
Birunthan Mohanathas
3ffa8d565d
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Marco Bonardo
57cc9e22c7
Bug 1160476 - ‘Bookmark this link’ context menu option doesn’t work. r=ttaubert
2015-05-20 13:48:17 +02:00
Jared Wein
5f69727d1f
Bug 1162713 - Implement "Save Link to Pocket" context menu item. r=dolske
2015-05-14 14:04:05 -04:00
Justin Dolske
7050a1ac29
Bug 1164407 - Pocket not enabled on ja builds under Mac OS X. r=adw
2015-05-13 18:18:29 -07:00
Gijs Kruitbosch
629ad64763
Bug 1164410 - fix l10n use in pocket, r=jaws
...
--HG--
rename : browser/base/content/browser-pocket.properties => browser/base/content/browser-pocket-en-US.properties
extra : rebase_source : c736a1ee9faa69228ff37947ceab88531bfbc322
2015-05-12 18:21:08 +01:00
Ian Moody
3fa8728da3
Bug 1135619 - Make "Bookmark This Frame" fetch the document title and description via message so it is safe in e10s. r=gabor
...
--HG--
extra : transplant_source : %D6%97%0C%40%DF%F0%90f%26i%C0%1C0n%40%85%F8%1Ewb
2015-03-04 21:27:35 +00:00
Mike Conley
a40ff1f409
Bug 1025146 - Make viewing the source of a page or frame via the context menu work with remote browsers. r=jryans.
...
--HG--
extra : rebase_source : 77beee6aabb3b41febdfdce0b1efbc0077b0273b
2015-05-08 17:04:30 -04:00
Drew Willcoxon
4c424c363a
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
12293f0ffe
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
640bf32e81
Bug 1155518 - Implement "Save to Pocket" context menu item, r=jaws.
2015-05-05 12:24:10 +02:00
Ian Moody
fe297cf6c4
Bug 1160339 - Make nsContextMenu.linkText a function again for addon-compat. r=mconley
...
--HG--
extra : rebase_source : 3af32a3dee611f27e5f050d772d842905e4f3fb6
2015-04-30 23:02:39 +01:00
Neil Deakin
e662ba16db
Bug 1134769, move selection info retrieval on context menu to content process, r=mconley
2015-04-29 08:38:42 -04:00
Ian Moody
1028ac00f3
Bug 1134424 - Use the existing reference to the document in nsContextMenu.saveMedia() rather than unsafely creating a new one. r=gabor
...
--HG--
extra : rebase_source : 7ca6efe0e6d13e86e885dab531ccae97624e079c
extra : histedit_source : 3c195110262249d6246488124c9b944265b71d26
2015-04-21 16:23:41 +01:00
Ian Moody
2384c1d0ca
Bug 1134424 - Use a message to safely get the dataURL of the canvas for saving media with e10s. r=gabor
...
--HG--
extra : rebase_source : 5944b7a929179c6f83909b4afe96896021cb8533
extra : histedit_source : 8cdd9e8e372a4eebbd6db2fd92e0e50cd00afa28
2015-04-21 23:09:03 +01:00
Neil Deakin
5500eadc0e
Bug 1058712, e10s, support for copy image command, r=ehsan,mconley
2015-04-21 20:09:14 -04:00
Ian Moody
1b0368b7b5
Bug 1141734 - Pass this.browser into PrintUtils.print() in nsContextMenu.printFrame(). r=gabor
...
--HG--
extra : transplant_source : %D0%03%7D%B1%BC%28%9D%26%C3%D2%7Ci%F0%2CI%E4%C3%A7%F2/
2015-04-15 22:44:50 +01:00
Ian Moody
276e43ea5c
Bug 1140859 - Pass the outerWindowID into nsContextMenu.saveHelper() and use that to get the window, rather than unsafely accessing doc.defaultView. r=gabor
...
--HG--
extra : transplant_source : %05%1C%0C%25%17%E5o%C9%06%13R%92%20u%BB%F0z%86%1A%B6
2015-04-12 11:05:32 +01:00
Ian Moody
876b457646
Bug 1140859 - Pass the safe documentURIObject into nsContextMenu.saveHelper() rather than unsafely accessing it on the document. r=gabor
...
--HG--
extra : transplant_source : %D8%A7%D02%9D%12%B0%E6%8FSr%1E%3F%08%EC%DDWU%04%AF
2015-04-11 10:51:09 +01:00
Ian Moody
2896994406
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
c4760cc752
Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings. r=gabor
...
--HG--
extra : transplant_source : %AB%EF%CE%07%12%BF%8F%2AU%16%80t%7EJ%DC%D9%191%C6X
2015-03-21 14:15:26 +00:00
Ian Moody
2652a41798
Bug 1134222 - Save a reference to the ownerDocument during the sync contextmenu message, and use it for saveLink(). r=gabor
...
--HG--
extra : transplant_source : Py%3AQ%EFr%D2u%17%13%83%C0%1F%C0%11%7F%7FEUg
2015-04-11 09:08:41 +01:00
Gijs Kruitbosch
6d631e29db
Bug 1133981 - e10s-ify findbar FAYT key handling, r=mconley
...
--HG--
extra : rebase_source : 31f07c93b1f5116a5bb952b1c19da003941ad762
extra : amend_source : 58e1db73a93835b0d80326e34ef7056633a7aaa0
2015-03-11 20:22:09 +00:00
Ian Moody
d96ac42737
Bug 1141346 - Make 'This Frame' > 'Reload Frame' use messages to avoid unsafe CPOW usage. r=gabor
...
--HG--
extra : transplant_source : %0D%22%B0%EC%A9%DC%A0%D1hihb%F2%B6%A0%DF%1F%27%1B%80
2015-03-21 00:13:57 +00:00
Mike Conley
d3d4344540
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.
--HG--
extra : rebase_source : aa17cd0be26f136cefbde1c4683ac99a07c6bf15
extra : amend_source : ec32ff88015c74031977824d134922edd9a91c04
2015-04-01 13:38:24 -04:00
Tooru Fujisawa
3008f7f07a
Bug 1140725 - Remove isDisabledForEvents from nsContextMenu.js. r=dolske
2015-04-07 18:19:16 +09:00
Jim Mathies
1aaae619de
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
cfb644046c
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
9f640b91b5
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
673fbec87c
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
5282fa9052
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
c7117db6e3
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
9473a96362
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
3d0f6aba15
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
9614f79c91
Bug 1111967 - honor browser.casting.enabled pref for casting on desktop, r=mconley
2015-03-09 13:15:55 +00:00
Ian Moody
1c28fb713c
Bug 1133577 - Make context-menu open link/frame commands use messages to avoid unsafe CPOW warnings. r=mconley
...
--HG--
extra : rebase_source : bb8813cc9e2852b6b86822452657f427970b983b
2015-02-21 00:22:39 +00:00
Ian Moody
5717dba3fe
Bug 1134409 - Make "Full Screen" context-menu command use messages instead of CPOWs. r=mconley.
...
--HG--
extra : rebase_source : c4fd20a5a33d9a60ebbe3e3db14801b0207232ba
2015-02-19 01:39:00 -05:00
Ian Moody
c3501392ac
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
0b91575095
Bug 1111147 - update nsContextMenu for EME, r=florian
2015-02-10 02:04:06 +00:00
Bill McCloskey
45326aa769
Bug 1127927 - Make link saving safe for e10s (r=mconley)
2015-02-11 12:55:29 -08:00
Nathan Froyd
d5dc59ac0e
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
2fdb67a40b
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
076e9abc00
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
a4c18cd3ae
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
94aebaaa39
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
afbba9218f
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
7bccfba59f
Backed out changeset 8455b9eef8f8 (bug 1066383) for bustage on a CLOSED TREE
2014-12-22 14:36:02 +01:00
Neil Deakin
ee70891e45
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
55f6a44165
Bug 1072980 - Don't pass document CPOW to context menu (r=ally)
2014-12-18 17:34:24 -08:00
Nathan Froyd
991d6e6fb1
Bug 1031264 - make opening links in new {tabs,windows} honor rel="noreferrer"; r=mconley
2014-12-10 12:42:18 -05:00
Gijs Kruitbosch
8a948ff6ff
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
4d59b67ef1
Bug 1094310 - Disable media context menu items for blob and mediasource URLs. r=gavin
2014-11-19 16:52:03 +13:00
Dave Townsend
39cd3d1e3e
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
3d044d83dc
Backing out bug 1060138 due to leaks.
2014-11-11 14:27:17 -08:00
Dave Townsend
21d32c4954
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
d4bf97a6a6
Bug 1067721 - [e10s] Make "Save Snapshot As" context menu item work for e10s. r=felipe.
...
--HG--
rename : browser/base/content/test/general/bug564387.html => browser/base/content/test/general/web_video.html
rename : browser/base/content/test/general/bug564387_video1.ogv => browser/base/content/test/general/web_video1.ogv
rename : browser/base/content/test/general/bug564387_video1.ogv^headers^ => browser/base/content/test/general/web_video1.ogv^headers^
extra : rebase_source : 1c2fad8158ef3803d653014d7dc1c8ce022dfc40
2014-10-30 15:21:47 -04:00
Brad Lassey
710174bd7e
Bug 1054959: re-land "Send Video To Device" feature with fixed test_contextmenu.html, r=gavin
...
--HG--
extra : rebase_source : 80761ff6a0494aa9fdacf1aba51ebc4def35e98b
2014-10-17 15:55:14 -07:00
Carsten "Tomcat" Book
90d84f91ee
Backed out changeset d38f7ebb2192 (bug 1054959) for m1 test failures
2014-10-17 09:58:52 +02:00
Brad Lassey
7ff01ce229
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
59e0863445
Backed out changeset 1828c0ae54b9 (bug 1054959) for mochitest-1 bustage on a CLOSED TREE
2014-10-16 15:13:30 -07:00
Brad Lassey
99bd5cfd9b
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
Ryan VanderMeulen
57109dded7
Backed out changesets 93bf386d290e and 063cdd7b00cc (bug 1054959) for test_contextmenu.html failures.
...
CLOSED TREE
2014-10-16 15:19:41 -04:00
Brad Lassey
9a575d1772
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
2014-10-15 18:24:34 -04:00
Wes Kocher
86b3bed29d
Backed out changeset 402cbbf91165 (bug 1054959) for mochitest-1 bustage
2014-10-15 17:47:19 -07:00
Brad Lassey
4ad96a68de
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
2014-10-15 18:24:34 -04:00
Shane Caraveo
9d52a943fa
Bug 1014332 fix share context menu tests, r=jaws
2014-10-09 12:02:43 -07:00
Blake Kaplan
f809f5b13f
Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
...
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).
It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).
Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Neil Deakin
6c1e283ef7
Bug 1071771, disable dictionary list when it cannot be accessed from another process. This makes the context menu work again after using it on a misspelled word, r=mconley
2014-09-30 12:05:53 -04:00
Bill McCloskey
4465d2b3ff
Bug 1039528 - [e10s] Make "Inspect element" context menu item work (r=pbrosset)
2014-09-29 13:05:22 -07:00
Bill McCloskey
8f71982b1a
Bug 1067527 - [e10s] Use contentWindowAsCPOW in context menu code (r=mconley)
2014-09-23 15:48:53 -07:00
Mike Conley
11e4975e65
Bug 1069567 - [e10s] Make remote browser contentPrincipals not be CPOWs. r=billm.
...
--HG--
extra : rebase_source : 4f47430a2ff95737e579ddca1655d410656bb64a
2014-09-18 19:26:50 -04:00
Mike Conley
6aecdba124
Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
...
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.
--HG--
extra : rebase_source : 6239a4b49e0af89800c5618e4589f8aef03f58d4
2014-09-17 16:06:58 -04:00
Nigel Babu
1da2de4cb7
Merge fx-team to m-c with bustage fix, a=merge
2014-09-16 08:43:45 +05:30
Wes Kocher
6e187f49f8
Merge m-c to inbound a=merge
2014-09-15 16:41:45 -07:00
Shu-yu Guo
15262d36a9
Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo)
2014-09-15 16:30:46 -07:00
Mike Conley
91e7e2f96f
Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
...
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.
--HG--
extra : rebase_source : 719afe669c638ba4883f76f18aee38df6b60b4ad
2014-09-15 13:33:50 -04:00
Ryan VanderMeulen
e84550c5e3
Backed out changeset 5747034f2bcc (bug 899347) for mochitest-bc failures.
...
CLOSED TREE
2014-09-15 15:30:39 -04:00
Bill McCloskey
ea74115231
Bug 1047751 - Disable HTML-controlled context menu in e10s (r=mconley)
2014-09-12 12:58:23 -07:00
Wes Kocher
79bcafc2c6
Merge inbound to m-c a=merge
2014-08-25 17:19:50 -07:00
Gijs Kruitbosch
e126ede3c2
Bug 991757 - add telemetry for the context menu, r=mconley,bgrins,f=bwinton
2014-08-14 20:44:59 +02:00
Jim Mathies
85e4123ae4
Bug 903022 - Parent save-as file pickers to the browser window rather than the content window. r=gavin
2014-08-25 11:48:58 -05:00
Ed Morley
59f76a94a9
Backed out changeset 93cd3fc35cfc (bug 1014332)
2014-08-21 12:27:16 +01:00
Andrea
32a967fa88
Bug 991427 - Check if the last character of the string is part of a surrogate pair when truncating text for display in the context menu, to avoid splitting surrogate pairs, r=gavin
2014-08-16 17:06:10 -07:00
Shane Caraveo
08ae54b590
Bug 1014332 fix context menu tests to handle share, r=jaws
2014-08-15 14:23:24 -07:00
Ed Morley
62b7aa6b87
Merge mozilla-central and inbound
2014-08-12 17:56:08 +01:00
Allison Naaktgeboren
2bf5772323
Bug 1030451-Update spellchecker context menu suggestions for multiprocess.r=billm
2014-08-11 13:07:54 -07:00
Ms2ger
5b546538b2
Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
...
This also includes a test that mozMatchesSelector is still exposed and works.
--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Trishul Goel
e3a2c2e2fb
Bug 1038604 - Rename disableMCB to allowMixedContent. r=dao
2014-07-16 22:03:15 +02:00
Shane Caraveo
a69c426a8e
Bug 926417 add microdata support for share/marks, r=markh, r=felipe
2014-07-11 08:50:34 -07:00
Drew Willcoxon
1bda00a462
Bug 1005601 - "gContextMenu is null" thrown for first textarea context menu in a window. r=Gijs
2014-07-10 03:31:04 -07:00
Gijs Kruitbosch
ee2a420fc8
Bug 1021969, r=bholley,jaws
...
--HG--
extra : rebase_source : f8bc835a5bfcd62e1d59b31d75841d1cc6339634
2014-06-06 17:33:50 +01:00
Jared Wein
9aca6f8285
Bug 1000513 - Tests for menugroup keyboard navigation. r=Unfocused
...
--HG--
extra : rebase_source : 925b6991f3444ff197b166f1e4234f1f19fe321d
2014-05-15 18:14:15 -04:00
Jared Wein
062700e6ea
Bug 1000513 - Combined navigation items in the context menu. r=Unfocused,dao
...
--HG--
extra : rebase_source : 90f7c49cf5b4917527bc310d74f5f8327191ca22
2014-05-12 17:35:39 -04:00
Valentin Tsatskin
179f4cb0aa
Bug 985824 - Search for link text context menu item should pay attention to selection. r=Unfocused
2014-04-01 08:57:24 -04:00
Bill McCloskey
183cb20358
Bug 917681 - [e10s] Make context menu work for selected text (r=felipe)
2014-03-14 11:47:46 -07:00
Valentin Tsatskin
0975471de9
Bug 970746 - Context menu should include option to for search link text on search engine. r=bmcbride
2014-02-10 18:53:00 -05:00
Tom Schuster
162b01089f
Bug 947895 - [e10s] Null check browser.docShell in context-menu Open in new tab. r=gavin
2014-02-24 23:10:18 +01:00
Tom Schuster
288af30ff5
Bug 973195 - [e10s] Change Copy Link in context-menu to use JS instead of cmd_copyLink. r=felipe
2014-02-24 23:10:12 +01:00