Commit Graph

1370 Commits

Author SHA1 Message Date
Edouard Oger
091fe32995 Bug 1426306 - Store only derived keys instead of storing kB/kA. r=glasserc,markh,rfkelly
MozReview-Commit-ID: Hgv5hxSH4qX
2018-01-05 15:56:00 -05: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
Bob Silverberg
cc075aba3f Bug 1425535 - Implement browserSettings.proxyConfig API, r=mixedpuppy
This allows an extension to read and set proxy settings via a config object.

MozReview-Commit-ID: 55wn0RO74E4
2018-01-11 15:22:03 -05:00
Tim Nguyen
86a05a9a19 Bug 1413089 - Fix intermittent browser_ext_themes_dynamic_getCurrent.js. r=mixedpuppy
MozReview-Commit-ID: MylrmgEfz9
2018-01-12 22:25:31 +00:00
Kris Maglione
4fb2fb4403 Bug 1323845: Part 6b - Test WebExtension-style experiments API providers. r=aswan
MozReview-Commit-ID: 5guKmx77RQm
2018-01-09 17:21:25 -08:00
Kris Maglione
a182138185 Bug 1323845: Part 5b - Add tests for bundled experiments APIs. r=aswan
MozReview-Commit-ID: C0gAmW2QfNr
2018-01-09 17:01:29 -08:00
Kris Maglione
3ad29270e5 Bug 1323845: Part 5a - Allow extensions to bundle experiment API modules. r=aswan
MozReview-Commit-ID: 5suo2MqM51V
2018-01-09 16:28:36 -08:00
Kris Maglione
05654848aa Bug 1323845: Part 1 - Support multiple schema root namespaces. r=aswan
MozReview-Commit-ID: DfOjHGzLJro
2017-12-16 15:05:13 -06:00
Bob Silverberg
dd4dd43f81 Bug 1363860 - Allow WebExtensions to control cookie behaviour, r=mixedpuppy
This introduces a new setting to the privacy API, browser.privacy.websites.cookieConfig,
which controls both the network.cookie.cookieBehavior pref, and the network.cookie.lifetimePolicy
pref. The former controls which types of cookies are accepted, while the latter which controls
the expiration date of cookies.

This setting accepts an object as its value with properties for "behavior" and
"nonPersistentCookies", which control the prefs discussed above. Each of these properties is
optional.  nonPersistentCookies defaults to false, and an object without a value for the
behavior property will result in the network.cookie.cookieBehavior pref being reset to its
default value.


MozReview-Commit-ID: KKE1dMCzTt6
2017-11-30 09:31:21 -05:00
Luca Greco
df769bb81d Bug 1428094 - Exception raised from a webRequest blocking listener should report the original error message and filename. r=mixedpuppy
MozReview-Commit-ID: KiCg6dKaVd5
2017-12-07 21:19:03 +01:00
Dorel Luca
595e3afa37 Merge mozilla-central to autoland r=merge 2018-01-11 00:03:38 +02:00
Shane Caraveo
682e6061f8 Bug 1418275 Fix timing of STS header processing for webextensions r=mayhemer
STS header checking was happening before http-on-examine-response which prevents
an observer from adding the STS headers to enforce STS.  This moves the header
processing to after the notification occurs.  In a webextension,
WebRequest.onHeadersReceived can now be used to inject STS and have that
recognized by HttpChannel.

