Commit graph

1301 commits

Author SHA1 Message Date
Luca Greco
86c4053dd2 Bug 1398727 - Fix missing tab title on devtools.panels.elements.createSidebarPane tabs. r=gl
MozReview-Commit-ID: G5F9uEC6izs

--HG--
extra : rebase_source : 1e34ddf1d2ee4fe5db7886d824c4279ffcbc7674
2017-09-09 18:23:52 +02:00
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Mike de Boer
aa0c3dc278 Bug 1374749 - Animate the panelviews differently to make it look as if the view to show is pushing the previous view out of the panel. r=jaws
MozReview-Commit-ID: Dy6UppV3xDH

--HG--
extra : rebase_source : 1c970efaa0b7162450d79f37633afacaadc8d19e
2017-09-12 21:33:25 +02:00
Wes Kocher
7c80405558 Backed out changeset 5ed9b657a1ce (bug 1352459) for xperf failures a=backout CLOSED TREE
MozReview-Commit-ID: 9XmmBsTf39a
2017-09-12 18:06:16 -07:00
Luca Greco
d83e387d9b Bug 1397196 - Fix pageAction icon loading when an extension has a cached browserAction theme-based icon. r=mixedpuppy
MozReview-Commit-ID: Lmi5pLerzul

--HG--
extra : rebase_source : 9c3eb11e65b03c43bb8f30f5f19a904770f82356
2017-09-06 12:40:45 +02:00
Sebastian Hengst
be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Tomislav Jovanovic
38c090ab9e Bug 1394553 - Part 1: Implement "devtools" permission r=aswan
MozReview-Commit-ID: 89XUmZUhC65

--HG--
extra : rebase_source : 3921d9c5908fdb9e4956b3534976bfb1bef00a00
2017-09-04 21:49:40 +02:00
Kris Maglione
8921830f3b Bug 1398630: Part 5 - User iteration helpers for nsISimpleEnumerator. r=zombie
MozReview-Commit-ID: Iw25XozakK0

--HG--
extra : rebase_source : 4e88954bece9293acb168c79b096dafaed6ad7c9
2017-09-10 15:35:46 -07:00
Kris Maglione
daa3085d2b Bug 1398630: Part 3 - Use document.docShell rather than longer/slower XPC paths. r=zombie
MozReview-Commit-ID: 5oD0Uvv1pvx

--HG--
extra : rebase_source : 977b6df718df231082f1c7594f25d954cfa50a5f
2017-09-11 14:53:20 -07:00
Sebastian Hengst
bd180901c7 merge mozilla-central to autoland. r=merge a=merge 2017-09-10 23:17:36 +02:00
Shane Caraveo
73b473d1aa Bug 1385630 fix extension sidebar restore after app update, r=Gijs
MozReview-Commit-ID: IR0UDJgrp58

--HG--
extra : rebase_source : 6bb066650a94c3991e05c72ff3fb28cdb0e5a021
2017-09-10 13:36:54 -07:00
Kris Maglione
cea09f3f8f Bug 1397448: Part 2 - Speed up about:addon child frame checks. r=mixedpuppy
MozReview-Commit-ID: 4wLw0KnQvsT

--HG--
extra : rebase_source : 0b9695a25a7051a606ff5ed08cfbdc7229057e19
2017-09-08 17:11:13 -07:00
Sebastian Hengst
3c3aa7ed62 Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +02:00
Bob Silverberg
bad1c19a1b Bug 1397383 - Add loadReplace option to tabs.update, r=mixedpuppy
This adds a loadReplace option into the updateOptions object for tabs.update()
which, when set to true, will cause the loading of the new URL to replace the
current URL in the tab's history.

MozReview-Commit-ID: KZTuEl7cgb0

--HG--
extra : rebase_source : 24f006fe197f56b3102cb00e226d53036b9ba93b
2017-09-08 08:31:39 -04:00
Kris Maglione
b055a02b6f Bug 1399216: Move HiddenFrame.jsm to testing-common. r=Mossop,glandium
MozReview-Commit-ID: GTBRCYEoYq2

--HG--
extra : rebase_source : 927843056383ab238a4f3b6d8e3f6eefce5400b1
2017-09-12 11:56:57 -07:00
Tomislav Jovanovic
3dce599c63 Bug 1394348 - Fix document_idle run_at timing r=kmag
MozReview-Commit-ID: FBPlw6CiUE2

--HG--
extra : rebase_source : b72037e7ce600eafb15de639ec7e98e8abb580b3
2017-09-08 00:36:50 +02:00
Beekill95
72ce1c7a57 Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1

--HG--
extra : rebase_source : 0078e02a310374b5f54b68e17c824367547b0cc5
2017-08-15 14:45:08 +07:00
Nan Jiang
f94db93911 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm

--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Sebastian Hengst
71854680c0 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-08 00:07:48 +02:00
Shane Caraveo
64c09f5ee2 Bug 1380597 - Ensure the url can be loaded by the extension. r=kmag
MozReview-Commit-ID: GH31FlHxpVu
2017-09-07 17:09:40 -04:00
Bob Silverberg
43c7b2e3ed Bug 1397081 - Update browserSettings to report the current home page and new tab page in all cases, r=mixedpuppy
This updates the browserSettings API to report the current value of the home page and the new tab page regardless of whether they are currently overridden by an extension.

MozReview-Commit-ID: 3usY3F4oIxl

--HG--
extra : rebase_source : f8a04b4d7e70db7133c664d60cd46f8b4cd5471f
2017-09-05 16:11:04 -04:00
Gijs Kruitbosch
fd7064ce6b Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu

--HG--
extra : rebase_source : 4b0995e4ef6558ad418c8782f4bdfdf5cba1f91d
2017-08-15 13:03:33 +01:00
Mark Striemer
0875bd29d9 Bug 1374463 - Show extension identity when controlling newtab r=mixedpuppy
MozReview-Commit-ID: 2phlLhlAvGd

--HG--
extra : rebase_source : 7459d7efe0cb06ae64f25004fde2affd85292de3
2017-08-31 12:23:48 -05:00
Bob Silverberg
ab10610842 Bug 1293853 - Part 3: Add support for separators to bookmarks API, r=mixedpuppy
This adds support for separators to the bookmarks API. Separators can now be created
and will be returned by any method that returns BookmarkTreeNodes. They will also be
included in data for the onCreated and onRemoved events.

BookmarkTreeNodes will now contain a `type` property which will be one of bookmark,
folder or separator. When creating a bookmark object, one can specify the type, or one
can rely on the Chrome-compatible behaviour which treats any bookmarks without a URL
as a folder. To create a separator one must specify a type as part of the CreateDetails
object.

MozReview-Commit-ID: BoyGgx8lMAZ

--HG--
extra : rebase_source : 95a06fe81d21d660aeecbd86b71ca6bbcd66eb10
2017-08-28 17:05:55 -04:00
Kris Maglione
a2ec0b79b6 Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l

--HG--
extra : rebase_source : 33c4670a0eded6e0af4f931a1ac4cd57f6115995
extra : amend_source : 915bfac6f2c05024acd840c8fa9e282bfc31c296
2017-09-01 12:20:10 -07:00
Kevin Jones
c103f1eb75 Bug 1377733 - Add discarded property to tabs.Tab on desktop. r=zombie, r=kmag
--HG--
extra : histedit_source : 618b98850265ef2d26695366d023459e6d0cd2a7
2017-08-31 16:14:26 -06:00
Gijs Kruitbosch
c47048d751 Bug 1385630 - Backed out changeset d159686d279c for regressing bug 1374048, rs=mixedpuppy
MozReview-Commit-ID: BkV6C3m7LWx

--HG--
extra : rebase_source : 2537cd400cf6622c365a67d8c9e9e3236f6f023d
2017-09-01 17:22:40 +01:00
Sebastian Hengst
d04d8633ad Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug: Fix test annotationsyntax. r=bustage-fix on a CLOSED TREE 2017-08-31 20:47:02 +02:00
Joel Maher
0c0c7c019b Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug. r=gbrown 2017-08-31 13:50:13 -04:00
Lee Bousfield
c9deae8e08 Use extension ID instead of URL UUID for tab.mutedInfo (bug 1391168) r=kmag
MozReview-Commit-ID: 4U2oDzli9oX

--HG--
extra : rebase_source : cf32733f026e7d3b9b22c4bc2eeb13317b1b8ad0
2017-08-17 20:29:36 -06:00
Sebastian Hengst
ca3d97b658 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02:00
Wes Kocher
d03d9bee49 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Kevin Jones
6fd6a2a03c Bug 1322060 - Extension API to store persistent values on window/tab using get/set/remove methods. r=kmag, r=bsilverberg
--HG--
extra : amend_source : f241d6ac188e840549fa858ed477d4ab5b0ee894
2017-08-27 16:42:00 -04:00
Bob Silverberg
e98081a6dd Bug 1322308 - Allow WebExtensions to read the overriden homepage and newTab values, r=mixedpuppy
This introduces browser.browserSettings.homepageOverride and browser.browserSettings.newTabPageOverride
which will return the values of the overridden home page and the overridden new tab page.

