Commit Graph

1494 Commits

Author SHA1 Message Date
Shane Caraveo
fbe3934816 Bug 1464481 - fix and test crash when getting registered channelwrapper, r=kmag
MozReview-Commit-ID: LEGojHEb742
2018-05-25 16:41:19 -04:00
Shane Caraveo
32e3a1a959 Bug 1322748 add securityInfo to webRequest listeners, r=keeler,rpl
MozReview-Commit-ID: Hen1tl1RWTC
2018-05-23 14:36:19 -04:00
Ciure Andrei
079a25fdd1 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-05-27 01:23:31 +03:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Kris Maglione
c6695e70cf Bug 1461146: Replace Addon.userDisabled setter with async enable()/disable() methods. r=aswan
MozReview-Commit-ID: Gj2iCsBIdnq
2018-05-12 16:49:35 -07:00
Kris Maglione
93c85d42c4 Bug 1456485: Part 2 - Allow extensions with the mozillaAddons permission to match restricted schemes. r=zombie
The schema handling for this is currently a bit ugly, for the sake of
simplifying uplift. In the figure, we should find a way to change the schema
pattern matching based on whether or not the extension is privileged.

MozReview-Commit-ID: CU9WR2Ika6k
2018-05-09 18:55:59 -07:00
Kris Maglione
2239a748b1 Bug 1456485: Part 1 - Support unrestricted matching in MatchPattern. r=zombie
This is grafted from the first part of bug 1425104.

MozReview-Commit-ID: 4aW2w81LDTI
2018-04-18 14:02:05 -07:00
Tom Schuster
1d22393511 Bug 1453916 - Fix eslint errors. r=me on CLOSED TREE 2018-05-22 20:53:03 +02:00
Tom Schuster
2310a1e9fd Bug 1453916 - Allow canvas extraction from webextension content-script even with resistFingerprinting turned on. r=kmag,bz 2018-05-14 20:49:32 +02:00
Kris Maglione
187318b0b7 Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5
2018-05-19 20:17:45 -07:00
Rob Wu
fe67fc6b62 Bug 1389099 - Properly encode multi-byte translations in CSS r=kmag
The localization filter was not unicode-aware because convertToStream
assigns the output to a nsIStringInputStream (which takes 8-bit chars).
The input was read as a 8-bit string, but after localization it can
contain wide strings if a translation has a multi-byte character.

To fix this, the input stream is now first read as a UTF-8 string, then
localized, and finally exported via a nsIArrayBufferInputStream..

MozReview-Commit-ID: LjCxczIFKCR
2018-05-18 00:20:58 +02:00
Kris Maglione
f74fae0bf8 Bug 1461062: Refactor bootstrap lifecycle management to be somewhat maintainable. r=aswan
MozReview-Commit-ID: 8OQhjqxzKYP
2018-05-11 20:40:31 -07:00
Gijs Kruitbosch
12e547aa5b Bug 1460287 - use black as a fallback for textcolor and always set lwtheme attribute if theme is active, r=dao
MozReview-Commit-ID: 30NKcuz94d
2018-05-11 18:48:53 +01:00
Bogdan Tara
cf900408b9 Bug 1455405 - disable test_ext_webrequest_basic.html on linux 32 and 64 for frequent failures. r=jmaher 2018-05-11 08:52:00 +03:00
Margareta Eliza Balazs
d06d032d88 Merge inbound to mozilla-central. a=merge 2018-05-09 12:33:51 +03:00
Tooru Fujisawa
41aa207cb4 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Jan-Erik Rediger
96146257d0 Bug 1320052 - Update external snapshot callers to not deal with subsessions. r=chutten
MozReview-Commit-ID: DGTer5oMnwd
2018-05-02 15:56:03 +02:00
Andrew Swan
1af4bc710c Bug 1457224 Enable delayed background page startup on Nightly r=zombie
MozReview-Commit-ID: 8xzBLmQRIL6
2018-04-26 10:28:58 -07:00
Andrew Swan
ec3ff5b7af Bug 1457224 Clean up extension testing helpers r=zombie
- Remove outdated appChanged logic from test helper function to start
  the AddonManager
- Avoid calling to the AddonManager in webextension tests that don't
  otherwise require the AddonManager

