Commit graph

15065 commits

Author SHA1 Message Date
Kris Maglione
ce003f10da Bug 1288885: Migrate localStorage mochitests to xpcshell. r=aswan
MozReview-Commit-ID: 1sjpnsKYEv5

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_localStorage.html => toolkit/components/extensions/test/xpcshell/test_ext_localStorage.js
extra : rebase_source : c33f89ad30aa7785a4a12efe48cb498a1471cc72
extra : histedit_source : de6f946ab5b820efad5d75aef85055b3e8bbd50b
2016-07-27 21:47:53 -07:00
Kris Maglione
ec4a2f7021 Bug 1288885: Migrate simple extension mochitests to xpcshell. r=aswan
MozReview-Commit-ID: BiaTf6u43XP

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_background_runtime_connect_params.html => toolkit/components/extensions/test/xpcshell/test_ext_background_runtime_connect_params.js
rename : toolkit/components/extensions/test/mochitest/test_ext_extension.html => toolkit/components/extensions/test/xpcshell/test_ext_extension.js
rename : toolkit/components/extensions/test/mochitest/test_ext_idle.html => toolkit/components/extensions/test/xpcshell/test_ext_idle.js
rename : toolkit/components/extensions/test/mochitest/test_ext_onmessage_removelistener.html => toolkit/components/extensions/test/xpcshell/test_ext_onmessage_removelistener.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_connect_no_receiver.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_connect_no_receiver.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_getPlatformInfo.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_getPlatformInfo.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_sendMessage.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_sendMessage.js
rename : toolkit/components/extensions/test/mochitest/test_ext_runtime_sendMessage_no_receiver.html => toolkit/components/extensions/test/xpcshell/test_ext_runtime_sendMessage_no_receiver.js
rename : toolkit/components/extensions/test/mochitest/test_ext_simple.html => toolkit/components/extensions/test/xpcshell/test_ext_simple.js
extra : rebase_source : 3de076c2130a02437313dc3b59573af3a9202273
extra : histedit_source : 989ba78b7408bbc73f7caefc2147b0911e1eed7c
2016-07-22 16:57:58 -07:00
Kris Maglione
c791f6dd21 Bug 1288885: Migrate alarms tests to xpcshell. r=aswan
MozReview-Commit-ID: 6NPOqsAfWSb

--HG--
rename : toolkit/components/extensions/test/mochitest/test_ext_alarms.html => toolkit/components/extensions/test/xpcshell/test_ext_alarms.js
extra : rebase_source : 8d3fa5e2a00c3a0114d25190e8658c1bad7b69c1
extra : histedit_source : 88eaa95b5fe8b6b7f3ac2770beef7b0f7fc33d57
2016-07-22 16:21:42 -07:00
Kris Maglione
ff96d80145 Bug 1288885: Support testing WebExtensions from xpcshell tests. r=aswan
Most of the test helper code is derived from the SpecialPowers/ExtensionTestUtils
code that does the same. Eventually, the two implementations should probably
be unified, but I don't think it's worth the trouble for now.

MozReview-Commit-ID: 7Yy9jWkGsMM

--HG--
extra : rebase_source : 92cc01e1cde97fa79250d51bad5a56181fbe715c
2016-07-24 16:09:26 -07:00
Rob Wu
93136b1f19 Bug 1286746 - Invoke port.onDisconnect if there are no onConnect listeners. r=kmag
MozReview-Commit-ID: DPs36oFm25J

--HG--
extra : rebase_source : 2c104d98c7d51744d1970a941677a1d4de31852b
2016-07-15 17:46:00 -07:00
Rob Wu
d85823bea4 Bug 1286746 - Invoke sendMessage callback even if there are no listeners. r=kmag
MozReview-Commit-ID: HLIC3ZRcwRm

--HG--
extra : rebase_source : ec459a0618df6717158caf38a7596c962d89ac96
2016-07-14 20:34:40 -07:00
Luca Greco
d7252a1c8d Bug 1286526 - [webext] Fix shutdown issues on empty addon with a valid manifest. r=aswan
MozReview-Commit-ID: 30MryAPYBv0

--HG--
extra : rebase_source : 3cce09a704263c13eda837a7b4a0063deaa55268
2016-07-13 13:12:59 +02:00
Matthew Wein
9db4b394c8 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg

--HG--
extra : rebase_source : 32ffedca29caeb1154d9d1712795f18fc74dbe2a
2016-07-22 12:44:40 -07:00
Luca Greco
eab2b0ad2c Bug 1268773 - Notify Addon Listeners when the preferred addon debug global is changed. r=aswan
MozReview-Commit-ID: Hn7jb8Kni2J

