Commit graph

450 commits

Author SHA1 Message Date
Andrea Marchesini
5ed6994506 Bug 1398229 - Save-link-as feature should use the loading principal - part 2 - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb 2017-11-16 12:26:30 +01:00
Sebastian Hengst
6c1d6be6fb Backed out 3 changesets (bug 1398229) for failing own browser-chrome browser/components/contextualidentity/test/browser/browser_saveLink.js. r=backout on a CLOSED TREE
Backed out changeset 5b3b0a38b2d1 (bug 1398229)
Backed out changeset a726fc7506ca (bug 1398229)
Backed out changeset 53dae7764e58 (bug 1398229)
2017-11-15 20:49:09 +02:00
Andrea Marchesini
f03e0d5358 Bug 1398229 - Save-link-as feature should use the loading principal - part 2 - context menu using nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb 2017-11-15 18:16:28 +01:00
Christoph Kerschbaumer
6584da597b Bug 1407891: Allow view-image to open a data: URI by setting a flag on the loadinfo. r=bz 2017-11-08 20:01:41 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Mike de Boer
cd5f71abe4 Bug 1120110 - Consistently save pages bookmarked using 'Bookmark This Page' anywhere into the 'Other Bookmarks' folder. r=mak
Since we're not passing an optional parent folder around anymore, this patch also
removes PlacesCommandHook.bookmarkCurrentPage() in favor of a simplified
PlacesCommandHook.bookmarkPage() signature.

MozReview-Commit-ID: HmzwmATgQyw

--HG--
extra : rebase_source : 384e7dba2ab58b212273d39bf6344424a9841e4f
2017-10-23 14:10:04 +02:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Mike Conley
d908d328bf Bug 1399068 - Send the context menu target node up to the parent as an explicit CPOW to fix login selection. r=Felipe
LoginManagerParent expects either a CPOW or a DOM node (in the non-e10s case) to
be passed as the inputElement for LoginManagerParent.fillForm. In bug 1360406,
we serialized the target in the content process so that the parent didn't have
access to the CPOW anymore.

This patch adds a targetAsCPOW property to the nsContextMenu solely for passing
back and forth between the parent and content processes in order to refer to
the target DOM node.

MozReview-Commit-ID: IMwVK0Ewlhy

--HG--
extra : rebase_source : deadcb3d5e340402ebe615529fe937a184785e07
2017-10-04 14:29:09 -04:00
Xidorn Quan
0a75705c55 Bug 1403127 - Don't try to pass fullscreen element through IPC. r=jaws
MozReview-Commit-ID: DaiBNVdqAOh

--HG--
extra : rebase_source : 5e48becb2554f0861d554471ca61ba5933b3f1ac
2017-09-27 16:27:36 +10:00
Ehsan Akhgari
fecb44a276 Bug 1401028 - Remove the content-contextmenu observer notification; r=kmag
This was used by the add-on SDK.
2017-09-19 00:35:08 -04:00
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