Commit Graph

2755 Commits

Author SHA1 Message Date
Bob Silverberg
21f8f5eff5 Bug 1298923 - Prevent installation of an extension when "*" is used as part of strict_min_version in a WebExtension manifest.json, r=kmag
MozReview-Commit-ID: BeHU7ZPB1NG

--HG--
extra : rebase_source : c3e5e1aba0f3db247b9b9bf27b79290342cbcfe1
2016-09-01 14:46:38 -04:00
Nicholas Nethercote
b597f8fec1 Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj.
--HG--
extra : rebase_source : afb0e9a0f9f5a033f57ef0881071a21fb623a6e0
2016-09-08 14:32:20 +10:00
Thomas Wisniewski
dadce88a58 Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, r=paul
--HG--
extra : rebase_source : 2d454dd6f7f66b0b2df44f6f4ce3740d8f6de04c
2016-09-03 18:45:08 -04:00
Luca Greco
1618aa7ef4 Bug 1252215 - [webext] Fix promiseAddonStartup defined in xpcshell tests. r=kmag
MozReview-Commit-ID: BXYXHDrG6zL

--HG--
extra : rebase_source : a93d664d78ffc416d08e1bab3058be153ae560f7
2016-09-01 19:42:41 +02:00
Bob Silverberg
0bf2cb5d79 Bug 1298508 - Problems with temporary install compatibility checks, r=kmag
Don't reject a temporary install if AddonManager.checkCompatibility is false.
Don't try to add missing info from addon to error message.
Fix up test_webextension_install.js to use equal and notEqual and pass assertion messages.

MozReview-Commit-ID: 46kxpXdWQtx

--HG--
extra : rebase_source : 2dae6f82dcaf489d2bd3eef62e0f460e008e1b88
2016-08-29 22:29:25 -04:00
Felipe Gomes
7e193ad5d4 Bug 1297753 - Configure list of add-ons for e10s rollout on release 49. r=mconley
MozReview-Commit-ID: 6cVebHG2yLo

--HG--
extra : rebase_source : fac7f2dd08c675f42f520ddaa6a986b25f38ee9e
2016-09-02 16:45:12 -03:00
Bob Silverberg
87d0ea2fcb Bug 1297752 - Issue a warning when "*" is used as part of strict_min_version in a WebExtension manifest.json. r=kmag
MozReview-Commit-ID: 9BKjBe2Gigo

--HG--
extra : rebase_source : 1aabd1d437b5ed4ea1a829eacc98c6f1aa008b90
2016-08-29 15:10:38 -04:00
Johann Hofmann
f1547c7e17 Bug 1266836 - Part 1 - Fix password manager handling of popup windows in e10s. r=MattN r=liuche
MozReview-Commit-ID: OVsgkHhyg9

--HG--
extra : rebase_source : fb5a56c5e31967636112ae8ce3dcca25d5ebefec
extra : histedit_source : abbb3d0cafc96bf925773443cc28ff26d5895f0f
2016-08-30 15:47:38 +02:00
Aryeh Gregor
f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Ryan VanderMeulen
bfdd703c49 Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Bob Silverberg
d487ac88f9 Bug 1281884 - strict_min_version and strict_max_version aren't respected in "Load Temporary Add-on". r=aswan
Replace test_disabled_addon_can_be_enabled_after_reload in test_reload.js with test_reload_to_invalid_version_fails.

MozReview-Commit-ID: 9OEBnbwNplC

--HG--
extra : transplant_source : %F8T%13%BAZ%9C%9D%A2%23%E7n%FC%2CL%81%90%05g%0D%C3
2016-08-22 13:28:17 -04:00
Andrew Swan
4297232844 Bug 1297028 Expose Addon.canUninstall flag to content r=bz,rhelmer
MozReview-Commit-ID: Ec6QPj9h9k7

--HG--
extra : rebase_source : 747cb4ce54d5e8d0cc7bc2cc3654471b3b07bfcb
2016-08-23 19:24:15 -07:00
Ryan VanderMeulen
833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Robert Helmer
a080096625 Bug 1295732 - update system add-on spec to reflect override behavior of updates r=mkelly
MozReview-Commit-ID: GNSMwBxFN2Z

--HG--
extra : rebase_source : afac8a4a51012a851078165c519db11e6d79dbb5
2016-08-18 18:33:08 -07:00
Robert Helmer
e0e207b935 Bug 1295732 - allow system add-ons updates to override defaults per addon ID r=aswan
MozReview-Commit-ID: 1zFEzshG6yC

--HG--
extra : rebase_source : c2d62c8d0ddc37f90f6dee4c34e72ad7559da508
2016-08-16 19:15:56 -07:00
Jeff Gilbert
0011f2bc39 Bug 1287653 - Not blocked, so won't fail. CLOSED TREE
MozReview-Commit-ID: L1A7s5Dn0Yb
2016-08-18 21:49:33 -07:00
Bob Silverberg
ed19eb105f Bug 1283116 - Implement chrome.management.getSelf. r=kmag
MozReview-Commit-ID: Bj9ZyF1meED

--HG--
extra : rebase_source : 39a9ff4fa944a19d851d3f047ef363ac9c521be8
2016-08-18 11:52:31 -04:00
Jeff Gilbert
d76b53ecff Bug 1287653 - Expect no blocklist for test.
MozReview-Commit-ID: 3llOazz8v7I
2016-08-18 18:56:22 -07:00
Kris Maglione
fd4b3a748c Bug 1294811: Fix external tests that import head_addons.js. r=rhelmer
MozReview-Commit-ID: EWo7Gv9oSsz

