Mark Striemer
640c45418e
Bug 1344815 - Show sidebar shortcut in menus r=mixedpuppy
...
MozReview-Commit-ID: C6q0FBtCmRK
2018-01-31 19:41:32 -06:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Luca Greco
6e0b50bc26
Bug 1420485 - Fix 'message manager count' failure when browser_ext_tabs_insertCSS.js is executed first. r=mixedpuppy
...
MozReview-Commit-ID: HEWS8Lxldbi
2018-01-29 17:24:57 +01:00
Luca Greco
3a58b725a6
Bug 1420485 - Fix browser.test.notifyFailure is not defined in tabs.insertCSS/removeCSS tests. r=mixedpuppy
...
This patch fix a type in the tests related to tabs.insertCSS/removeCSS,
the test function is actually named browser.test.notifyFail.
MozReview-Commit-ID: 8DpOFBpm795
2017-11-27 15:37:45 +01:00
Luca Greco
5da4428014
Bug 1420485 - Fix an exception raised by browser_ext_tabs_insertCSS.js on injecting the same cached preloaded stylesheet twice. r=mixedpuppy
...
MozReview-Commit-ID: Jq2JdXwt7zC
2017-11-24 19:19:27 +01:00
Luca Greco
744c5d42ee
Bug 1420485 - Added new tabs.insertCSS test case to ensure that the injected CSS are cleaned up. r=mixedpuppy
...
MozReview-Commit-ID: EPTTA2MnZ6O
2017-11-27 15:38:45 +01:00
Shane Caraveo
37e445644c
Bug 1408194 prevent using find api on about urls
2018-01-30 16:55:54 -07:00
Kris Maglione
0bb74efdf1
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Gijs Kruitbosch
d59dbba7eb
Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
...
MozReview-Commit-ID: Hxgc0UuIOPj
2018-01-12 18:51:41 +00:00
Andreea Pavel
27898fe230
Backed out changeset 5421387a997d (bug 1345081)for failing browser chrome browser/components/extensions/test/browser/browser_ext_menus_events.js on a CLOSED TREE
2018-01-26 17:23:27 +02:00
Gijs Kruitbosch
8f3cf68607
Bug 1345081 - update use of spellchecker 'editable' flags, r=zombie
...
MozReview-Commit-ID: Hxgc0UuIOPj
2018-01-12 18:51:41 +00:00
Rob Wu
d07a37a836
Bug 1215376 - fix linting and test issues from rebase r=mixedpuppy
...
- Work-around in browser_ext_menus_events.js for bug 1428213
- Fix indentation issues (eslint)
- Hide the "pageUrl" property for bookmark menu events
(fixes test failure in test_bookmark_contextmenu).
MozReview-Commit-ID: 4YHJci0J7Rh
2018-01-05 01:13:04 +01:00
Rob Wu
71f6c75403
Bug 1215376 - Test menu event order: onShown, onClicked, onHidden r=mixedpuppy
...
This test ensures that the menu events will always be fired in the
natural event order.
Two menus are tested:
- A context menu in the page.
- The tools menu.
MozReview-Commit-ID: 4sLyvgMYMtE
2017-09-26 19:25:22 +02:00
Rob Wu
7411473343
Bug 1215376 - Fire menus.onShown for every menu r=mixedpuppy
...
This commit lifts the restriction that onShown is only fired for
extensions with a visible menu item.
MozReview-Commit-ID: Ao4MgBoRWLR
2017-09-14 18:28:36 +02:00
Rob Wu
e5749a5a53
Bug 1215376 - Add more contextual information to onShown r=mixedpuppy
...
- Adds most of the OnClickData properties to the onShown event parameter
(except for menu-specific properties such as parentMenuId / checked).
- Add tests to verify the values of these properties.
MozReview-Commit-ID: 7705sJyAOIJ
2017-09-14 16:37:57 +02:00
Rob Wu
fa82f4d484
Bug 1215376 - Always use old contextData upon refresh r=mixedpuppy
...
MozReview-Commit-ID: K1wfFCYpMqB
2017-09-14 02:11:29 +02:00
Rob Wu
81c67108a1
Bug 1215376 - Add menus.refresh to update menus r=mixedpuppy
...
Together with the previous patches that introduced menus.onShown,
this enabled extensions to update/remove menu items after a menu
has been shown.
At this point, it is not yet possible to add a menu item if an
extension has not shown a menu item before; this can be added later.
MozReview-Commit-ID: E0JrE9gd4gS
2017-09-13 03:14:00 +02:00
Rob Wu
b73320a628
Bug 1215376 - Ensure that menu elements have a unique ID r=mixedpuppy
...
Previously, there was no guarantee for the uniqueness of the ID.
Now the ID is unique, and always set.
See https://bugzil.la/1358213#c6 and #c7 for examples of collisions.
MozReview-Commit-ID: 7CHP6tWFDUg
2017-09-11 01:01:41 +02:00
Rob Wu
1100f72997
Bug 1215376 - Add onShown and onHidden to contextMenus/menus API r=mixedpuppy
...
This commit adds the bare minimum to support the onShown and onHidden
methods in the contextMenus and menus API (plus tests).
The onShown event data may be extended in a separate commit, to make it
easier to see how the additional properties are reflected in the tests.
MozReview-Commit-ID: 20VJS2YLhTN
2017-09-10 01:38:45 +02:00
Rob Wu
957197a2c4
Bug 1215376 - allow itemToSelect to be null in menu closing test utility r=mixedpuppy
...
Most close*Menu methods in browser tests allow itemToSelect to be null.
Some did not.
Now they do (after this commit)
MozReview-Commit-ID: 2jSGAi2R3ZD
2017-09-09 19:41:56 +02:00
dw-dev
a8fc24ed04
Bug 1415507 - changes to tabs.saveAsPDF(); r=mixedpuppy
...
There are three changes:
1. Adds a print progress listener to tabs.saveAsPDF() in ext-tabs.js so that the
'saved' or 'replaced' status is not returned until the PDF file has been saved.
2. Adds four more "edge" properties to the pageSettings object to allow positioning
of the page headers and footers.
3. Adds automated tests for tabs.saveAsPDF() in browser_ext_tabs_saveAsPDF.js that
cover all returned statuses: saved, replaced, canceled, not_saved, not_replaced.
MozReview-Commit-ID: iljvT8wp11
2018-01-19 14:13:33 +00:00
Jan Odvarko
0461788e8d
Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
...
MozReview-Commit-ID: gUtGjbr0FQ
2018-01-22 18:30:46 +01:00
Tooru Fujisawa
3ad961e114
Bug 1431961 - Wait for the extension startup code before starting tests in browser/components/extensions/test/browser/browser_ext_user_events.js r=kmag
2018-01-21 14:29:42 +09:00
Oriol Brufau
4791668dc2
Bug 1424538 - Allow pageAction and sidebarAction set* methods to accept a null value (desktop). r=mixedpuppy
...
MozReview-Commit-ID: FqcRrFDYqWp
2017-12-18 20:41:10 +01:00
Margareta Eliza Balazs
b3373e3395
Backed out changeset 32daec7fd5b6 (bug 1311177) for bc5 failures in browser/components/extensions/test/browser/test-oop-extensions/browser_ext_devtools_network.js on a CLOSED TREE
2018-01-19 11:54:43 +02:00
Noemi Erli
c2251ea4d5
Backed out changeset 9687e3d987be (bug 1415507) for bc failures in browser/components/extensions/test/browser/browser_ext_tabs_saveAsPDF.js on a CLOSED TREE
2018-01-19 10:22:14 +02:00
Jan Odvarko
36b111ba95
Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
...
MozReview-Commit-ID: I9F4tGSwBrt
2018-01-17 13:32:42 +01:00
dw-dev
89dc5fad16
Bug 1415507 - changes to tabs.saveAsPDF(); r=mixedpuppy
...
There are three changes:
1. Adds a print progress listener to tabs.saveAsPDF() in ext-tabs.js so that the
'saved' or 'replaced' status is not returned until the PDF file has been saved.
2. Adds four more "edge" properties to the pageSettings object to allow positioning
of the page headers and footers.
3. Adds automated tests for tabs.saveAsPDF() in browser_ext_tabs_saveAsPDF.js that
cover all returned statuses: saved, replaced, canceled, not_saved, not_replaced.
MozReview-Commit-ID: LMTjKDjBwY3
2018-01-18 10:15:36 +00:00
Shane Caraveo
f5d20643a7
Bug 1423725 add show/hide tabs api, r=rpl
...
MozReview-Commit-ID: 4z73ZTRE7kN
2018-01-18 16:37:18 -07:00
Shane Caraveo
d906a001b7
Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
...
MozReview-Commit-ID: AMcmbh4m8lK
2018-01-18 16:37:11 -07:00
Oriol Brufau
eb9470ada9
Bug 1427107 - Reject setBadgeBackgroundColor promise for invalid string colors r=mixedpuppy
...
MozReview-Commit-ID: 1XXiQCDe7Tu
2018-01-11 18:56:18 +01:00
Oriol Brufau
025ddf566c
Bug 1427431 - Add methods to check if browser/page/sidebar actions are enabled/shown/open r=mixedpuppy
...
MozReview-Commit-ID: DPbg8SwKVQL
2018-01-11 18:19:02 +01:00
Tim Nguyen
6fe1265233
Bug 1427463 - Implement tabs.captureTab(tabId). r=mixedpuppy
...
MozReview-Commit-ID: 5sr3I1A1b8A
2018-01-10 14:51:43 +00:00
Luca Greco
d0ec3b0a42
Bug 1380855 - Fix intermittency and speed up devtools panel webextension test. r=mixedpuppy
...
MozReview-Commit-ID: 27DFuD9hYUa
2018-01-05 19:16:53 +01:00
Tooru Fujisawa
d596c86c29
Bug 1426599 - Wait for the next event tick after onLocationChange, in browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js. r=Gijs
2018-01-06 16:24:43 +09:00
Luca Greco
d7226aa2e4
Bug 1425224 - Use manifest.ExtensionURL in devtools.panels.create API schema. r=mixedpuppy
...
MozReview-Commit-ID: AR6j1fC0PmJ
2017-12-14 18:20:59 +01:00
Lukas Jung
c0171af084
Bug 1370228 - "Context menu title with placeholder always shows ellipsis" [r=mixedpuppy]
2017-12-21 08:33:00 +02:00
Andrew Swan
e53f9296c7
Bug 1426259: Revamp processing of manifest.json for themes r=kmag
...
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Florian Quèze
1838aa9e08
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Tim Nguyen
ecbd0af966
Bug 1425868 - Consolidate arrow panel styling. r=dao
...
Original patch by Jared Wein [:jaws]
MozReview-Commit-ID: D8GxCjJ8Si3
2017-12-19 08:00:00 -06:00
Andrew Swan
95119ca9d8
Bug 1423425 Stop reading the Extension.jsm module object in specialpowers r=kmag
...
The return value from Cu.import() does not include lexically scoped
symbols so stop using it here. Also stop using Extension.generate()
while we're here.
MozReview-Commit-ID: HnX3RGgDHbR
2017-12-18 10:32:23 -08:00
Mark Striemer
7d9f428fb0
Bug 1414018 - Go to new New Tab page after disabling add-on in New Tab doorhanger r=aswan
...
MozReview-Commit-ID: 7ZXehNEC6ml
2017-11-29 17:14:54 -06:00
Andreea Pavel
f83f963a34
Merge inbound to mozilla-central r=merge a=merge
2017-12-09 22:21:17 +02:00
Kris Maglione
c8ea1d4273
Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
...
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Bill McCloskey
142c9a9dbb
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Oriol Brufau
9f671e6f20
Bug 1419940 - Allow browserAction set* methods to accept a null value. r=aswan
...
MozReview-Commit-ID: H2UfUITBEMm
2017-11-29 05:50:00 +01:00