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
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
tushararora
1a07be0f56
Bug 1402399 - Fix browser.windows.update to clear titlePreface if it is passed empty. r=bsilverberg, r=mixedpuppy
2017-10-13 12:38:19 +05:30
Bob Silverberg
a05b5fa348
Bug 1406379 - Implement windowTypes option for windows.getAll, r=mixedpuppy
...
This option works in Chrome and is documented to work in Firefox but seems
to have never been implemented.
MozReview-Commit-ID: KOu8TRaCCzL
2017-10-16 16:01:59 -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
Kris Maglione
c4d42444e0
Remove unused lazy imports. r=trivial (no bug)
...
MozReview-Commit-ID: rqUFJw7Wsb
2017-08-02 21:09:38 -07:00
Bob Silverberg
5e908eb7b7
Bug 1333376 - Support reading the title and setting the title preface of a Window object, r=aswan
...
Implements a title property on the Window object, and allows for a titlePreface to be set
both via windows.create and via windows.update.
MozReview-Commit-ID: CaWwPN0utzs
2017-07-05 16:53:10 -04: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
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
aca1103c68
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
4189eac09e
Backed out changeset e1f191aad863 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
6c119a88d3
Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws.
2017-04-14 21:51:39 +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
d23b45b581
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -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
99c8d3a692
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Andy McKay
74f01271a8
bug 1307012 raise an error on invalid id r=kmag
...
MozReview-Commit-ID: FDdPzmtN2mq
2016-12-08 08:09:08 -10:00
Eric Rahm
965e3eada3
Bug 1312901 - Part 2: Use nsIArray for URL argument when opening a window. r=Gijs
...
This updates the URL argument to use an nsIMutableArray instead of an nsIArray.
MozReview-Commit-ID: 45kvKCBYNK6
2016-10-27 14:22:14 -07:00
Dave Townsend
7ef7234b4b
Bug 1312055: Fix various eslint errors. r=standard8
...
MozReview-Commit-ID: 2XbldhBnofs
2016-10-21 10:03:51 -07:00
Tomislav Jovanovic
d6d743d109
bug 1290057 - fire onFocusChanged when Firefox loses/gains focus r=kmag
...
MozReview-Commit-ID: 7OdyglGjnFQ
2016-10-14 05:38:34 +02:00
Eric Rahm
544eabdb4d
Bug 1311223 - Stop using nsISupportsArray for window args. r=froydnj
...
WindowWatcher allows for either nsIArray or nsISupports array to be passed in
for the arguments param. This converts all internal usage to nsIArray.
MozReview-Commit-ID: DQjtIkobik0
2016-10-19 16:23:57 -07:00
Tomislav Jovanovic
1346509ec7
bug 1273146 - populate tabs in windows.create() return value r=kmag
...
MozReview-Commit-ID: 5dnnSdXrsaJ
2016-10-09 02:11:25 +02:00
Tomislav Jovanovic
d2118d8126
bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
...
MozReview-Commit-ID: 4p8A1y2FALX
2016-09-23 23:40:24 +02:00
Rob Wu
812e170fe8
Bug 1287010 - Make environment of Context explicit. r=billm
...
- Add `envType` to BaseContext.
- Pass an explicit envType to all `registerSchemaAPI` invocations.
- The factories passed to `registerSchemaAPI` will be split up later, so
that content scripts (`content_child`) and addon pages can share
common implementations.
- The factories that implement the addon API will also be split up,
to separate code running in the main process (`addon_parent`) from
code running in a child process (`addon_child`).
- Remove the use of a hardcoded list of `namespaces` from ProxyContext.
Now `envType` is used to specify whether an API should be activated.
MozReview-Commit-ID: Jiff8HIwG92
2016-08-16 15:51:50 -07:00
Rob Wu
6efdd88867
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Sebastian Hengst
c7a498ffbd
Backed out changeset 0ce1cc39aa3d (bug 1295082) for timing out in test_ext_schemas_api_injection.js. r=backout
2016-08-18 16:47:09 +02:00
Rob Wu
6189daa99f
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Kris Maglione
3531e0dc55
Bug 1225215: [webext] Raise the expected errors when given invalid tab IDs. r=aswan
...
MozReview-Commit-ID: E5G0GmVhzLh
2016-02-26 17:56:30 -08:00
Kris Maglione
843973aa31
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03
Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout
2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Bob Silverberg
8727da3b55
Bug 1262976 - browser.windows.onFocusChanged sometimes fires twice, even after the event listener is removed, r=kmag
...
MozReview-Commit-ID: 4wfFjPBn7zJ
2016-04-08 09:46:45 -04:00
Kris Maglione
5f2e76443b
Bug 1253133: [webext] Support changing window geometry via windows.update. r=aswan
...
MozReview-Commit-ID: LQGXyB9WuiI
2016-03-22 23:13:11 +01:00
Tom Schuster
45bf54777a
Bug 1253134 - Support drawAttention in browser.windows.update. r=kmag
2016-03-17 12:59:11 +01:00
Tom Schuster
4fc3d6c738
Backed out changeset 41042ab2e4bc (wrong patch)
2016-03-16 15:02:26 +01:00
Tom Schuster
4dc4b4f41d
Bug 1223634 - Support exclude_globs/include_globs in webext manifests. r=kmag
2016-03-16 14:59:20 +01:00
Kris Maglione
be45cc1d06
Bug 1253128: [webext] Support type=popup in the browser.windows API. r=billm
...
MozReview-Commit-ID: ALgprY2w7w9
2016-03-03 18:44:18 -08:00
Kris Maglione
35884ee2a7
Bug 1253132: [webext] Support window states in browser.windows APIs. r=billm
...
MozReview-Commit-ID: LIw6swRAB3h
2016-03-05 09:59:35 -08:00
Kris Maglione
9a6052d7ca
Bug 1247493: [webext] Implement the tabId property of windows.create. r=billm
...
MozReview-Commit-ID: Jw4KvvUqkBh
2016-02-17 11:46:19 -08:00
Wes Kocher
16896018ab
Backed out changeset cf766413a25e (bug 1247493) for failures in browser_ext_tabs_update.js
2016-02-17 14:30:53 -08:00
Kris Maglione
aab3c1ded2
Bug 1247493: [webext] Implement the tabId property of windows.create. r=billm
...
MozReview-Commit-ID: Jw4KvvUqkBh
2016-02-17 11:46:19 -08:00