Bob Silverberg
4fb3991429
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
2017-06-28 13:28:15 -07:00
Bob Silverberg
0ae12dfd8e
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
2017-06-21 16:13:00 -04:00
Bob Silverberg
fc23069408
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
2017-06-21 14:19:39 -04:00
Bob Silverberg
99269b133c
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
2017-06-16 12:25:36 -04:00
Bob Silverberg
f612eec919
Bug 1376003 - Address intermittent browser_ext_pageAction_telemetry.js, r=mixedpuppy
...
MozReview-Commit-ID: IkBQ7PcSMwC
2017-06-27 12:12:07 -07:00
Carsten "Tomcat" Book
2ac538b0f1
Merge mozilla-central to autoland
2017-06-28 13:47:29 +02:00
Carsten "Tomcat" Book
2d174eeab7
merge mozilla-inbound to mozilla-central a=merge
2017-06-28 13:23:29 +02:00
Thomas Wisniewski
49df5e4493
Bug 1287928 - Update browser.history.onVisited to use the title from the onVisit event. r=mixedpuppy
...
MozReview-Commit-ID: 8aEbR1PE5XX
2017-06-20 12:06:12 -04:00
Thomas Wisniewski
c914dbf768
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
37a85840ef
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
2017-06-22 13:08:52 +01:00
Andy McKay
61480be54a
bug 1334691 consolidate a couple of tests down r=bsilverberg
...
MozReview-Commit-ID: KrlCtNdlKja
2017-06-02 15:34:46 -07:00
Christoph Kerschbaumer
efcd021236
Bug 1375023 - Have switchToTabHavingURI() provide the correct triggeringPrincipal. r=gijs,aswan
2017-06-25 14:03:06 +02:00
Kris Maglione
fdf3f6b61c
Bug 1365821: Request animation frame on the correct window before checking details. r=me
...
MozReview-Commit-ID: 708VQuF065d
2017-06-23 19:18:15 -07:00
Joel Maher
bb8c2534a1
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
c30094cdf7
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
ab72c537c8
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Wes Kocher
0942b0ec9f
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Kris Maglione
41a323a096
Bug 1373293: Follow-up: Fix failing xpcshell test. r=me
...
MozReview-Commit-ID: 52X7bw6jlvu
2017-06-21 14:10:22 -07:00
Nathan Froyd
919a4253d3
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
518ffdfbaa
Bug 1347108 - Reduce the amount of time to show up a WebExtensions DevTools panel. r=aswan,bgrins
...
MozReview-Commit-ID: LJl8VJNErnz
2017-06-08 17:10:07 +02:00
Matthew Wein
8bec80fbda
Bug 1329242 - Add unit tests for browser_action.theme_icons r=mixedpuppy
...
MozReview-Commit-ID: BDPa4RsFfl7
2017-06-27 15:23:05 -07:00
Matthew Wein
c7a81cb41f
Bug 1329242 - Add support for browser_action.theme_icons r=mixedpuppy
...
MozReview-Commit-ID: HvfUQZzBQWq
2017-06-27 15:23:35 -07:00
Bob Silverberg
bb5ee64124
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
2017-05-03 11:12:03 -04:00
Bob Silverberg
4bfe8fd443
Bug 1297167 - Part 1: Add telemetry probe for PageAction open timing, r=bsmedberg,kmag
...
MozReview-Commit-ID: 44xIqcFZXLO
2017-05-03 08:28:34 -04:00
Gijs Kruitbosch
bc16614930
Bug 1370482 - use longer timeout for browser_ext_sidebarAction.js, r=mikedeboer
...
MozReview-Commit-ID: Fp9rXZlwfI6
2017-06-19 16:17:27 +01:00
Mike de Boer
f9f58d253a
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
2017-06-16 15:41:57 +02:00
Paolo Amadini
489326239e
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
2017-06-18 08:05:06 +01:00
Sebastian Hengst
b75bf97136
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
a189b08620
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
2017-06-16 14:52:30 -04:00
Mike de Boer
6ea7b945df
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
2017-06-16 15:41:57 +02:00
Sebastian Hengst
9c3bf7d0cd
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
a351ec54ca
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
2017-06-15 12:49:18 +02:00
Gijs Kruitbosch
83b5d1458d
Bug 1372309 - force height of overflow panel when testing size of resizing popups, r=aswan
...
MozReview-Commit-ID: BK6z60Isd06
2017-06-13 17:48:03 +01:00
Julian Descottes
851f331527
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
2017-05-26 15:48:15 +02:00
Wes Kocher
68762d4d32
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Tushar Saini (:shatur)
3dfb5bd92c
Bug 1287852 - Mark tabs.highlight as unsupported in schema. r=kmag,zombie
...
MozReview-Commit-ID: JKLWwECmGVw
2017-05-29 13:44:52 +05:30
Gijs Kruitbosch
7010102531
Bug 1354109 - update WebExtensions code for Photon, r=kmag
...
MozReview-Commit-ID: 8nHvyafxwV1
2017-05-31 18:08:52 +01:00
Kris Maglione
01d769d2fb
Bug 1368289: Simplify frameloader global metadata tagging. r=mixedpuppy
...
MozReview-Commit-ID: 1hgTtWysmya
2017-05-27 17:30:53 -07:00
Tomislav Jovanovic
8542af1e2d
Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
...
MozReview-Commit-ID: XlP72cr0VT
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
a00ccaaac6
Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
...
MozReview-Commit-ID: JPaKsOyavDb
2017-06-10 16:43:20 +02:00
Sebastian Hengst
4bc880baf0
Backed out changeset cfc47df74537 (bug 1333403)
2017-06-10 16:06:44 +02:00
Sebastian Hengst
0fcb1d642b
Backed out changeset d842c744941e (bug 1333403)
2017-06-10 16:06:12 +02:00
Tomislav Jovanovic
d65d26e7e6
Bug 1333403 - Part 3: Fix using browser.menus from multiple contexts r=kmag
...
MozReview-Commit-ID: XlP72cr0VT
2017-04-25 23:51:26 +02:00
Tomislav Jovanovic
82cdece9f1
Bug 1333403 - Part 2: Implement browser.menus as alias for contextMenus r=kmag
...
MozReview-Commit-ID: JPaKsOyavDb
2017-06-06 23:25:06 +02:00
Joel Maher
b4d956c659
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
9916415caf
Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 5KC23kzaCFN
2017-06-08 10:59:12 +01:00
Luca Greco
e03f1c8d24
Bug 1366755 - devtools.panels.create should set invertIconForLightTheme to false by default. r=aswan
...
MozReview-Commit-ID: 1bn3cMngoql
2017-06-07 16:34:56 +02:00
Michael Kaply
ad1d75c3c5
Bug 1301315 - Add support for chrome_settings_overrides search engine. r=mixedpuppy
...
MozReview-Commit-ID: IkpigS3wqs1
2017-06-02 15:59:43 -05:00
Paolo Amadini
8531ce563a
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
2017-06-06 21:15:42 +01:00
Kris Maglione
db3ec327d2
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
2017-05-26 15:44:41 -07:00