Commit Graph

512 Commits

Author SHA1 Message Date
Bob Silverberg
67a5cde2e4 Bug 1408099 - Fix ExtensionPreferencesManager.getLevelOfControl to deal with undefined settings, r=aswan
Prior to this, if getLevelOfControl was called before the setting was defined to the EPM, an
exception was thrown. This fixes it by returning a level of control of "not_controllable"
if the setting has not yet been defined.

MozReview-Commit-ID: 96jXLoJlUI
2017-10-12 17:31:27 -04:00
Sebastian Hengst
ded2f7a0dd Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Kris Maglione
0b33e0da90 Bug 1407056: Follow-up: Skip test on Android debug for flakiness. r=bustage
MozReview-Commit-ID: 39slYE2zP95
2017-10-12 19:48:48 -07:00
Kris Maglione
86d70533eb Bug 1407056: Part 3 - Test that CSP overrides apply correctly based on triggering principals. r=bz
MozReview-Commit-ID: EbGsI3keeG6
2017-10-12 15:44:32 -07:00
Ian Moody
da27cf8af2 Bug 1403224 - Add tests for MatchPattern.subsumes(). r=aswan
MozReview-Commit-ID: 8Wi4d4BVApq
2017-09-26 19:36:32 +01:00
Sebastian Hengst
16e90b262d Backed out changeset a1b4287a3427 (bug 1403224) for eslint failure at toolkit/components/extensions/test/xpcshell/test_MatchPattern.js:279:4 | Newline required at end of file but not found. r=backout 2017-10-12 17:26:54 +02:00
Ian Moody
a133919c0b Bug 1403224 - Add tests for MatchPattern.subsumes(). r=aswan
MozReview-Commit-ID: 8Wi4d4BVApq
2017-09-26 19:36:32 +01:00
Kris Maglione
7b3d1e5b27 Bug 1407258: Dowgrade document loads with expanded principals to their last sub-principal. r=bz
There are currently some corner cases where channels that are eventually
loaded into documents (mainly <img src="data:image/svg+xml,") can inherit
expanded principals from a caller. Since documents aren't allowed to have
expanded principals, this causes crashes.

This patch is a short term workaround for the issue, until we have a longer
term solution that prevents the channels from inheriting the expanded
principals to begin with.

