Commit Graph

1135 Commits

Author SHA1 Message Date
Kris Maglione
1c8442c654 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Gijs Kruitbosch
90cac15204 Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV
2017-07-03 17:14:58 +01:00
Tomislav Jovanovic
430db70aab Bug 1351638 - Fix intermittents caused by menus_commands test r=kmag
MozReview-Commit-ID: FsU2MHL0c9o
2017-07-04 03:12:34 +02:00
Sebastian Hengst
3b79a3d804 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
b6b47745de Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV
2017-07-03 17:14:58 +01:00
Gijs Kruitbosch
e4d7874f9d 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
2017-07-04 22:51:36 +01: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
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
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
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
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
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
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
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
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
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
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