Commit graph

590 commits

Author SHA1 Message Date
Perry Jiang
15d0cf7b73 Bug 1360406 - Remove context menu sync IPC. r=felipe
MozReview-Commit-ID: 1oCwC283Suv
2017-08-21 15:42:37 -07:00
Shane Caraveo
1fe5a3a13e Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y

--HG--
extra : rebase_source : 8f82fa6beabfa89916bbc97ec799c6e5d6b3ff18
2017-08-16 08:54:21 -07:00
Ryan VanderMeulen
52ffe4157f Merge m-c to inbound. a=merge 2017-08-09 18:48:56 -04:00
Kris Maglione
0ecfcbc93e Bug 1388215: Part 3 - Use JIT-friendly defineLazy*Getters methods when defining many lazy imports. r=florian
MozReview-Commit-ID: APoFwUhDFdj

--HG--
extra : rebase_source : 15761873b91efaf1d338b6361bf7168ab4348e0d
2017-08-09 13:03:36 -07:00
Stephen A Pohl
0451201f8a Bug 1119088: Fix ability to set an image as desktop background via context menu on macOS. r=mstange,mconley 2017-08-09 14:43:39 -04:00
Julian Descottes
7d2c113b8c Bug 1387482 - default to true when reading pref devtools.inspector.enabled from Firefox;r=mixedpuppy
This preference will be moved inside the devtools addon and won't be always available.
By default consuemrs should consider this to be true, as the inspector is always enabled
by default.

If devtools are not installed, the DevToolsShim will be responsible for redirecting the
call to inspect node to the devtools installation flow.

MozReview-Commit-ID: 279mJ5WRzok

--HG--
extra : rebase_source : f78a2034f1e0dce3a65669e69ef8ab97242c5eaf
2017-08-04 17:55:51 +02:00
Kyle Machulis
ffa9be1bed Bug 1279218 - Remove Applet tag; r=bz
Removes applet tag interfaces, and changes HTML5 parser to output
HTMLUnknownElement when tag is found. Removes tag process from various
places in the browser.

MozReview-Commit-ID: 2zHhK2U2esX

--HG--
extra : rebase_source : d06ecaffd1cb656301e29b900bafde4c68a4606e
2017-07-10 16:00:30 -07:00
Florian Quèze
520a79823f Bug 1381853 - lazy load nsContextMenu.js into the browser window, r=mconley. 2017-07-23 00:17:59 +02:00
Edouard Oger
44cfaff39c Bug 1359894 - Show Send Tab to all users. r=markh
MozReview-Commit-ID: EzgiQjMQsaJ

--HG--
extra : rebase_source : 234c2c14b7c07d3617d82dacc9b5bd4f993727b4
2017-05-01 10:56:19 -04:00
Marco Bonardo
1c6157f76f Bug 1379611 - Avoid GetItemTitle() synchronous API in editBookmarkOverlay.js. r=standard8
MozReview-Commit-ID: 9Ig63XHcEIE

--HG--
extra : rebase_source : 8a1ff8778f00075c8741bf3a8ee3367ddf848260
2017-07-10 16:13:55 +02:00
Shane Caraveo
5a4e0a5450 Bug 1338898 fix 150 char limit for context menu text selection, r=aswan,mattw
MozReview-Commit-ID: IqECfaFSbGZ

--HG--
extra : rebase_source : 312c3887d16d4b4dd0bf96fd77e4ec970a8d6393
2017-06-29 15:11:29 -07:00
Carsten "Tomcat" Book
45f2e51f0a Merge mozilla-central to autoland 2017-06-28 13:47:29 +02:00
Ryan VanderMeulen
a8806a9105 Merge m-c to inbound. a=merge 2017-06-27 20:06:39 -04:00
Ryan VanderMeulen
309d4a291b Backed out 3 changesets (bug 1364896) for causing bug 1376466.
Backed out changeset 5c870a786e94 (bug 1364896)
Backed out changeset 134d9ee1e545 (bug 1364896)
Backed out changeset 8f52f28a9eaa (bug 1364896)
2017-06-27 14:32:07 -04:00
Johann Hofmann
8c3112beb4 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 1fb615686b4221be53fcd769e8075c2f1ca75a30
2017-06-09 14:47:50 +02:00
Thomas Wisniewski
9e63f14612 Bug 1343236 - Add support for linkText to contextMenus.OnClickData. r=mixedpuppy
MozReview-Commit-ID: B0s5sPztciH
2017-06-20 17:38:18 -04:00
Julian Descottes
e698093458 Bug 1372520 - use DevToolsShim to inspectNode in nContextMenu;r=bgrins,mixedpuppy
As devtools become optional, nsContextMenu needs to check if devtools are installed before
displaying the devtools-related menu entries.

