Граф коммитов

5744 Коммитов

Автор SHA1 Сообщение Дата
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
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
Kai Engert 70551ded71 Bug 1258375, NSS_3_24_BETA6 and required adjustments to PSM and packaging, r=martin.thomson, r=glandium 2016-04-12 14:40:44 +02: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
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
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
George Wright e75c590407 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.


--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
George Wright 2f920d9592 Revert "Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit 2d44e8ffaf63a32292f8e5b8fdd1485d0a462afc.
2016-04-08 13:33:27 -04: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
Carsten "Tomcat" Book 1a78cc422f Merge mozilla-central to fx-team 2016-04-06 12:20:37 +02: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
George Wright 50500e36f3 Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted 2016-04-04 18:03:33 -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
Chris Manchester aeca430878 Bug 1261438 - Normalize "TARGET_OS" to "android" in package-name.mk for android builds. r=nalexander
MozReview-Commit-ID: 3jynklZkrbv
2016-04-04 13:04:53 -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
Wes Kocher 56b7127be0 Merge fx-team to central, a=merge
MozReview-Commit-ID: 8rupfWq5Wa6
2016-04-01 15:43:36 -07:00
Mike Shal 0e0a5e9c32 Bug 1259557 - Remove some INSTALL_TARGETS from toolkit/mozapps/update/tests/Makefile.in; r=ted
We don't have a way to filter out a file from a wildcard, so we have to
expand data/* in the moz.build file. Alternatively, we could move
xpcshellConstantsPP.js into a separate directory.


MozReview-Commit-ID: 8mOIkr3PeCr
2016-03-23 19:40:42 -04:00
George Wright 5c454494ce Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Nick Alexander 9ab9fa5451 Bug 1260241 - Implement Fennec packaging in Python. r=glandium
A few notes:

* This doesn't accommodate general OMNIJAR_NAME definitions.  The
  current name (assets/omni.ja) is baked into the product in a few
  places, and is very unlikely to change, so we just error out if this
  isn't true.

* This makes the package-manifest.in file authoritative for what goes
  into assets/, libs/, and the APK root.  Previously,
  package-manifest.in wrote into assets/ and libs/ but
  upload-files-APK.mk also had a convoluted DIST_FILES filtering
  process to work through before a file actually made it into the APK.

* This is intentional about repackaging.  It simplifies the repackage
  step rather than trying to make unpackage-then-repackage the same as
  just package.  I pretty much never get repackaging correct the first
  time; this should help.  (I've manually tested it.)

* The ALREADY_SZIPPED during repackaging is subsumed by the previous
  check if UNPACKAGE is set.  The custom linker expects stored, not
  deflated, libraries, so there's some small legwork to accommodate
  that in mozjar.

MozReview-Commit-ID: JvVtIUSX685

--HG--
extra : rebase_source : fd8a9cfe3dc364d23b1065995db599f99e676e38
2016-03-28 20:01:07 -07:00
Wes Kocher 7b9ea8afc5 Merge inbound to central, a=merge
MozReview-Commit-ID: FSnrOgtIFer
2016-03-31 13:04:19 -07:00
Nick Alexander 6a068eb98f Bug 1063966 - Stop building and uploading gecko-unsigned-unaligned.apk. r=nthomas
This is still referenced out of tree, but only to optionally (!) find
it or to ignore it:

http://mxr.mozilla.org/build/search?string=unsigned-unaligned&find=&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=build

MozReview-Commit-ID: Hq0TPVDzWOy

--HG--
extra : rebase_source : 2e3dcfc516a6bcc5fd0517ca8bd98a4df7358251
extra : amend_source : f65baf2789517f5bd38384db89c6d2ea3d84676f
extra : histedit_source : b901d25f4cbbf8bcecdf464a6042b5a44d51bea8
2016-03-24 13:53:41 -07:00
Nick Alexander 9f1aa81bb1 Bug 969925 - Remove fennec_ids.txt from the build system. r=gbrown
The only consumers are in ash-mozharness, which is just out of date:

http://mxr.mozilla.org/build/search?string=fennec_ids&find=&findi=&filter=%5E%5B%5E%5C0%5D*%24&hitlimit=&tree=build

MozReview-Commit-ID: CQHmKOEUDj1

--HG--
extra : rebase_source : 9aaa83ea41b556b59968bda1f53d5bf13e3e33b2
extra : histedit_source : cc63745f29357a9fec7c014a024918db528ae40e
2016-03-24 13:48:12 -07:00
Mike Shal d285cb5bc1 Bug 1261479 - Remove remaining USE_RCS_MK usage; r=chmanchester
MozReview-Commit-ID: 4T5IVg1SUHk
2016-04-01 14:45:58 -04:00
Ted Mielczarek 94fa8fd73a bug 1247396 - drop support for MOZ_SHARED_ICU. r=glandium
MozReview-Commit-ID: 54AQdzJqvvA

--HG--
extra : rebase_source : 41c2516bf65ca4594a68084a61d9a737680cfc9f
extra : source : e40580ed0fe6fab50f1d8d23747c2cf423d93016
2016-02-11 08:21:16 -05: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
Matt Howell 769625853b Bug 1246944 - Don't continue updating if copying the callback executable fails; r=rstrong 2016-03-23 10:53:48 -07:00
Nick Alexander e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Gregory Szorc 996c2cdf8c Bug 1257435 - Package Universal CRT DLLs with jsshell; r=glandium
Builds with Visual Studio 2015 require the Universal CRT. While the
universal CRT may be present on the target machine, there is no
guarantee of this. So, we have to package these DLLs to ensure target
machines are able to run js.exe.

Similar code to what this commit adds exists in build/win32/Makefile.in.

MozReview-Commit-ID: 8LIk1JlKLiT

--HG--
extra : rebase_source : 191c5344a67e9ae1ce249ae2007f193dc9f6de4e
2016-03-17 15:19:30 -07:00
Gregory Szorc d245571c34 Bug 1257435 - Move MSVC runtime DLL code outside of MOZ_SYSTEM_NSPR block; r=glandium
Why it was the old way, I'm not sure.

MozReview-Commit-ID: FMmDbZI0NqL

--HG--
extra : rebase_source : ae86450a61fae695da9f78644752e71eca65068c
2016-03-17 18:04:23 -07:00
Gregory Szorc ea972b1c0b Bug 1257435 - Reformat make syntax to make easier to read; r=glandium
MozReview-Commit-ID: Ch86LX8Fx0q

--HG--
extra : rebase_source : 93bdaa48d98f22d076f6e6c4bb52d1b15e8a172a
2016-03-17 18:07:57 -07:00
Andrew Swan a40a974f31 Bug 1256399 use temporary addon installation for update tests r=mossop
MozReview-Commit-ID: AdjNzZrA79N

--HG--
extra : rebase_source : e9af181b2964880cce08810deea0140e9d036447
2016-03-15 05:24:49 -07:00