MozReview-Commit-ID: JwqqtVynLjj
2017-10-10 14:08:47 -07:00
Jason Orendorff
6e7ae0564c Bug 1404107 - Test that an Xray expando whose value is a DOM node works when the node is reparented. no_r=me.
Requested by bz, during review of other patches in this bug.
2017-10-07 18:53:02 -05:00
Boris Zbarsky
7fd44fd6e7 Bug 1404107 - Test that Xray expandos are not lost when reparenting wrappers. r=mrbkap 2017-10-03 08:53:13 -05:00
Kris Maglione
84cb9d4cfe Bug 1406278: Part 8b - Use subject principal as triggering principal in style <link> "href" attribute. r=bz
MozReview-Commit-ID: LWMkBcB4WIg
2017-10-05 19:40:48 -07:00
Kris Maglione
cd1637aa78 Bug 1406278: Part 7 - Use subject principal as triggering principal in <input> "src" attribute. r=bz
MozReview-Commit-ID: 8DZOwqBrA2i
2017-10-05 16:19:19 -07:00
Kris Maglione
6efed59589 Bug 1406278: Part 6 - Use subject principal as triggering principal in <source> "srcset" attribute for <picture>. r=bz
MozReview-Commit-ID: DFq3k9PSOgA
2017-10-05 15:59:15 -07:00
Kris Maglione
a3d15ab9ad Bug 1406278: Part 5b - Use subject principal as triggering principal in <source> "src" attribute for <audio>/<video>. r=bz
MozReview-Commit-ID: zZCXpvs719
2017-10-05 15:28:22 -07:00
Kris Maglione
09b72bad18 Bug 1406278: Part 5a - Use subject principal as triggering principal in <audio>/<video> "src" attribute. r=bz
MozReview-Commit-ID: A1JixlTeZGq
2017-10-05 14:47:09 -07:00
Kris Maglione
c2386ba786 Bug 1406278: Part 4 - Use subject principal as triggering principal in <iframe>/<frame> "src" attribute r=bz
MozReview-Commit-ID: AgxZmfRvfTR
2017-10-04 22:59:44 -07:00
Kris Maglione
afc961cdba Bug 1406278: Part 3 - Use subject principal as triggering principal in <script> "src" attribute. r=bz
MozReview-Commit-ID: KwGIE4t7KUx
2017-10-04 22:16:32 -07:00
Kris Maglione
ce86c492cd Bug 1406278: Part 2c - Use subject principal as triggering principal in <img> "srcset" attribute. r=bz
MozReview-Commit-ID: 784EsgwBcS1
2017-10-02 21:30:34 -07:00
Kris Maglione
ae7452e40e Bug 1406278: Part 2b - Use subject principal as triggering principal in <img> "src" attribute. r=bz
MozReview-Commit-ID: DrblTjP99WJ
2017-10-02 20:28:32 -07:00
Tomislav Jovanovic
41dd040dde Bug 1402007 - Use $PYTHON environment variable in test_native_manifest r=aswan
MozReview-Commit-ID: L0CYlrGAidy
2017-10-04 22:46:41 +02:00
Tom Schuster
94725f1c81 Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Liang-Heng Chen
16493d56ed Bug 1401081 - Wait one more cycle to finish css loading. r=kmag
MozReview-Commit-ID: DSai1moD2Qy
2017-09-29 02:54:00 -04:00
Sebastian Hengst
7942d9a882 Backed out changeset 33ef79c5fe06 (bug 1403721) for failing eslint at toolkit/components/extensions/test/xpcshell/test_ext_experiments.js:162: 'boringAddon' is already declared in the upper scope. r=backout 2017-10-04 17:47:22 +02:00
Tom Schuster
4958899585 Bug 1403721 - Limit management.get to allowed addon types. r=mixedpuppy 2017-10-04 16:06:27 +02:00
Sebastian Hengst
387952c22a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EVLGo1zCANb
2017-10-04 11:13:24 +02:00
Wes Kocher
a89d343ff2 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 42IMgMJGiDu
2017-10-03 14:54:08 -07:00
Andrew Swan
37a3b40fa8 Bug 1399375 Wait for _uninit in test_ext_permissions.js r=kmag
MozReview-Commit-ID: AF3U2vs5YNw
2017-10-03 09:06:05 -07:00
Andrew Swan
5f8e74f7f0 Bug 1399550 Explicitly close content page in test_ext_permissions.js r=kmag
MozReview-Commit-ID: HnTbRVHXkWR
2017-10-02 14:49:48 -07:00
Tom Ritter
3832c1ba26 Bug 1397611 Expose a websites.resistFingerprinting pref that Web Extensions can toggle r=aswan,bsilverberg
MozReview-Commit-ID: Fh48FWKdhoD
2017-09-07 00:58:54 -05:00
apoorvasingh17
3de6c8c86a Bug 1404746 - Ignore minimum_opera_version in WebExtensions manifest. r=bsilverberg, r=mixedpuppy 2017-10-03 01:00:53 +05:30
Wes Kocher
4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Ian Moody
cd18213331 Bug 1375485 - Add test to verify that requesting an origin or permission in the wrong field throws an error. r=aswan
MozReview-Commit-ID: HZwkeUoGDRW
2017-09-23 17:43:43 +01:00
Thom Chiovoloni
e85d046fcb Bug 1400467 - Make WeaveCrypto use promises instead of spinning event loops r=eoger,markh
MozReview-Commit-ID: 64dewKKaAOJ
2017-09-15 19:21:31 -07:00
Wes Kocher
6952cfe436 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Kjjgw1Pdb3U
2017-09-26 17:15:46 -07:00
Kris Maglione
625426b21e Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Sebastian Hengst
b5dcb649a0 Backed out changeset 641430a49682 (bug 1402066) 2017-09-26 11:37:44 +02:00
Shane Caraveo
f2e81a0dcd Bug 1401350 fix proxy auth for system requests, r=kmag
MozReview-Commit-ID: CAh89djQobI
2017-09-25 15:14:09 -07:00
Jonathan Kingston
5f8d99a77d Bug 1403243 - Fix typo in identity exceptions. r=kmag
MozReview-Commit-ID: 9gt0f990ftu
2017-09-26 17:50:42 +01:00
Kris Maglione
fec6f66268 Bug 1402066: Part 2 - Enable permissions tests in OOP mode. r=aswan
MozReview-Commit-ID: 4Tv2HAaSV19
2017-09-25 21:05:00 -07:00
Kris Maglione
157f1a8b84 Bug 1379148: Part 4 - Add tests for document.write() with document_start content script present. r=mixedpuppy
MozReview-Commit-ID: 5yxgpur1tvf
2017-09-20 17:01:33 -07:00
Tomislav Jovanovic
1566f5e353 Bug 1386427 - Part 4: Implement basic storage.managed functionality r=kmag
MozReview-Commit-ID: Auy1ujS8wyz
2017-09-16 19:42:40 +02:00
Tomislav Jovanovic
f187bd307d Bug 1386427 - Part 3: Add storage and pkcs11 NativeManifest types r=kmag
MozReview-Commit-ID: 62MoqNLTxic
2017-09-16 05:30:13 +02:00
Tomislav Jovanovic
b1230d96e1 Bug 1386427 - Part 2: Extract HostManifestManager to NativeManifests.jsm r=kmag
MozReview-Commit-ID: GrVBZbkTfrB
2017-09-15 20:14:56 +02:00
Tomislav Jovanovic
46151ccd77 Bug 1386427 - Part 1: Add XRE*NativeManifests locations to dirsvc r=kmag
MozReview-Commit-ID: DoJIP6QZ5AX
2017-09-12 18:58:23 +02:00
Rob Wu
c38623168a Bug 1401511 - Don't mutate return value of FindProxyForURL r=mixedpuppy
MozReview-Commit-ID: 38A1Afzvfqd
2017-09-20 14:47:15 +02:00
Kris Maglione
b9473e10bc Bug 1399375: Disable test_ext_permissions on asan for frequent intermittents. r=me
MozReview-Commit-ID: EIt2GQENXUi
2017-09-28 09:25:01 -07:00
Tom Schuster
a90463eab1 Bug 1403723 - Correct metadata when using management.get. r=mixedpuppy 2017-09-28 12:46:09 +02:00
Sebastian Hengst
29da5de0e1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-28 12:17:21 +02:00
Kris Maglione
747b3f3746 Bug 1399550: Skip test_ext_permissions on OS-X debug for frequent intermittent failures. r=annoying
MozReview-Commit-ID: IYy25JxftWE
2017-09-27 21:02:59 -07:00
Kris Maglione
5a9116a4e2 Bug 1402944: Part 8 - Avoid X-ray overhead when cloning event handler responses. r=mixedpuppy
MozReview-Commit-ID: 4CHP80WymuA
2017-09-23 13:30:52 -07:00