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

155 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kingston 2f0987a202 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb r?=gijs
Summary: Depends on D2046

Reviewers: ckerschb!, Gijs!

Tags: #secure-revision

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : source : 33884d05cc94463950b31fab1fd2f37ada9becef
extra : intermediate-source : 72471adb75d5ec3dc2b0c8f972a6f1f26bfd3ae2
extra : histedit_source : f384cbab58401575afc3443c9a431b73cff806d4
2018-07-06 21:16:29 +01:00
dvarga 12f19b94e9 Backed out 2 changesets (bug 1362034) for failure at browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js on a CLOSED TREE
Backed out changeset 1c3329958b8a (bug 1362034)
Backed out changeset f68b1b76af36 (bug 1362034)

--HG--
extra : histedit_source : 6169c5ffe856266d3bc8b2ca32f4b67054c71bbe
2018-08-08 22:11:56 +03:00
Jonathan Kingston c15f69d427 Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : rebase_source : ccded0f06a0dc4567b827f42ee29f4b8954154fe
extra : amend_source : 94da8ecc053e56958fa4137d7e497362fa2c11f1
2018-08-08 20:05:30 +03:00
Kris Maglione 25c94b46d8 Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:

- It forces permissive COWs from those scopes, which allows frame scripts to
  pass objects from those scopes to unprivileged content that they otherwise
  wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
  otherwise not be available.

Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.

MozReview-Commit-ID: G27eSSOHymX

--HG--
extra : rebase_source : 1702e63fed719fc92def2bdbbb8a7c53572432db
extra : source : 41bedc526dd6ec6b7e8c7be1c832ac60c81d6263
2018-08-07 14:13:06 -07:00
Brindusan Cristian 16ec846afc Backed out 2 changesets (bug 1481021) for bc failures on security/sandbox/test/browser_bug1393259.js.
Backed out changeset c53c7b0249ad (bug 1481021)
Backed out changeset 41bedc526dd6 (bug 1481021)
2018-08-08 03:22:16 +03:00
Kris Maglione c1969dbca2 Bug 1481021: Part 1 - Fix tests that rely on permissive COWs or SpecialPowers side-effects in frame script scopes. r=bz
Right now, a lot of test code relies on side-effects of SpecialPowers being
loaded into frame script globals. In particular:

- It forces permissive COWs from those scopes, which allows frame scripts to
  pass objects from those scopes to unprivileged content that they otherwise
  wouldn't.
- It imports a bunch of helper modules and WebIDL globals which would
  otherwise not be available.

Fortunately, this seems to only impact test code at this point. But there's a
real down-the-road risk of it impacting shipping code, which ends up working
in automation due to the side-effects of SpecialPowers, but failing in real
world use.

MozReview-Commit-ID: G27eSSOHymX

--HG--
extra : rebase_source : c528dffe3a54eec75ad6cb358980b783b00eb4a4
2018-08-07 14:13:06 -07:00
Andreea Pavel f5c1119983 Backed out 2 changesets (bug 1362034) for failing damp | inspector/cold-open.js on a CLOSED TREE
Backed out changeset 8c8925b75aa2 (bug 1362034)
Backed out changeset ff6b05c96094 (bug 1362034)
2018-08-06 20:42:44 +03:00
Jonathan Kingston 4ca581ffed Bug 1362034 - Tests for addTab() to provide the correct triggering principal. r=ckerschb,Gijs
Summary: Depends on D2046

Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Bug #: 1362034

Differential Revision: https://phabricator.services.mozilla.com/D2047

--HG--
extra : rebase_source : 4bb9e7feb0704239756e6e38623c0fea81669f7b
extra : amend_source : 9417f96547735fbdc55ea23666327a5cb86ac92f
2018-08-06 19:56:37 +03:00
David Keeler f4f551dca4 bug 1465562 - ensure succeededCertChain is set in TLS handshakes with session resumption r=fkiefer
When doing TLS session resumption, Firefox currently does not have enough
information to trivially reconstitute the original connection's security
information. Consequently, we have to rebuild the certificate chain in the
handshake callback. Before this patch, we determined the EV and CT status of the
connection but did not set the succeeded cert chain unless the certificate was
EV. This was insufficient. In this patch, we set the succeeded cert chain
regardless of if the certificate is EV or not (provided we found a valid chain).