These browserSettings are read-only.

MozReview-Commit-ID: A9vJP2QIaoA

--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides_home.js => browser/components/extensions/test/browser/browser_ext_chrome_settings_overrides_home.js
extra : rebase_source : 7c3fc91a5ca489b909a8b60d5b4a882180a0276e
2017-07-17 14:16:02 -04:00
Wes Kocher
68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Ryan VanderMeulen
4a6e771437 Bug 1332144 - Fix no-extra-semi ESLint failure in ext-find.js. r=me 2017-08-25 15:39:39 -04:00
Luca Greco
631994bd76 Bug 1377401 - Fix devtools.inspectedWindow test intermittent. r=aswan
MozReview-Commit-ID: ICghVmM5q5F

--HG--
extra : rebase_source : c14f72a9edfb3793124e106263a69fd374e40844
2017-08-24 13:11:52 +02:00
Kevin Jones
841456a51c Bug 1332144 - Add browser.find extension API. r=mikedeboer, r=mixedpuppy
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

--HG--
extra : amend_source : dfa2b36794543378db58e411ca4e317a64921831
2017-08-24 18:24:00 -04:00
Michael Kaply
4fc473da9c Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : b29b61ffdddcb30ee5d3a9456c0fd9b285d4f03b
2017-07-18 11:28:33 -05:00
Sebastian Hengst
ee9a2c2c54 Backed out changeset 5d5c1a6c3f3a (bug 1378882) for eslint failures at ext-chrome-settings-overrides.js:37 and ext-chrome-settings-overrides.js:37. r=backout 2017-08-24 18:28:02 +02:00
Michael Kaply
daf2df6528 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : d1d0b629184c28e6ddd9d0e46ed783d5b767e77a
2017-07-18 11:28:33 -05:00
Dão Gottwald
10caf949d2 Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: 8Q6MeB1XuyD

--HG--
extra : rebase_source : 5152c5077e951afad4932b938e4022c3704d2a05
2017-08-24 09:30:39 +02:00
Wes Kocher
e3d5db5c9a Backed out changeset df24976c2a46 (bug 1390359) for test_chrome_element_css.py failures a=backout
MozReview-Commit-ID: I0zHTpanBS0
2017-08-24 00:13:25 -07:00
Dão Gottwald
3e3744e717 Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: BQJ8ZiFAzco

--HG--
extra : rebase_source : f42aa26361094f6b072975a7bd86f10b9960e7c6
2017-08-23 09:41:48 +02:00
Shane Caraveo
dee4aba6b9 Bug 1385630 ensure elements are attached to all windows before onReady, r=Gijs
MozReview-Commit-ID: Jb0t9FREsTh

--HG--
extra : rebase_source : 962ca0771c121b40d5763843514fc65b0ea1b99b
2017-08-23 09:13:55 -07:00
Dão Gottwald
fc65927e70 Bug 1391017 - Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing. r=Gijs
MozReview-Commit-ID: JB9OSshDLKy

--HG--
extra : rebase_source : 2eded7e6868e231ae5ac91a693848cc42a221236
2017-08-23 13:01:06 +02:00
Julian Descottes
d9fd1ad2a1 Bug 1392531 - add test for devtools extensions using inspected window from panel;r=rpl
MozReview-Commit-ID: F1ZXG9JoySr

--HG--
extra : rebase_source : 4d65d40201313a53539e6d0a73fb4f1b085a8f01
2017-08-22 16:32:14 +02:00
Julian Descottes
68384c971b Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw

--HG--
extra : rebase_source : f363f9cb0027b20d9c8c5cb684af3b295b9ad289
2017-08-22 16:31:44 +02:00
Luca Greco
e401b67d1c Bug 1382487 - Fix devtools onSelectionChanged API event test case intermittency. r=aswan
MozReview-Commit-ID: GvljckBZpgN

--HG--
extra : rebase_source : 2bd4f32bee4078df8e87f963ccab20d1c43db54d
2017-08-15 17:08:27 +02:00
Luca Greco
43ae29fe27 Bug 1341305 - Implement devtools.panels.elements.createSidebarPane and sidebar's setObject APIs. r=aswan
MozReview-Commit-ID: 2OhNuUWY9CP

--HG--
extra : rebase_source : 1d9186f6c3e67891647351c7e660d3c3b6627ebc
2017-07-24 16:58:55 +02:00
Phil Ringnalda
9359f5bf39 Merge inbound to m-c, a=merge
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Phil Ringnalda
b792bad21d Backed out changeset bb2763b51dad (bug 1332144) for landing with insufficient review
MozReview-Commit-ID: 2b699CVS9gk
2017-08-19 09:08:00 -07:00
Kevin Jones
1ee4a161ba Bug 1332144 - API browser.find r=mikedeboer
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

MozReview-Commit-ID: 6hbNJuvJO3
2017-08-18 09:56:22 -06:00
Wes Kocher
bb19458d5f Merge m-c to inbound, a=merge
MozReview-Commit-ID: EgYue63nSkv
2017-08-18 16:29:11 -07:00
Shane Caraveo
4437e84fb7 Bug 1391720 remove _blank support for background pages, r=kmag
MozReview-Commit-ID: aRpNSrE483

--HG--
extra : rebase_source : f6a037937350ee7d8f502a9060459a073bd60190
2017-08-18 11:30:01 -07:00
Florian Quèze
49fa9f3e4e Bug 1373331 - update browserAction buttons synchronously when creating them to avoid flickering in new windows, r=kmag. 2017-08-18 21:53:30 +02:00
Kris Maglione
40665c5e59 Bug 1391472: Part 1 - Remove integer property check from IconDetails.normalize. r=mixedpuppy
We already do this check at the schema level, so the added check in
IconDetails is unnecessary.

MozReview-Commit-ID: JTEE0xWH0a4

--HG--
extra : rebase_source : baad0a75438cdf126e0ba8df4055be50f3281d2a
2017-08-18 12:25:40 -07:00
Julian Descottes
721cd7ffa1 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : source : b7435cd66ce3299d23f71a9bf855edbcb1ccacf2
2017-07-12 11:04:28 +02:00
Julian Descottes
8725798c60 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : source : 22baf4e67730ce89d5342cb0dd5c1e2e5944b4a1
2017-06-22 20:44:56 +02:00
Ryan VanderMeulen
b708734864 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes
0cda1042cc Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : rebase_source : 018660cc54bf2454c1f810ded639fd647ba79da3
2017-07-12 11:04:28 +02:00
Julian Descottes
c6f45428f0 Bug 1374735 - use DevToolsShim to create TabTarget in ext-devtools;r=mixedpuppy
Removing dependencies from mozilla-central to devtools. Use DevTools shim instead
of directly depending on devtools code here.

MozReview-Commit-ID: CeV5tfw1Vnz

--HG--
extra : rebase_source : 515278b93ad9840f6af89fb13cc62bb819a65253
2017-06-22 20:44:56 +02:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Michael Kaply
4a10c8330f Bug 1390153 - Add support for suggest_url to WebExtension added engines. r=mixedpuppy
MozReview-Commit-ID: IPsDbwZ8KSy

--HG--
extra : rebase_source : 7d6f0c1e9e1b4c1ea8ae914f021f0dac357a8c1a
2017-08-14 10:56:47 -05:00
Carsten "Tomcat" Book
99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Kris Maglione
b6480eaf24 Bug 1238314: Part 2 - Implement browser.tabs openerTabId functionality. r=aswan
MozReview-Commit-ID: L4ycNoQDfa

--HG--
extra : rebase_source : 6c7a92cd6a068d446d60469637ebc88b4355671d
2017-08-04 16:13:59 -07:00
Drew Willcoxon
3c27aee62b Bug 1385418 - Remove disabled pocket code for the toolbar button now that it's been replaced by the item in the page action panel. r=Gijs
MozReview-Commit-ID: 1wANxaD3QaV

--HG--
extra : rebase_source : f87650ab8c09f7a313cda9b7ec73ee1e20d6fe34
2017-08-16 10:13:15 -07:00
Shane Caraveo
ade364b171 Bug 1341126 implement open for browser/page/sidebar actions, r=kmag,zombie
MozReview-Commit-ID: 5r5aGpyPQ6W

--HG--
extra : rebase_source : d20d30aab83af385512e1188902001f976ea4fd1
2017-03-08 23:36:25 -08: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
Carsten "Tomcat" Book
6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Kris Maglione
04d337c543 Bug 1387907: Follow-up: Move identity module init data to ext-browser.json.
MozReview-Commit-ID: Jw8gNOGDuxw

