Commit Graph

353 Commits

Author SHA1 Message Date
Ben Kelly
859d859397 Bug 1287235 Wrap addon-sdk's Cu.getWeakReference() in a try/catch in case native objects are passed. r=bz 2016-07-19 17:14:04 -07:00
Ben Kelly
043e9e7ea5 Bug 1286673 Test sdk/event/dom.js for leaks when used on a closed window. r=gabor a=kwierso 2016-07-15 14:30:08 -07:00
Ben Kelly
6a233c23f5 Bug 1267693 P3 Add a test to detect window leaks when using sdk/window/events. r=gabor a=kwierso 2016-07-15 14:30:08 -07:00
Ben Kelly
ad6f496f8a Bug 1267693 P2 Avoid leaking windows via event channel closures. r=gabor a=kwierso 2016-07-15 14:30:07 -07:00
Ben Kelly
8999229ad4 Bug 1267693 P1 Cache the most recent event in a channel weakly to avoid leaking DOM objects. r=gabor a=kwierso 2016-07-15 14:30:07 -07:00
The 8472
2f73c7749f Bug 1268898 - Fix leak in sdk/event/dom. r=gabor 2016-07-10 12:19:00 +02:00
Alexandre Lissy
ee77e301dd Bug 1285170 - Remove app:// protocol r=valentin
MozReview-Commit-ID: 4cnLrqqyP35

--HG--
extra : rebase_source : 424b63df547308033fc960632c5ef5939e3d8d85
2016-03-16 17:11:12 +01:00
Thomas Nguyen
ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Luca Greco
3d4736119e Bug 1222690 - Test SDK Content Scripts are not frozen before document.readyState complete. r=gabor
MozReview-Commit-ID: DZSFb7tS2YQ

--HG--
extra : transplant_source : Un%D5%88%B0%7D%A2V%167c%F0%DC%8C%CD%3Dw%C3L%ED
2016-06-20 16:12:33 +02:00
Luca Greco
41023d9940 Bug 1222690 - SDK Content Script should not be frozen during the page loading. r=gabor
MozReview-Commit-ID: JVnJZsSA6nO

--HG--
extra : transplant_source : q%0CS6%2BYrCJ%13%CA%29i%15%9Ai%C0%D6f%B2
2016-06-20 16:33:21 +02:00
Christoph Kerschbaumer
5630855495 Bug 1280200 - Convert toolkit/loader.js to use channel.open2() r=gkrizsanits
--HG--
extra : rebase_source : 7d32b22d79b03fa43a01a062fbf8e4ad0f5c3660
2016-06-20 11:20:59 +02:00
Luca Greco
f2b5928950 Bug 1170258 - Add cache of node style module resolutions. r=gkrizsanits
MozReview-Commit-ID: 2fb8aWYzs5L

--HG--
extra : transplant_source : %B7%02R%CF%83%81%ABTd%F0%8F%F8%3C%F8%3F%92%2C%8B%99P
2016-06-02 11:38:50 +02:00
Luca Greco
ad9dd308f3 Bug 1250469 - Reduce number of ObserverService observers subscribed by the SDK Disposable class. r=gabor
MozReview-Commit-ID: 32X9M07FbHO

--HG--
extra : transplant_source : %E5%94%05%3Av%D5%99%D8%AAM%08d%D3%27%8AH%ED%F4f%D5
2016-05-19 17:18:18 +02:00
Joel Maher
a6fcbcf0a3 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj

--HG--
extra : source : a50249d48b1e86a3749bccc51ece4d1a827a621c
2016-05-25 15:28:24 -04:00
Mathieu Leplatre
695a9942a4 Bug 1266235 - Use blocklist prefix in preference names. r=MattN
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : rebase_source : ff4e77c88de58923afe75be2046dcdb98e40ad2f
2016-05-19 12:51:13 +02:00
Felipe Gomes
918237b0ca Bug 1227230 - Remove all of the e10s prompting code. r=jimm
This removes all of the e10s-related prompting code, including:
- doorhanger offering to opt-in into e10s
- pref and telemetry probe used to measure the number of users who remained opted-in
- dialog that shows up when unchecking the e10s checkbox saying that a tab will open, requesting feedback
- tab opening requesting feedback
- all related strings

The checkbox in the preferences window remains (nightly/aurora only), as well as the message saying that e10s requires a restart.

The e10s accessibility doorhanger remains. and chrome://browser/skin/e10s-64@2x.png remains too because it's also used in the a11y doorhanger.