MozReview-Commit-ID: Fx4o1TzXTCd
2018-04-30 13:01:10 -07:00
Shane Caraveo
a5e056babe Bug 1457213 support early startup for proxy api, r=aswan
MozReview-Commit-ID: kMf8ig4U2S
2018-05-01 18:46:07 -05:00
Tiberius Oros
31ce26f0f3 Bug 1455405 - disable test_ext_webrequest_basic.html on Linux x64 on all build types except asan r=jmaher 2018-04-30 04:46:00 +03:00
Sebastian Hengst
fbb3023628 Bug 1457718 - test_ext_experiments.js result depends on MOZ_ALLOW_LEGACY_EXTENSIONS. r=kmag
MozReview-Commit-ID: 42lAMuFlhH
2018-04-29 23:24:15 +03:00
Andreea Pavel
68fa42ef9b Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Jonathan Kingston
c285bde064 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Cosmin Sabou
9f0c6460a5 Backed out changeset 8141b60030b9 (bug 1454820) for browser chrome failures on browser_901207_searchbar_in_panel.js on Linux debug. CLOSED TREE 2018-04-27 09:20:20 +03:00
Cosmin Sabou
50d85b561e Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE 2018-04-27 19:50:26 +03:00
Jonathan Kingston
131c049368 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Mark Hammond
ec6888212a Bug 1457071 - allow all extension-storage data to be deleted from the profile. r=glasserc
MozReview-Commit-ID: Dnb2kdcz1CH
2018-04-26 17:53:56 +10:00
Jonathan Kingston
fcf8743ad0 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Tim Nguyen
0c33a2eff7 Bug 1450554 - Fix identity box security color on dark themes. r=johannh
MozReview-Commit-ID: 4ulHEEAMonP
2018-04-26 10:48:22 +01:00
Cosmin Sabou
dc16ce0787 Backed out changeset 7e3aa63ae752 (bug 1454820) for ESlint failure on extensions/Extension.jsm:509:22. CLOSED TREE 2018-04-27 14:46:19 +03:00
Jonathan Kingston
6243245712 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Shane Caraveo
fa5b498b4d Bug 1455755 Move browserSettings.proxyConfig to proxy.settings, r=aswan, mstrimer 2018-04-25 18:50:22 -05:00
Andrew Swan
f151f369f0 Bug 1447551 Part 2: Convert webRequest to persistent events r=mixedpuppy,kmag
MozReview-Commit-ID: ANprpK8Kw5Q
2018-04-20 11:41:30 -07:00
Kris Maglione
b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
Gurzau Raul
5bab245fc3 Backed out 2 changesets (bug 1447551) for failing on xpcshell/test_ext_webRequest_startup.js
Backed out changeset cbae9dd05293 (bug 1447551)
Backed out changeset 50a1ddd35664 (bug 1447551)
2018-04-25 12:49:05 +03:00
Andrew Swan
fc50724788 Bug 1447551 Part 2: Convert webRequest to persistent events r=mixedpuppy,kmag
MozReview-Commit-ID: ANprpK8Kw5Q
2018-04-20 11:41:30 -07:00
Kris Maglione
0e5cc4744c Bug 1455406: Convert test_same_site_cookies_webextension to an xpcshell test. r=mixedpuppy
MozReview-Commit-ID: BFAmZUn349n
2018-04-19 12:49:19 -07:00
Tim Nguyen
9698f93bd0 Bug 1372694 - Stop making the default theme a heavyweight theme. r=kmag,aswan
MozReview-Commit-ID: 30wMauuc9oo
2018-04-01 13:53:31 +02:00
Shane Caraveo
c3ac564638 Bug 1455705 fix how browserSettings.proxyConfig sets network prefs, r=rpl
proxyConfig set urls onto the pref rather than host names.  This adds a round-trip test
with a test that uses the proxy after setting the config.  Also fixes setting prefs
when httpProxyAll is true.

MozReview-Commit-ID: FpXKjnOXEkl
2018-04-20 19:43:36 -05:00
Kris Maglione
d3bbf87c83 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc
2018-04-14 19:38:18 -07:00
Dorel Luca
65816eb63f Merge mozilla-central to autoland 2018-04-21 02:03:27 +03:00
Bogdan Pozderca
6f22c5ef7c Bug 1418605 - The toolbar, toolbar_text, toolbar_field, toolbar_field_text, toolbar_field_border properties should apply to the findbar r=jaws,mconley,ntim
MozReview-Commit-ID: 821d7kR41mJ
2018-02-10 17:24:50 -05:00
Cosmin Sabou
449057ea0f Merge inbound to mozilla-central. a=merge 2018-04-20 01:29:10 +03:00
Christoph Kerschbaumer
826d6a509f Bug 1454914: Test web extensions are exempt from samesite cookie policy.r=jkt 2018-04-19 20:00:52 +02:00
Shane Caraveo
2cec3a5c7a Bug 1432645 add browserSetting to flip urlbar.openintab, r=rpl
MozReview-Commit-ID: 6egB1yj6bkI
2018-04-18 14:24:32 -05:00
Soeren Hentzschel
3a24a7e061 Bug 1400805 - added WebExtension API to get/set browser.display.use_document_fonts r=ntim,zombie
MozReview-Commit-ID: 9JaJN1yTxMy
2018-04-17 21:27:42 +02:00
Coroiu Cristina
3ca1ef71f0 Merge inbound to mozilla-central a=merge 2018-04-18 13:44:22 +03:00
Kris Maglione
31b62bd68b Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87
2018-04-12 21:10:04 -07:00