Rather than loading devtools classing and calling APIs, use APIs provided by the DevToolsShim,
that will stay in mozilla-central.

MozReview-Commit-ID: CxqabTjhckC

--HG--
extra : rebase_source : 1781edcf11316eab7e95cbab834d1bc3230c44d7
2017-06-14 17:52:50 +02:00
Matthew Noorenberghe
a62764e8da Bug 1374686 - Lazily import SpellCheckHelper in nsContextMenu.js. r=florian
MozReview-Commit-ID: 89adkR01CV7

--HG--
extra : rebase_source : f3c6cb632d8d4d6796841ca8524da33af779e649
2017-06-20 09:18:17 -07:00
Matthew Noorenberghe
139395de0a Bug 1374686 - Don't import LoginManagerContextMenu.jsm during startup. r=florian
MozReview-Commit-ID: KgCnds50n8j

--HG--
extra : rebase_source : b14325f800e11d3c7d713658dec07f4315e6dd19
2017-06-20 14:33:39 -07:00
Johann Hofmann
52fae80746 Bug 1364896 - Part 2 - Increase margin of all context menus that are triggered through touch. r=dao
MozReview-Commit-ID: ISc3ZyS1njY

--HG--
extra : rebase_source : 8bbf0390a2c0dc82cfe6bb073ee0e6447f4afc81
2017-06-09 14:47:50 +02:00
Andrea Marchesini
3750b8cf84 Bug 1369761 - ContextualIdentityService should not be initialized before first paint, r=florian 2017-06-13 13:04:49 +02:00
Christoph Kerschbaumer
0944826c8a Bug 1363975 - Have loadOneTab() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-31 20:59:02 +02:00
Robert Longson
ea950f6b1d Bug 339725 - SVG <a> with xlink:href don't show HTML link features in context menu, r=jaws,longsonr+218550
MozReview-Commit-ID: Kg9dONwXCrB

--HG--
extra : rebase_source : d5658b40d41365fb9c2156faac9ba18f8b1c1f44
2017-05-07 01:09:00 +01:00
Johann Hofmann
4391ee5607 Bug 1256754 - Add padding to contextmenu items when opened through touch. r=dao
MozReview-Commit-ID: C7z6Pnzf2nb

--HG--
extra : rebase_source : 2ec2a2d04201e494c2d759de819e3dc0109ac94c
2017-05-04 03:18:35 -07:00
Julian Descottes
59ac4a80a5 Bug 1356415 - get CSS selector in content for contextmenu to fix devtools CPOW;r=mixedpuppy
MozReview-Commit-ID: 3TYaYcS1W0h

--HG--
extra : rebase_source : c3762ff15bbb3e53fa4ec882bd0e2eac797cf131
2017-04-26 19:41:19 +02:00
Luca Greco
f05b5fec60 Bug 1358314 - Fix 'Open Link in New Tab' context menu item after tab navigated in non-e10s mode. r=kmag
MozReview-Commit-ID: KIG3QTx4J6b

--HG--
extra : rebase_source : 2441fc11e1d47dbcbc0bfa79d3721703b1476bf9
2017-04-24 16:22:31 +02:00
Sebastian Hengst
f44ee02eec Backed out changeset 78a53da8a8c1 (bug 1358314) for intermittent, different leaks on Windows 7 VM debug. r=backout on a CLOSED TREE 2017-05-04 21:11:44 +02:00
Martin Giger
df5c55c05d Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
MozReview-Commit-ID: 5bty8uurFns

--HG--
extra : rebase_source : 6b49e37b6173d1d5c219f554ac48c04942060daf
2017-02-19 11:02:14 +01:00
Luca Greco
99ef55dcc5 Bug 1358314 - Fix 'Open Link in New Tab' context menu item after tab navigated in non-e10s mode. r=kmag
MozReview-Commit-ID: KIG3QTx4J6b

