Commit graph

844 commits

Author SHA1 Message Date
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
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Matthew Wein
0025c483df Bug 1351418 - Put single checkbox items into submenu on linux r=mixedpuppy
MozReview-Commit-ID: 9swHS0yEoDg

--HG--
extra : rebase_source : 679be2752856db1a8b710d2c2486cd7857b3654f
2017-05-15 13:20:41 -04:00
Rob Wu
7e085a93c6 Bug 1299053 - Ensure that background pages have windowId -1 in browser.extension.getViews r=aswan
MozReview-Commit-ID: HdayD0JrIBm

--HG--
extra : rebase_source : 5dbf78b9f735cd086e800806b2ad76669dbd67f5
2017-04-23 13:03:11 +02:00
Rob Wu
ebbe4943f0 Bug 1299053 - support tabId in browser.extension.getViews r=aswan
MozReview-Commit-ID: Ep6pdUdbhmc

--HG--
extra : rebase_source : 9554e9e529c496ddc91db73aa5416bc967cd548b
2017-04-23 13:01:34 +02:00
Rob Wu
be45f9a848 Bug 1299053 - Refactor test/browser/browser_ext_getViews r=aswan
I want to add more tests, based on tabId.
Adding more positional arguments makes the code less readable,
so I moved the check for windowId to a separate method.

MozReview-Commit-ID: 2aTtMftoCZX

--HG--
extra : rebase_source : cf7df31bc09f106a4dab56766891a2a1830d2c9b
2017-04-23 12:44:59 +02:00
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Matthew Wein
7353ca75f1 Bug 1266012 - Add identity indication for the moz-extensions scheme r=mixedpuppy
MozReview-Commit-ID: BtbRGPJbsHs

--HG--
rename : browser/components/extensions/extension.svg => browser/themes/shared/controlcenter/extension.svg
extra : rebase_source : a89e321d3f5750307a869fdf82521a61bce62ce1
2017-05-10 15:14:15 -04:00
Marco Bonardo
4b561945c6 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js
extra : rebase_source : 819ba7a77998940fb230fb531dd9fcf1301cfcd5
2017-04-05 15:01:02 +02:00
Carsten "Tomcat" Book
7a4b622a04 Backed out changeset 720c38d9052e (bug 1344924) for crashes at [@ mozilla::net::nsSocketTransport::InitiateSocket]
--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js
2017-05-17 10:56:57 +02:00
Marco Bonardo
33d0ed1409 Bug 1344924 - Contextual onboarding for search suggestions in the awesomebar. r=adw
Make the onboarding being opt-in or opt-out depending on the default value of the
browser.urlbar.sugges.searches pref.
In both cases respect userMadeSearchSuggestionChoice though, so we won't further nag users that
made a choice already.

MozReview-Commit-ID: D4rRMRbdMrW

--HG--
rename : browser/base/content/test/urlbar/browser_urlbarSearchSuggestionsNotification.js => browser/base/content/test/urlbar/browser_urlbarSearchSuggestions_opt-in.js
extra : rebase_source : 2eb22b5965734d9702b115bc653ce55174003221
2017-04-05 15:01:02 +02:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Kris Maglione
e272c4c239 Bug 1365005: Cleanup async code after Task.jsm migration. r=aswan
MozReview-Commit-ID: FNKSsBqq6Kf

--HG--
extra : rebase_source : f6e5056fc2de0b13b4b77e27fe88c2d4063b1445
extra : amend_source : 42473dedc3280e225eb243ce5a87d552ba5f9ee2
2017-05-15 12:07:06 -07:00
Shane Caraveo
a99f4b6a1b Bug 1360796 fix intermittent assert, r=mattw
MozReview-Commit-ID: IEQeZ6NwVsz

--HG--
extra : rebase_source : ebe9d063e746cebbb0106d4c9137f9a4a12efb90
2017-05-15 14:40:10 -07:00
Tomislav Jovanovic
e6d14545c7 Bug 1362047 - Fix default value for content script run_at, add tests r=mixedpuppy
MozReview-Commit-ID: CiBaSkZ0TqQ

--HG--
extra : rebase_source : 3bbfa5196c135b64683bb0bae143ba9c80a147b6
2017-05-10 02:00:29 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Dão Gottwald
9cc94f157a Bug 1364090 - Detach the reload and stop buttons from the location bar. r=johannh
MozReview-Commit-ID: Ltp6EghiI44

--HG--
extra : rebase_source : f033cadab35b56cf96f25786260853a8a5f9a1ed
2017-05-11 19:16:05 +02:00
Markus Stange
37feda6350 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L

--HG--
extra : rebase_source : e34a37c10ea4fcdd2d886519536c047e9c715197
2017-05-11 00:32:46 -04:00
Wes Kocher
cc7a1f5b9b Backed out 2 changesets (bug 1362800) for eslint failures a=backout
Backed out changeset 0492e6f16df1 (bug 1362800)
Backed out changeset 785cf0c4b67b (bug 1362800)

MozReview-Commit-ID: EY2RYz7lwtI
2017-05-10 14:42:49 -07:00
Markus Stange
83c6e73ec3 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L

--HG--
extra : rebase_source : 3d9b1cac7b4a46d27bc14c68cdfe6f0396fd7c28
2017-05-10 17:09:51 -04:00
Markus Stange
80e77833bc Bug 1362861 - Pass the correct arch to nm on macOS. r=dthayer,kmag
MozReview-Commit-ID: C8vfSUu8dM8

--HG--
extra : rebase_source : a7bf559a4093dd9a0447e195dd3e8dccd67619df
2017-05-09 14:47:17 -04:00
Tomislav Jovanovic
29315b70c1 Bug 1362445 - Fix _action context menus when module is not loaded r=bsilverberg,mixedpuppy
MozReview-Commit-ID: AOzcpXSgy8d

--HG--
extra : rebase_source : de604453ae2cc81f0b9484745b34087986119e02
2017-05-07 21:38:01 +02:00
Kris Maglione
674a21ccc6 Bug 1362224: requestAnimationFrame before changing browserAction/pageAction buttons. r=aswan
MozReview-Commit-ID: H9Eq7z5L4Xq

--HG--
extra : rebase_source : 4c8962b17c625ddcd1a0eb00bdc60325d436dfd8
2017-05-05 14:56:19 -07:00
Kris Maglione
b2651ab90b Bug 1362224: Cache per-tab icon data for browserAction/pageAction. r=aswan
MozReview-Commit-ID: JifAtY36gKA

--HG--
extra : rebase_source : ba43a1d108f4ab6007fdebb18c34585448ee9f51
2017-05-05 14:21:07 -07:00