Commit Graph

1370 Commits

Author SHA1 Message Date
Kris Maglione
dbc09e8a9b Bug 1444758: Part 9 - Migrate test_ext_contentscript_css to xpcshell. r=aswan
MozReview-Commit-ID: EtZRGqbW2R6
2018-03-11 14:23:53 -07:00
Kris Maglione
b82d989296 Bug 1444758: Part 8 - Migrate test_ext_contentscript_context to xpcshell. r=aswan
MozReview-Commit-ID: XShmdtuY4j
2018-03-11 14:15:42 -07:00
Kris Maglione
41963f7ea8 Bug 1444758: Part 7 - Migrate test_ext_contentscript_async_loading to xpcshell. r=aswan
MozReview-Commit-ID: AU9hsF8OYUH
2018-03-11 13:57:34 -07:00
Kris Maglione
bc5e58111d Bug 1444758: Part 6 - Migrate test_ext_content_security_policy to xpcshell. r=aswan
MozReview-Commit-ID: 99ChsuUDAOH
2018-03-11 13:52:18 -07:00
Kris Maglione
f2946d70f7 Bug 1444758: Part 5 - Migrate test_ext_contentscript_api_injection to xpcshell. r=aswan
MozReview-Commit-ID: Htot0aRcFXK
2018-03-11 13:19:27 -07:00
Kris Maglione
4599579c11 Bug 1444758: Part 4 - Migrate test_ext_background_api_injection to xpcshell. r=aswan
MozReview-Commit-ID: F77HJBEaaB4
2018-03-11 12:58:23 -07:00
Kris Maglione
840a458d8a Bug 1444758: Part 3 - Migrate test_ext_schema to xpcshell. r=aswan
MozReview-Commit-ID: CTCLTXWCZBN
2018-03-11 12:48:30 -07:00
Kris Maglione
d013f1a7e3 Bug 1444758: Part 2: Migrate test_ext_sandbox_var to xpcshell. r=aswan
MozReview-Commit-ID: LnCooe1lGYN
2018-03-11 10:49:32 -07:00
Kris Maglione
db5bac2570 Bug 1444680: Follow-up: Disable cached response test on Android because Android. r=bustage DONTBUILD CLOSED TREE
MozReview-Commit-ID: GUYvvqqmamX
2018-03-12 20:00:34 -07:00
Kris Maglione
916798e102 Bug 1444680: Follow-up: Fix StreamFilter race that turns up when running tests in parallel. r=mixedpuppy
MozReview-Commit-ID: 9qGEmtq5J4H
2018-03-12 18:31:58 -07:00
Kris Maglione
d44530e89d Bug 1444680: Follow-up: Temporarily skip filterResponseData test on debug builds. r=bustage CLOSED TREE
MozReview-Commit-ID: AAOoDiU9Kc
2018-03-12 18:07:31 -07:00
Kris Maglione
901a548dad Bug 1444680: Follow-up: Turn off forcing remote content pages due to Android bustage. r=bustage CLOSED TREE
MozReview-Commit-ID: 1F7Co7KNyk3
2018-03-12 14:57:20 -07:00
Kris Maglione
e27bb8b3ca Bug 1444680: Follow-up: Fix mozAddonManager API tests for non-HTTP test host access. r=bustage CLOSED TREE
MozReview-Commit-ID: 1nYFNgbnzsX
2018-03-12 14:47:30 -07:00
Kris Maglione
fce6c652fb Bug 1444680: Part 6: Convert test_ext_webRequest_responseBody to xpcshell. r=mixedpuppy
MozReview-Commit-ID: DgAENLT9Kzv
2018-03-10 20:15:52 -08:00
Kris Maglione
3ef90382e2 Bug 1444680: Part 5: Convert test_ext_webRequest_set_cookie to xpcshell. r=mixedpuppy
MozReview-Commit-ID: 8hTlHqB0KX7
2018-03-10 19:08:54 -08:00
Kris Maglione
36532225c5 Bug 1444680: Part 4: Convert test_ext_webRequest_webSocket to xpcshell. r=mixedpuppy
MozReview-Commit-ID: Ck0vyHoqPV9
2018-03-10 18:49:38 -08:00
Kris Maglione
1554df541a Bug 1444680: Part 3: Convert test_ext_webRequest_permission to xpcshell. r=mixedpuppy
MozReview-Commit-ID: 34BKVmoQACF
2018-03-10 18:25:52 -08:00
Kris Maglione
a17eac2cbf Bug 1444680: Part 2: Convert test_ext_webRequest_suspend to xpcshell. r=mixedpuppy
MozReview-Commit-ID: 8SoEdllfzSG
2018-03-10 18:02:50 -08:00
Kris Maglione
81bd3d1a95 Bug 1444680: Part 1b: Add helper for calling fetch() in content context. r=mixedpuppy
MozReview-Commit-ID: AiefWoKEh5c
2018-03-10 22:52:16 -08:00
Kris Maglione
02e0998834 Bug 1444680: Part 1a: Move proxy filter host stubs to head.js. r=mixedpuppy
MozReview-Commit-ID: 8XxxJlRgTZL
2018-03-10 17:54:12 -08:00
Kris Maglione
016b16e3d0 Bug 1444763: Wait for tab to be created before trying to close it. r=trivial,test-only
MozReview-Commit-ID: LrrZwC6J1SQ
2018-03-11 21:06:08 -07:00
Noemi Erli
78a06363c0 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Kris Maglione
113f8426de Bug 1444539: Follow-up: Remove errant debugging code. DONTBUILD
MozReview-Commit-ID: H7qaL8yUbAE
2018-03-09 17:53:35 -08:00
Kris Maglione
2534340750 Bug 1444539: Disconnect StreamFilters on redirect. r=mixedpuppy
MozReview-Commit-ID: AuCjXTlsFSC
2018-03-09 14:38:41 -08:00
Kris Maglione
66792f4453 Bug 1443640: Fix race when validating applied CSS. r=mixedpuppy
MozReview-Commit-ID: B3l71jeKnDw
2018-03-09 15:11:33 -08:00
Luca Greco
1a183d07cd Bug 1444456 - Fix contentScripts.register API schema should not use additionalProperties. r=mixedpuppy
MozReview-Commit-ID: 2Ygqrn42NI3
2018-03-09 18:38:22 +01:00
Tim Nguyen
fd768f5ea3 Bug 1439734 - Allow WebExtension themes to set the tab line color. r=jaws
MozReview-Commit-ID: LbHGyaWfXze
2018-03-04 01:25:54 +00:00
Dão Gottwald
e15710e39d Backed out changeset 0d138609abfd (bug 1344749)
MozReview-Commit-ID: 2Mx1CpM0uyH
2018-03-03 15:04:51 +01:00
vinicius
31f19889d0 Bug 1434476 - Allow changing the background color of the selected tab. r=jaws
***

