Commit graph

549 commits

Author SHA1 Message Date
Mike Conley
aabda2cf0f Bug 1241892 - Make Page Info work for sidebar browser. r=florian
The modifications that were made in bug 1238180 assumed that
gBrowser.selectedBrowser from the opening window context would
be defined. This is true in normal browser tabs, but not so much
in the sidebar browser. This patch makes it so that callers can
supply a browser to override the assumption.

MozReview-Commit-ID: FKSyl7WUu1V

--HG--
extra : rebase_source : 54e163dc79c349fe84da4b9b3bab7f6462d82217
2016-07-04 15:42:45 -04:00
Andrea Marchesini
1bf257e0b3 Bug 1276880 - 'Open link in a new <container_name> Tab' in the context menu, r=gijs 2016-06-12 16:23:10 +02:00
Sebastian Hengst
cfb60054b0 Backed out changeset 20ea7d3d347f (bug 1276880) for failing browser-chrome test browser_referrer_open_link_in_container_tab2.js. r=backout 2016-06-10 18:21:05 +02:00
Andrea Marchesini
0dc0ba53a2 Bug 1276880 - 'Open link in a new <container_name> Tab' in the context menu, r=gijs 2016-06-10 14:00:23 +02:00
Andrea Marchesini
cede39dd18 Bug 1277765 - No referrer when a link is opened by middle-click or the context menu and containers are involved, r=mconley 2016-06-09 17:02:50 +02:00
Nejmeddine Douma
d7bc386315 Bug 1072442 - The Play Speed contextmenu should be hidden for streaming media. r=jaws 2016-05-25 23:11:56 -04:00
Jared Wein
b57a662411 Bug 1270853 - Remove HTML5 video controls statistics. r=gijs, r=bz for removing internal chrome/xbl attribute in webidl
MozReview-Commit-ID: 53BYXvHaaB9
2016-05-19 23:30:12 -04:00
Andrea Marchesini
f5951cc1b7 Bug 1270471 - We should not expose Containers in privateBrowsing, r=gijs 2016-05-18 18:20:27 +02:00
Jared Wein
e42c2899de Bug 862399 - Add UI to loop playback of media files. r=gijs
MozReview-Commit-ID: 7cLdwpYTCGQ
2016-05-11 08:14:00 -07:00
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
Florian Quèze
5d514d90bc Bug 950051 - context-menu reload in SocialAPI panels doesn't reload the panel, r=mixedpuppy. 2013-12-17 00:10:30 +01:00
Christoph Kerschbaumer
2df9d73cd4 Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs - tabbrowser part. r=gavin 2013-10-10 21:26:32 -07:00
Florian Quèze
56f5daecc2 Bug 773988 - Allow saving a snapshot from a media stream without a known filename, r=dolske. 2013-11-07 14:01:55 +01:00
Benjamin Smedberg
f1747357ee Bug 926605 part A - When a plugin is removed from a page, continue showing it in the plugin doorhanger, to deal with the cases where the site removes a plugin immediately after trying to use it, r=jaws 2013-10-27 14:41:28 -04:00
Shane Caraveo
fbbdb70eaf bug 891219 new social bookmarks, part 2, new implementation, r=markh 2013-09-06 10:56:01 -07:00
Shane Caraveo
967bf9736a bug 891219 new social bookmarks, part 1, remove old socialmarks code 2013-09-06 10:55:43 -07:00
Georg Fritzsche
977802dfc8 Bug 905084 - Fix "Activate this plugin" action in context menu. r=jaws 2013-08-26 16:48:41 +02:00
Shane Caraveo
71661cb777 bug 891216 multiple workers enabled, r=markh 2013-08-21 11:32:46 -07:00
Wes Kocher
dcd0370b58 Backed out changeset 20e064f3e8e0 (bug 905084) for adding a new intermittently failing test on a CLOSED TREE. 2013-08-20 17:20:21 -07:00
Georg Fritzsche
b5983e8bc3 Bug 905084 - Fix "Activate this plugin" action in context menu. r=jaws 2013-08-20 22:25:12 +02:00
Ehsan Akhgari
ef3b15bfe4 Bug 905176 - Don't show the Check Spelling menu item for spellcheck=false contenteditable elements; r=mconley 2013-08-15 15:06:54 -04:00
David Keeler
30891a9af3 Bug 516753 - Forward content context menu events to the parent. r=felipc 2013-08-06 15:00:07 -07:00
James Kitchener
de2bc57255 Bug 885289 - Improve context menu behaviour for srcdoc iframes. r=mconley, r=bz 2013-07-25 09:32:50 -04:00
James Kitchener
a33e8b9ec5 Bug 802895 - hide frame menu options for srcdoc iframes r=gavin 2013-06-28 23:13:23 -04:00
Max Li
265844cb3d Bug 877453 - Expose longdesc in image context menus. r=gavin ui-r=boriss 2013-06-23 09:37:21 -04:00
Dave Camp
1b64436fe0 Bug 867485: Move the devtools loader into toolkit/ r=jwalker 2013-05-01 09:27:24 -07:00
Shane Caraveo
34b43c9bf2 bug 818675 implement new social share panel, r=felipe 2013-05-06 23:02:58 -07:00
Phil Ringnalda
bb93063523 Back out 89d77682678c (bug 818675) for browser_social_multiprovider.js failures 2013-05-06 20:40:44 -07:00
Shane Caraveo
dee9a7fd1e bug 818675 implement new social share panel, r=felipe 2013-05-06 18:36:31 -07:00
Shane Caraveo
b148a5d7f6 bug 853151 rework recommend into social marks, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-05-04 13:11:18 -07:00
Matt Brubeck
40b69bb3d8 Back out changeset 29c172213ff7 (bug 853151) because of Ts and Tp5 regressions
--HG--
rename : browser/base/content/test/social/social_mark_image.png => browser/base/content/test/social/social_share_image.png
2013-05-03 10:59:43 -07:00
Shane Caraveo
787261ce94 bug 853151 rework recommend into social marks, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-05-02 11:49:11 -07:00
Dave Camp
1bfe8ab7bf Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00
Dave Camp
8584f5466b Backed out changeset 9117c7ad29d5 for MaxHeap regression. 2013-04-28 14:42:23 -07:00
Dave Camp
dece8dacce Bug 855914 - Start using the jetpack loader in devtools. r=jwalker, f=ochameau
--HG--
rename : browser/devtools/framework/Sidebar.jsm => browser/devtools/framework/sidebar.js
rename : browser/devtools/framework/Target.jsm => browser/devtools/framework/target.js
rename : browser/devtools/framework/ToolboxHosts.jsm => browser/devtools/framework/toolbox-hosts.js
rename : browser/devtools/framework/Toolbox.jsm => browser/devtools/framework/toolbox.js
rename : browser/devtools/inspector/Breadcrumbs.jsm => browser/devtools/inspector/breadcrumbs.js
rename : browser/devtools/inspector/Highlighter.jsm => browser/devtools/inspector/highlighter.js
rename : browser/devtools/inspector/InspectorPanel.jsm => browser/devtools/inspector/inspector-panel.js
rename : browser/devtools/inspector/Selection.jsm => browser/devtools/inspector/selection.js
rename : browser/devtools/inspector/SelectorSearch.jsm => browser/devtools/inspector/selector-search.js
rename : browser/devtools/framework/ToolDefinitions.jsm => browser/devtools/main.js
rename : browser/devtools/markupview/MarkupView.jsm => browser/devtools/markupview/markup-view.js
rename : browser/devtools/shared/EventEmitter.jsm => browser/devtools/shared/event-emitter.js
rename : browser/devtools/shared/InplaceEditor.jsm => browser/devtools/shared/inplace-editor.js
rename : browser/devtools/shared/Undo.jsm => browser/devtools/shared/undo.js
rename : browser/devtools/styleinspector/CssHtmlTree.jsm => browser/devtools/styleinspector/computed-view.js
rename : browser/devtools/styleinspector/CssLogic.jsm => browser/devtools/styleinspector/css-logic.js
rename : browser/devtools/styleinspector/CssRuleView.jsm => browser/devtools/styleinspector/rule-view.js
rename : browser/devtools/styleinspector/StyleInspector.jsm => browser/devtools/styleinspector/style-inspector.js
rename : browser/devtools/tilt/TiltGL.jsm => browser/devtools/tilt/tilt-gl.js
rename : browser/devtools/tilt/TiltMath.jsm => browser/devtools/tilt/tilt-math.js
rename : browser/devtools/tilt/TiltUtils.jsm => browser/devtools/tilt/tilt-utils.js
rename : browser/devtools/tilt/TiltVisualizerStyle.jsm => browser/devtools/tilt/tilt-visualizer-style.js
rename : browser/devtools/tilt/TiltVisualizer.jsm => browser/devtools/tilt/tilt-visualizer.js
rename : browser/devtools/tilt/Tilt.jsm => browser/devtools/tilt/tilt.js
2013-04-11 13:59:08 -07:00
Ed Morley
0998031926 Backed out changeset 8a9a40bfa8e3 (bug 853151) for browser_social_markButton.js failures
--HG--
rename : browser/base/content/test/social/social_mark_image.png => browser/base/content/test/social/social_share_image.png
2013-04-25 11:19:52 +01:00
Shane Caraveo
c1591385ae bug 853151 refactoring recommend into SocialMark, r=felipe
--HG--
rename : browser/base/content/test/social/social_share_image.png => browser/base/content/test/social/social_mark_image.png
2013-04-24 12:58:36 -07:00
Gijs Kruitbosch
74abc178d6 Bug 845555 - Fix statistics menu item, r=jaws 2013-04-15 23:06:12 -07:00
Sunny
c3915a11f9 Bug 840745 - Default HTML5 audio/video player controls should facilitate changing playback rate. r=jaws ui-r=limi
--HG--
extra : rebase_source : 9cb821d5b4632dcfbe518504aa963b87b9a2c9f2
2013-03-07 12:28:24 -05:00
Ehsan Akhgari
565d0479c3 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Shane Caraveo
f225faeab6 Bug 782850 fix nsContextMenu to work in social content panels, r=felipe 2013-01-27 10:31:14 -08:00
Ryan VanderMeulen
1bb6e32d4b Backed out changeset e9795d97ccf6 (bug 782850) for M1 failures. 2013-01-26 21:19:21 -05:00
Shane Caraveo
f44a842e3a Bug 782850 fix nsContextMenu to work in social content panels, r=felipe 2013-01-26 16:48:54 -08:00
Jared Wein
5e5f30d4ae Bug 774315 - Close button and context menu to hide click-to-play plugin instances. Portions of the patch contributed by David Keeler. r=felipe 2012-07-17 13:45:59 -07:00
Olli Pettay
116d0e2688 Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin 2013-01-03 17:17:36 +02:00
Joe Walker
349f95edf3 Merge m-c to fx-team 2012-12-13 17:42:37 +00:00
Joe Walker
e083b9d5e6 Bug 813031 - gDevTools needs an API review [toolbox]; r=paul 2012-12-13 13:03:55 +00:00
Johan Charlez
695e328698 Bug 433168 - Context menu is not shown for form buttons and select elements. r=gavin 2012-12-13 01:09:49 -05:00
Ehsan Akhgari
c9051b079d Merge mozilla-central to mozilla-inbound 2012-11-30 13:20:05 -05:00
Joe Walker
a3224c8b35 Bug 788977 - [toolbox] Land the developer tools window; r=harth,jwalker,mikeratcliffe,paul,dão 2012-11-30 08:07:59 +00:00
Ehsan Akhgari
df05f3974e Bug 456884 - Provide a way to open a link into private browsing mode; r=dao ui-r=madhava 2012-11-27 10:09:24 -05:00
Ed Morley
5af1474966 Backout f3bb2259ca27 (bug 433168) for browser-chrome failures 2012-10-31 16:07:20 +00:00
Johan Charlez
4cea329aae Bug 433168 - Context menu is not shown for form buttons and select elements. r=Mano. 2012-10-31 10:56:51 -04:00
OHZEKI Tetsuharu
da6300702b Bug 565717 - "Search for" context menu entry should be in textareas/inputs too. r=gavin.sharp 2011-04-24 12:15:53 -04:00
Josh Matthews
5326c31d67 Bug 792517 - Make the channel created by Save As respect the privacy status of the originating document. r=ehsan 2012-10-03 15:33:54 -04:00
Josh Matthews
49db0fb3fc Backed out changeset 71a2a9d7618e 2012-10-03 13:12:12 -04:00
Josh Matthews
7b8bad7029 Bug 792517 - Make the channel created by Save As respect the privacy status of the originating document. r=ehsan 2012-10-03 13:10:55 -04:00
Josh Matthews
be721d5624 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Josh Matthews
c5574afd30 Bug 789546 - Convert all JS users of imgICache service to use privacy-aware imgITools API instead. r=ehsan 2012-09-17 12:18:40 -04:00
Jared Wein
f07fa6d8f3 Bug 654687 - Combine Stop and Reload in the page context menu. r=felipe 2012-07-03 23:21:53 -07:00
Jared Wein
f4fa33262b Bug 239307 - Remove 'Send Link...' from context menus. r=fryn ui-r=shorlander 2012-07-03 13:42:18 -07:00
Ehsan Akhgari
f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Dan Wendorf
a376240d50 Bug 702159 - Add context menu to exit DOM full screen mode and tests. r=jaws 2012-05-24 23:57:59 -05:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
f4363e6229 Bug 734076: make use of the new openUILink form to simplify context menu callers, r=dao
--HG--
extra : transplant_source : %D6%90%13%91%EA%3D3%CB%93B1%CD%7F%0Cf%D1%08%00%A4%E6
2012-04-18 15:44:02 -07:00
Paul ADENOT
7c6bcb1a1c Bug 557278 - OGG audio handled as OGV video. r=dolske, a=desktop-only 2012-04-20 22:33:42 -04:00
Wolfgang Rosenauer
b93bb1bc3e Bug 526717 - remove non-working "Set as desktop background" from the UI for unsupported desktops. r=gavin 2012-04-02 22:43:12 +02:00
Chad Freeman
f76c95b0e1 Bug 720023 - Context menus for selected domains should be the identical as for links. r=jwein 2012-03-16 12:41:37 -07:00
Ekanan Ketunuti
f0516a6bba Bug 734027 - Decode percent encoding on non-ASCII filename when saving a video snapshot. r=jaws 2012-03-08 18:18:35 +07:00
rsx11m
dd26ba5901 Bug 730041 - Disable "View Background Image" in context menu for stand-alone video content. r=dolske 2012-02-29 19:35:48 -05:00
VD
04ab03c476 Bug 702894 - Remove pre-DOM API full-screen video implementation. r=dao 2012-02-08 14:19:29 +01:00
Matthew Noorenberghe
aa0a90e6d3 Bug 722636 - Only show "Undo Add to Dictionary" context menu on text fields and add separator r=ehsan
--HG--
extra : rebase_source : 85fab3254730ef89d66fe86b4a6fb6c8f392b882
2012-01-31 14:53:21 -08:00
Quentin Headen
547b01566f Bug 352037 - Add an "Undo add to dictionary" item to spell checker's context menu item; r=ehsan 2011-12-29 16:06:56 -05:00
Dão Gottwald
3e662221d3 Bug 708071 - Make the spell checking UI not hold on to a document in memory when spelling suggestion is invoked through the context menu. r=gavin 2011-12-07 15:45:44 +01:00
Dão Gottwald
5fbfbb510a fixing line endings, no bug 2011-11-29 17:18:42 +01:00
Jared Wein
54a28ac854 Bug 470628 - Part 1: CSS, JS, XBL, and locale changes (with fall-back support). r=dolske ui-r=shorlander f=fryn 2011-11-23 14:42:18 -05:00
Marco Bonardo
9f39880bda Bug 702081 - Add back the folder picker to bookmarks dialog missing it.
r=dietrich
2011-11-15 20:42:27 +01:00
Marco Bonardo
497654b074 Bug 700348 - fix showBookmarkDialog warnings.
r=dietrich
2011-11-11 22:39:26 +01:00
Paul ADENOT
3846292d90 Bug 556563 - Disable/remove "View video" when you're already viewing the video. r=dolske 2011-11-02 13:52:21 -07:00
Marco Bonardo
f7acf28c3d Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Justin Dolske
6295003daf Bug 693099 - "Save Snapshot As" option on HTML5 videos creates PNG files with .JPG file extension. r=sparky 2011-10-11 00:14:27 -07:00
Jared Wein
2ffc877a0e Bug 669260 - Add statistics overlay to video element. r=dolske 2011-10-03 20:47:41 -07:00
Matthew Wein
e2343925d1 Bug 681550 - Add ability to save current frame of video. r=dolske 2011-10-03 10:42:36 -07:00
Jared Wein
18098172ed Backed out 971f1bf573fc8 due to test failures 2011-10-03 10:36:07 -07:00
Matthew Wein
a7ceea0fd2 Bug 681550 - Add ability to save current frame of video. r=dolske 2011-10-03 08:13:50 -07:00
Rob Campbell
6c3abd418f Bug 688595 - Hide Inspect Element context menu items if not enabled; r=gavin 2011-09-23 13:43:37 -03:00
Panos Astithas
71fce4f4ad Bug 587134 - Context menu item for Highlight Element (highlighter); r=gavin 2011-09-21 13:16:25 +03:00
Jesper Kristensen
f04d86218f Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-13 14:58:54 -04:00
Felix Fung
0bc71ca85d Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Ed Morley
01f15294eb Backout a422b9ff0a9e (bug 591780 part 1) for causing 8% Ts regression on multiple platforms; a=khuey 2011-09-06 14:32:26 +01:00
Jesper Kristensen
1ef15b178d Bug 591780 - Part 1: Backend support for adding and removing spell checker dictionaries at runtime; r=ehsan 2011-09-05 18:44:34 -04:00
Jan Varga
78e4db599e A followup for bug 617528 - implement the HTML5 "context menu" feature (contextmenu attribute). Merged "generated" and "ident" XUL attribute into "generateditemid" and renamed PageMenu.init() to PageMenu.maybeBuildAndAttachMenu(). r=enn 2011-08-18 18:37:26 +02:00
Jan Varga
a298beaa2e Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Kailas
2e04bbf07a Bug 564387 - Let "Save Video As..." respect the filename set in the Content-Disposition header. r=gavin
--HG--
rename : embedding/test/320x240.ogv => browser/base/content/test/bug564387_video1.ogv
2011-07-10 13:53:22 -07:00
Dão Gottwald
17557a615d Bug 591953 - Show the "Open Link" context menu item for URLs with hyphens. r=gavin 2011-06-21 11:59:29 +02:00
Mounir Lamouri
39b2d9f4b9 Bug 558651 - "Check Spelling" should only be shown in context menu when input element is in 'text' or 'search' state. r=sdwilsh 2011-05-02 22:13:22 +00:00
Boris Zbarsky
f5e4cf5996 Bug 331959 and bug 127903. Make situations in which an anchor or submit control is nested inside another anchor and the inner thing is clicked trigger the inner thing, not both. r=smaug,gavin a=blocker 2010-12-27 14:42:10 -06:00
Dão Gottwald
eddb3a79c9 Bug 606678 - use openLinkIn in nsContextMenu ("Open Link in New Tab" shouldn't add tabs to popups). r=gavin a=b
--HG--
extra : rebase_source : c76eb56bdcdb55bf965b5c3adebfeb6720a733db
2010-12-25 00:11:45 +01:00
Honza Bambas
b722efd354 Bug 597374 - Downloading of a file from a password protected directory fails, r=dolske, sr=bzbarsky, a=blocking2.0:betaN+ 2010-10-25 18:47:23 +02:00
Chris Pearce
39524be815 Bug 485288 - Ensure video context menu doesn't show when video's source children don't contain a resource. r=dolske a=blocking2.0 2010-09-03 12:03:03 +12:00
Dão Gottwald
c468d591d7 Bug 425575 - Huge context menu when holding right-click on a page, dragging mouse and letting go anywhere out of content area. r=mano 2010-08-06 08:55:42 +02:00