--HG--
extra : rebase_source : e83863f0ef55f04be32a5062d0f672c8a3d88cb5
2016-08-16 17:02:44 -07:00
Kris Maglione
71550e4477 Bug 1294811: Move AddonManager test helpers to a shared test module. r=rhelmer
Most of the AddonTestUtils code is simply moved from head_addons.js, but I
did significantly refactor some of the especially crufty parts.

MozReview-Commit-ID: K4vIqnI1qhY

--HG--
extra : rebase_source : 776d94bcf59546aa827f5befc4b018dd628e2efe
2016-08-18 14:30:39 -07:00
Jeff Gilbert
9a6dade559 Bug 1287653 - Add blacklist entry for dx_interop2. - r=milan
MozReview-Commit-ID: ID2bRpOnysX
2016-08-18 14:06:50 -07:00
Sebastian Hengst
745d18da4b Backed out changeset c45e5c5015e3 (bug 1283116) for missing test path for added test test_ext_management.js. r=backout 2016-08-18 17:28:09 +02:00
Bob Silverberg
32e17247b7 Bug 1283116 - Implement chrome.management.getSelf. r=kmag
MozReview-Commit-ID: Bj9ZyF1meED

--HG--
extra : rebase_source : 9641a6f40f09f838b51e26fcb7f5ea8115674582
2016-08-18 09:13:08 -04:00
Jorg K
c7b501bf65 Bug 1296883 - Disable test unsuitable for Thunderbird. r=kmag 2016-08-20 15:13:00 -04:00
Kris Maglione
2c634c4cb0 Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
MozReview-Commit-ID: 3QYXtpdznrP

--HG--
extra : rebase_source : 4aacd77cd2569b9ffc3916a5db3f41dd26bc7b70
2016-08-20 15:41:31 -07:00
Wes Kocher
a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Wes Kocher
ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher
f90f3d11fd Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes

--HG--
extra : amend_source : d988a8a774085539988d1d964c4beb2d07eecb50
2016-08-16 22:09:34 -07:00
Wes Kocher
48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Jared Wein
ea0b3d77bc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c66c2fee3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein
b82aa6f6de Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Wes Kocher
03b3c20a6e Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Wes Kocher
0fe7a92d47 Merge m-c to fx-team a=merge 2016-08-12 16:39:13 -07:00
Wes Kocher
b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Jared Wein
d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Dave Townsend
958533ac14 Bug 1294483: Centralise where we check for correct signing state and make the checks more obvious. r=rhelmer
--HG--
extra : rebase_source : eb94721a22ffbb1b70ef614f9585595eb60ec72f
extra : amend_source : 724a557eda6b1663caa961fa745e80a7ab98ec6f
2016-08-11 11:45:06 -07:00
Wes Kocher
4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Wes Kocher
2253eb9510 Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
Wes Kocher
88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Sebastian Hengst
f61777a6ba Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions: remove unnecessary semicolon. r=eslint-fix 2016-08-15 19:05:53 +02:00
Robert Helmer
bcf92a01fd Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan
MozReview-Commit-ID: KywrVkcRhzp

--HG--
extra : rebase_source : e51f67f76f3b3ac845b2d2f3ba8c36005c43c2c1
2016-08-02 09:37:01 -07:00
Jorg K
dd34d47f05 Bug 1293992, bug 1295907 - Disable tests not suitable for Thunderbird. r=kmag
--HG--
extra : rebase_source : bf3495e7fffcfab015840355ce52f640741833ce
2016-08-17 11:07:00 -04:00
Dave Townsend
3e93422569 Bug 1294439: Mark add-ons as soft disabled even if they are app disabled. r=aswan
MozReview-Commit-ID: FcPwk5YEtRT

--HG--
extra : rebase_source : a18e4ab6999e25fd1948bffa32d67282d94e0884
2016-08-11 10:57:39 -07:00
Andrew Swan
c6dafd1189 Bug 1293721 follow up: handle pre-existing absolute optionsURL r=kmag
MozReview-Commit-ID: GafnS4ckUiY

--HG--
extra : rebase_source : 4ddb3766e139e1ff1f49b1e769d32d29e8929afc
2016-08-11 09:59:03 -07:00
Wil Clouser
3315f2a277 Bug 1288178 - add Test Pilot to mozAddonManager allow list r=rhelmer
MozReview-Commit-ID: Klx75vFhKUI

--HG--
extra : rebase_source : d488675eea0504b4af4fd1cb9278a44bb9564fbe
2016-08-09 15:15:01 -07:00
Andrew Swan
b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8

--HG--
extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7
extra : source : e8818ef3c28489e196d1db92cabf224861b693c9
2016-08-02 16:04:37 -07:00
Kris Maglione
73b1b5f221 Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan
MozReview-Commit-ID: 4KO4cCLRsLf

--HG--
extra : rebase_source : 40e5ec808e557e845a771bb21e8863a8edcd4faf
2016-08-05 14:20:54 -07:00
Thomas Wisniewski
d0dfbfb36e Bug 700640 - Have extensions.xml set XHR responseType to document for update release notes. r=hsivonen, r=Mossop 2016-08-09 16:28:56 -04:00