MozReview-Commit-ID: AuKrlBwX1Qh

--HG--
extra : rebase_source : cafb17548666f6330038012e36fa23ef382f361a
2018-06-07 10:41:25 -07:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Ben Kelly 3e9f410d33 Bug 1465670 P3 Fix dom/cache service worker test harness to call importScripts() during install. r=asuth 2018-06-05 10:49:12 -07:00
Sylvestre Ledru f3214f73e0 Bug 1446809 - Remove some b2g leftover in a service worker test r=florian
MozReview-Commit-ID: EOLOB3Fe35X

--HG--
extra : rebase_source : 8ed0d9fe6a7555c629d37affd3f86e8e7a28fe44
extra : source : 2293192557ef66c43ca38c4366fa819d055844da
2018-03-18 19:33:04 +01:00
Csoregi Natalia fc0283f66c Backed out 10 changesets (bug 1446809) for failing on jsat/test_content_integration.html . CLOSED TREE
Backed out changeset 42146f3856d0 (bug 1446809)
Backed out changeset e6b888d19add (bug 1446809)
Backed out changeset 2293192557ef (bug 1446809)
Backed out changeset 643d30faeef8 (bug 1446809)
Backed out changeset 73639fbb3a61 (bug 1446809)
Backed out changeset df179cf0797d (bug 1446809)
Backed out changeset 04c46f107d24 (bug 1446809)
Backed out changeset 9b98c5aad44c (bug 1446809)
Backed out changeset 347d7259df0f (bug 1446809)
Backed out changeset 2a350e323713 (bug 1446809)
2018-03-21 11:17:38 +02:00
Sylvestre Ledru 7ad424dc42 Bug 1446809 - Remove some b2g leftover in a service worker test r=florian
MozReview-Commit-ID: EOLOB3Fe35X

--HG--
extra : rebase_source : 04c229d9311c3278c2cbbdcc40cbb4761ae1f4ca
extra : histedit_source : d5caccf6e80ab760201e0c8dc88e9a78e3733d24
2018-03-18 19:33:04 +01:00
Arthur Edelstein 0342fd5418 Bug 1434772 - Ensure caches.open() throws SecurityError in PBM workers r=ehsan 2018-02-13 12:11:00 +02:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Tom Tung 6d9ce87f57 Bug 1400282 - Add a test to verify cache's operations won't run out of fd. r=bkelly
MozReview-Commit-ID: G8ztQs1mB6l
2017-09-13 17:24:13 +08:00
Tom Tung 194cbec7a2 Bug 1290481 - P15: Add an test to verify opaque response has padding and the usage are still the same between in-memory object in QM and the file-system. r=bkelly
--HG--
extra : rebase_source : e086661e0bcb1d7197f01dec5b3eb72d4a2c8615
2017-08-01 17:44:52 +08:00
Tom Tung b9be3137cb Bug 1367309 - Part 2: Test for ensuring DOM Cache update usage to QuotaManager. r=bkelly, r=janv
To do this, this test check all the cache operations which may create or delete
files by comparing overall usage in the memory are the same with overall usage
in the disk.

MozReview-Commit-ID: AXHBD7l5RqZ

