Commit Graph

2585 Commits

Author SHA1 Message Date
Johann Hofmann
1c76cac853 Bug 1005193 - Allow addons to specify a custom global debug context. r=mossop 2016-04-11 08:26:20 +02:00
Carsten "Tomcat" Book
32c25ca2da merge mozilla-inbound to mozilla-central a=merge 2016-04-14 11:38:11 +02:00
Chris Pearce ext:(%2C%20Kirk%20Steuber%20%3Cksteuber%40mozilla.com%3E)
16770d8aad Bug 1264173 - Change ProductAddonChecker to download with XHR instead of nsIIncrementalDownload. r=mconley,spohl
Some addons (namely the Google Widevine EME Content Decryption Module) are
served from web servers that don't send Content-Length headers, and
nsIIncrementalDownload can't handle such downloads.

Also, change ProductAddonChecker to create XHRs used to download XML through a layer of indirection.

This ensures that test_GMPInstallManager can change the XHR response for the
update.xml requests without affecting the XHR requests to download the test
GMP.

Also add more error handlers on the addon download XHR.
2016-04-13 20:01:29 +12:00
Carsten "Tomcat" Book
128f40b9a8 merge mozilla-inbound to mozilla-central a=merge 2016-04-12 13:49:51 +02:00
Chris Pearce
eedf7c1c73 Bug 1245256 - Add annotations for WIDEVINE_ID so eslint passes. r=kentuckyfriedtakahe 2016-04-12 18:32:56 +12:00
Dave Townsend
9885c5b8b1 Bug 1245571: Allow AMO to be able to query details about an add-on. r=rhelmer
This adds a bunch of structure supporting a promise-based API on the
AddonManager object that is exposed to webpages and adds the first example,
getAddonByID.

MozReview-Commit-ID: CCEFl4R1o81

--HG--
extra : rebase_source : 6206982c687a8e1733ef323488fc2710a4967688
2016-03-10 09:50:07 -08:00
Kirk Steuber
c65d8e5f0b Bug 1245256 - Updated tests to work with new Widevine functionality. r=spohl
MozReview-Commit-ID: GasIh1GUxX7
2016-03-01 14:42:01 -08:00
Kirk Steuber
6b6ea89530 Bug 1245256 - Add support for Widevine to CDM updater. r=spohl
MozReview-Commit-ID: JwB4Q6ZEqoV
2016-02-25 14:24:13 -08:00
Dave Townsend
4acb23615f Bug 1245571: Add a window.navigator.mozAddonManager object that can only be accessed by AMO. r=bz
Since we want to add a few APIs that AMO can use to query and manipulate the
user's add-ons we want to expose a custom API. This implements the webidl and
a stub implementation in JavaScript. We use the webidl functions for controlling
access to the API, only the AMO production domains (and some test domains when
testing is enabled) can access it and only when retrieved securely and not in
an inner frame of a page that shouldn't have the API.

MozReview-Commit-ID: 3HUUrduuHwf

--HG--
extra : rebase_source : fe64953c2fde99a56868314edef1982156dadada
2016-02-19 16:49:30 -08:00
Alexandre Poirot
3fbc17ba90 Bug 1258496 - Fire message-manager-flush-caches to update message manager cached scripts. r=mossop 2016-04-13 11:04:11 -07:00
Kumar McMillan
6fd31fdd2b Bug 1261522 - Support reloading an add-on. r=Mossop
MozReview-Commit-ID: W8z1J4QzjE

--HG--
extra : transplant_source : u%7C%60%EE3cZ%82%26a%5D%1A%2B%E4%E1%9E%F4%1F%92%E7
2016-04-08 10:13:50 -05:00
gasolin
ae68f12f69 Bug 1219495 - Render placeholder content on add-ons page when offline. r=kmag
MozReview-Commit-ID: 5qg2DrNiYaI

--HG--
extra : transplant_source : %24%F0%B7%F7d%2A%CD%08%AA%3A%EE%0BX%99%C0%BE%91%7CR%EE
2016-03-30 15:13:05 +08:00
Andrea Marchesini
83a08cd72e Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-10 05:46:07 +01:00
Ryan VanderMeulen
1c7872d0af Backed out changeset 7d5f1e9ce04c (bug 1259169) for various cookie-related crashes and test failures. 2016-04-09 15:36:07 -04:00
Andrea Marchesini
d09d8959fe Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-09 19:09:49 +01:00
Wes Kocher
dfc7e5253f Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9YZdlIARozU
2016-04-08 16:47:03 -07:00
Chris Manchester
b2564f6046 Bug 1263227 - Include head.js in support-files in toolkit/mozapps/extensions/test/browser/browser.ini to avoid failures when running individual tests locally. r=mossop
MozReview-Commit-ID: G5p2C8kAmBE

