Commit Graph

115 Commits

Author SHA1 Message Date
Junior Hsu
84e58e3864 Bug 1373198 - Part 4: disable rcwn for necko mochitest tests which require deterministic cache behavior, r=michal 2017-06-16 09:32:00 +02:00
Andrew McCreight
31e39883db Bug 1375262 - Add the ability to pass sandbox options to SpecialPowers.loadChromeScript(). r=jmaher
SpecialPowers.loadChromeScript() sends a script to the child process,
then creates a sandbox, and runs the script in that sandbox. There are
various sandboxOptions that can be passed when creating a sandbox, and
it would be nice to have that functionality for loadChromeScript.

I just need this for wantGlobalProperties, but I might as well make it
as general as possible. I'm not sure all of the types it can take can
actually be serialized across processes, but I guess that's okay.

MozReview-Commit-ID: GoJjXdjizFk

--HG--
extra : rebase_source : 9c2bc190dbf5a080978953cffd64205e8b816367
2017-06-20 15:50:20 -07:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Thomas Nguyen
262347b745 Bug 1351146 - P2 - Update test case and usage of nsIRedirectHistoryEntry interface. r=dragana
MozReview-Commit-ID: s61VV5CLx8
2017-05-25 19:42:00 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Ehsan Akhgari
929501a6eb Bug 1351980 - Initialize and uninitialize UserAgentOverrides.jsm for Firefox; r=mconley 2017-04-04 21:18:21 -04:00
Ehsan Akhgari
30f6ca0075 Bug 1347425 - Part 2: Add a test for replacing multiple occurrences of a regex in the site-specific UA override; r=mcmanus 2017-03-28 22:10:51 -04:00
Ehsan Akhgari
c2e08ee61a Bug 1347425 - Part 1: Move site-specific Navigator.userAgent overrides to a more efficient C++ implementation; r=baku,schien
Necko computes this information in order to set the User-Agent header in
the parent process.  This header is set on all outgoing requests, and
therefore in the content process we can easily copy the value of this
header from the document channel object instead of the inefficient sync
IPC that currently happens in order to access the JavaScript
implementation living in the parent process.
2017-03-28 22:10:33 -04:00
Andrea Marchesini
12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Junior Hsu
a9616aa8f5 Bug 1338154 - not normalize ipv4 for resource and chrome uri. r=valentin 2017-02-13 03:10:00 +08: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
Josh Matthews
9bff529d4d Bug 1298773 - Make ArrayBufferInputStream copy its input buffer. r=jonco a=abillings 2016-10-31 17:48:04 -04:00
Sebastian Hengst
db89e7fcf4 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: netwerk. r=RyanVM
MozReview-Commit-ID: F2Wm2m6Wrkf

--HG--
extra : rebase_source : bcc9ccffedc16682d872cf8748c2c185bb453fa2
2016-11-05 11:29:21 +01: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
James Andreou
4c787b8989 Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04: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
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