Commit Graph

679 Commits

Author SHA1 Message Date
Tomislav Jovanovic
93d3b30c3c Bug 1441336 - Test addon permissions for PerformanceTiming properties r=kmag
MozReview-Commit-ID: LlySv9AinVC
2018-04-07 02:38:51 +02:00
Kris Maglione
b50fe2d8fc Bug 1452307: Remove some dead code. r=aswan
MozReview-Commit-ID: DpV0WWW8WKF
2018-04-08 12:55:20 -07:00
Kris Maglione
d380a39518 Bug 1452307: Remove support for old-style experiment API extensions. r=aswan
MozReview-Commit-ID: 5y48pMRQ5XW
2018-04-06 18:14:59 -07:00
Jonathan Kingston
92474eaadf Bug 1451909 - Adding in icon and color validation for contextualIdentities.update web extension method. r=aswan
MozReview-Commit-ID: 6JkSbMnJzTd
2018-04-07 15:15:45 +01:00
Andrew Swan
71b430f70e Bug 1450388 Part 3: Implement persistent option for EventManager r=kmag
MozReview-Commit-ID: BtccacvzhE8
2018-03-30 16:38:42 -07:00
Andrew Swan
c259b80387 Bug 1450388 Part 2: Expose startupData to webextensions r=kmag
MozReview-Commit-ID: AbqR3hECLZe
2018-03-21 10:22:13 -07:00
Andrew Swan
dfdaca71bf Bug 1450388 Part 1 Refactor EventManager r=kmag
As we add more behaviors to EventManager, the signature of the constructor
is going to get really clumsy.  Head that off by converting it to take a
general parameters object.

This introduces a compatibility problem for existing webextension experiments,
put in a backward-compatibility shim for now.

MozReview-Commit-ID: 72QDfiwRm5j
2018-03-14 14:52:44 -07:00
Kris Maglione
f6d48b4e9e Bug 1451615: Whitelist harmless rejection. r=me,test-only DONTBUILD
MozReview-Commit-ID: Cq3ybb4rKgF
2018-04-08 22:42:28 -07:00
Kris Maglione
4c402a31f9 Bug 1451215: Run codespell on code. r=aswan
MozReview-Commit-ID: HIilZTKcQUY
2018-04-03 22:22:07 -07:00
Jonathan Kingston
829dcc1dcc Bug 1236222 - CSP: Blocked URI should be empty for inline violations. r=ckerschb
MozReview-Commit-ID: 6bMAVJl9RTG
2018-03-08 16:23:03 -08:00
Dave Townsend
a37ff0462a Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.

The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.

MozReview-Commit-ID: DQ4Kq0xdUOD
2018-03-23 15:27:08 -07:00
Shane Caraveo
48ad9795b9 Bug 1448599 - fix WebRequest events for redirected channels when onBeforeRedirect is not used, r=kmag
If any WebRequest listener *other* than onBeforeRedirect was used, and a channel was redirected,
the ChannelWrapper was not updated with the redirected channel.  This broke most listeners for
redirected channels and specifically an extension would never see events for the new channel.

MozReview-Commit-ID: BwXToTD5LEu
2018-04-02 21:12:07 -05:00
Satish
7300e984bf Bug 1417810 - Added API to override document colors r=mixedpuppy,ntim
Changed setting name to 'overrideDocumentColors'

MozReview-Commit-ID: LfT56MLlQo9
2018-03-27 12:01:44 +05:30
Tomislav Jovanovic
4a90d0d955 Bug 1436450 - Fix <all_urls> as an optional API permission r=aswan
MozReview-Commit-ID: FXiUuNgPlRo
2018-03-27 00:40:23 +02:00
Cosmin Sabou
228b60b752 Backed out changeset 3a641d9546c6 (bug 1436450) for xpcshell failure on xpcshell/test_ext_permissions.js. 2018-03-28 17:24:53 +03:00
Tomislav Jovanovic
0112a7305b Bug 1436450 - Fix <all_urls> as an optional API permission r=aswan
MozReview-Commit-ID: FXiUuNgPlRo
2018-03-27 00:40:23 +02:00
Bogdan Tara
2287d967d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-27 12:16:26 +03:00
Kris Maglione
b67da89606 Bug 1410755: Add StreamFilterParent as a request to the channel load group. r=mixedpuppy
When the base request that we are filtering finishes, it generally removes it
self from the document's load group. If that happens before the parser has
started (which tends to be the case for XML documents that haven't consumed
any data), it can unblock the load event too early. Adding the
StreamFilterParent to the load group while the request is still pending
prevents this problem.