--HG--
extra : rebase_source : 1b6a5e122e024adfa53c31a16b319c86c2eccf85
2016-04-08 11:04:20 -07:00
Dave Townsend
5a830b3dbf Bug 1257246: Update toolkit/mozapps/extensions for eslint 2. r=aswan
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: CRpZy873GP6

--HG--
extra : rebase_source : d355e5f0f13211cbd81e2a91cfe6191f5e84adb2
extra : histedit_source : eb85af7438b493a22fd9a4c32ab254e6a01b7cb3
2016-04-05 11:32:12 -07:00
Jonathan Watt
ff21aa9320 Bug 1263271 - Avoid startup JavaScript strict warning in resource://gre/modules/addons/XPIProvider.jsm. r=Mossop 2016-03-23 19:27:16 +00:00
Carsten "Tomcat" Book
78d9f80444 Backed out changeset 74330da56b82 (bug 1259169) for assertion failures in nsCookieService.cpp:2390 2016-04-08 14:47:39 +02:00
Andrea Marchesini
87827f2189 Bug 1259169 - nsICookieManager::remove() should be back-compatible, r=jdm 2016-04-08 12:38:15 +01:00
Makoto Kato
4c36a31a6b Bug 1262065 - Remove unusual condition MOZ_BUILD_APP != 'mobile'. r=mossop
--HG--
extra : commitid : 4pTOtazWPwq
2016-04-07 20:33:28 +09:00
Blair McBride
d29a95561e Bug 1262055 - Fix browser_bug562797.js to work under e10s. r=Mossop
--HG--
extra : transplant_source : %B6%E8A%E9%FEH%A6%03%22gZ%C7%99%CA%23%F7%AB%AC%0C%80
2016-04-06 20:28:47 +12:00
Blair McBride
0217473321 Bug 1262051 - Enable browser_discovery.js on e10s. r=Mossop
--HG--
extra : transplant_source : %FB%A16%7F%CB%8EG%DE_%CB9%22%D3%25%F9%C4%DF%2A%0F%01
2016-04-06 20:28:11 +12:00
Andrew Swan
a1d4cd1add Bug 1262003 - Back out changeset 983702f6874c. r=kmag
MozReview-Commit-ID: 10GVdKTFjiR

--HG--
extra : transplant_source : %15%C7%90%93%95%00%8BST%09e%F0%A6%94M%3C%E2%AF%F2%9A
2016-04-04 16:09:32 -07:00
Ryan VanderMeulen
8f64ef0960 Merge m-c to fx-team. a=merge 2016-04-04 23:37:40 -04:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Michael Kaply
f89f990a3f Bug 667963 - Load distribution extensions for existing profiles; r=Mossop
--HG--
extra : rebase_source : 4f31853f041213db3c6b895608b3f86cd5e38d5b
2016-04-04 13:35:15 -05:00
Mike Hommey
4a243cc428 Bug 1255590 - Allow unsigned addons in /usr/{lib,share}/mozilla/extensions. r=mossop 2016-03-30 07:20:54 +09:00
Magnus Melin
a5845581d7 Bug 1259854 - Run test_cache_certdb.js only when addon_signing enabled. r=mossop
--HG--
extra : amend_source : e3b6017bbe73d2c1004d7f814a6354a06be29262
2016-03-26 23:08:05 +02:00
Andrew Swan
6d2c9ab7a0 Bug 1255562 - Allow applications property to be in mozilla.json. r=mossop
MozReview-Commit-ID: 8w6s4bVgbxE

--HG--
extra : transplant_source : %A1%C7%BC%81%94%04zn%E5%E3l%F1%A98%86%CB%C7%88%C9%0D
2016-03-17 04:56:31 -07:00
Ryan VanderMeulen
39b284d947 Merge fx-team to m-c. a=merge 2016-03-25 11:36:26 -04:00
Kris Maglione
ff74727859 Bug 1258858: Fix harmless console errors in test_webextension.js. r=aswan
MozReview-Commit-ID: aDNfOANJOO