MozReview-Commit-ID: aOdvnbeHOa

--HG--
extra : rebase_source : e89cc42dddcb376bece435138611b364d3477fa8
2016-05-12 20:31:52 -03:00
Christoph Kerschbaumer
33054a51f2 Bug 1246725 - Remove SEC_NORMAL from addon-sdk (r=sicking) 2016-02-08 11:12:37 -08:00
Wes Kocher
26012d19b7 Backed out 4 changesets (bug 1266235) for test_ev_certs.js failures on pretty much every platform CLOSED TREE
Backed out changeset f684fac95bd9 (bug 1266235)
Backed out changeset f560cba61749 (bug 1266235)
Backed out changeset 5f321f10da1e (bug 1266235)
Backed out changeset 93deaa5641bc (bug 1266235)

--HG--
rename : services/common/blocklist-clients.js => services/common/KintoBlocklist.js
rename : services/common/blocklist-updater.js => services/common/kinto-updater.js
rename : services/common/tests/unit/test_blocklist_clients.js => services/common/tests/unit/test_kintoAddonPluginBlocklist.js
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_kintoCertBlocklist.js
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_kinto_updater.js
2016-05-10 13:46:28 -07:00
Mathieu Leplatre
34370ce5a8 Bug 1266235 - Use blocklist prefix in preference names. r=Mattn
MozReview-Commit-ID: 5aeoiSEMwYw

--HG--
extra : amend_source : bb232bb34c7a25abffac36531d5ab4d8e9c6c7af
extra : transplant_source : K%1A1d%EEc%8FY%030NRb%AFD%00.%40U8
2016-04-29 12:48:45 +02:00
Jan Henning
2169e85ddc Bug 825016 - Part 1 - When opening a new tab, pass the ID of the parent tab. r=zer0
This ensures that when hitting back, we return to the previously opened tab.

MozReview-Commit-ID: 287AOQnmwxb

--HG--
extra : transplant_source : %E4%05B%FFC%2A7%18KX%17%DB%E6%1E%1F%9D%5B%9Dn%D2
2016-03-09 21:14:59 +01:00
Matteo Ferretti
969b9bd63b Bug 1250084 - The 'Responsive Design View' button from the Menu is not checked while the RDM is opened; r=jryans
MozReview-Commit-ID: 9i9rYI48H4G
2016-04-25 17:28:49 +02:00
Ryan VanderMeulen
9e896c0e6a Merge inbound to m-c. a=merge 2016-04-10 16:20:04 -04:00
Luca Greco
86e7533df8 Bug 1263140 - Fix notified button name in SDK native-options module. r=mossop
MozReview-Commit-ID: DS6hX5SemJA

--HG--
extra : transplant_source : %B8%CA%D9osG%BD%F8%F2%F2u%87%96%D9%94P%03%9A%AE%5E
2016-04-08 14:00:52 +02:00
Jonathan Watt
4b7a85789e Bug 1263077 - Stop using parseInt in the Add-on SDK when specifying octal numbers now that JS has the new octal notation. r=dietrich 2016-03-22 13:21:15 +00:00
Luca Greco
e420bf1b79 Bug 1167246 - Fix SDK native-options module on Android. r=mossop
MozReview-Commit-ID: CrIgkXlllWV

--HG--
extra : transplant_source : %8D%A8g%D8%01%1CV%3D%B8%DD5%20%EA%FAt%12%B2%BE%7D%DD
2016-04-01 13:56:37 +02:00
Alexandre Poirot
d85fa6d2c0 Bug 1258985 - Remove menuitem and pref related to the "Error Console". r=jryans 2016-04-05 07:16:48 -07:00
Masatoshi Kimura
160a5b6fb7 Bug 1257877 - Remove UTF-16 support from TextEncoder. r=hsivonen 2016-03-24 19:27:15 +09:00
Rob Wu
edafa2b3b1 Bug 1226754 - Enable base64-encoding of long strings. r=jsantell 2016-03-16 15:00:40 +01:00
Matteo Ferretti
c6650b1edb Bug 1026614 - SDK ui/toolbar not working in permanent private browsing. r=rpl
MozReview-Commit-ID: Ap4CTY13P3d