MozReview-Commit-ID: InxAVZQy9kT
2018-03-24 16:51:35 -07:00
Tom Ritter
1ca643e9ac Bug 1446116 Disable timer jitter on test_ext_alarms.js r=gbrown
MozReview-Commit-ID: 27Z3vIejv8y
2018-03-23 11:20:20 -05:00
Hector Zhao
ed979d9e0a Bug 1435142 - Part 3: expose closeTabByDblclick to WebExtension. r=mixedpuppy
MozReview-Commit-ID: GVgDdNFP0qL
2018-03-06 17:11:49 +08:00
Narcis Beleuzu
5d8c118952 Backed out 3 changesets (bug 1435142) for browser-chrome failures on browser_preloadedBrowser_zoom.js
Backed out changeset 7334da12de35 (bug 1435142)
Backed out changeset cd802f66b7aa (bug 1435142)
Backed out changeset 1505855fc858 (bug 1435142)
2018-03-23 19:45:14 +02:00
Hector Zhao
20d3e8852a Bug 1435142 - Part 3: expose closeTabByDblclick to WebExtension. r=mixedpuppy
MozReview-Commit-ID: GVgDdNFP0qL
2018-03-06 17:11:49 +08:00
Bob Silverberg
53970dbf30 Bug 1344749 - Expose API to customize where new tabs open, r=dao
This patch implements the preference "browser.tabs.insertAfterCurrent" which,
when set to true, will cause all tabs (related and unrelated) to be opened next
to the current tab.

It also implements the browserSettings API "newTabPosition", which allows
extensions to control both "browser.tabs.insertRelatedAfterCurrent", and
"browser.tabs.insertAfterCurrent" via values for "afterCurrent",
"relatedAfterCurrent" and "atEnd".

The code for "browser.tabs.insertAfterCurrent" including the test for it is
mostly taken from a patch attached to bug 933532 written by Masayuki Nakano.

MozReview-Commit-ID: KQE7M2FGpc7
2018-01-19 12:59:53 -05:00
Tiberius Oros
627796c275 Merge inbound to mozilla-central. a=merge 2018-03-21 12:03:08 +02:00
Kris Maglione
ee28f34d8f Bug 1446868: Part 2 - Convert remaining update.rdf tests to JSON format. r=aswan
MozReview-Commit-ID: 4ZIMdrvP5pJ
2018-03-18 22:21:46 -07:00
Kris Maglione
e1f567896e Bug 1446571: Add missing semicolon. r=eslint-fix DONTBUILD CLOSED TREE
MozReview-Commit-ID: FikjFYLirlG
2018-03-20 19:55:51 -07:00
Kris Maglione
8e882de731 Bug 1446571: Part 2b - Update update tests to run in parallel. r=aswan
MozReview-Commit-ID: AYgDFSTcTtT
2018-03-16 17:52:20 -07:00
Kris Maglione
995be65c12 Bug 1447517: Stop running Windows WebExtensions tests in non-OOP mode. r=mixedpuppy DONTBUILD
Now that WebExtensions run OOP in Windows by default, and we have no intention
of going back, there's no need to run an extra set of in-process tests for
them.