--HG--
extra : rebase_source : 608b5287cc9ee55dc25b2d453c320e5b713c2a8b
2017-08-12 17:41:34 -07:00
Blake Winton
7da5825a6f Bug 1374048 - Show the sidebar extension icon in the header. r=Gijs, ui-r=shorlander.
MozReview-Commit-ID: 3FLYauvCs8E

--HG--
extra : rebase_source : 34e979c2670c162778ad8c31db7791c0c705bcdd
2017-08-08 14:31:40 -04:00
Geoff Brown
d7cb26a245 Bug 1382487 - Skip test browser_ext_devtools_panels_elements.js for frequent intermittent failures; r=me,test-only 2017-08-14 19:44:00 -06:00
Dão Gottwald
e2259fbc44 Bug 1389740 - Rename urlbar-icons to page-action-buttons. r=gijs
MozReview-Commit-ID: 980Rvv8mxtU
2017-08-14 16:45:17 +02:00
Sebastian Hengst
56c035fa36 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4cZJ3qFjvPY
2017-08-12 23:49:21 +02:00
Sebastian Hengst
57f655f77a Backed out changeset c73631b194bb (bug 1389740) for failing Firefox-UI's test_windows.py and test_about_private_browsing.py. r=backout 2017-08-12 18:42:57 +02:00
Dão Gottwald
ad2ba7b0b1 Bug 1389740 - Consolidate URL bar history dropmarker styling. r=Gijs
The dropmarker gets the urlbar-icon class for consistency with the other URL bar icons. On this occasion, I increased the urlbar-icon padding and removed the margin to match the photon spec. Also added a rudimentary hover effect.

#urlbar-icons is renamed to #page-action-buttons to better reflect its meaning, and because .urlbar-icon is now used outside of this container.

#urlbar-wrapper wrapper isn't needed anymore -- we can just set the switchingtabs attribute directly on #urlbar.

MozReview-Commit-ID: EiuUW71IKgU

--HG--
extra : rebase_source : dcc7753e92073e06278d714a0b5b976d073e75c8
2017-08-12 17:49:35 +02:00
Geoff Brown
7e7d1e53c7 Bug 1369197 - Disable test browser_ext_browserAction_contextMenu.js for frequent intermittent failures; r=me,test-only 2017-08-11 14:30:29 -06:00
Tomislav Jovanovic
85a5f1f9a2 Bug 1377734 - Avoid instantiating a lazy tab from sendMessage, r=mixedpuppy
MozReview-Commit-ID: KfYg6hG8KmC

--HG--
extra : rebase_source : c151eebcc585cbfa526b328985e23759edaf7bc4
2017-08-11 02:16:33 +02:00
Andrew Swan
5a7c07ecdf Bug 1359558 Part 3 Add a test for extension newtab overrides with temporary addon installation r=bsilverberg
MozReview-Commit-ID: JPEPMa80SI2

--HG--
extra : rebase_source : 6e9bf4091b30cb7d9d2354b64a7635ac61542833
2017-07-28 14:15:09 -07:00
Andrew Halberstadt
d2109610fb Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : 8607b3964da207a6076c79b6f1d75b40503cdd7d
2017-08-10 14:48:21 -04:00
Phil Ringnalda
0ff5a4285d Backed out changeset 6896f93a2327 (bug 1385352) for not making it to m-c before the next violation of its new linting rule merged to autoland
MozReview-Commit-ID: 3HDE2C3wSU0
2017-08-10 20:21:19 -07:00
Wes Kocher
cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Rob Wu
1ed7253b50 Bug 1387506 - Apply activeTab permission for _execute_browser_action r=kmag
And add tests to confirm that activeTab works for both
_execute_browser_action and _execute_page_action.

MozReview-Commit-ID: HDTDZXCvukc

--HG--
extra : rebase_source : 1a59270afa7b87979329d0fed197238e6655a647
2017-08-04 20:18:39 +02:00
dw-dev
291d2c4afb Bug 1386805 - changes to saveAsPDF() and printPreview(); r=mixedpuppy
saveAsPDF() - changed to return error message in lastError if called on Mac OS X.

saveAsPDF() - changed returned status values to lower case with underscores instead of spaces.

printPreview() - changed to return error message in lastError if print preview fails.

MozReview-Commit-ID: KxWJ3ClqaHy

--HG--
extra : rebase_source : 4526b66ff0c342dc1302132a7f187d1cdc5b1399
2017-08-11 18:24:57 +01:00
Wes Kocher
677cf14fe6 Backed out changeset 6f71999ab349 (bug 1377734) for failures in test_ext_tab_runtimeConnect.html a=backout
MozReview-Commit-ID: LU18pnnbm5z
2017-08-11 11:58:28 -07:00
Tomislav Jovanovic
92117a8c9e Bug 1377734 - Avoid instantiating a lazy tab from sendMessage, r=mixedpuppy
MozReview-Commit-ID: KfYg6hG8KmC

--HG--
extra : rebase_source : 89d3417a32d9ca5be4a850336636d3031b3c7e80
2017-08-11 02:16:33 +02:00
Thomas Wisniewski
c20797f0fa Bug 1261289 - Allow webextensions to open view-source links. r=mixedpuppy, r=smaug
MozReview-Commit-ID: A8TGE448vBs
2017-06-20 15:23:49 -04:00
Valentin Gosu
953c52ffc5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Andrew Halberstadt
f625fd5c37 Bug 1385352 - Enable 'mozilla/no-arbitrary-setTimeout' eslint rule on browser-chrome tests, r=standard8
MozReview-Commit-ID: 5lO0uAjHMsw

--HG--
extra : rebase_source : d72a88962ec8d843e7be99e25f710887f01b6e1a
2017-08-10 14:48:21 -04:00
Michael Kohler
674e1b96fb Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui

--HG--
extra : rebase_source : 222d8e9d3b9543552ff5b08967375fa46d62b896
2017-08-08 12:09:14 +02:00
Carsten "Tomcat" Book
0f16d437cc merge mozilla-inbound to mozilla-central a=merge 2017-08-08 13:18:14 +02:00
Kris Maglione
701fb54270 Bug 1387907: Part 3 - Merge ext-browser.js and ext-utils.js. r=mixedpuppy
MozReview-Commit-ID: CmOax5b5Gki

--HG--
extra : rebase_source : d0200575bfe49607f277cef5aea3da920852fd45
2017-08-06 18:20:25 -07:00
Kris Maglione
d0f7ccc7be Bug 1387907: Part 2 - Store computed module data in the startup cache. r=mixedpuppy
MozReview-Commit-ID: 4PV4z870GTb

--HG--
rename : browser/components/extensions/ext-browser.js => browser/components/extensions/ext-browser.json
rename : toolkit/components/extensions/ext-toolkit.js => toolkit/components/extensions/ext-toolkit.json
extra : rebase_source : d0909d381724c65877517873b57e78d474948376
2017-08-06 18:04:28 -07:00
Kris Maglione
3c361e6c6d Bug 1387902: Don't attempt to localize browserAction widget properties. r=Gijs
We spend a lot of time at startup generating exception objects while trying to
retrieve nonexistent localized properties from string bundles. Since extension
widget values will never be localized this way, we should skip the string
bundle lookup entirely.

MozReview-Commit-ID: L9r59bf2Dgf

--HG--
extra : rebase_source : 04eb6f9a78215d0268d2eaee7f94fd5b4cff498b
2017-08-06 16:34:31 -07:00
Kris Maglione
5a70f7bd60 Bug 1387899: Part 2 - Cache pageAction icon data for startup. r=mixedpuppy
MozReview-Commit-ID: 2ZK19neRcrQ

--HG--
extra : rebase_source : 7feb62427a9f500752ea28bc591de5a01f590395
2017-08-06 16:16:33 -07:00
Kris Maglione
90e5e54ec2 Bug 1387899: Part 1 - Cache browserAction icon data for startup. r=mixedpuppy
MozReview-Commit-ID: 57ANCciibCn

--HG--
extra : rebase_source : da636dc48d07951d973965f4c662d7aa048c715e
2017-08-06 16:12:14 -07:00
Kris Maglione
0a92c7bb9b Bug 1387898: Remove unnecessary uses of EventEmitter.decorate. r=mixedpuppy
MozReview-Commit-ID: FRCdXHc3S4K

--HG--
extra : rebase_source : 4d7eb8614745fdbcac37b101a617d7aa3d43eea0
2017-08-07 14:42:57 -07:00
Kris Maglione
3ba231e141 Bug 1387789: Convert ExtensionTabs.jsm to ext-tabs-base.js. r=mixedpuppy
This moves it to the same compartment as the code that it interfaces with the
most often, and allows for much more effective JIT optimizations.

