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
Ted Mielczarek
815dd278b6
bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger
...
MozReview-Commit-ID: B6xdlB9Di0y
--HG--
extra : rebase_source : 182d29d677c77ae6780260f5fc9b0792bdd98f84
extra : amend_source : 1e4fa2453d6773bd1e63f52b7aa3bf61e61600ff
2016-03-25 10:04:37 -04:00
Valentin Gosu
b763fbe8d8
Bug 1057689 - Add xpcshell test checking correct notifications and app-offline state r=jduell
...
Changes NeckoParent to send the ipdl message if !UsingNeckoIPCSecurity() because xpcshell tests don't have TabParents.
MozReview-Commit-ID: F50WXzg3TIA
2014-09-01 17:29:28 +03:00
Franziskus Kiefer
1a47cfb77a
Bug 1186072 - Add trailing slash to origin referer header when policy is set. r=sworkman
...
MozReview-Commit-ID: 3PYuODmqpbL
--HG--
extra : source : ac4148f22b2d6f76762dac3fd94a6452da80bdde
2016-02-24 10:51:54 +01:00
Christoph Kerschbaumer
830e36b012
Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus CLOSED TREE
...
MozReview-Commit-ID: 8BVo3K0veND
2016-03-18 17:11:42 -07:00
Wes Kocher
756219c691
Backed out changeset e41e3bc842df (bug 1257339) because something from this push appears to have broken Windows mochitests CLOSED TREE
...
MozReview-Commit-ID: IQwq83Jat9O
2016-03-18 15:47:06 -07:00
Christoph Kerschbaumer
0b2caf41fe
Bug 1257339 - Bring back deprecated newChannel() API on nsIIOService. r=sicking, r=mcmanus
...
--HG--
extra : rebase_source : 202c4d4462b39e0a5f1ece926d7c7a144f5125fa
2016-03-17 09:22:32 -07:00
Geoff Brown
f8b671c940
Bug 1251013 - Update AndroidVersion annotations in test manifests - xpcshell; r=jmaher
2016-03-17 10:00:50 -06: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
Valentin Gosu
1863d8b9cd
Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
...
* * *
[mq]: test
MozReview-Commit-ID: JAZ36DstjFs
--HG--
extra : rebase_source : ccce437c84a15319fa05db4c14c5d784b66f6638
2016-03-03 15:50:16 +01:00
Carsten "Tomcat" Book
eb98199ac0
Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures
...
--HG--
extra : rebase_source : 124130bb041418eb97862a131ae6365df5cfbdc6
2016-03-03 09:23:59 +01:00
Franziskus Kiefer
55e0623947
Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
...
MozReview-Commit-ID: 3PYuODmqpbL
--HG--
extra : transplant_source : %E5P%B1%1F%82%08%07%2A%1C%26%AF%C5%C8%29%B1y%97O%877
2016-02-24 10:51:54 +01:00
Nicholas Hurley
0b3b2a68db
Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus
...
--HG--
extra : rebase_source : 756e42ecea9646b5b0e2770060090437b06b9f9d
2016-03-01 16:28:39 -08:00
J. Ryan Stinnett
5bede71f0d
Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
...
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement. Other methods that pass these values around
also have name changes.
Tokens such as "isInBrowserElement" 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: CUttXANQjSv
2016-03-02 10:35:56 -06: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
Ehsan Akhgari
baf9a67550
Bug 1251873
- Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
...
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer. The test in this
patch shows the scenarios which would fail under such conditions.
2016-03-01 09:15:25 -05:00
Wes Kocher
e2f9524db9
Backed out changeset fc5cc380ddb3 (bug 1251873
) for wpt cross-origin.swap-origin-redirect.http.html failures
...
MozReview-Commit-ID: Anr0ilrYczq
2016-02-29 13:34:55 -08:00
Ehsan Akhgari
befc43a124
Bug 1251873
- Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
...
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer. The test in this
patch shows the scenarios which would fail under such conditions.
2016-02-29 14:51:16 -05: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
Andrea Marchesini
b1768e7ec3
Bug 1245184 - Update mochitests, r=me
2016-02-25 16:41:13 +01:00
Andrea Marchesini
8cd3c16e81
Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug
2016-02-25 16:41:13 +01:00
Andrea Marchesini
ed31fee8d4
Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking
2016-02-25 16:41:13 +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
Patrick McManus
529544b457
Bug 831450 - No Range Requests against weak Etag r=mayhemer
2016-02-19 16:09:16 -05:00
Patrick McManus
57205a2a42
Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley
2016-02-18 15:00:46 -05:00
Carsten "Tomcat" Book
f2a98554ec
Backed out changeset 27f3968ae8b2 (bug 1245184)
2016-02-19 15:55:23 +01:00
Andrea Marchesini
0a72c5e9e3
Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking
2016-02-19 14:49:50 +01:00
Daniel Holbert
cad2de7926
Bug 1247733 part 4: Add xpcshell test for nsIStandardURL setDefaultPort() API. r=valentin
2016-02-17 19:24:42 -08:00
Christoph Kerschbaumer
dcdf6d76c6
Bug 1246220: Update test_bug337744 (r=mcmanus)
2016-02-12 17:18:29 -08:00
Matt Wobensmith
26f0256436
Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus)
2016-02-16 16:10:14 -08: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
855c877f61
Merge mozilla-central to mozilla-inbound
2016-02-10 14:29:05 +01:00
Valentin Gosu
9980689593
Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus
2016-02-10 13:13:23 +01:00
Valentin Gosu
ed608a9278
Bug 464591 - Add test to make sure percent encoded host name can't bypass IDN normalization r=mcmanus
2016-02-10 13:13:10 +01:00
Honza Bambas
403865b110
Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel, r=jduell
...
--HG--
rename : netwerk/test/unit/test_redirect_from_script.js => netwerk/test/unit/test_redirect_from_script_after-open_passing.js
2016-02-05 07:45:00 +01: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
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
Wes Kocher
8320c4f055
Backed out changeset 448af29079c9 (bug 1231512) for being a possible cause of build bustage CLOSED TREE
...
--HG--
extra : commitid : 5eX9SsyDT40
2016-02-05 15:07:06 -08:00
Honza Bambas
77a7813385
Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel. r=jduell
...
--HG--
rename : netwerk/test/unit/test_redirect_from_script.js => netwerk/test/unit/test_redirect_from_script_after-open_passing.js
2016-02-05 07:45:00 -05:00
Nicholas Hurley
f375006202
Bug 1244505 - Ensure we allow spaces in cookie names and values. r=mcmanus
...
--HG--
extra : commitid : 6KkxhfCwUWz
extra : rebase_source : b9fdd10e45a1623d84471b573be5f3ef292c8153
2016-02-04 10:14:30 -08:00
Patrick McManus
c57196d7b9
Bug 1241906 - test for suspended spdy3.1 channel r=hurley
...
--HG--
extra : rebase_source : bcbeed89580d82472d751a6cc86108eb7f7d943b
2016-02-05 11:17:24 -05:00
Valentin Gosu
947cd3dfe3
Bug 241788 - Add missing run_next_test() to xpcshell-test a=testonly
2016-02-05 16:49:49 +01:00
Valentin Gosu
82a16a09cb
Bug 241788 - net_FilterURIString should filter \r\n\t from the entire URL r=honzab
...
* net_ExtractURLScheme now uses mozilla::Tokenizer
* net_FilterURIString also filters characters in the scheme now
* removed startPos and endPos parameters for net_FilterURIString and introduced net_IsAbsoluteURL
2016-02-05 14:45:08 +01:00
Wes Kocher
86864105dc
Merge m-c to fx-team, a=merge
...
--HG--
extra : commitid : 7MLK0J5XhL0
2016-01-29 13:44:12 -08:00
Marco Bonardo
c6747b6e30
Bug 1242961 - nsStandardURL still allows to build valid nsIURIs longer than network.standard-url.max-length. r=valentin
...
--HG--
extra : commitid : LhDNkRzmNnu
extra : rebase_source : ccd91b21929bf9a8ccc945c3a524d47eef98294f
2016-01-26 17:23:22 +01:00
Wes Kocher
84714308b8
Merge fx-team to central, a=merge
...
--HG--
extra : commitid : 2DZ63I10LcS
2016-01-28 17:47:33 -08:00
Tooru Fujisawa
9aa44e3b02
Bug 1241377 - Part 2: Add test for nsIFormPOSTActionChannel. r=mayhemer
2016-01-28 19:38:34 +09: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