--HG--
extra : rebase_source : db4a2545950e3b8d32808475ea4b16bd88c43272
2016-07-07 16:29:36 +02:00
Rob Wu
5d91567c97 Bug 1280482 - Add export helpers to content scripts. r=kmag
MozReview-Commit-ID: I4o3NXVphJX

--HG--
extra : transplant_source : P%B0k%A3%E6%ADz%ACE%BF%2B%5C%B0%9C%E8k%A3%DF%D6%C8
2016-07-15 23:33:47 -07:00
Thomas Nguyen
a2c5415c76 Bug 1172689 - Add telemetry for application reputation remote lookup timeouts. r=francois
MozReview-Commit-ID: GrmNPGGcOE5

--HG--
extra : transplant_source : c%ACt%2B%FA%C1-V-%1C%0Co%B4%5E%F6%D1%E9%C3%2Ci
2016-07-21 10:05:02 +08:00
Johann Hofmann
03def5b207 Bug 1277524 - Add a WebExtension test that moz-extension is considered a trustworthy origin. r=kmag
MozReview-Commit-ID: 1LLNWwIU90

--HG--
extra : rebase_source : 759718dea882e10ce1307fca1b9d415c8f10c067
extra : histedit_source : 1f8fd6a084d0314e5a264b73164bcf2d35127c6b
2016-06-03 12:26:28 +02:00
Carsten "Tomcat" Book
b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Carsten "Tomcat" Book
42933ba381 merge fx-team to mozilla-central a=merge
--HG--
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
2016-07-25 15:49:05 +02:00
Carsten "Tomcat" Book
2c684e6c97 Backed out changeset 13df5d72d373 (bug 1058438) for rc2 failures 2016-07-25 12:20:52 +02:00
Carsten "Tomcat" Book
08889aeff5 Backed out changeset d15abe37a931 (bug 1058438) 2016-07-25 12:20:36 +02:00
Carsten "Tomcat" Book
a2744dec29 Backed out changeset f0ef54ffcec1 (bug 1058438) 2016-07-25 12:20:35 +02:00
Carsten "Tomcat" Book
b013edac57 Backed out changeset 5d761723a899 (bug 1058438) 2016-07-25 12:20:34 +02:00
Carsten "Tomcat" Book
9b2e9abd21 Backed out changeset 34e32a1c5cef (bug 1058438) 2016-07-25 12:20:33 +02:00
Andrea Marchesini
5a0f133d3c Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs 2016-07-25 09:26:18 +02:00
Andrea Marchesini
664f31d0dc Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-25 09:25:56 +02:00
Andrea Marchesini
4bdfe080aa Bug 1287091 - part 3 - ContextualIdentityService JSON file should have versions, r=Gijs 2016-07-25 09:25:39 +02:00
Andrea Marchesini
9e565676e9 Bug 1287091 - part 2 - ContextualIdentityService must store telemetry data in a separate array, r=Gijs 2016-07-25 09:25:25 +02:00
Andrea Marchesini
92509cea83 Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-25 09:25:08 +02:00
Kris Maglione
8d58c7c636 Bug 1285493: Add-on Manager should not be closed when an add-on with options_ui is disabled. r=billm
MozReview-Commit-ID: 8oRK8uPphDf

--HG--
extra : rebase_source : c6dcc7da1823711e3223ba39d038e1ccc949f6fd
2016-07-24 15:05:39 -07:00
Kris Maglione
fba8996a05 Bug 1274775 - Make sure background pages are created with a PresShell. r=billm
MozReview-Commit-ID: GLWg5aK47g5

--HG--
extra : rebase_source : 472365762aca534e826173989c48f5058960a987
2016-07-24 15:09:07 -07:00
Saad Quadri
9ab8638548 Bug 1058438 - Add test for disabledHost migration to sqlite v6 in Fennec. r=MattN
MozReview-Commit-ID: DRV3zmXc9yJ

--HG--
extra : rebase_source : 85fae89b6d8846e658cebd3e01cf82d31e022428
2016-07-21 11:27:05 -07:00
Saad Quadri
32a5ca816b Bug 1058438 - Add additional tests for disabledHost APIs with nonascii characters in URLs. r=MattN
MozReview-Commit-ID: EsN6FNCzbLk

--HG--
extra : rebase_source : 770e87ff6d01cc865ecceab0615948b515fae245
2016-07-21 11:26:59 -07:00
Saad Quadri
e59a7e6a9a Bug 1058438 - Migrate disabledHosts from sqlite storage to permission manager. r=MattN
MozReview-Commit-ID: BKlAmwzu3is