MozReview-Commit-ID: 3GpBSWepNe3
***
2018-03-02 15:24:05 -03:00
Luca Greco
22c60dcadd Bug 1434777 - Re-enabled test_ext_contentscript_devtools_metadata.html test on Windows. r=jmaher
This test has been disabled because it was failing intermittently with a pretty high
frequency on the Windows platform, the reasons behind the failures have been fixed
in Bug 1435100.

MozReview-Commit-ID: 6Dxm8nTVXgq
2018-03-02 13:28:00 +01:00
Ciure Andrei
a357384ce3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-02 12:19:09 +02:00
Ciure Andrei
4ad913e358 Merge inbound to mozilla-central. a=merge 2018-03-02 12:16:06 +02:00
Kris Maglione
5a8cc558b1 Bug 1441333: Part 6 - Use caller location in error reports for StrongPromise errors. r=zombie
We currently report a useful location in error reports when extensions fail to
resolve a promise or call a response callback, but in some slightly
less-than-ideal ways. We currently generate a complete stack and parse its
string value (which is expensive), and then report the caller location as part
of the message, rather than as the error's location and stack.

This patch changes that behavior to store a single SavedStack frame, and to
properly report that as the location of the error.

MozReview-Commit-ID: Jmtf4C1O6pW
2018-03-01 16:41:21 -08:00
Kris Maglione
a68a7b5ca9 Bug 1441333: Part 5 - Use proper async caller location in normalizeError. r=zombie
Currently, when we create an error object at the end of an aysnc operation, we
only get a useful caller location if async stacks are enabled.

This patch changes our behavior to use the saved caller location we've already
stored when creating an Error object based on a plain string message.

MozReview-Commit-ID: DDO0lAUHYRO
2018-03-01 16:39:08 -08:00
Tim Nguyen
936eb6bd67 Bug 1442437 - Rename background_tab_text to tab_background_text. r=jaws
MozReview-Commit-ID: LFXUqxuHbBb
2018-03-01 23:49:07 +00:00
Kris Maglione
50e5efde7d Bug 1441333: Part 4 - Add caller location to async API errors. r=zombie
When we report errors generated by async API operations, they are currently
not tied to any relevant extension source location. Instead, the locations in
the error reports point to the location in the framework code which reported
the error, which makes things extremely difficult to diagnose.

This change saves the extension caller location at the beginning of async API
operations, and adds it to the error reports genearted by that operation. This
should give extension developers a useful starting point for debugging them.

MozReview-Commit-ID: AkknkKEosFt
2018-02-26 15:25:03 -08:00
Shane Caraveo
9a08d8aa33 Bug 1409878 implement async proxy api for webextensions, r=kmag,rpl
MozReview-Commit-ID: 50xsccRy19A
2018-03-01 19:09:54 -06:00
Bob Silverberg
bc6e5e563a Bug 1344749 - Expose API to customize where new tabs open, r=dao,mixedpuppy
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
0e49912cc8 Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Andrew Swan
d3734cd97e Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Cosmin Sabou
c196290814 Backed out 2 changesets (bug 1402850) for mochitest browser chrome failures at browser_ext_devtools_inspectedWindow.js on a CLOSED TREE
Backed out changeset 839b847c943e (bug 1402850)
Backed out changeset 85b12303f147 (bug 1402850)
2018-02-28 23:13:23 +02:00
Andrew Swan
e983157676 Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Ciure Andrei
51bf758f13 Backed out changeset 30b928272f74 (bug 1373640) for failures on xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dns.js a=backout 2018-02-28 06:44:03 +02:00
Shane Caraveo
d20ba0a6aa Bug 1373640 implement async dns resolve api for webextensions, r=kmag
MozReview-Commit-ID: Bzfr2x6Vmx2
2018-02-27 19:35:01 -06:00
Ciure Andrei
a6f96e20e2 Backed out changeset 7c6468a59407 (bug 1373640) for failures on xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_dns.js a=backout on a CLOSED TREE 2018-02-28 03:04:19 +02:00
Shane Caraveo
63f203ba9f Bug 1373640 implement async dns resolve api for webextensions, r=kmag
MozReview-Commit-ID: Bzfr2x6Vmx2
2018-02-27 13:56:38 -06:00
Mark Banner
910da570a0 Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
MozReview-Commit-ID: HmliR8iNRDq
2018-02-22 16:55:36 +00:00
Connor Masini
2e5078ed4b Bug 1417880: Allow theming arrow panels(popups). r=jaws,mconley,ntim
MozReview-Commit-ID: 9f1sSzaGZzf
2018-02-07 00:22:22 -05:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00