--HG--
extra : rebase_source : 302b896c87b2516bd7181493abf70fda0d390ee7
2017-04-24 16:22:31 +02:00
Edouard Oger
b3b3ff9cc5 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : dcba087df94d06b15c9f073ff2df3324fd646c57
2017-04-18 14:15:43 -04:00
Sebastian Hengst
18253e3fa2 Backed out changeset 0a0138825fb5 (bug 1353571)
--HG--
rename : browser/base/content/test/sync/accounts_testRemoteCommands.html => browser/base/content/test/general/accounts_testRemoteCommands.html
rename : browser/base/content/test/sync/browser_fxa_web_channel.html => browser/base/content/test/general/browser_fxa_web_channel.html
rename : browser/base/content/test/sync/content_aboutAccounts.js => browser/base/content/test/general/content_aboutAccounts.js
2017-05-03 21:56:44 +02:00
Edouard Oger
c11e66021d Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv

--HG--
rename : browser/base/content/test/general/accounts_testRemoteCommands.html => browser/base/content/test/sync/accounts_testRemoteCommands.html
rename : browser/base/content/test/general/browser_fxa_web_channel.html => browser/base/content/test/sync/browser_fxa_web_channel.html
rename : browser/base/content/test/general/content_aboutAccounts.js => browser/base/content/test/sync/content_aboutAccounts.js
extra : rebase_source : aa6cb209d312c6ef3f45589b0fd8fa8a39c612e3
2017-04-18 14:15:43 -04:00
Iris Hsiao
b38be6eedc Backed out changeset e08459e83d3f (bug 1299371) for multiple mochitests time out 2017-04-24 16:19:59 +08:00
Martin Giger
03dd157689 Bug 1299371 - Show context menu in WebExtension popups; r=mixedpuppy
MozReview-Commit-ID: 5bty8uurFns

--HG--
extra : rebase_source : 3c56af748921fc1917f4e5c994ed472e9758eb27
2017-02-19 11:02:14 +01:00
Sebastian Hengst
cfea98eabf merge mozilla-central to autoland. r=merge a=merge 2017-04-15 20:08:03 +02:00
Shane Caraveo
b5b8babab9 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: BSmPhaNYmYe

--HG--
extra : rebase_source : 28bfeba3128e6e344b819b9b24aa37c9ea767118
2017-04-15 10:30:44 -07:00
Wes Kocher
4aaf266707 Backed out changeset fc91bd1a27a7 (bug 1353073) for eslint failures a=backout 2017-04-15 00:33:34 -07:00
Shane Caraveo
beeff82ee3 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: GDAd2jYrlf6

--HG--
extra : rebase_source : 22a4244d55975513bdfc288c94cf112fcd0e90fd
2017-04-14 15:15:37 -07:00
Kris Maglione
307bb6e57e Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot

--HG--
extra : rebase_source : 0c68bc16eaa016bc7d0e228a95e10d9348dda59f
2017-04-12 14:12:22 -07:00
kernp25
656efd183a Bug 1339416 - contextMenus.OnClickData should have the frameId. r=mixedpuppy 2017-04-04 12:00:16 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Christoph Kerschbaumer
07ba3f59c3 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 12:43:01 +02:00
Carsten "Tomcat" Book
0c24635a19 Backed out changeset fdb11fbb53cf (bug 1344706) for eslint failure 2017-04-03 11:32:38 +02:00
Christoph Kerschbaumer
a40ae7abe5 Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js. r=gijs 2017-04-03 09:58:17 +02:00
Mark Banner
7f46a2f8e5 Bug 1350298 - Reduce the complexity of nsContextMenu:setTarget. r=jaws
MozReview-Commit-ID: 2TYNVCV4LSL

--HG--
extra : rebase_source : 7c225c26c585b5af86bbb90063c200b8233369c9
2017-03-23 16:22:24 +00:00
Mark Banner
c1099084df Bug 1350298 - Fix most of the ESLint issues in nsContextMenu.js. r=jaws
MozReview-Commit-ID: 4t2paQntzBO

--HG--
extra : rebase_source : ea01434631f63eb647ed08918ff46649012d4c7f
2017-03-23 12:34:22 +00:00
Mark Banner
31fa11c564 Bug 1350298 - Stop preprocessing nsContextMenu.js - use AppConstants instead. r=jaws
MozReview-Commit-ID: LLz9bRu9Xxs

--HG--
extra : rebase_source : 0876d3e9b488bf030c3e8a2aa759e0469e410d53
2017-03-24 11:33:48 +00:00
Kilik Kuo
fddf20e522 Bug 1348601 - Carry IsHandlingUserInput information to media listeners in content.js. r=mrbkap
HTMLMediaElement relies on user's interaction to allow playback when media.autoplay.enabled set to false.

MozReview-Commit-ID: IPZdAAKlrjM