--HG--
extra : rebase_source : 59c33da8b71d95011a44872c0a33480544fb12a5
2016-07-21 11:26:56 -07:00
Carsten "Tomcat" Book
0a5622c093 Backed out changeset 640247e978ba (bug 1246540) for bustage 2016-07-24 15:59:31 +02:00
Kate McKinley
547500d5a7 Bug 1246540 - HSTS Priming Proof of Concept. r=honzab
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

(r=ckerschb,r=mayhemer,r=jld,r=smaug,r=dkeeler,r=jmaher,p=ally)
2016-07-22 18:35:00 +02:00
Carsten "Tomcat" Book
4e8b78c1f2 Backed out changeset bf7c4e797f76 (bug 1287091) for bc3/bc6 test failures 2016-07-24 14:32:04 +02:00
Carsten "Tomcat" Book
40ffd2221e Backed out changeset 93fa501cfd3a (bug 1287091) 2016-07-24 14:31:45 +02:00
Carsten "Tomcat" Book
c412661b21 Backed out changeset c5efa902cbe5 (bug 1287091) 2016-07-24 14:31:44 +02:00
Carsten "Tomcat" Book
a937b9b8c3 Backed out changeset c01aeb081e2d (bug 1287091) 2016-07-24 14:31:43 +02:00
Carsten "Tomcat" Book
adbb1b7487 Backed out changeset 165e7b455b8e (bug 1287091) 2016-07-24 14:31:42 +02:00
Andrea Marchesini
f84740bb92 Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs 2016-07-23 08:58:41 +02:00
Andrea Marchesini
f34ab04ccd Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-23 08:58:23 +02:00
Andrea Marchesini
9929bc7cd6 Bug 1287091 - part 3 - ContextualIdentityService JSON file should have versions, r=Gijs 2016-07-23 08:58:09 +02:00
Andrea Marchesini
173c3cdfdd Bug 1287091 - part 2 - ContextualIdentityService must store telemetry data in a separate array, r=Gijs 2016-07-23 08:57:53 +02:00
Andrea Marchesini
6871885a3e Bug 1287091 - part 1 - ContextualIdentityService should use a storage for the containers, r=Gijs 2016-07-23 08:57:40 +02:00
dimi
4f45ea248f Bug 1272239 - Part 3: Testcase, test gethash. r=francois
MozReview-Commit-ID: 3IkrdJgZNP1
2016-07-21 15:40:03 +08:00
dimi
4135954a00 Bug 1272239 - Part 2: Testcase, only tables with provider could register gethash url in listmanager. r=francois
MozReview-Commit-ID: FcnXswQyerb
2016-07-21 15:37:00 +08:00
dimi
2ce5c03b9b Bug 1272239 - Part 1: Support completion for test database. r=francois
MozReview-Commit-ID: 85BALQHKSal
2016-07-21 15:35:36 +08:00
Thauã Silveira
be23815df3 Bug 1287587 - Add Telemetry probes for user printing activities. r=mconley, data-review=liuche 2016-07-21 13:57:00 -04:00
Wes Kocher
9c46018401 Backed out 5 changesets (bug 1287091) for build bustage after assertions in SharedIC.h CLOSED TREE
Backed out changeset c57fd3af416e (bug 1287091)
Backed out changeset edad0174cb12 (bug 1287091)
Backed out changeset 7ed07b35bad6 (bug 1287091)
Backed out changeset 939d5064ab91 (bug 1287091)
Backed out changeset acbca9af0a3b (bug 1287091)
2016-07-22 11:14:13 -07:00
David Keeler
f3ec60ef5f backout changeset 1a1d7ef3cb0e (bug 1279479) for causing WebRTC compatibility issues
The WebRTC implementation inherits cipher suite preferences from PSM and then
enables a few mandatory ones and disables a number of undesirable ones. If PSM
makes a change to a cipher suite preference that isn't in WebRTC's whitelist or
blacklist, compatibility issues can arise. See bug 1288246 for an example.

--HG--
rename : security/manager/ssl/tests/unit/test_fallback_cipher.js => security/manager/ssl/tests/unit/test_weak_crypto.js
2016-07-22 10:31:34 -07:00
Andrea Marchesini
0925e452df Bug 1287091 - part 5 - ContextualIdentityService should dispatch 'clear-origin-data' when a container is deleted, r=Gijs 2016-07-22 16:19:50 +02:00
Andrea Marchesini
2809a4efe7 Bug 1287091 - part 4 - ContextualIdentityService create/remove/update, r=Gijs 2016-07-22 16:19:50 +02:00
Andrea Marchesini
0d52ef50ca Bug 1287091 - part 3 - ContextualIdentityService JSON file should have versions, r=Gijs 2016-07-22 16:19:50 +02:00