Commit Graph

95 Commits

Author SHA1 Message Date
Valentin Gosu
b66ab9e6d5 Bug 1272381 - Use chromeScript.sendSyncMessage to initialize array and avoid race in test a=testonly
MozReview-Commit-ID: DxdsE6zwHqK
2016-07-12 15:06:25 +03:00
Valentin Gosu
34d8ec12f1 Bug 1272381 - Request complete log to diagnose intermittent failure a=testonly
MozReview-Commit-ID: LXg4ISeXOah
2016-07-11 14:49:31 +03:00
Valentin Gosu
5c5c34aba0 Bug 1250739 - test_user_agent_updates.html should use notification instead of flaky setTimeout r=nwgh
MozReview-Commit-ID: 9mA0pTRP6tV

--HG--
extra : rebase_source : 1fa17ecf6274a4dfcf156f4d16477c95279d80c7
2016-07-04 13:35:29 +02:00
Valentin Gosu
7a53948e1e Bug 1276462 - Backout c18023d517ed (Bug 219157) a=backout 2016-05-30 16:05:14 +02:00
Valentin Gosu
737056c72c Bug 219157 - Test that cookies are set only when domain has permission. r=mcmanus
MozReview-Commit-ID: 4TGEpvbJxUd
2016-05-20 02:40:50 +02:00
Valentin Gosu
0f0ddf9ef5 Bug 1250739 - Increase test_user_agent_updates.html timeout to be larger than update interval r=mcmanus
Since the tests sets the update interval to 1 second, we should wait for _more_ than 1 second to check that the update succeeded.
2016-05-11 12:58:26 +02:00
Valentin Gosu
9ce8e9d28c Bug 1269994 - Make test_user_agent_updates.html work in e10s r=nwgh 2016-05-09 18:38:40 +02:00
Valentin Gosu
c8a94789bb Bug 1262326 - Make test_user_agent_overrides.html work in e10s r=nwgh
* Rename SchedulingContext to RequestContext
* Move SetLoadGroupUserAgentOverride to nsHttpChannel
* Cache the userAgentOverride in RequestContext instead of LoadGroup

MozReview-Commit-ID: FQS9uSRR8kd

--HG--
rename : netwerk/base/SchedulingContextService.cpp => netwerk/base/RequestContextService.cpp
rename : netwerk/base/SchedulingContextService.h => netwerk/base/RequestContextService.h
rename : netwerk/base/nsISchedulingContext.idl => netwerk/base/nsIRequestContext.idl
2016-04-21 16:59:17 +02:00
Tom Tromey
a03b12c9e4 Bug 1265076 - make ArrayBufferInputStream obey readSegments contract; r=mcmanus
MozReview-Commit-ID: 7RSzey2vdPL

--HG--
extra : transplant_source : %CF%C4%99%F8%04%E9s%D9%0A%D3%2AH%97%D2%C2%C9%1C%CA%93n
2016-04-15 14:43:14 -06:00
Henry Chang
ffee6a2e09 Bug 1260876 - Remove process switch code for signed package code (added by Bug 1186290). r=valentin. 2016-04-12 10:53:40 +08: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
Nicholas Hurley
ccbf76c675 Bug 1260498 - Make test_rel_preconnect work in e10s mode. r=mcmanus
MozReview-Commit-ID: 3PGA2N73foH

--HG--
extra : rebase_source : b3837c38a8bf1847d207ebfc2d3ce60ddf826a01
2016-03-28 16:43:01 -07:00
Marco Castelluccio
2fb9c40ec1 Bug 1250453 - Remove DOMApplicationRegistry.allAppsLaunchable property and related testing API. r=myk 2016-03-14 16:29:11 +00:00
Valentin Gosu
7cff2da47e Bug 1234575 - Empty fragment is ignored in URI of location header r=mcmanus
MozReview-Commit-ID: 9qhZfwgANRY
2016-03-10 00:41:17 +01:00
J. Ryan Stinnett
2a55d065b7 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Dragana Damjanovic
5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Dylan Roeh
30e72a8b98 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-22 15:57:18 -06:00
Wes Kocher
807175f2a6 Backed out 2 changesets (bug 1148544) for failures in test_user_agent_overrides.html
Backed out changeset 5073d841f77d (bug 1148544)
Backed out changeset 64a2c41c6f20 (bug 1148544)

--HG--
extra : commitid : 3oP1hrXASC1
2016-02-09 16:58:54 -08:00
Dylan Roeh
07fb790f37 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-09 16:51:43 -06:00
Myk Melez
a6aff185d2 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Gijs Kruitbosch
ef04fd0f90 Bug 1172165 - check all nested URI schemes in CAPS. Make view-source dangerous to load, and about: URIs use per-URI flags so they keep working, r=bz
Also, add an opt-out for crashtest/reftest for the view-source thing so they don't all break, r=bz

