Commit graph

352 commits

Author SHA1 Message Date
Pushpankar
c6670d980f Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Edouard Oger
9869283a90 Bug 677372 - Send Tab/Page/Link to device. r=markh, a=KWierso
MozReview-Commit-ID: 6xnBjTPkiUQ
MozReview-Commit-ID: D7sdRrsWRCF

--HG--
extra : amend_source : fc1ff45a8b912acd673ee536b00bb3f914a301fb
extra : transplant_source : %27y%AD%91%11u%E27%FA%E5%85%F0Fh%07%F1s%CD%08%BB
extra : histedit_source : cef1a0dca88c5a103fb995246c6e9be568bbf83b%2C8082d5b8b03136b895f50458b119e3d09ab0f974
2016-06-27 16:46:43 -07:00
Tim Huang
fd497dc733 Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku
--HG--
rename : browser/components/contextualidentity/ContextualIdentityService.jsm => toolkit/components/contextualidentity/ContextualIdentityService.jsm
2016-07-11 20:03:00 +02:00
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