--HG--
extra : rebase_source : 683f4fbdd366c60a9251cc7cd7740965fb269706
2017-06-01 15:08:54 +08:00
Ben Kelly c33e926418 Bug 1362444 P3 Add a mochitest verifying accessing self.caches does not block idle Worker shutdown. r=baku 2017-05-10 09:27:10 -07:00
Jan Varga 2232d1fd5c Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng 2017-03-22 12:13:38 +01:00
Shawn Huang cdec8ba558 Bug 1268804 Part 2: Add test cases for SecureContext, r=janv 2017-03-07 16:28:37 +08:00
Andrea Marchesini 6278ae48c8 Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan 2017-01-27 16:53:44 +01:00
Gabor Krizsanits 71ba9b000c Bug 1315042 - Re-enable some tests. r=me 2017-01-25 18:04:55 +01:00
Gabor Krizsanits 216527edfc Bug 1303113 - Turn e10s-multi on in Nightly. r=me 2017-01-23 14:15:30 +01:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Tom Tung 2ddc3aed92 Bug 1290933 - Part 2 - fix the exist mochitest. r=bkelly.
--HG--
extra : rebase_source : 0f3cdb9d731d0641833a525b0c04666e2b8ff483
2016-12-14 14:25:40 +08:00
Ben Kelly 3806e267dc Bug 1319846 P2 Add a mochitest verifying storing a Response.redirect() works. r=asuth 2016-11-28 14:18:27 -08:00
Andrea Marchesini 2f974ccbce Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-18 09:33:33 +01:00
Sebastian Hengst 7110a88674 Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE 2016-11-17 20:58:38 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Phil Ringnalda e7fdca7c8d Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures
Backed out changeset adfcc194af1c (bug 1303113)
Backed out changeset 085035586d2b (bug 1303113)
Backed out changeset 81f3bb541c86 (bug 1301340)
Backed out changeset 05c42cf92851 (bug 1301340)
Backed out changeset cb45e90f6596 (bug 1301340)
Backed out changeset f54a717c6fc6 (bug 1301340)

MozReview-Commit-ID: BkwhFJNtF7G

--HG--
extra : rebase_source : cc47ef8587f08b12b53406efee1d5b915d3c833a
2016-11-09 19:11:12 -08:00
Gabor Krizsanits b6946deed5 Bug 1301340 - part8: Few more tunr-offs. r=me 2016-11-09 14:44:25 +01:00
Tom Tung 542a9bacec Bug 1264178 - Part 3: Add a test in test_cache_keys and remove the added test in P1. r=bkelly
--HG--
extra : rebase_source : 1587c56ebf47bbdd3066c3d96068452887103e97
2016-11-03 16:18:08 +08:00
Tom Tung a63de77d6a Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Sebastian Hengst c3ad7640b7 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/cache. r=RyanVM
MozReview-Commit-ID: 776agANVg6d

--HG--
extra : rebase_source : dc7374d36d0423c4064b2a268c58e3cd5f0d6a02
2016-11-05 11:29:15 +01:00
Gabor Krizsanits 7206482dbe Bug 1312022 - Fix some leaky tests. r=mrbkap 2016-11-02 11:13:49 +01:00
Shawn Huang d93d31503b Bug 1304966 - Enable Storage API only for nightly bulid, r=baku 2016-10-26 21:38:08 +08:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Shawn Huang ba9fa0d68a Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku 2016-06-14 13:57:36 +01:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Andrew McCreight 623b56a3f1 Bug 1287143 - Remove the window argument to SpecialPowers.exactGC(). r=jmaher
Cu.forceCC() is the same as DOMWindowUtils.cycleCollect(), but does
not require a window.
2016-07-19 13:13:00 +08:00
Fabrice Desré 7846da76d6 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : 20f6f0235667530c21aca4889b5d33e39c2d1a48
2016-03-03 09:58:47 -08:00
Carsten "Tomcat" Book c7846e126c Backed out changeset 16aa7041c009 (bug 1287107) for causing xpcshell and mac tests 2016-07-22 11:30:23 +02:00
Fabrice Desré f5b619fb28 Bug 1287107 - Making transition alive with gaia as chrome:// r=bholley,fabrice
MozReview-Commit-ID: 9uVUrmuVFXQ

--HG--
extra : rebase_source : d0c19fcda5c72ecdce3b0d0bbbafa5a7954d7a4c
2016-03-03 09:58:47 -08:00
Tom Tung cbc57001d9 Bug 1271069 - caches.match with wrong name should resolve to undefined. r=bkelly 2016-05-11 09:52:48 +08:00
Ben Kelly ad7768df50 Bug 1271905 P2 Test Cache.put() using a Response for a shutdown origin. r=asuth 2016-05-12 07:29:20 -07:00
Ryan VanderMeulen e22a2d1d81 No bug - Re-enable various tests on Windows debug e10s that no longer fail.
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Ehsan Akhgari e6b62e1073 Bug 1257630 - Port test_chrome_constructor.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-17 15:54:38 -04:00
Marco Castelluccio 2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00