--HG--
extra : rebase_source : c1654b47fc7b14b1a5b5309c38e60d246edafc54
2017-03-22 14:12:41 +08:00
Christoph Kerschbaumer
49c06371bb Bug 1343279 - Use SystemPrincipal when loading canvasToBlobURL. r=gijs 2017-02-28 20:48:42 +01:00
Luca Greco
706324f05b Bug 1190687 - [webext] webNavigation.onCreatedNavigationTarget on new windows/tabs from context menu and user clicks on links. r=kmag
MozReview-Commit-ID: KYVKkVUSOzR

--HG--
extra : rebase_source : 95a995a2bceac3488347a87b7363a72d76012ce8
2017-02-24 19:49:38 +01:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Jonathan Kingston
1e1279c661 Bug 1297738 - Removing accesskey from container menus that are not accessible via a keyboard r=Gijs
MozReview-Commit-ID: KKBw4k61H9N

--HG--
extra : rebase_source : a8e0984f2b8e2c3ec4da1d14b280cfedc747b1ca
2016-11-24 15:05:06 +00:00
Sebastian Hengst
3b5266a90d Backed out changeset bdaebda382c1 (bug 1297738) for failing browser_referrer_open_link_in_container_tab.js on OS X. r=backout 2016-11-28 01:06:03 +01:00
Jonathan Kingston
910218b51f Bug 1297738 - Removing accesskey from container menus that are not accessible via a keyboard r=Gijs
MozReview-Commit-ID: KKBw4k61H9N

--HG--
extra : rebase_source : cd966c97d6f5bc32ba01eb14674eb52abb94226e
2016-11-24 15:05:06 +00:00
Phil Ringnalda
feef954874 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi

--HG--
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
2016-11-22 20:03:03 -08:00
Alexandre Poirot
78a21c673d Bug 1154645 - Simplify inspectNode implementation by passing CSS selector instead of node reference. r=pbro
MozReview-Commit-ID: 3yeDk3OniFj

--HG--
extra : rebase_source : 5658c4db323aba50f9760027fe1f4b5233c9759c
2016-11-09 09:23:36 -08:00
srivatsav
fdf44d1e9c Bug 1312466: Added a password context to contextMenus API. r=kmag
MozReview-Commit-ID: DzLX4JQTfRS

--HG--
extra : amend_source : 40ad422e18e3a8bb465dbf5d2143c712f1b15801
2016-11-22 16:57:43 +05:30
Jonathan Kingston
56045a5e26 Bug 1267916 - part 1 - Open about preferences #containers in any existing menu (except context menu), r=jaws 2016-11-03 19:31:28 +01:00
Ehsan Akhgari
5ab561d95b Bug 908570 - Don't show the 'Add Dictionaries…' menu item for contenteditable elements with spellcheck=false; r=dao 2016-10-20 15:43:55 -04:00
Sebastian Hengst
d52f679698 Backed out changeset 6b3dc1102513 (bug 908570) 2016-10-20 20:03:15 +02:00
Ehsan Akhgari
30a3044073 Bug 908570 - Don't show the 'Add Dictionaries…' menu item for contenteditable elements with spellcheck=false; r=dao 2016-10-20 09:53:06 -04:00
Gijs Kruitbosch
17db78f2b5 Bug 1284395, r=bz,mconley,baku
MozReview-Commit-ID: 1nPyv7G3q7d

--HG--
extra : rebase_source : 9b0b75c43d441a13992f085ce6f766aee0614666
extra : source : 6036b8acdab58eb565f15e12f8184f8abe7c6413
2016-09-06 14:19:45 +01:00
Andrea Marchesini
0d72fc6628 Bug 1289832 - ContextMenu should take userContextId from nsILoadContext, r=gijs 2016-09-23 14:12:59 +02:00
Sebastian Hengst
e183b1ce5d Backed out changeset 6036b8acdab5 (bug 1284395) for asserting in ChromeUtils::IsOriginAttributesEqualIgnoringAddonId at nsDocShell.cpp:8007 for Windows debug builds. r=backout 2016-09-19 17:10:09 +02:00
Gijs Kruitbosch
2370806614 Bug 1284395, r=bz,mconley
MozReview-Commit-ID: 1nPyv7G3q7d