--HG--
extra : rebase_source : ce5dc8d483fb367c70bbb34dc9e24e6fda530ad2
2016-03-22 22:42:52 +01:00
Ryan VanderMeulen
34278db782 Bug 1135866 - Skip browser_openDialog.js on Windows debug as well. 2016-03-17 15:20:09 -04:00
Wes Kocher
ba63672fae Merge m-c to fx-team, a=merge
MozReview-Commit-ID: 9mRXopJLh1e
2016-03-16 16:52:30 -07:00
Dave Townsend
d414422132 Bug 1244248: Fix lint issue in test.
MozReview-Commit-ID: GOnZxDfzU61
2016-03-16 10:28:21 -07:00
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Dave Townsend
5720fe43d8 Bug 1244248: Test that the certificate database is cached. r=rhelmer
MozReview-Commit-ID: 1iVKou8qnmn

--HG--
extra : rebase_source : 339c51473367439edde3f4d52e5ff4c71be24236
extra : amend_source : 1ed373f49444cd23c382cb3eedef02eee7b8e320
2016-01-29 12:33:23 -08:00
Mark Goodwin
985802557a Bug 1224531 - Provide a mechanism for the updater to drive kinto collection sync r=rnewman,mossop
There are two parts to this change. The first is a module to drive kinto
collection sync. This gives server-provided last-update times to each module
managing collection information so that data is only fetched when updates are
necessary. This also keeps track of when pings last took place (for future use)
and any apparent difference between client and server clock (we need this later
for the content signing work).

Currently only one module (the kinto version of the OneCRL client) consumes this
information, though more will follow.

The second is a minor change to nsBlocklistService.js to ensure that this ping
takes place whenever the existing blocklist ping happens.

MozReview-Commit-ID: 7SN03AOJ4Wc
2016-03-15 08:55:23 +00:00
Kris Maglione
128a5928cb Bug 1250784: Part 3 - [webext] Add suport for runtime.openOptionsPage. r=Mossop
MozReview-Commit-ID: 9izx4uX0Szd

--HG--
extra : rebase_source : d474f77b37007f8b7e3118781af4b3d8d64aac61
2016-03-09 17:10:29 -08:00
Kris Maglione
5de19cb803 Bug 1250784: Part 1 - [webext] Add support for options_ui via inline browsers in the Add-on Manager. r=Mossop
MozReview-Commit-ID: 9a999BJvDHD

--HG--
extra : rebase_source : b2db687cfae8fd8dabaa0a7c15a828d15258de6a
2016-03-09 16:50:08 -08:00
Jared Wein
e44bb16e10 Bug 1254312 - [e10s] Fix browser_plugin_enabled_state_locked.js to run in e10s. r=mconley
MozReview-Commit-ID: 4FDbMuNCbfV

--HG--
extra : transplant_source : %24%B6g%FBm%B6%83%962D%BD%A1%E2%25%FF%81%03Y%D4%3D
2016-03-07 17:31:14 -05:00
Wes Kocher
a80b3e7f67 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: FyYG71q4yxf
2016-03-08 16:09:09 -08:00
Wes Kocher
0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
Kris Maglione
bc6e315687 Bug 685155: Treat symbolic links the same as proxy files in the Add-on Manager. r=Mossop
MozReview-Commit-ID: 8BEkIzsolKV

--HG--
extra : rebase_source : d9a9adf93a91ced1cdc3c48f5a93c5a8ad39f04f
2016-03-07 22:40:36 -08:00
Alessio Placitelli
fd3d11e603 Bug 1252869 - Fix browser_experiments.js to work with e10s. r=gfritzsche 2016-03-07 17:21:58 +01:00
Robert Helmer
5292ae8e3f Bug 1245376 - do not advertise updates for locked install locations r=mossop
MozReview-Commit-ID: EmCzFZpOGKR

--HG--
extra : rebase_source : f63003ec773775c145667bcaa98c45e907384263
2016-02-29 14:53:56 -08:00
Ryan VanderMeulen
72c385edb5 Bug 1198261 - Skip browser_navigateaway3.js on Windows and OSX for frequent failures.
--HG--
extra : histedit_source : e27fa149b16adbac9e4b006c050ebfa7b06467d8
2016-03-05 22:44:21 -05:00
Mark Finkle
50512ace13 Bug 1250967 - Extension inline options do not display, so add back setting.xml r=mossop 2016-03-03 13:11:35 -05:00
Dave Townsend
62f9c9fce2 Bug 1250611: Switch test_signed_long to use add-ons signed by the production server. r=rhelmer
MozReview-Commit-ID: C0e6uYINLxJ

--HG--
extra : rebase_source : f7a766617aefdaacdbfdd7ed55ebe74d8b235b27
extra : amend_source : bc55eeaa86b9afff9bdfa83e2ef728196ff6bfb8
2016-03-01 08:54:50 -08:00