MozReview-Commit-ID: FZcogI4d4rv

--HG--
rename : toolkit/components/extensions/ExtensionTabs.jsm => toolkit/components/extensions/ext-tabs-base.js
extra : rebase_source : 9928f7e36e4d65401ebb420dddfbcfcdbb11226f
2017-08-05 18:42:01 -07:00
Thomas Wisniewski
e530ba4d43 Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9

--HG--
extra : rebase_source : 9c6154bbe878fc3921d22027fdc90dbdaed05be9
2017-07-04 20:59:26 -04:00
Phil Ringnalda
e760ae7c08 Backed out changeset 5020a2dcb8a7 (bug 1355576) for failures in test_ext_browsingData.js
MozReview-Commit-ID: BVSLvIkK5Wd
2017-08-06 15:29:38 -07:00
Thomas Wisniewski
5eeefa573d Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9

--HG--
extra : rebase_source : d38ee312dbfb3b7f46893d7af200b564876c82d1
2017-07-04 20:59:26 -04:00
Sebastian Hengst
ca40024d84 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
45d5f35624 Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe

--HG--
extra : rebase_source : 20d6404db9f90cfcb7de03d4c527ad6ed79d49f8
2017-08-05 20:37:40 +02:00
Gijs Kruitbosch
a102d33f95 Bug 1354117 - don't force border radius to 0 for photon (x-ref bug 1374315), fix webextension tests, r=kmag
MozReview-Commit-ID: 2HAi5J7uzxP

--HG--
extra : rebase_source : ccd6bcca391a36196e24256b48db097edf1271e6
2017-08-01 18:37:41 +01:00
Tomislav Jovanovic
3c79bd8784 Bug 1370716 - Only try to add _action menus if extension has permission r=mixedpuppy
MozReview-Commit-ID: KpT1RH30NMh

--HG--
extra : rebase_source : a4ad233ba966b201b2b57559ff3fcd2d40757b2d
2017-08-06 23:27:10 +02:00
Sebastian Hengst
50d2d60772 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5MywkQxECqB
2017-08-03 11:46:00 +02:00
Kris Maglione
f87ef7bd44 Remove unused lazy imports. r=trivial (no bug)
MozReview-Commit-ID: rqUFJw7Wsb

--HG--
extra : rebase_source : cdda5d87fe33bdb9dacc1846fd67f3cb4154f230
2017-08-02 21:09:38 -07:00
Kris Maglione
e2676b4811 Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
MozReview-Commit-ID: KgqAKMLmuTI

--HG--
extra : rebase_source : db2e5eeb8e839bb7b1212d7829b66813b9fd15bd
extra : source : c0ab60d3c1f833116d1d9d3b5ef37825726c8ec5
2017-08-02 12:49:25 -07:00
Sebastian Hengst
0fa7bded36 Backed out changeset c0ab60d3c1f8 (bug 1375490) for failing browser_ext_popup_corners.js on OSX and Windows. r=backout on a CLOSED TREE 2017-08-02 13:12:55 +02:00
Sebastian Hengst
fb62f9043e Backed out changeset ec8efb7cf1d3 (bug 1375490) 2017-08-02 13:10:14 +02:00
Kris Maglione
253c296471 Bug 1375490: Follow-up: Fix resize test failures. r=bustage CLOSED TREE
MozReview-Commit-ID: JMWjtKd7CvX

--HG--
extra : amend_source : f5910f3d58e33795eea70b22ba1f44833eb44110
2017-08-01 22:56:40 -07:00
Kris Maglione
e5655d2234 Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
MozReview-Commit-ID: KgqAKMLmuTI

--HG--
extra : rebase_source : 82ec2b3a8380fac8355009720dbd20c7a6c7dbb6
2017-08-01 15:28:25 -07:00
UK992
04a7b8f7ca Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
Nicolas Chevobbe
8356937ddd Bug 1386221 - Fix test for inspect binding on 56 beta. r=bgrins.
The test was failing on 56 beta because the new console frontend isn't enabled there and thus
the ObjectInspector that were tested not in the old frontend.
This patch adds a branch in the test so we can wait for the correct element (VariableView or ObjectInspector)
depending on whether the new console frontend is enabled or not.

MozReview-Commit-ID: HGGgr7CWMpe

--HG--
extra : rebase_source : ef8e21d1f0a1b074fd798ed2b05fb18a9a9335cc
2017-08-01 19:59:24 +02:00
Sebastian Hengst
4f5ee61f5b Backed out changeset f3e224764ca8 (bug 1363485) 2017-08-02 16:24:54 +02:00
Sebastian Hengst
ba9265a59e Backed out changeset 469a6a99593a (bug 1386221) for failing browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout 2017-08-02 16:07:44 +02:00
UK992
4d606a1288 Bug 1363485 - Update tests r=dao
MozReview-Commit-ID: 4epuVQVCJPH

--HG--
extra : rebase_source : aef306464344009feb0e28295a0159cc9aab19ad
2017-07-30 20:39:55 +02:00
Nicolas Chevobbe
9e9b676255 Bug 1386221 - Fix test for inspect binding on 56 beta. r=bgrins.
The test was failing on 56 beta because the new console frontend isn't enabled there and thus
the ObjectInspector that were tested not in the old frontend.
This patch adds a branch in the test so we can wait for the correct element (VariableView or ObjectInspector)
depending on whether the new console frontend is enabled or not.

MozReview-Commit-ID: HGGgr7CWMpe

--HG--
extra : rebase_source : 38151b727d9cb196d2325ca20429f3de1e699cfb
2017-08-01 19:59:24 +02:00
Wes Kocher
179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Marco Castelluccio
0abc80eebf Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
--HG--
extra : rebase_source : 8ae926bfde827b9a5323d6fb96dc231d429ab9b0
2017-07-31 13:25:41 +02:00
Sebastian Hengst
bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Tomislav Jovanovic
460b84a6db Bug 1385528 - Fix tools_menu in newly opened windows r=kmag
MozReview-Commit-ID: B9gTIzYDVdk

--HG--
extra : rebase_source : f044b0836e3aecd987f4382161ddef26290895f0
2017-07-29 20:51:47 +02:00
Bob Silverberg
f386f9df93 Bug 1381605 - Do not load ExtensionSettingsStore's JSON file synchronously, r=aswan
MozReview-Commit-ID: 7lQp9hL9pNd

--HG--
extra : rebase_source : 8e61f79fe131111e91cb5853354a0dcfabf5ccbf
2017-07-24 15:49:30 -04:00
Doug Thayer
7469d83745 Bug 1362786 - (3) Run CppFiltParser in worker r=kmag
Pulls out the CppFiltParser work into a worker to run in the
background and avoid the jank induced by the final
convertSymsMapToExpectedSymFormat call.

Profiling shows that after this change there is virtually no
jank when asking the geckoProfiler API for symbols.

MozReview-Commit-ID: CAKMvjLa4dl

