Commit graph

869 commits

Author SHA1 Message Date
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
Sebastian Hengst
b3c51a3e2d merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Luca Greco
117bfb3cd5 Bug 1300590 - Use DevToolsShim in the devtools.inspectedWindow.eval bindings tests. r=jdescottes,ochameau
MozReview-Commit-ID: 8IYjIfBp5mB

--HG--
extra : rebase_source : b6ebee82c855364fffc3a9c1b29c3cf8ad39b977
2017-05-26 17:09:45 +02:00
Shane Caraveo
18810facfb Bug 1342708 fix datalist failure in webext popups, r=kmag
MozReview-Commit-ID: FbTB9h3TTdq

--HG--
extra : rebase_source : e6dcd759713b62cd6d71172feebf7d788079bf62
2017-06-01 16:20:34 -07:00
Luca Greco
a977d84eda Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo

--HG--
rename : browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow.js => browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow_eval_bindings.js
extra : rebase_source : 0e207c6d422b0227ec867e08e05a6a323dc3664b
2017-02-15 14:54:50 +01:00
Geoff Brown
e6485b1f2c Bug 1348639 - requestLongerTimeout for test browser_ext_optionsPage_browser_style.js; r=mattw,mixedpuppy 2017-05-31 07:38:27 -06:00
Ryan VanderMeulen
2af91f1c45 Backed out 4 changesets (bug 1357490) for causing frequent xpcshell timeouts.
Backed out changeset 916250167bc8
Backed out changeset c2a286511a6c
Backed out changeset 9cc319bef82d
Backed out changeset 29443725aebb

--HG--
extra : histedit_source : 76915ec4b96c97ee6bd4896769158490442aedce%2C0face0f9fe6eb85dd4ba8b3603bf948e0ce99d7f
2017-05-30 12:36:43 -04:00
Carsten "Tomcat" Book
b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Kris Maglione
a176402b70 Bug 1365660: Part 5b - Enable compositing for popups with remote content on Windows. r=bas
MozReview-Commit-ID: GzpCBUnVkdY

--HG--
extra : rebase_source : bc2a6459e64847b0153e09e392173bac00d97b4e
2017-05-29 14:58:48 -07:00
Kris Maglione
da2d5fecbf Bug 1357490: Follow-up: Really disable OOP xpcshell tests on OS-X.
MozReview-Commit-ID: KpQJ7kxjIjL
2017-05-29 22:01:00 -07:00
Kris Maglione
fea32e83c0 Bug 1357490: Follow-up: Disable OOP xpcshell tests on OS-X.
MozReview-Commit-ID: 2lkMt7rAWNP
2017-05-29 19:27:24 -07:00
Kris Maglione
4f9fa18383 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 : absorb_source : dda25d718165c99dd6cd0233921367a28035c01c
2017-05-29 14:10:27 -07:00
Phil Ringnalda
1c31cbe46c Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Kris Maglione
365c2b4b31 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 : 099c7825e08689c910dc5f0e03db633c44b01022
extra : histedit_source : 24b679d028c1519f884630c606227f43cbca2a97%2C5265e99c4c850ad4b7ddaabb2d49e7ef739bb56a
2017-05-29 14:10:27 -07:00
Geoff Brown
ccf301673c Bug 1352668 - Skip test browser_ext_browserAction_popup_preload.js on win-opt; r=me,test-only
Test has been failing frequently on Windows since May 12.
2017-05-29 10:36:39 -06:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - 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 : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Paolo Amadini
0369d7414c Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 279cabcd658b3877a8501df382804ae5fa7aa1fc
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-05-25 15:00:22 +01:00
Sebastian Hengst
877985ac99 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - 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 : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Paolo Amadini
6886a4fb81 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 83a77cbfe5629abe99ae575b57592361ea9627b8
2017-05-25 15:00:22 +01:00
Matthew Wein
117b228d43 Bug 1330369 - Part 3 - Add unit tests for sidebar.browser_style r=mixedpuppy
MozReview-Commit-ID: 9ILOY3s5pci