MozReview-Commit-ID: t8ryuuNFHe
2018-03-20 17:32:47 -07:00
Shane Caraveo
3b5841fbab Bug 1446517 - move some webRequest auth tests to xpcshell, r=kmag
MozReview-Commit-ID: 5A4oDnRh2lS
2018-03-20 14:21:51 -05:00
Noemi Erli
69b517254d Backed out 3 changesets (bug 1435142) for failing in browser/base/content/test/tabs/browser_close_tab_by_dblclick.js on a CLOSED TREE
Backed out changeset 9193e64cfe29 (bug 1435142)
Backed out changeset ff4b0af1e773 (bug 1435142)
Backed out changeset 79b72c904600 (bug 1435142)
2018-03-20 15:38:04 +02:00
Hector Zhao
880c9eb1d7 Bug 1435142 - Part 3: expose closeTabByDblclick to WebExtension. r=mixedpuppy
MozReview-Commit-ID: GVgDdNFP0qL
2018-03-06 17:11:49 +08:00
Kris Maglione
86d5654da0 Bug 1409888: Whitelist expected promise rejection. r=trivial,test-only DONTBUILD
MozReview-Commit-ID: JR3A5rYLmwD
2018-03-18 14:09:06 -07:00
Kris Maglione
6f921ee6da Bug 1445821: Whitelist expected promise rejection. r=trivial,test-only
MozReview-Commit-ID: FZM93rcOsVJ
2018-03-18 14:07:58 -07:00
Shane Caraveo
f5c8b3f6f2 Bug 1444579 - fix use of places provider for topSites api, r=Gijs,kmag
MozReview-Commit-ID: 8GTl9BLQdge
2018-03-14 19:58:15 -05:00
Dorel Luca
74a9e3b49b Backed out 3 changesets (bug 1435142) for Mochitest failure on browser/base/content/test/tabs/browser_close_tab_by_dblclick.js
Backed out changeset bcde232543f8 (bug 1435142)
Backed out changeset e9ddfb08a712 (bug 1435142)
Backed out changeset 069febd18b9e (bug 1435142)
2018-03-19 17:54:01 +02:00
Hector Zhao
c67520b0a3 Bug 1435142 - Part 3: expose closeTabByDblclick to WebExtension. r=mixedpuppy
MozReview-Commit-ID: GVgDdNFP0qL
2018-03-06 17:11:49 +08:00
Kris Maglione
90b0fe5c7e Bug 1444758: Follow-up: Disable test_ext_unload_frame for too frequent intermittent failures. r=bustage DONTBUILD
MozReview-Commit-ID: 7HrXu2mcnmW
2018-03-12 22:52:21 -07:00
Kris Maglione
82fde42f89 Bug 1444680: Follow-up: Re-enable test_ext_webRequest_suspend without trying to load remote content on Android. r=me
MozReview-Commit-ID: 6aubSpZKIiE
2018-03-12 22:39:59 -07:00
Kris Maglione
53f380cf71 Bug 1444680: Follow-up: Disable test_ext_webRequest_suspend on Android because it crashes and the stacks have no symbols, so I have no idea why. r=bustage
MozReview-Commit-ID: 3vJV65NR7ho
2018-03-12 22:35:45 -07:00
Kris Maglione
9f43b8d495 Bug 1444758: Part 21 - Migrate test_ext_eventpage_warning to xpcshell. r=aswan
MozReview-Commit-ID: I967vscL5DY
2018-03-11 18:40:37 -07:00
Kris Maglione
2a375c7085 Bug 1444758: Part 19 - Migrate test_ext_permissions_xhr to xpcshell. r=aswan
MozReview-Commit-ID: 20I3dndJble
2018-03-11 17:45:11 -07:00
Kris Maglione
33f838f790 Bug 1444758: Part 18 - Migrate test_ext_runtime_id to xpcshell. r=aswan
MozReview-Commit-ID: 1uRqvnLmzhZ
2018-03-11 17:33:54 -07:00
Kris Maglione
5a885cf22f Bug 1444758: Part 17 - Migrate test_ext_storage_tab to xpcshell. r=aswan
MozReview-Commit-ID: DVAPwVKpwqz
2018-03-11 17:29:58 -07:00
Kris Maglione
9af3a6a98b Bug 1444758: Part 16 - Migrate test_ext_storage_content to xpcshell. r=aswan
MozReview-Commit-ID: 4Q4CaL0Xoxe
2018-03-11 17:17:23 -07:00
Kris Maglione
b2a1ac0fe4 Bug 1444758: Part 15 - Migrate test_ext_geturl to xpcshell. r=aswan
MozReview-Commit-ID: 8zQIBhA8iD6
2018-03-11 17:04:45 -07:00
Kris Maglione
a77a8caadd Bug 1444758: Part 14 - Migrate test_ext_unload_frame to xpcshell. r=aswan
MozReview-Commit-ID: 4lwqDQ8rI1K
2018-03-11 16:21:23 -07:00
Kris Maglione
13c9f27ce2 Bug 1444758: Part 13 - Migrate test_ext_xhr_capabilities to xpcshell. r=aswan
MozReview-Commit-ID: 7sGwK8h3Wj4
2018-03-11 15:11:15 -07:00
Kris Maglione
bd20e31364 Bug 1444758: Part 12c - Migrate test_ext_tab_teardown to xpcshell. r=aswan
MozReview-Commit-ID: 15Pxz3xmLyX
2018-03-11 15:05:02 -07:00
Kris Maglione
e61722a8b4 Bug 1444758: Part 12b - Migrate test_ext_background_teardown to xpcshell. r=aswan
MozReview-Commit-ID: HMyKZuX0yUG
2018-03-11 14:54:29 -07:00
Kris Maglione
41564e3593 Bug 1444758: Part 12a - Migrate test_ext_contentscript_teardown to xpcshell. r=aswan
MozReview-Commit-ID: iySViq8K6c
2018-03-11 14:50:35 -07:00