--HG--
extra : commitid : 8NqvmbphSgh
extra : rebase_source : bbe0b6f11a77d7e6241a5733931d9baa95bb3fed
2015-12-11 08:06:41 -05:00
Jeff Walden
1e1850242d Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz
--HG--
rename : dom/media/webaudio/test/audioBufferSourceNodeNeutered_worker.js => dom/media/webaudio/test/audioBufferSourceNodeDetached_worker.js
rename : dom/media/webaudio/test/test_audioBufferSourceNodeNeutered.html => dom/media/webaudio/test/test_audioBufferSourceNodeDetached.html
extra : rebase_source : acc6f8336a3ffb084a0e95865710748edd9354d9
2016-01-25 18:10:22 -08:00
Henry Chang
24ab7ce66a Bug 1216443 - "moz-safe-about:blank" to signed content should switch process. r=kanru 2016-01-18 00:07:00 +01:00
Henry Chang
c69d84d994 Bug 1234739 - Disable test on all platforms other than linux. r=kchen 2015-12-23 23:42:00 +01:00
Henry
f090013aed Bug 1223678 - Use package-identifier from argument to create principal. r=kanru. 2015-12-22 11:08:56 +08:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Jonathan Hao
7882aa6f0e Bug 1225422 - Update the PrivilegedPackageRoot certificate. r=keeler 2015-11-19 15:08:05 +08:00
Andrew McCreight
a29a644203 Bug 1226709 - Enable two mochitests that seem to work with e10s. r=bz
--HG--
extra : rebase_source : df2d5629f3e9f3d7cbef7cbbaa773a064d88856b
2015-11-20 11:19:00 +01:00
Valentin Gosu
b691ca8d67 Bug 1142083 - Add test for IDN Unicode domain redirect r=mcmanus 2015-06-20 00:03:57 +03:00
Henry
daec939f23 Bug 1178526 - Create docshell with packageId from TabContext. r=sicking. 2015-10-29 00:52:40 +08:00
Christoph Kerschbaumer
3b01811afd Bug 1194052 - LoadInfo redirectchain tests (r=mayhemer) 2015-10-31 15:22:31 -07:00
Jonathan Hao
b4855726e4 Bug 1217694 - Signed package should come from the moz-package-origin specified in its manifest. r=valentin 2015-10-28 19:16:08 +08:00
Jonathan Hao
3d02a2da65 Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Jonathan Hao
e4b1f62b85 Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin 2015-10-08 17:08:45 +08:00
Henry
d0922cb7a4 Bug 1210235 - Skip package verification if pref out or no signature. The package would be treated unsigned. r=valentin
--HG--
extra : histedit_source : e3820fb54cfbab00bf8db377aec2bc8afcb0fb0e
2015-10-12 15:38:41 +08:00
Valentin Gosu
370bdbf483 Bug 1211871 - Backout bug 1142083. r=mcmanus 2015-10-12 23:49:23 +02:00
Honza Bambas
4bd41740d0 Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars 2015-10-11 18:13:09 +02:00
Henry Chang
10017eda0f Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru. 2015-10-02 05:25:22 -07:00
Mike Taylor
e1c0312fe9 Bug 1078267 - Re-enable netwerk mochitests for Fennec. r=jchen
Current theory is that Bug 1178760 was probably the cause for intermittents.
2015-08-28 06:54:00 -04:00
Valentin Gosu
edb231d431 Bug 1187159 - Add mochitest for loading packaged apps (iframe+fetch+mozapp) r=jduell 2015-08-10 11:21:59 +02:00
Ehsan Akhgari
464bb68db3 Backout the tests for bug 1187159 for leaks 2015-08-08 18:13:51 -04:00
Valentin Gosu
f9a1c98968 Bug 1187159 - Add mochitest for loading packaged apps (iframe+fetch+mozapp) r=jduell 2015-08-08 07:11:58 +02:00
Patrick McManus
57aa78c815 bug 1174152 - update test to be nsIObserver based r=hurley 2015-06-24 13:50:37 -04:00
Patrick McManus
cc04db5e46 bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Valentin Gosu
d5df90e127 Bug 1142083 - Add test for IDN Unicode domain redirect. r=mcmanus 2015-06-20 00:03:57 +03:00
Carsten "Tomcat" Book
325cd7219a Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
--HG--
extra : rebase_source : aabdc3669df5b252c4373b9fb6049565e6560a0c
2015-06-17 16:58:57 +02:00
Patrick McManus
78c4fb4975 bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Patrick McManus
937d225c46 bug 1144602 - test_rel_preconnect orange r=test-only 2015-05-29 14:28:17 -04:00
Patrick McManus
9ecc8d6152 bug 1144602 - preconnect test handler should only count 1 syn r=test-only 2015-05-22 12:04:50 -04:00
Neil Deakin
af1ece91c4 Bug 1153248, re-enable a bunch of tests that now work with e10s, r=billm 2015-04-16 15:38:12 -04:00