--HG--
extra : rebase_source : 9b6a365db547b1ef3b4b8a8fd5d19351283d7e9c
2017-05-16 22:48:38 -04:00
Matthew Wein
fb13c1aa85 Bug 1330369 - Part 2 - Add browser_style support to ext-sidebar.js r=kmag
MozReview-Commit-ID: AIGuVv98HGR

--HG--
extra : rebase_source : 7eceec18bfb1f3fca44335e9bafa60e3470951da
2017-05-25 19:46:59 -04:00
Matthew Wein
1417b513dc Bug 1330369 - Part 1 - Share the extension stylesheets between sidebar, popups, and options r=mixedpuppy
MozReview-Commit-ID: EquM6hSQ8pH

--HG--
extra : rebase_source : 45de777fd1e2a387a4f42168d6d04e9f988917a5
2017-05-19 15:48:44 -04:00
Shane Caraveo
06bdf10539 Bug 1365637 place WE sidebars into the photon sidebar dropdown, r=Gijs,mattw
MozReview-Commit-ID: 3ZM9mXjEbWh

--HG--
extra : rebase_source : 9c59235156ddd58108524af520f6c4ca0fe26fb0
2017-05-29 15:20:48 -07:00
Phil Ringnalda
7d85239f44 Backed out changeset 69a878129f88 (bug 1365637) for failures in browser_ext_sidebarAction_windows.js
MozReview-Commit-ID: JNs7zYG7XVZ
2017-05-29 14:34:58 -07:00
Shane Caraveo
035bc8491b Bug 1365637 place WE sidebars into the photon sidebar dropdown, r=Gijs,mattw
MozReview-Commit-ID: EVeR5ShTBst

--HG--
extra : rebase_source : 2b1175897f99cd95ec0dc76067b953ee89ff23bd
2017-05-29 12:39:44 -07:00
Bob Silverberg
7a08f3f0a4 Bug 1365562 - Ensure that SessionStore is initialized before any interaction via WebExtension APIs, r=mixedpuppy
Awaiting the resolution of SessionStore.promiseInitialized as the first step in each API method that needs to interact with SessionStore.
As I needed to await a promise, took the opportunity to migrate the entire file to async/await.

MozReview-Commit-ID: 3ovavDHimhj

--HG--
extra : rebase_source : 9665e0074f3c52ae974bfdd32a5bc81edda602cb
2017-05-24 09:26:16 -04:00
Bob Silverberg
cd1a0703b1 Bug 1349896 - Part 2: Implement devtools.panels.themeName API property, f?rpl r=mixedpuppy
MozReview-Commit-ID: 8uN2VBIyYyt

--HG--
extra : rebase_source : 48902adf1dc5ac193d2b2719cf72b499a40e7d81
2017-05-11 08:54:02 -04:00
Bob Silverberg
61046f7759 Bug 1364546 - Set the children property for BookmarkTreeNodes without children, r=mixedpuppy
BookmarkTreeNodes without children do not contain a children property, but they should actually
contain a children property which is an empty array. This is what Chrome does as well.

This patch fixes that, and includes a test for a case of getChildren that was previously
untested, which I noticed when working on this code.

MozReview-Commit-ID: CjUwExma760

--HG--
extra : rebase_source : b3297eaf444ec987baeb97c8f0c7547450eb256d
2017-05-23 15:16:10 -04:00
Johann Hofmann
11f87943d9 Bug 1337492 - Split up identity icon into SVG files to avoid slow load on hover. r=jwatt
We know that using multiple SVGs in a single file with :not(:target)
is slower than splitting that file up into several files (see bug 1358998).

This patch attempts to fix an issue where the identity icon will
briefly flicker when hovered the first time by splitting the SVG file up.

MozReview-Commit-ID: 2FJeBvKxKmn

--HG--
extra : rebase_source : 88c282dd44c3317f3268be691cb9ff93fdca9a0a
2017-05-22 16:20:42 +02:00
Ben Kelly
cf3f50ea30 Bug 1366791 Make browser_ext_geckoProfiler_symbolicate.js wait for prefs to be written. r=mstange 2017-05-23 07:30:57 -07:00