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
Kevin Jones
1e7c0e47a1
Bug 1322060 - Extension API to store persistent values on window/tab using get/set/remove methods. r=kmag, r=bsilverberg
2017-08-27 16:42:00 -04:00
Kris Maglione
5b5382fb8b
Bug 1387907: Part 3 - Merge ext-browser.js and ext-utils.js. r=mixedpuppy
...
MozReview-Commit-ID: CmOax5b5Gki
2017-08-06 18:20:25 -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
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
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
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
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
Bob Silverberg
77f15c8cfe
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
2017-05-24 09:26:16 -04:00
Bob Silverberg
b7d71cb291
Bug 1359806 - Fix sessions.restore to return an object instead of an array, r=mixedpuppy
...
sessions.restore should always have returned an object, but landed returning an array.
MozReview-Commit-ID: EMP9UZaI6UV
2017-04-26 10:18:41 -04:00
Thomas Wisniewski
90a1179be9
Bug 1334266 - Add support for WebExtension APIs browser.sessions.{forgetClosedTab|forgetClosedWindow}. r=bsilverberg, r=mixedpuppy
2017-04-07 23:30:36 -04:00
Kris Maglione
da08b6926c
Bug 1317697: Remove things from ExtensionUtils that don't belong there. r=mixedpuppy
...
MozReview-Commit-ID: CTX0TckLqoV
2017-04-07 13:39:06 -07:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Kris Maglione
937291f42b
Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Andrew Swan
1ac8741081
Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
...
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.
Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.
Also added a callOnClose for SingletonEventManager when the last listener
is removed.
MozReview-Commit-ID: ATHO97dWf3X
2017-01-26 20:00:33 -08:00
Phil Ringnalda
5781d2a09e
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
8e5ca9edb5
Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
...
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.
Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.
Also added a callOnClose for SingletonEventManager when the last listener
is removed.
MozReview-Commit-ID: ATHO97dWf3X
2017-01-26 13:43:12 -08:00
Kris Maglione
51a150582e
Clean up onChanged event handler cruft. r=aswan (no bug)
...
MozReview-Commit-ID: 7uyjRQ9tyWS
2017-01-11 11:27:03 -08:00
Bob Silverberg
9db714d2f3
Bug 1320306 - Implement sessions.onChanged WebExtensions API, r=aswan
...
MozReview-Commit-ID: 14si74CKswB
2016-11-16 14:30:20 -05:00
Bob Silverberg
1a6335b5b2
Bug 1308060 - Implement sessions.restore WebExtensions API, r=aswan
...
MozReview-Commit-ID: Ci7WhKYJBN1
2016-11-07 14:53:27 -05:00
Bob Silverberg
526a59632c
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00
Sebastian Hengst
e7b63fb1b2
Backed out changeset 15760cbfa77a (bug 1308058) for almost permafailing browser_ext_sessions.js on Linux debug in e10s mode. r=backout a=backout
...
MozReview-Commit-ID: 6uhHHvTHguG
2016-11-05 11:12:19 +01:00
Bob Silverberg
fac8d96785
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00