Commit Graph

2354 Commits

Author SHA1 Message Date
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
0e4b3bef11 Bug 1415644: Follow-up: Fix assertion in debug builds. r=bustage CLOSED TREE
MozReview-Commit-ID: 1AzZ7X31jAs
2018-03-09 16:09:03 -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
Kris Maglione
6958202bbb Bug 1415644: Follow-up: Fix static analysis build bustage. r=bustage
MozReview-Commit-ID: IwFUIFOJbdX
2018-03-09 15:13:52 -08:00
Kris Maglione
fd8a0b2ac6 Bug 1415644: Create a list of restricted domains. r=aswan,mixedpuppy
MozReview-Commit-ID: A0AkaBG33In
2018-03-03 16:28:18 -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
Andy McKay
2a49400995 bug 1420778 make downloads permissions optional r=aswan
MozReview-Commit-ID: JSbDDA2iYw5
2018-03-07 16:10:03 -08:00
Csoregi Natalia
32851dfb9a Backed out changeset b03fd1004cac (bug 1417883) for failing browser_ext_themes_autocomplete_popup.js. CLOSED TREE 2018-03-06 19:35:12 +02:00
Dylan Stokes
5316adc0f6 Bug 1417883 - Allow theming autocomplete popups. r=jaws,ntim
MozReview-Commit-ID: GITgsY3yYqN
2018-02-11 12:32:33 -05:00
Mark Banner
29e56bce9b Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
MozReview-Commit-ID: IVMeZHGdVBk
2018-03-06 12:01:59 +00: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
Shane Caraveo
93db2c5790 Bug 1438985 fix showing hidden tabs on extension shutdown, r=aswan
We need a static disable event so we can handle shutdown
of extensions using hidden tabs.  This allows us to handle
shutdown when the extension has not yet used the API (thus
the ext-tabs api has not loaded).

MozReview-Commit-ID: BxV5PmbHJ8o
2018-03-01 12:04:52 -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
Zibi Braniecki
6c6df6d6b7 Bug 1441135 - Stash all data needed for langpack startup in the startupCache. r=aswan
MozReview-Commit-ID: 763VkrRGvCq
2018-02-27 10:55:19 -08: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
Shane Caraveo
cc9b7fb4c5 Bug 1398713 pass triggeringPrincipal when using browser.loadURI, r=Gijs,kmag 2018-02-28 17:32:01 -06:00
Bobby Holley
d55d51ea43 Bug 1438974 - Fix WebExtensions to block layout for pending sheets. r=kmag
This fixes a failure in test_ext_contentScripts_register.js introduced
by async parsing.

MozReview-Commit-ID: JViFhpDX2k1
2018-02-28 10:43:13 -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
Narcis Beleuzu
f3516c5f38 Backed out 1 changesets (bug 1441135) for xpcshell failures on test_webextension_langpack.js. CLOSED TREE
Backed out changeset f027c3d45c47 (bug 1441135)
2018-03-01 03:17:44 +02:00
Zibi Braniecki
886c71ffaa Bug 1441135 - Stash all data needed for langpack startup in the startupCache. r=aswan
MozReview-Commit-ID: 763VkrRGvCq
2018-02-27 10:55:19 -08:00
Andrew Swan
1ca7c0ba65 Bug 1434076 Correct calls to getAPI() on wrong api manager r=kmag
MozReview-Commit-ID: ADrV9x8gXhc
2018-02-22 12:20:34 -08:00
Shane Caraveo
01c207899b 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
a5018eab35 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-23 00:03:06 +02:00
Boris Zbarsky
e59f740ee6 Bug 1437921 part 2. Switch document_idle to use the documentReadyForIdle promise. r=kmag
MozReview-Commit-ID: 9cJ1cGuMzBJ
2018-02-22 16:55:40 -05:00
Luca Greco
de04e8d2fa Bug 1435100 - Ensure preloaded css and script caches are cleared when a WebExtension is shutting down. r=mixedpuppy
MozReview-Commit-ID: IHK7hBYVLMj
2018-02-21 12:53:56 +01:00
Zibi Braniecki
b813d58184 Bug 1431260 - Migrate Extensions tests to mock locale availability. r=aswan
MozReview-Commit-ID: KbFa11j69F1
2018-02-16 14:35:00 -08:00
Csoregi Natalia
3b435f7331 Merge inbound to mozilla-central. a=merge 2018-02-21 23:50:20 +02:00
Cosmin Sabou
a4871fdab3 Bug 1419183 - Disable toolkit/components/extensions/test/xpcshell/test_ext_management.js for frequent failures. r=jmaher 2018-02-21 18:54:17 +02:00
Christoph Kerschbaumer
d6282a8072 Bug 1434357: Test allow insecure redirect to data: URI through WebRequest API. r=jkt 2018-02-18 19:18:28 +01:00
Gurzau Raul
53f480c4b8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-21 19:30:44 +02:00
Jonathan Kingston
91e54f8c78 Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
MozReview-Commit-ID: ETIgVF3zhRu
2018-02-05 15:37:27 +00:00