MozReview-Commit-ID: KYZCSTBnZL7
2018-01-10 13:21:08 -08:00
Liang-Heng Chen
1cf4fcfba5 Bug 1422496 - Part 2: wait the bg iframe to be loaded in content scripts register unload; r=rpl
MozReview-Commit-ID: 721qqA2roes
2018-01-09 07:29:00 +02:00
Andrea Marchesini
fae42fd6b6 Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing a broken depending test - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing WPTs - CLOSED TREE, r=me
* * *
Bug 1428745 - Remove support for version parameter from script loader - fixing tests - CLOSED TREE, r=me
2018-01-09 17:00:49 +01:00
Narcis Beleuzu
972550c448 Backed out 6 changesets (bug 1428745) for wpt failures on script-type-and-language-with-params.html. r=backout on a CLOSED TREE
Backed out changeset 9e84285278fe (bug 1428745)
Backed out changeset e199f1ccf64c (bug 1428745)
Backed out changeset dfb9af93ac53 (bug 1428745)
Backed out changeset 1d975770bd9a (bug 1428745)
Backed out changeset 1d5dc7dfd429 (bug 1428745)
Backed out changeset 4e53f251c5b8 (bug 1428745)
2018-01-10 00:37:59 +02:00
Andrea Marchesini
a8d2ddc57e Bug 1428745 - Remove support for version parameter from script loader - tests, r=jonco 2018-01-09 17:00:49 +01:00
Shane Caraveo
7f4e561196 Bug 1417639 move tests out of mochitest-chrome, r=rpl
MozReview-Commit-ID: CUYe2WNyzHj
2018-01-08 14:50:43 -08:00
Shane Caraveo
da4b199886 Bug 1417639 fix background page alert and test, r=rpl
MozReview-Commit-ID: Kirm9EbzpVO
2018-01-08 14:50:20 -08:00
Ben Kelly
ed9cde1414 Bug 1425975 P17 Make web extension tests wait for service worker to activate to avoid races. r=kmag 2018-01-05 12:10:23 -05:00
Chung-Sheng Fu
3d7c36ab0b Bug 1381197 - Add tests for browser.cookies APIs with first-party isolation. r=robwu,rpl
MozReview-Commit-ID: 25Cx65Cr8Ry
2017-11-07 15:32:19 +08:00
Chung-Sheng Fu
1764fc9110 Bug 1381197 - Fix failures on existent cookies API tests. r=robwu,rpl
MozReview-Commit-ID: 9zVaBw1tt2W
2017-11-09 17:45:35 +08:00
Geoff Brown
9385a88cef Bug 1408609 - Disable test_ext_i18n.js on Linux, for ongoing intermittent failures; r=me, a=test-only 2017-12-28 10:57:34 -07:00
Andreea Pavel
35130a6b8b Merge inbound to mozilla-centra r=merge a=merge 2017-12-22 11:54:07 +02:00
Shane Caraveo
edd834648b Bug 1425267 fix url param schema for launchWebAuthFlow, r=rpl 2017-12-21 15:18:26 -08:00
Andrew Swan
e53f9296c7 Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Andrew Swan
e9a7ab4dae Bug 1426259: Implement import for webextensions schemas r=kmag
MozReview-Commit-ID: LFYh8SzpCVN
2017-12-19 14:32:35 -08:00
Florian Quèze
b7450770d6 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze
1838aa9e08 Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3 Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Kartikaya Gupta
3c1a3e8f0e Bug 1334189 - Enable mochitest-plain for linux64-qr. r=jrmuizel
MozReview-Commit-ID: nbcWhDq5de
2017-12-13 18:38:39 -05:00
Tim Nguyen
f6b8ba5941 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: KAV0lpuFDzL
2017-12-18 10:50:50 -06:00
Cosmin Sabou
c2881350da Backed out changeset 5d54913a8826 (bug 1423626) for ESlint failure on toolkit/components/extensions/test/browser/browser_ext_themes_alpha_accentcolor.js:27:1 r=backout on a CLOSED TREE 2017-12-15 22:34:19 +02:00
Tim Nguyen
f85e5f68a7 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: IKo55lZ8b10
2017-12-15 13:52:41 -06:00
Rob Wu
fdd2aba235 Bug 1417828 - Ignore ports in cookies API r=zombie
Fixes regression from bug 1398630, where nsIURI was replaced with DOM
URL. In nsIURI, "host" does not include a port number, but in a DOM URL,
"host" does include a port number and "hostname" has to be used to
obtain the original result.

