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

1998 Коммитов

Автор SHA1 Сообщение Дата
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
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
Tooru Fujisawa 6897727763 Bug 1241100 - Part 2: Add testcase. r=mayhemer, a=abillings 2016-01-29 16:47:15 +09:00
Honza Bambas d36e6cf36c Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell 2016-01-18 20:20:08 +01:00
Patrick McManus db9baefb2d Bug 1240254 - necko tests assumed synchronous error reporting r=dragana 2016-01-15 22:56:06 -05:00
Honza Bambas a170797259 Bug 1220272 - Fix signalling in HTTP cache test code suspender. r=michal 2016-01-14 11:24:00 +01: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
Christoph Kerschbaumer fb16dbdaa0 Bug 1234368 - Convert netwerk/test/unit/test_bug203271.js to use asyncOpen2 (r=mcmanus) 2016-01-15 11:38:21 -08:00
Christoph Kerschbaumer 27b7eb773f Bug 1234757 - Use channel.asyncOpen2 within netwerk/test/unit/test_protocolproxyservice.js (r=mcmanus) 2016-01-15 11:34:34 -08:00
Patrick McManus 68f2b290fd Bug 1234757 - test_protocolproxyservice does not need 2nd arg to asyncopen r=ckerschb 2016-01-15 11:01:20 -05:00