--HG--
extra : transplant_source : %AEn%60%F3R%E4%DA%C5%9C%B5%DD%EF%C4%DF%AC%F3%AE%DC%27%09
2016-03-17 16:46:53 -04:00
Martin Giger
06de8885f1 Bug 1248734 - Fix SDK startup on Instanbird. r=zer0 2016-02-16 13:08:00 -05: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
Jason Orendorff
6d35e13d40 Bug 837192 - Stop trying to inject "use strict"; into Function.prototype.toString() output. r=Waldo.
--HG--
extra : commitid : y4pJwElwKV
extra : rebase_source : 9a31eee8a70c3cd2ad297a4f6457ead52a4523ce
2016-03-14 15:42:36 -05:00
iawaknahc
feb31c8460 Bug 1148200 - Move isJSONable to sdk/lang/type. r=Mossop
MozReview-Commit-ID: 9DjvYFGl7rX

--HG--
extra : transplant_source : %E1z%C2%D5%83BAap%DF%9Bo%7D%94%E3%AB%AA%D1%11%0A
2016-03-09 16:37:34 +01:00
Tom Schuster
7b557b47a9 Bug 986294 - Remove Proxy.create from addon-sdk. r=mossop 2016-03-10 17:37:40 +01:00
Andy McKay
431346c62e Bug 1238064 - Update docs to reflect new workflow. r=mossop
MozReview-Commit-ID: 44KPYbiH1WC

--HG--
extra : transplant_source : %C7%C5%FBS%C8r%60D%B9%BAV%3C%E9%CDzWA%3E%90%8A
2016-03-08 14:49:13 -08:00
Bill McCloskey
e151a9c67c Bug 1170258 - Cache UUID module for context menus (rs=Mossop) 2016-03-02 12:56:51 -08:00
Andy McKay
87114b76ba bug 1250611 sign the addons used in the jetpack tests r=mossop
MozReview-Commit-ID: 2SOZovvXOf8

--HG--
extra : rebase_source : 0e3b3a58415ec774a973c627ffcd3e5ffce54b16
2016-02-29 13:06:56 -08:00
Andrew Swan
96c88d557a Bug 1251412 - use installTemporaryAddon for jetpack-addons tests r=mossop
MozReview-Commit-ID: Bd10uC4pEfP

--HG--
extra : rebase_source : 2f261194ff07a25c13aaad91255147e98e7c5127
2016-02-25 15:45:31 -08:00
Carsten "Tomcat" Book
5ab3a1fdb8 Backed out changeset 8bacae951c0c (bug 1246725) 2016-02-19 15:55:24 +01:00
Carsten "Tomcat" Book
789b0d7cd9 Merge mozilla-central to mozilla-inbound 2016-02-19 12:07:49 +01:00
chaithanya
1cea93e0d5 Bug 1243435 Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suites r=Dexter
MozReview-Commit-ID: 83IOB4Xvf8I
2016-02-18 10:51:24 -08:00
Christoph Kerschbaumer
65a7e5077d Bug 1246725 - Remove SEC_NORMAL from addon-sdk. r=sicking 2016-02-08 11:12:37 -08:00
Carsten "Tomcat" Book
3a87a933e7 Backed out changeset 53b0b5b29776 (bug 1243435)
--HG--
extra : rebase_source : faf90230fecdfe1f0150015c039800828723a576
2016-02-17 15:00:51 +01:00
chaithanya
458420bbd7 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +01:00
Marco Bonardo
84f50654a3 Bug 1243779 - Remove uriIsPrefix option from nsINavHistoryQuery.r=adw
MozReview-Commit-ID: CM2Jm6iApct

--HG--
extra : rebase_source : 360606632ddf47dd0902311ad230b1f8930e462b
2016-02-10 17:16:23 +01:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Carsten "Tomcat" Book
b8f6140f54 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Dave Townsend
3b023fda99 Bug 1142734: Allow unloading the loader sandbox module. r=jsantell
const declarations are no longer accessible from outside the script that makes
them so in order for bootstrap.js to be able to access the loaderSandbox
declaration we must use var.

--HG--
extra : commitid : FhYP2fJJaXr
extra : rebase_source : d4877a4afbc4f139540987cfe8d1372f71aad388
2016-02-08 10:55:56 -08:00
Tom Schuster
dff8c86655 Bug 1246318 - Remove the enumerate trap from ES6 proxies. r=efaust 2016-02-10 00:12:24 +01:00
Zachary Carter
4937ef326e Bug 1210586 - Create a Synced tabs sidebar r=markh 2016-01-27 14:40:30 -08:00