MozReview-Commit-ID: KxCF6Srn7X4
2017-12-02 02:09:51 +01:00
Bevis Tseng
62340b1ce3 Bug 1414170 - Fix timeout of toolkit/components/extensions/test/mochitest/test_ext_new_tab_processType.html that replies non-comformant Promise handling. r=smaug 2017-12-14 11:20:00 -06:00
Sebastian Hengst
230ac4b916 Backout revived test file of bug 1423626. r=merge-fix a=merge-fix 2017-12-09 23:08:03 +02:00
Andreea Pavel
f83f963a34 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 22:21:17 +02:00
Gurzau Raul
8a2e003aed Backed out changeset 69c0d6c48015 (bug 1423626) on request for filled regressions on a CLOSED TREE 2017-12-09 05:35:52 +02: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
Shane Caraveo
616ecb3d39 Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl
MozReview-Commit-ID: ChIs2Q6bgEn
2017-12-08 12:12:37 -08:00
Tim Nguyen
bf6d33e798 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: DY5uOjyuxtg
2017-12-07 16:37:19 +00:00
Andreea Pavel
9550833cbf Backed out 1 changesets (bug 1423626) for failing browser chrome toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js r=backout on a CLOSED TREE
Backed out changeset 92f0f022897e (bug 1423626)
2017-12-07 14:57:07 +02:00
Tim Nguyen
363121f88b Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: AXQvUXkiLCW
2017-12-07 11:12:49 +00:00
Coroiu Cristina
e5e3e3f91e Backed out changeset 60f434a1d85b (bug 1423626) for browser-chrome failures at browser/base/content/test/urlbar/browser_URLBarSetURI.js r=backout on a CLOSED TREE 2017-12-07 07:22:23 +02:00
Tim Nguyen
bb7ce78b38 Bug 1423626 - Sanitize accent color to ignore alpha channel. r=jaws
MozReview-Commit-ID: 7lkIcmuBCn
2017-12-07 01:17:46 +00:00
Peter Snyder
9308fe1009 Bug 1377689 - merge identical headers in set{Request,Response}Header, r=bz,mixedpuppy
MozReview-Commit-ID: Kpli9YzEvlt
2017-12-04 22:48:54 -06:00
Luca Greco
4f36c2e62a Bug 1406675 - Allow storages in WebExtensions on customized cookieBehavior and lifetimePolicy prefs. r=asuth,aswan
This commit ensures that WebExtension principals always get a nsICookieService::BEHAVIOR_ACCEPT
cookieBehavior and a nsICookieService::ACCEPT_NORMALLY aLifetimePolicy:

- the webextension pages are still able to use indexedDB and localStorage on a globally
  configured:

  "network.cookie.cookieBehavior = 2"

  ("Accept cookies from websites" unchecked in the about:preferences
  "use custom settings for history" section)

- the webextension pages' localStorage does not switch in session-only mode on a globally
  configured:

    "network.cookie.lifetimePolicy = 2"

  ("Keep until I close Firefox" in the about:preferences
  "use custom settings for history" section)


MozReview-Commit-ID: 5LOCvCgcokM
2017-11-10 00:49:33 +01:00
Ben Kelly
b54eb8a170 Bug 1420594 P3 Disable test_ext_contentScripts_register.js on android since it fails without the shutdown delay bug. r=baku 2017-12-04 09:51:32 -05:00
Bob Silverberg
2adf022ca1 Bug 1420969 - API to open search results in new tab, r=mixedpuppy
This introduces browserSettings.openSearchResultsInNewTabs which exposes
the browser.search.openintab preference to extensions.

Note that until bug 1394304 is fixed this only works for searches performed
via the search box, and not for searches performed via the address bar.

MozReview-Commit-ID: HuoJ0uOvMjX
2017-11-29 09:49:46 -05:00