Граф коммитов

334 Коммитов

Автор SHA1 Сообщение Дата
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