--HG--
extra : rebase_source : 9e0d93d1dee7fff2b599da2e79d8a286d2ca8007
2016-09-06 14:19:45 +01:00
Carsten "Tomcat" Book
e3c2ddf887 Merge mozilla-central to mozilla-inbound 2016-09-08 12:42:45 +02:00
Andrea Marchesini
f84859945a Bug 1299480 - Fix regression in the context menu when containers are in used, r=gijs 2016-09-08 11:40:46 +02:00
Fischer.json
7190eefb7f Bug 1120967 - Broken middle/right click on links via about:preferences pages. r=jaws
MozReview-Commit-ID: FejMTP3invj

--HG--
extra : transplant_source : xN3%8A%28%5D%B4%82U%FC%DF%CE%CD%22%D0%236%1A%83o
2016-08-19 17:32:31 +08:00
Masatoshi Kimura
6470657683 Bug 1161599 - Show "Reload Image" if the image has an error. r=florian
MozReview-Commit-ID: 1hDVFySM6to

--HG--
extra : rebase_source : 0b5133f2eea6d26ab4e190dc6bf060b6c580703a
2016-08-29 12:03:13 +09:00
Boris Chiou
1a643a8877 Bug 1245751 - Part 12: Retrieve href from both None & XLink namespace in Browser & Android. r=Gijs,sebastian
MozReview-Commit-ID: dSyuTRh5MY

--HG--
extra : rebase_source : 5ee3d94495ce90c16c9e7de1dcd9adcb1388446b
2016-07-07 17:07:14 +08:00
Shane Caraveo
4987c70c34 Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: JzSDh41IPBu
2016-08-23 15:24:06 -07:00
Shane Caraveo
51cf1dcb66 Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: IgpgD7qwasI
2016-08-23 15:24:06 -07:00
Wes Kocher
8359341879 Backed out changeset de9d3e0f0b20 (bug 1299480) for browser-chrome failures in browser_referrer_open_link_in_container_tab.js a=backout 2016-09-06 15:55:55 -07:00
Andrea Marchesini
b554bd575e Bug 1299480 - Fix regression in the context menu when containers are in used, r=gijs 2016-09-06 21:22:20 +02:00
Phil Ringnalda
029d3a2335 Back out 0bb0f5bef1a6 (bug 1299480) for failures in browser_referrer_open_link_in_tab.js
CLOSED TREE
2016-09-06 07:55:12 -07:00
Andrea Marchesini
da901b1816 Bug 1299480 - Fix regression in the context menu when containers are in used, r=gijs 2016-09-06 13:19:01 +02:00
Kilik Kuo
9d1d7f520e Bug 1150371 - [Part1] - Remove 'Learn more about Drm...' from r-click context menu if it's a MediaElement for clearkey content. r=florian
MozReview-Commit-ID: 2OrP7bM40pS

--HG--
extra : transplant_source : %9FN%84%7E%02%E8%F5%8A%40M%5C9%93%86%B4%A8%A4%85%01%9E
2016-08-06 17:33:11 +08:00
Mike Conley
48c92500d8 Bug 1200524 - Use Blob URLs instead of Data URLs for saving media from the content process. r=Felipe
Data URLs were fine for smaller pieces of media, but for large media, we'd quickly
max out the message size limit, and that'd result in a failure to even show the
save dialog.

With Blob URLs, we can refer to large media using a unique identifier that
is easy to pass around, and works from content to parent process.

MozReview-Commit-ID: Gooi1YIqrEM

--HG--
extra : rebase_source : 88dc8f112e09736a1bc3f69fa77c71519ba0a087
2016-07-27 16:32:01 -04:00
Geoff Lankow
d14b295017 Bug 1287657 - Context menu items should not be disabled for media with a blob URL; r=kinetik, r=baku 2016-07-25 22:41:52 +12:00
Andrea Marchesini
92509cea83 Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-25 09:25:08 +02:00
Carsten "Tomcat" Book
4e8b78c1f2 Backed out changeset bf7c4e797f76 (bug 1287091) for bc3/bc6 test failures 2016-07-24 14:32:04 +02:00
Andrea Marchesini
6871885a3e Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-23 08:57:40 +02:00
Wes Kocher
9c46018401 Backed out 5 changesets (bug 1287091) for build bustage after assertions in SharedIC.h CLOSED TREE
Backed out changeset c57fd3af416e (bug 1287091)
Backed out changeset edad0174cb12 (bug 1287091)
Backed out changeset 7ed07b35bad6 (bug 1287091)
Backed out changeset 939d5064ab91 (bug 1287091)
Backed out changeset acbca9af0a3b (bug 1287091)
2016-07-22 11:14:13 -07:00
Andrea Marchesini
496107445f Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-22 16:14:24 +02:00
J. Ryan Stinnett
76baf9e8d6 Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
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
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