--HG--
extra : rebase_source : de9202687ca8ffbfa5216f73fe57e97ffdbea8ef
2017-07-21 14:13:37 -07:00
Doug Thayer
ed9ed87b3e Bug 1362786 - (2) Run NMParser in worker r=kmag
Pulls out the NMParser work (parsing nm results and turning
them into an ArrayBuffer'd map of addresses to symbols) into
a worker.

For OSX we will still need to do some work to run c++filt in the
background, but this gets us most of the way there. Without a
Subprocess.jsm usable from a worker, we'll have to bounce data
back to the main thread in order to bounce it to the c++filt
worker.

MozReview-Commit-ID: LZi7J1qGpmh

--HG--
extra : rebase_source : 048329fb085542ecc4c8f8d872e6c4cf0b535376
2017-07-21 14:14:17 -07:00
Andrew Halberstadt
21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Tomislav Jovanovic
6c93e76d0c Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : e5a031affda3f28fb9eb3ebd0723e64648f20848
2017-07-25 20:57:45 +02:00
Bob Silverberg
f54d2052b3 Bug 1381573 - Use callOnClose instead of onShutdown in ext-url-overrides.js, r=aswan
Also replace onStartup with onManifestEntry

MozReview-Commit-ID: GMrdzjvXZe5

--HG--
extra : rebase_source : 010c3b2d328e6738a49d7a1e551720117950bfc0
2017-07-17 14:01:04 -04:00
Carsten "Tomcat" Book
732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sebastian Hengst
7eda2e248c Backed out changeset 0bb1d7f7feb0 (bug 1363886) 2017-07-25 10:40:38 +02:00
Sam Foster
fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher
4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster
fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Tomislav Jovanovic
d688cf9be3 Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : 9d86b26a61a56a4446b05c348716001cc39a1843
2017-07-24 22:05:20 +02:00
Gijs Kruitbosch
4b32580d0f Bug 1383076 - restore workaround for 'current' setter on panelviews in non-photon panelmultiview, r=mconley
MozReview-Commit-ID: 6YZ6Wyu0Spc

--HG--
extra : rebase_source : 69df1d25835a817e37e5e852b68792aa8f506887
2017-07-24 14:56:01 +01:00
Kris Maglione
d500662369 Bug 1357902 - Use improved locale service APIs for localization. r=gandalf
MozReview-Commit-ID: 6Aj0SZkCJwg

--HG--
extra : source : a897a38aad5c4b2dbe7d880d13bf39d079b734a8
extra : amend_source : e929342f2dedf228565095e08cadbb68c1cfb94a
extra : intermediate-source : 9b44720d645bc7f4d9698ecdc0c7ffbf073b36e6
2017-05-04 18:28:05 -07:00
Tomislav Jovanovic
1ff63c03a8 Bug 1268020 - Implement "tools_menu" context r=kmag
MozReview-Commit-ID: KPUsBbqyQTC

--HG--
extra : rebase_source : dd444b203d60ec3025bcc7881a228676b76f102a
2017-06-28 16:19:24 -07:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Gijs Kruitbosch
4b11bed1eb Bug 1373238 - make popup resize test not care about rounding errors so it works on local hidpi machines, r=mstriemer
MozReview-Commit-ID: 3ojX1PYmBfq

--HG--
extra : rebase_source : d06850bfa4b2630f4cedc93b205e9e7668d150e9
2017-06-09 23:22:09 +01:00
Sebastian Hengst
68c1933983 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2kKTSo87OJy
2017-07-20 10:56:34 +02:00
Kris Maglione
288e69595c Bug 1382501: Don't use NetUtil to parse URIs. r=trivial
MozReview-Commit-ID: BepyXBOOuv2
2017-07-19 18:26:41 -07:00
Wes Kocher
6483c10611 Backed out changeset c49af70f1a94 (bug 1378882) for eslint failures in ext-chrome-settings-overrides.js a=backout CLOSED TREE
MozReview-Commit-ID: DAuBI2jFzG3
2017-07-18 22:44:06 -07:00
Gijs Kruitbosch
5b530597e8 Bug 1354086 - switch overflow panel to using a photonpanelmultiview, allowing webextension views to specify their own size, r=mikedeboer
MozReview-Commit-ID: 1uHEKXsO8vh

--HG--
extra : rebase_source : f33e277e77a09a10cb0ea3db412d293ef61a5f19
2017-07-19 21:23:46 +01:00
Mike Taylor
090eb75dee Bug 1330146. Remove windows-xp and windows-vista values from extension-win-panel.css. r=kmag
(They do don't anything since Bug 1325503)

MozReview-Commit-ID: 4GPuBkGyAu5

--HG--
extra : rebase_source : fd184f7eb6b5aa082382cf2e0ecb6bcd4992312b
2017-07-19 11:43:07 -05:00
Nicolas Chevobbe
153e2d347d Bug 1382690 - Adapt extensions inspect() calls to the new frontend. r=bgrins
The inspect command in extension was directly calling jsterm.inspectObject and doing so bypassed
the code we implemented for the command on the new frontend (i.e. no more variable view).
This patch modifies the jsterm inspectObject function so it can do the expected behavior,
and also reverts some changes made in the original inspect command bug, so we only deal with
the new frontend code in jsterm.inspectObject.
This implied changing an extension test that was waiting for the variable view to boot-up.
The test was modified to match the tests we already have for the inspect command on the new
console frontend.

MozReview-Commit-ID: 8fZV20Mck8r

--HG--
extra : rebase_source : 59870c4bae3664aebf448acee439b918190591dc
2017-07-20 14:56:46 +02:00
Michael Kaply
a8eb0ae196 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : 1907777fa8ffcfe884ff2e22113f2f3e33698abc
2017-07-18 11:28:33 -05:00
Ryan VanderMeulen
84f63b9d2f Merge m-c to autoland. a=merge 2017-07-18 12:52:05 -04:00
Ryan VanderMeulen
366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Wes Kocher
e58c76131e Backed out changeset 9b44720d645b (bug 1357902) for android xpcshell failures in test_ext_startup_cache.js a=backout
MozReview-Commit-ID: KzJWDUsEJoK
2017-07-17 23:28:33 -07:00
Luca Greco
9472da0b3d Bug 1341304 - Implement devtools.panels.elements.onSelectionChanged. r=aswan
MozReview-Commit-ID: HMKvnk3wDyX

--HG--
extra : rebase_source : 71d999ae31270ace519c692406608b7dd3d868d7
2017-06-01 20:06:53 +02:00
Kit Cambridge
18e2c40fe8 Bug 1380718 - Include the operation name in bookmark validation errors. r=mak
MozReview-Commit-ID: H4vp6ZULSq7

--HG--
extra : rebase_source : a3bb16fd51700d9de0d31bf574a82e5ce4dfca94
2017-07-13 10:09:49 -07:00
Bob Silverberg
456985f68e Bug 1333376 - Support reading the title and setting the title preface of a Window object, r=aswan
Implements a title property on the Window object, and allows for a titlePreface to be set
both via windows.create and via windows.update.

MozReview-Commit-ID: CaWwPN0utzs

--HG--
extra : rebase_source : 20d4310063bc37fccb1a1fe68b5d67ec2cc0e433
2017-07-05 16:53:10 -04:00
Thomas Wisniewski
941e4787b2 Bug 1348911 - Add lastAccessed to tabs.Tab; r=mixedpuppy,zombie
MozReview-Commit-ID: 4ulhseGDQ4P

--HG--
extra : rebase_source : 12037d094ffe72b347436759b7011516b145fa92
2017-07-07 20:17:23 -04:00
Kris Maglione
302419fd50 Bug 1357902 - Use improved locale service APIs for localization. r=gandalf
MozReview-Commit-ID: 6Aj0SZkCJwg

--HG--
extra : source : a897a38aad5c4b2dbe7d880d13bf39d079b734a8
extra : amend_source : ac34e8a5afc1b4106f8ca4d0b97a5bd3e93e40f1
2017-05-04 18:28:05 -07:00
Wes Kocher
f1fa88618b Backed out changeset a897a38aad5c (bug 1357902) for xpcshell failures in test_ext_startup_cache.js a=backout
MozReview-Commit-ID: 7peWbHfCcGx
2017-07-17 17:43:16 -07:00
Wes Kocher
d041a8f1e1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EAJy9kHnb32
2017-07-17 17:36:04 -07:00
Kris Maglione
4772055bc5 Bug 1357902 - Use improved locale service APIs for localization. r=gandalf
MozReview-Commit-ID: 6Aj0SZkCJwg

--HG--
extra : rebase_source : 3d38444d85dea47c70c0c4199f5d0d1877eea081
2017-05-04 18:28:05 -07:00
Kris Maglione
c593e26ab1 Bug 1381337: Don't contstrain popup select dropdowns to the document viewport. r=aswan
MozReview-Commit-ID: HzISTjddHHK

--HG--
extra : rebase_source : b0877aa4aba0ecd2e64be46ffecc95fc3b8c5cd3
2017-07-16 13:13:03 -07:00
Kris Maglione
ecde6edc4b Bug 1379508: Follow-up: Disable select popup test on Linux for frequent intermittent failures.
MozReview-Commit-ID: GiHc1OVMFEh
2017-07-15 21:08:44 -07:00
Kris Maglione
b2f95bf6fb Bug 1379508: Follow-up: Disable select popup test on OS-X for alignment issues.
MozReview-Commit-ID: 9GfteuwKeTb
2017-07-15 15:27:24 -07:00
Kris Maglione
4b46d3f00d Bug 1379508: Part 3 - Support <select> popups in OOP popup browsers. r=zombie
MozReview-Commit-ID: BuAjyqg1aja

--HG--
extra : rebase_source : 03b7368659ccdb39ebedf7aeb6a1902b6abe5808
extra : amend_source : 53eadbc91f2468b8d116cf0e5bf457fd7107bfb8
extra : absorb_source : 379f778671c868a08f560663f31e6248872c7989
2017-07-13 15:47:52 -07:00
Swapnesh Kumar Sahoo
0e6eae8f51 Bug 1321544 - Support icons for context menu items; r=zombie
MozReview-Commit-ID: HLaL8h0WK2c

--HG--
extra : rebase_source : aa45adcbf34880f1e75bd0a4fbc219965f0e5c1e
2017-07-11 22:27:20 +05:30
Kris Maglione
a97f59bd1b Bug 1380290: Use correct message manager when communicating with inline options browsers. r=aswan
MozReview-Commit-ID: HpxXG3S2zgp

--HG--
extra : rebase_source : fea9712e94676ea0d8c71a59788a6df51780ec2a
2017-07-12 17:41:12 -07:00
dw-dev
6c4686768a Bug 1269300 Patch 5;r=mixedpuppy
MozReview-Commit-ID: ByikIYU4ASF

--HG--
extra : rebase_source : 85e2bed93c47f8bdb2df7165b1f01169619cb170
2017-07-13 18:34:29 +01:00
Bob Silverberg
5e8fe99296 Bug 1330494 - Part 2: Use the ExtensionsSettingsStore to handle precedence for extensions using chrome_url_overrides, r=aswan
MozReview-Commit-ID: 5sKtIXjdSmC

--HG--
extra : rebase_source : d4a57b71c009c32fab03c890df10f657afdc17bb
2017-06-28 13:11:19 -07:00
Mark Banner
35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Thomas Wisniewski
6e4b30e56a Bug 1376991 - Extend browsingData to restrict removing cookies to a give list of hostnames; r=mixedpuppy
MozReview-Commit-ID: 4Tfneh5s1Q8
***
Fixes for try run failures

MozReview-Commit-ID: 2BAT1GUcvH3

--HG--
extra : rebase_source : a9e3777e3967ee4e95bb27bd575020ed16a559e9
2017-06-30 09:11:18 -04:00
Kris Maglione
c57409fca6 Bug 1357486: Enable OOP extensions by default on Windows. r=aswan
MozReview-Commit-ID: 3Tet7tNtmGx

--HG--
extra : source : 7124641a168ffaa20461764f2f554992dfd856e6
extra : absorb_source : a8b47dcf788b841a832ea5a8669f8940b2412f6d
extra : histedit_source : dd3cab4db72f4d24b3103834a644173632064d25
2017-07-06 21:13:40 -07:00
Kris Maglione
330469aeb9 Bug 1357486: Part 0g - Run remote debugger host browser in same TabGroup as extension pages. r=me
MozReview-Commit-ID: BPqf0X1hwV6

--HG--
extra : rebase_source : 82b80bbb47533d1bc4ad0ec1e3767b3858d0e946
extra : absorb_source : 9ee1c9f7e5a42743d2ea9e49eae2f509d85ada21
extra : histedit_source : cf82313b4725f01ecd6c6a41b519e41a2d107e09
2017-07-08 15:56:10 -07:00
Kris Maglione
66734a7b4f Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => browser/components/extensions/test/xpcshell/head_remote.js
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-common.ini
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-remote.ini
extra : source : 3737f31a7ec3dcc68068e817b4b016b76c857d9e
extra : intermediate-source : e017440a55a8be15f67be5e538416d7b240b4f65
2017-05-29 14:10:27 -07:00
Sebastian Hengst
e0967cf4de Backed out changeset e017440a55a8 (bug 1357490) 2017-07-08 11:30:47 +02:00
Sebastian Hengst
15b1ddec90 Backed out changeset 7124641a168f (bug 1357486) 2017-07-08 11:23:24 +02:00
Kris Maglione
b2069a4a9b Bug 1357486: Enable OOP extensions by default on Windows. r=aswan
MozReview-Commit-ID: 3Tet7tNtmGx

--HG--
extra : rebase_source : 5589394a4f7e738374b59e468ca58714d9ba3ab2
extra : histedit_source : 1d84968039fc33231000dade71d1efdfc35f4165
2017-07-06 21:13:40 -07:00
Kris Maglione
bb81dccb87 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => browser/components/extensions/test/xpcshell/head_remote.js
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-common.ini
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-remote.ini
extra : source : 3737f31a7ec3dcc68068e817b4b016b76c857d9e
extra : intermediate-source : c32994ea5a67f9fadde1007701160902f6e5039f
extra : histedit_source : 3d64cfc1efa4848f7ac8e4a56dc08e6e852b74b8
2017-05-29 14:10:27 -07:00
Carsten "Tomcat" Book
8a8f760949 Backed out changeset c32994ea5a67 (bug 1357490) 2017-07-07 10:43:53 +02:00
Kris Maglione
aee123deec Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy

--HG--
rename : toolkit/components/extensions/test/xpcshell/head_remote.js => browser/components/extensions/test/xpcshell/head_remote.js
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-common.ini
rename : browser/components/extensions/test/xpcshell/xpcshell.ini => browser/components/extensions/test/xpcshell/xpcshell-remote.ini
extra : rebase_source : d2ba3b0ed4a772d36eeec1511d8a1bc2baaf4843
extra : source : 3737f31a7ec3dcc68068e817b4b016b76c857d9e
2017-05-29 14:10:27 -07:00
Gijs Kruitbosch
49915f0bcd Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV

--HG--
extra : rebase_source : d682fbdb4f0015a2d0371adc4aae7daa94868384
2017-07-03 17:14:58 +01:00
Tomislav Jovanovic
35a2e0e01d Bug 1351638 - Fix intermittents caused by menus_commands test r=kmag
MozReview-Commit-ID: FsU2MHL0c9o

--HG--
extra : rebase_source : bc5f1897825a882537bc927fd4e59fb7ac23fb1a
2017-07-04 03:12:34 +02:00
Sebastian Hengst
9ea3fbf9df Backed out changeset 4d0faee8c200 (bug 1370967) for eslint failure: missing comma at browser_ext_browserAction_popup.js:132. r=backout 2017-07-05 22:34:23 +02:00
Gijs Kruitbosch
16ce5f8d00 Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV

--HG--
extra : rebase_source : a7e339dda5c75af0f0e1b910794f350dfdd8fdab
2017-07-03 17:14:58 +01:00
Gijs Kruitbosch
16d199df69 Bug 1378194 - ordering of buttons in browser_ext_themes_icons.js matters; don't append bookmarks menu button at the end, r=jaws
MozReview-Commit-ID: 8WOsV4u9DJY

--HG--
extra : rebase_source : baa5dd8adf7b6bebbfd0dad9ccfe576d857eef62
2017-07-04 22:51:36 +01:00
Kris Maglione
7156840ed7 Bug 1375002: Get rid of the omnibox_internal namespace. r=me
This namespace has schema definitions which spuriously expose it to extension
callers, and does not support lazy loading correctly, which breaks certain
usage patterns.
2017-07-04 15:17:45 -07:00
Stephen A Pohl
d432368c5b Bug 1356317: Support remote layer trees in popups. r=kmag 2017-07-04 13:45:18 -05:00
Phil Ringnalda
5e0291886b Bug 1377358 followup, pacify eslint
MozReview-Commit-ID: 3iraxMxLxXK
2017-07-01 14:39:19 -07:00
Ursula Sarracini
8caa413f6a Bug 1377358 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled. r=kmag
MozReview-Commit-ID: G7Po0FIzxuw

--HG--
extra : rebase_source : f458dc411c331a752c62fd3aaa6688f930df9993
2017-07-01 13:43:57 -07:00
Wes Kocher
1d9b8b419f Backed out changeset c3f7c2d4303f (bug 1321544) for frequent failures in browser_ext_contextMenus_icons.js a=backout 2017-06-30 11:36:34 -07: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
Swapnesh Kumar Sahoo
7fec7b53d2 Bug 1321544 - Support icons for context menu items; r=mixedpuppy,zombie
MozReview-Commit-ID: 2caNYYCQ7C7

--HG--
extra : rebase_source : fbcee2c682af439bf6d61c0077d2087e94a44809
2017-06-15 01:32:00 +05:30
Andrew Swan
503a78588d Bug 1369577 Part 2 Propagate isHandlingUserInput for browserAction, pageAction, and menus r=kmag
The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.

MozReview-Commit-ID: BYJaiwdj40u

--HG--
extra : rebase_source : 3d9cba03d2853ef8d71b6c3e3a1fd0aba400b39c
2017-06-15 12:48:40 -07:00
Andrew Swan
c29de224fb Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG

--HG--
extra : rebase_source : 7afd89a9a1853d51bd31196bb2faa7e0d786043c
2017-06-09 13:49:07 -07:00
Matthew Wein
24c37da7db Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3

--HG--
extra : rebase_source : 026f74066f9b7f0c446871e7b01ce482e6511af5
2017-06-23 13:54:19 -04:00
Sebastian Hengst
fb0361e188 Backed out changeset d5fa98ffa258 (bug 1354336) as requested by mattw. r=backout 2017-06-30 03:00:55 +02:00
Matthew Wein
a0a02343a4 Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3

--HG--
extra : rebase_source : 7b10bc5f3675fd03e318075023e8825d76b1f147
2017-06-23 13:54:19 -04:00
Sebastian Hengst
6d1aee1b24 Backed out changeset 26fd6d0a1254 (bug 1369577) for failing xpcshell's test_ext_simple.js and test_ext_startup_cache.js on Android. r=backout 2017-06-30 01:01:13 +02:00
Sebastian Hengst
61fb850321 Backed out changeset dfb376de5c23 (bug 1369577) 2017-06-30 00:59:59 +02:00
Andrew Swan
f512794b1a Bug 1369577 Part 2 Propagate isHandlingUserInput for browserAction, pageAction, and menus r=kmag
The implementations of browserAction, pageAction, and menu onClick
handlers now stash the current <browser> until we get a reply from
the extension process indicating that the handler has finished running.
We also have to take care to keep that <browser> around even if the
permissions api has to be loaded asynchronously.

MozReview-Commit-ID: BYJaiwdj40u

--HG--
extra : rebase_source : f0eb9522e532071a11c3424f8fffddf12300504f
2017-06-15 12:48:40 -07:00
Andrew Swan
c60b71854e Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG

--HG--
extra : rebase_source : 22cf5ee36dfa27e121a5c577bce2fd0189ccb164
2017-06-09 13:49:07 -07:00
Bob Silverberg
247cf78259 Bug 1376888 - pageAction popup telemetry does not report the correct times, r=kmag
Move the call to TelemetryStopwatch.finish to after the contentReady promise of the PanelPopup resolves.

MozReview-Commit-ID: F1hfaDHVuJi

--HG--
extra : rebase_source : 772057cd8b0fe13197b2816f1cbfb93a436e8046
extra : source : ec6575fd33c91cec6cb8cd395fa22318011a6db2
2017-06-28 13:28:15 -07:00
Bob Silverberg
460568b25e Bug 1374237 - Part 3: Declare all top-level functions in browser API files files via const., r=mixedpuppy
Also changed some function names to attempt to guarantee uniqueness across API files.

MozReview-Commit-ID: FU5JU1lRHzn

--HG--
extra : rebase_source : 4fdda100649f1bf604f6d5445aa04ce561859964
2017-06-21 16:13:00 -04:00
Bob Silverberg
bb1231853d Bug 1374237 - Part 1: Uniquify the name of the convert functions in ext-cookies.js and ext-bookmarks.js, r=mixedpuppy
Also declare all top-level functions in those files via const.

MozReview-Commit-ID: FsIEHVeotX8

--HG--
extra : rebase_source : 8257fac9824fddb78bf79c6d45eb16f6c0797603
2017-06-21 14:19:39 -04:00
Bob Silverberg
c6b128dddf Bug 1373011 - Re-enable browser/components/extensions/test/browser/browser_ext_windows_events.js, r=aswan,zombie
We intermittently receive an extra onFocusChanged event with a windowId of browser.windows.WINDOW_ID_NONE
when a window is closed. The test has been updated to ignore one of these events.

MozReview-Commit-ID: 8O1YvoKBvkH

--HG--
extra : rebase_source : 77b00e11d5244aab0bfafd32f2d88fa3174422fc
2017-06-16 12:25:36 -04:00
Bob Silverberg
3457de183e Bug 1376003 - Address intermittent browser_ext_pageAction_telemetry.js, r=mixedpuppy
MozReview-Commit-ID: IkBQ7PcSMwC

--HG--
extra : rebase_source : 27ba88a31fccb937ec673ae9e01d9100e709700d
2017-06-27 12:12:07 -07:00
Carsten "Tomcat" Book
45f2e51f0a Merge mozilla-central to autoland 2017-06-28 13:47:29 +02:00
Carsten "Tomcat" Book
7918eeee02 merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
Thomas Wisniewski
e29009081a Bug 1287928 - Update browser.history.onVisited to use the title from the onVisit event. r=mixedpuppy
MozReview-Commit-ID: 8aEbR1PE5XX

--HG--
extra : rebase_source : c0abb36c677ef9d9fa4d82bfd55dcdcb31a73104
2017-06-20 12:06:12 -04: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
Gijs Kruitbosch
0a11de7e87 Bug 1352120 - fix theming for the star icon, fix theming dealing with empty string icon urls, r=jaws
When debugging the test failures in this test, I noticed that the info() messages indicated we *were* using
moz-extension icon references even when we shouldn't be - they just didn't include the 'fox.svg' bit.
When pausing in the debugger, you can see that all the buttons are blank - we don't load any icon in this case.

This seemed bad, so I updated the test to actually check if we're using a moz-extension URI at all,
and then updated the implementation to actually make it work.

MozReview-Commit-ID: GGXaivJrzxj

--HG--
extra : rebase_source : a64bed37e1fb27c164a0543a0465038d251c709d
2017-06-22 13:08:52 +01:00
Andy McKay
8feb30008a bug 1334691 consolidate a couple of tests down r=bsilverberg
MozReview-Commit-ID: KrlCtNdlKja

--HG--
extra : rebase_source : 5eb77420d329975bdb5b80efd5b2e9a3b9c12d2a
2017-06-02 15:34:46 -07:00
Christoph Kerschbaumer
1b0622cda9 Bug 1375023 - Have switchToTabHavingURI() provide the correct triggeringPrincipal. r=gijs,aswan 2017-06-25 14:03:06 +02:00
Kris Maglione
b9b5dda147 Bug 1365821: Request animation frame on the correct window before checking details. r=me
MozReview-Commit-ID: 708VQuF065d

--HG--
extra : rebase_source : fdf6787b0106d01fb524fa28813d0a11695cd691
2017-06-23 19:18:15 -07:00
Joel Maher
307c2ec53b Bug 1351638 - Intermittent browser_ext_contextMenus_icons.js. temporarily disable on win/opt. r=gbrown
MozReview-Commit-ID: GETsYtCjw5y
2017-06-23 10:29:39 -04:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Wes Kocher
bb24138b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Wes Kocher
ac0fd2038c Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Kris Maglione
30e4348236 Bug 1373293: Follow-up: Fix failing xpcshell test. r=me
MozReview-Commit-ID: 52X7bw6jlvu

--HG--
extra : rebase_source : c24e7e3d9deb858bd295a01bc2a0d150e27a7bc7
2017-06-21 14:10:22 -07:00
Nathan Froyd
452dc60022 Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian
We did an automated conversion for many of these in another bug, but
these instances were either missed or have been added since then.
2017-06-21 12:59:28 -04:00
Luca Greco
1e852ced0c Bug 1347108 - Reduce the amount of time to show up a WebExtensions DevTools panel. r=aswan,bgrins
MozReview-Commit-ID: LJl8VJNErnz

--HG--
extra : rebase_source : aef91625b185ffe9e58ea1a5a70a6f763607505c
2017-06-08 17:10:07 +02:00
Matthew Wein
e5c60df5dc Bug 1329242 - Add unit tests for browser_action.theme_icons r=mixedpuppy
MozReview-Commit-ID: BDPa4RsFfl7

--HG--
extra : rebase_source : 9170a1e08b9e087873d4351db44d22c0de882c8f
2017-06-27 15:23:05 -07:00
Matthew Wein
20f84fa972 Bug 1329242 - Add support for browser_action.theme_icons r=mixedpuppy
MozReview-Commit-ID: HvfUQZzBQWq

--HG--
extra : rebase_source : 689b5bbd8c6774aff3f870a7c627e9f6a797c8c7
2017-06-27 15:23:35 -07:00
Bob Silverberg
06e954de4b Bug 1297167 - Part 2: Add telemetry probes for BrowserAction popups, r=bsmedberg,kmag
Add histogram for WEBEXT_BROWSERACTION_POPUP_OPEN_MS to track the amount of time it takes to open a browserAction popup.
Add histogram for WEBEXT_BROWSERACTION_POPUP_PRELOAD_RESULT_COUNT to track how often a popup preload results in a popup being shown, vs a popup being cancelled, both after hover and after mousedown.

MozReview-Commit-ID: L8xlSJxgTzX

--HG--
extra : rebase_source : 843e5d3780a9d854f0bde6dc2352191527047297
extra : source : 230078ffcde7a20a9d839779aef4656a028cc4f9
2017-05-03 11:12:03 -04:00
Bob Silverberg
c112a180ec Bug 1297167 - Part 1: Add telemetry probe for PageAction open timing, r=bsmedberg,kmag
MozReview-Commit-ID: 44xIqcFZXLO

--HG--
extra : rebase_source : 9d6f9a4ed03fed14877a163407294e3a48c640ba
extra : source : 9ecc91067d723f7cd3dbdb38fae022e3465be243
2017-05-03 08:28:34 -04:00
Gijs Kruitbosch
cf239a7857 Bug 1370482 - use longer timeout for browser_ext_sidebarAction.js, r=mikedeboer
MozReview-Commit-ID: Fp9rXZlwfI6

--HG--
extra : rebase_source : e70fc0ee2863abf09e3e8bfb4597912e66fd0ab0
2017-06-19 16:17:27 +01:00
Mike de Boer
f7e1f14006 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Paolo Amadini
585fbe6cec Bug 1242505 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : b6573f8e2001f91d0e5a50f6376b191459549e94
extra : intermediate-source : 0411e687044ecc7b56684196238e6e6e68a9d685
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-06-18 08:05:06 +01:00
Sebastian Hengst
be35e9d97b Backed out changeset af176d040fad (bug 1370580) for frequently failing browser_ext_sidebarAction.js on Linux debug. r=backout a=backout
MozReview-Commit-ID: AwnMjAQTdmC
2017-06-17 23:18:55 +02:00
Markus Stange
9653029d65 Bug 1365400 - Add all profiler features to the enum list, and a test. r=kmag,njn
The source of truth for this list is in the PROFILER_FOR_EACH_FEATURE macro.

MozReview-Commit-ID: 13qppZKVi1r

--HG--
extra : rebase_source : 8f1ffdada1f73d2659ca9ed676be2fd3783e27f6
2017-06-16 14:52:30 -04:00
Mike de Boer
5df9078641 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Sebastian Hengst
a4809151b2 Backed out changeset d6be7dc56cc5 (bug 1370580) for failing test-oop-extensions/browser_ext_browserAction_popup_resize.js. r=backout 2017-06-15 19:24:39 +02:00
Mike de Boer
5704197fbf Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : f142e3dbba0d70effe129dad43f139e494070d82
2017-06-15 12:49:18 +02:00
Gijs Kruitbosch
3e1354e6aa Bug 1372309 - force height of overflow panel when testing size of resizing popups, r=aswan
MozReview-Commit-ID: BK6z60Isd06

--HG--
extra : rebase_source : 1674e0510a565aa7e4c50a34e01a6f89336982e1
2017-06-13 17:48:03 +01:00
Julian Descottes
a7015fc300 Bug 1367425 - Use DevToolsShim in webextensions codebase;r=mixedpuppy
Use DevToolsShim to access devtools APIs from webextensions code.
For webextensions tests using DevTools, tests are accessing DevToolsShim.gDevTools
which is fine for test purposes.

MozReview-Commit-ID: 66gFV98xvpf

--HG--
extra : rebase_source : 05734afae4368c5d7e4682b5fae1b8f3e4417220
2017-05-26 15:48:15 +02:00
Wes Kocher
101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Tushar Saini (:shatur)
525b384ceb Bug 1287852 - Mark tabs.highlight as unsupported in schema. r=kmag,zombie
MozReview-Commit-ID: JKLWwECmGVw

--HG--
extra : rebase_source : aaa596641189e95be6300c073753f41ada4af35e
2017-05-29 13:44:52 +05:30
Gijs Kruitbosch
f6cc57a0a9 Bug 1354109 - update WebExtensions code for Photon, r=kmag
MozReview-Commit-ID: 8nHvyafxwV1

--HG--
extra : rebase_source : b15866245d242dda7f907256c8308e6a36954933
2017-05-31 18:08:52 +01:00
Kris Maglione
b31e211aa2 Bug 1368289: Simplify frameloader global metadata tagging. r=mixedpuppy
MozReview-Commit-ID: 1hgTtWysmya

--HG--
extra : rebase_source : 1ef46a61bd805e9bf0573ed22db005217afb5478
2017-05-27 17:30:53 -07:00
Tomislav Jovanovic
fdcf0c075f Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : bbd135dfbc9531f33b732617c81ac86bbb7a6f45
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
fc1fbb5770 Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
MozReview-Commit-ID: JPaKsOyavDb

--HG--
rename : browser/components/extensions/ext-c-contextMenus.js => browser/components/extensions/ext-c-menus.js
rename : browser/components/extensions/ext-contextMenus.js => browser/components/extensions/ext-menus.js
rename : browser/components/extensions/schemas/context_menus.json => browser/components/extensions/schemas/menus.json
rename : browser/components/extensions/schemas/context_menus_internal.json => browser/components/extensions/schemas/menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js => browser/components/extensions/test/browser/browser_ext_menus.js
extra : rebase_source : cfdc20e9bbec7fb93d7055925d9b3037d3ea1501
2017-06-10 16:43:20 +02:00
Sebastian Hengst
7f39e1a3f2 Backed out changeset cfc47df74537 (bug 1333403)
--HG--
rename : browser/components/extensions/ext-c-menus.js => browser/components/extensions/ext-c-contextMenus.js
rename : browser/components/extensions/ext-menus.js => browser/components/extensions/ext-contextMenus.js
rename : browser/components/extensions/schemas/menus.json => browser/components/extensions/schemas/context_menus.json
rename : browser/components/extensions/schemas/menus_internal.json => browser/components/extensions/schemas/context_menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_menus.js => browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js
2017-06-10 16:06:44 +02:00
Sebastian Hengst
ddda5460bc Backed out changeset d842c744941e (bug 1333403) 2017-06-10 16:06:12 +02:00
Tomislav Jovanovic
05b61a9cc0 Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
MozReview-Commit-ID: XlP72cr0VT

--HG--
extra : rebase_source : fb2ad1fe054aaedeecb7006aef62cb442d4899ab
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
2e019f4e0b Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
MozReview-Commit-ID: JPaKsOyavDb

--HG--
rename : browser/components/extensions/ext-c-contextMenus.js => browser/components/extensions/ext-c-menus.js
rename : browser/components/extensions/ext-contextMenus.js => browser/components/extensions/ext-menus.js
rename : browser/components/extensions/schemas/context_menus.json => browser/components/extensions/schemas/menus.json
rename : browser/components/extensions/schemas/context_menus_internal.json => browser/components/extensions/schemas/menus_internal.json
rename : browser/components/extensions/test/browser/browser_ext_contextMenus_chrome.js => browser/components/extensions/test/browser/browser_ext_menus.js
extra : rebase_source : 8de33b11034ee159567ae43b998b700e94730081
2017-06-06 23:25:06 +02:00
Joel Maher
08e749c052 Bug 1308068 - Intermittent browser/components/extensions/test/browser/browser_ext_windows_events.js. temporarily disable. r=gbrown
MozReview-Commit-ID: 78loafc2KDb
2017-06-09 16:30:04 -04:00
Mark Banner
403075400a Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN

--HG--
extra : rebase_source : 6a7541b5ffe85d275bc16194c155ad43f93d52ae
2017-06-08 10:59:12 +01:00
Luca Greco
d382c7e1f3 Bug 1366755 - devtools.panels.create should set invertIconForLightTheme to false by default. r=aswan
MozReview-Commit-ID: 1bn3cMngoql

--HG--
extra : rebase_source : 50931aa31fe3a4da7e4ba2751abf5a3f98a90089
2017-06-07 16:34:56 +02:00
Michael Kaply
e4bbbc7291 Bug 1301315 - Add support for chrome_settings_overrides search engine. r=mixedpuppy
MozReview-Commit-ID: IkpigS3wqs1

--HG--
extra : rebase_source : 2f2de6653f9b0041a535099175f7f795a4014597
2017-06-02 15:59:43 -05:00
Paolo Amadini
ac30ebecfa Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
These fixes are in preparation of making browser-chrome tests fail when there are unhandled Promise rejections.

MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 4d0b0465641b2286d01f872b0cf8052af5573939
extra : amend_source : 75dacab1ff06bcab2a05e6e744845b151f97d06c
extra : intermediate-source : 047e38fdb0c889e7e7dc0c2cd5a4e6dc6aa7fe22
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-06-06 21:15:42 +01:00
Kris Maglione
0cd3e0a862 Bug 1368189: Move more code out of ExtensionUtils.jsm. r=mixedpuppy
Also removes some dead code.

A lot of the code in ExtensionUtils.jsm is not needed in all processes, and a
lot of the rest isn't needed until extension code runs. Most of it winds up
being loaded into all processes way earlier than necessary.

MozReview-Commit-ID: CMRjCPOjRF2

--HG--
extra : rebase_source : 37718eaf05a22b8ccb95f633cf7454bd7975cdce
2017-05-26 15:44:41 -07:00
Kris Maglione
06c9dfdd54 Bug 1368152: Part 4 - Remove ExtensionManagement.jsm. r=aswan
MozReview-Commit-ID: Apbi1QYeb2x

--HG--
extra : rebase_source : 56e223e8ee92c848bbd06d74b1e7dc6d9a01d9e1
2017-06-03 17:18:18 -07:00
Kris Maglione
87f57f76b7 Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.

MozReview-Commit-ID: L5XdPzWNZXM

--HG--
extra : rebase_source : dda006a0afb9d56e2738dbc0b0d94ba0496db5c9
2017-06-03 22:11:20 -07:00