Commit Graph

1568 Commits

Author SHA1 Message Date
Stephen A Pohl
25a2c736a1 Bug 1356317: Support remote layer trees in popups. r=kmag 2017-07-04 13:45:18 -05:00
Phil Ringnalda
daac6ceed1 Bug 1377358 followup, pacify eslint
MozReview-Commit-ID: 3iraxMxLxXK
2017-07-01 14:39:19 -07:00
Ursula Sarracini
372bbc20f2 Bug 1377358 - browser/components/extensions/test/browser/browser_ext_tabs_onUpdated.js fails when Activity Stream is enabled. r=kmag
MozReview-Commit-ID: G7Po0FIzxuw
2017-07-01 13:43:57 -07:00
Wes Kocher
b987e71f1d 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
c674d4fe17 Bug 1338898 fix 150 char limit for context menu text selection, r=aswan,mattw
MozReview-Commit-ID: IqECfaFSbGZ
2017-06-29 15:11:29 -07:00
Swapnesh Kumar Sahoo
49cab8bdb0 Bug 1321544 - Support icons for context menu items; r=mixedpuppy,zombie
MozReview-Commit-ID: 2caNYYCQ7C7
2017-06-15 01:32:00 +05:30
Andrew Swan
3358f38632 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
2017-06-15 12:48:40 -07:00
Andrew Swan
3d501bbfd5 Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
Matthew Wein
614a25db03 Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3
2017-06-23 13:54:19 -04:00
Sebastian Hengst
f6e49e497b Backed out changeset d5fa98ffa258 (bug 1354336) as requested by mattw. r=backout 2017-06-30 03:00:55 +02:00
Matthew Wein
1a125a1728 Bug 1354336 - Require all browser_style elements to have the browser-style class r=mikedeboer
MozReview-Commit-ID: 6bQZDa3zZA3
2017-06-23 13:54:19 -04:00
Sebastian Hengst
8642712c2a 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
c48d1b793d Backed out changeset dfb376de5c23 (bug 1369577) 2017-06-30 00:59:59 +02:00
Andrew Swan
e77019e2bd 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
2017-06-15 12:48:40 -07:00
Andrew Swan
c140bd9d12 Bug 1369577 Part 1 Rename SingletonEventManager to EventManager r=kmag
MozReview-Commit-ID: 7nsYWdSTJCG
2017-06-09 13:49:07 -07:00
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