Commit Graph

981 Commits

Author SHA1 Message Date
Robert Bindar
c5161067de Bug 915090 - Ping test and local servers for reaching tests. r=mcmanus 2013-09-19 08:50:21 -04:00
Mike Hommey
16d06af70c Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
David Keeler
307995b2b4 bug 913092 - remove unnecessary nsIPermissionManager in TestSTSParser r=mcmanus 2013-09-17 15:47:01 -07:00
Ryan VanderMeulen
a3e4a310ec Backed out changeset 9fa8dd98a23c (bug 911325) for Android Armv6 xpcshell orange.
CLOSED TREE
2013-09-17 21:56:51 -04:00
Patrick McManus
d4ebc26fea bug 911325 - detect mismatch between 206 content-range and 200 content-length r=jduell 2013-09-17 18:44:03 -04:00
Simone Carletti
374c969170 Bug 910095 - update .sv and .om in PSL, and relevant test. r=gerv.
--HG--
extra : rebase_source : a6866a18f959f15af84640e1efa935b1e16ca415
2013-09-17 17:51:49 +01:00
Ehsan Akhgari
ff292be3eb Bug 917266 - Remove some unneeded code in netwerk/; r=mcmanus 2013-09-17 12:38:55 -04:00
Birunthan Mohanathas
f2830dc229 Bug 784739 - Switch from NULL to nullptr in netwerk/ (2/2); r=ehsan 2013-09-19 15:29:27 -04:00
Ryan VanderMeulen
1f1fb8a044 Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Robert Bindar
42fa38f702 Bug 912103 - Tests for about:networking - http, dns, sockets, and websockets. r=valentin.gosu 2013-09-11 09:49:51 -04:00
Jim Blandy
b40f8e056b Bug 913848: Attempt to fix intermittent test_unix_domain.js timeout with MOAR ASYNC. r=mayhemer
This patch makes the tests avoid expecting data from the client to be
available to the server immediately upon accepting a connection; instead,
the server uses asyncWait to receive those first bytes. This changes both
test_echo and test_connect_permission.

I've pushed this through the try server twice, and it didn't hang. In
either case, it adds a few more do_prints to give me more clues about the
source of the problem.
2013-09-11 14:00:19 -07:00
Wes Kocher
8e0fc9121c Backed out changeset 88fd66b4944c (bug 897221) 2013-09-09 15:50:32 -07:00
Jim Chen
6c84b1e663 Bug 897221 - Add test for UserAgentUpdates.jsm; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Chen
23d4940b0d Bug 897221 - Initialize UserAgentUpdates.jsm inside UserAgentOverrides; r=fabrice 2013-09-09 15:47:47 -04:00
Jim Blandy
d5b6b24fc6 Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
28ebe45d1b Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Sahil Chelaramani
97105b864d Bug 909283 - Change all occurances of yield to (yield undefined) in test_cache_jar.js. r=jdm 2013-08-30 23:08:44 -04:00
Geoff Brown
220e4a5f85 Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher 2013-08-25 10:58:31 -06:00
Geoff Brown
edcf1d4004 Bug 905344 - Change server port to -1 in test_load_module.js; r=waldo 2013-08-23 09:11:34 -06:00
Jim Chen
2b91265e28 Bug 901085 - Add test for UserAgentOverrides.jsm; r=dao 2013-08-22 14:41:43 -04:00
Patrick McManus
9c83e3b305 bug 750932 - multipart delimiter check r=jduell 2013-08-22 08:52:50 -04:00
Makoto Kato
63341bc0ca Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Christian Holler
f6d838a501 Bug 905636 - Disable a netwerk xpcshell test under ASan. r=jduell 2013-08-15 18:18:39 +02:00
Mihnea Dobrescu-Balaur
ec3e649c64 Bug 906106 - Make test_file_protocol.js use do_get_tempdir. r=ted 2013-08-16 10:43:46 -07:00
Ms2ger
93933b0de8 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
David Keeler
f9040f2187 bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
9cbdeb8d74 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Ryan VanderMeulen
f5e9dc8c73 Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
aa164754ac bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
2333ac300d bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Joey Armstrong
9bdf289b5e Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Mook
fabd18c538 content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell) 2013-07-30 14:38:26 -07:00
Simon Montagu
f63cb9877d Only test IDN nodes against kMaxDNSNodeLen on string-prepped IDNs that we're going to send to DNS, not the Unicode form for display only. Bug 892370, r=honzab
--HG--
rename : netwerk/test/unit/test_bug722299.js => netwerk/test/unit/test_idn_urls.js
2013-07-29 22:32:37 -07:00
Ryan VanderMeulen
79884fe9cb Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE. 2013-07-26 22:49:13 -04:00
Mook
725ebd7b5b content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell) 2013-07-26 15:25:27 -07:00
David Keeler
2e45a9aaf4 bug 846825 - refactor, make HSTS header parser more spec-conformant r=cviecco r=grobinson 2013-07-25 16:13:50 -07:00
Ed Morley
17741e0915 Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
e72bd0c472 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
834f814430 Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Paolo Amadini
3d7fed302f Bug 896179 - Crash in BackgroundFileSaver when append is enabled and hashing is disabled. r=mcmanus 2013-07-24 10:16:01 +02:00
Ms2ger
fb6790e6d8 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Gregory Szorc
b9743fb2cc Bug 896093 - Reference proper variable when blocked port is used; r=trivial 2013-07-23 13:53:01 -07:00
Joshua Cranmer
35b47f34ec Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Mihnea Dobrescu-Balaur
d04cd8fd97 Bug 888350 - Use a dynamic port in network/test/unit* xpcshell tests so they can be run in parallel. r=honzab 2013-07-19 10:19:28 -07:00
Gregory Szorc
33855660d6 Bug 895542 - Only automatically select ports that aren't blocked from clients; r=Waldo 2013-07-19 10:30:06 -07:00
Ehsan Akhgari
81b0d336c3 Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer 2013-07-18 12:06:38 -04:00
Mihnea Dobrescu-Balaur
67669b264e Bug 887706 - Use a dynamic port in httpserver xpcshell tests so they can be run in parallel. r=Waldo 2013-07-17 09:11:19 -04:00
Paolo Amadini
32cee3ed41 Bug 887425 - BackgroundFileSaver should support appending to an existing file. r=mcmanus, sr=biesi 2013-07-09 13:59:59 +02:00
Steve Workman
ef6a0fa3c0 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-07-08 18:45:25 -07:00
Patrick McManus
4a59bd2926 bug 888551 incomplete parsing of cache-control max-age r=hurley 2013-06-28 21:16:43 -04:00
Bobby Holley
1a78a5f7db Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-29 09:11:18 -06:00
Nathan Froyd
56bff3cb5e Bug 883981 - correctly reflect the server's port in httpd.js; r=ted 2013-06-17 14:58:56 -04:00
Ryan VanderMeulen
ca0cc81efe Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Steve Workman
d437dad211 Bug 497003 - Adjust partial content test and revert httpd.js r=jduell 2013-06-14 19:34:17 -07:00
Julian Reschke
8ce19b3638 Bug 875615: re-enable RFC2047 decoding (disable bug 601933) until we have telemetry r=jduell 2013-06-14 15:52:36 -07:00
Vladimir Vukicevic
3674b7925e b=882906; remove EXTRA_DSO_LIBS; r=ted 2013-06-13 22:58:22 -04:00
Ryan VanderMeulen
3446362831 Backed out 13 changesets (bug 880917) for Android and B2G test bustage on a CLOSED TREE.
Backed out changeset 71c1ce2cb0a4 (bug 880917)
Backed out changeset cd240e19560f (bug 880917)
Backed out changeset 93509a0001b5 (bug 880917)
Backed out changeset fdbba20e4647 (bug 880917)
Backed out changeset d82060172367 (bug 880917)
Backed out changeset 709f0b699489 (bug 880917)
Backed out changeset 421bdbccfa7c (bug 880917)
Backed out changeset 962c656c7452 (bug 880917)
Backed out changeset 888a5690ccdf (bug 880917)
Backed out changeset 57228f5fcd87 (bug 880917)
Backed out changeset ce8c3e14c234 (bug 880917)
Backed out changeset 08fe7b777450 (bug 880917)
Backed out changeset 5192a9233d83 (bug 880917)
2013-06-13 15:19:50 -04:00
Steve Workman
16ffe38f80 Bug 497003 - Support delivery of OnDataAvailable off the main thread r=bz r=jduell 2013-06-13 10:42:48 -07:00
Bobby Holley
880637c2cd Bug 880917 - Add support for "latest" as a version to evalInSandbox, and use it for sjs files. r=luke
Sandboxes always default to JSVERSION_DEFAULT in the browser. But XPCShell sets
up a ContextCallback that does JS_SetVersion(cx, JSVERSION_LATEST) on every
context that gets created, including the ephemerial Sandbox JSContexts. Since
httpd.js runs in xpcshell and evaluates SJS in a sandbox, we've (somewhat
accidentally) supported JSVERSION_LATEST in SJS, which certain SJS files have
taken advantage of. Let's continue to support it explicitly.
2013-06-13 10:09:26 -07:00
Joey Armstrong
e7afc73381 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Georg Koppen
da8c6e47b0 Bug 856978 - Make authorization headers removable if they observe "http-on-modify-request". r=mayhemer 2013-06-10 08:30:25 -04:00
Mook
e4b4f21044 Bug 877961 - PrivateBrowsingChannel: Allow SetPrivate on a channel with a load group but no load context; r=ehsan, r=jduell 2013-06-06 19:46:06 -07:00
Jason Duell
de833bc3e8 Bug 879054: fix printf of status in HttpChannelParent. r=mcmanus 2013-06-04 16:32:31 -07:00
Patrick McManus
94c9e99807 bug 790388 part 6 - spdy push xpcshell test r=hurley
--HG--
extra : rebase_source : 54a3f24aa543ee96ff2e2edb9a2ee7fe52e3dcbd
2013-05-29 00:07:03 -04:00
Patrick McManus
7d8d5c5888 bug 790388 part 5 - xpcshell tests for spdy/3 r=hurley
--HG--
extra : rebase_source : f6ca50052918d23d410a3f110323344472a62e6e
2013-05-29 00:07:03 -04:00
Mike Shal
994cfe0b6b Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Patrick McManus
157c3866ad bug 855185 - test for thread safety of resetIPFamily() r=honzab 2013-04-30 23:43:31 -04:00
Geoff Brown
5931069e78 Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Patrick McManus
d876e93fae bug 866867 test_spdy.js flaky with parallel connections r=hurley 2013-04-29 20:05:39 -04:00
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Simon Montagu
d89ea9f86f Exclude U+30FB KATAKANA MIDDLE DOT from the non-recommended characters that force IDN labels to be displayed as punycode. Bug 857490, r=jfkthame 2013-04-09 05:47:03 -07:00
aceman
2d19ac6495 Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Simon Montagu
16d525b6b1 Disable the check for mixed Simplified and Traditional Chinese characters when determining whether to display IDN labels as unicode or punycode. Bug 857481, r=honzab 2013-04-08 01:36:52 -07:00
Gavin Sharp
183f4ccc7e Bug 851586, r=bz
--HG--
extra : rebase_source : 4144764238b0f38f1457358b1c9f61bc4d347424
2013-03-19 12:23:43 +01:00
Ehsan Akhgari
124e2f7dca Bug 579517 follow-up: Remove NSPR types that crept in 2013-04-02 20:59:27 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jason Duell
38d3f4246e Bug 845273 - Backout Access-Control-Allow-Origin checks (bug 814117) for site breakage r=jduell 2013-03-14 13:59:33 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Cykesiopka
b5846d7221 Bug 92979 - Remove unused parameters in nsNetUtil.h methods. r=biesi 2013-03-08 08:30:13 -05:00
Jason Duell
18c2daca7d Bug 795254. Intermittent test_private_channel.js failure r=jdm
--HG--
rename : netwerk/test/unit/test_private_channel.js => netwerk/test/unit/test_private_necko_channel.js
2013-03-07 12:12:10 -08:00
Monica Chew
5db44b44ff Bug 844392 - Fix race condition where ProcessStateChange can remove a file before cleanup. r=paolo 2013-03-07 08:35:38 -05:00
Albert Crespell
3986a322a5 Bug 839757 - Tests. r=honzab 2013-03-03 09:08:44 +01:00
Ryan VanderMeulen
55ea7e4b59 Merge m-c to inbound. 2013-03-03 13:45:57 -05:00
Simon Montagu
b3698b1032 Remove network.enableIDN pref. Bug 842282, r=honza.b 2013-03-03 18:36:37 +02:00
Ryan VanderMeulen
b5c32572b8 Merge m-c to fx-team. 2013-03-02 23:46:08 -05:00
Simon Montagu
5d35dacdbd Tests for bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Simon Montagu
f4d8716aff Changes to existing tests caused by bug 722299, r=honza.b 2013-03-01 03:56:45 -08:00
Tim Taubert
b8c5caeb70 Bug 842512 - Specify a character set for error pages; r=Waldo 2013-02-22 19:56:26 +01:00
Gregory Szorc
660d1983d3 Bug 784841 - Part 18z: Convert /netwerk; f=Ms2ger rs=ted 2013-02-25 12:47:23 -08:00
Ryan VanderMeulen
db70ed53c2 Backed out 4 changesets (bug 722299) for B2G mochitest failures on a CLOSED TREE. 2013-02-28 20:44:53 -05:00
Simon Montagu
2be218abef Tests for bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Simon Montagu
3dc876275e Changes to existing tests caused by bug 722299, r=honza.b 2013-02-28 14:04:48 -08:00
Jonathan Mayer
55b948dec0 Bug 818340 - change third party cookie handling to block third party cookies from sites I haven't visited. (r=jdm, r=dolske)
--HG--
extra : rebase_source : f486f39feac1fb743edc920618bec29884d515f1
2013-02-22 08:16:01 -08:00
Julian Reschke
c87fff2ca2 Bug 601933: remove RFC 2047 encoding support for HTTP header field parameters. r=jduell 2013-02-21 05:36:00 -08:00
Monica Chew
8d945bb8c6 Bug 829832 - NEEDS CLOBBER - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Karl Tomlinson
279a63d23e back out f24c22852083 for xpcshell failures b=829832
--HG--
extra : rebase_source : 151e69e6a280c9c67e9b49d55c11aad1fc0def94
2013-02-20 11:15:51 +13:00
Monica Chew
96ed5c9c26 Bug 829832 - Compute SHA256 hash on saving files in BackgroundFileSaver. (r=paolo,cviecco,sr=biesi) 2013-02-19 12:47:59 -08:00
Patrick McManus
1b4599ab79 bug 840592 - two tests XPCWrappedJS on wrong thread via JS nsISystemProxySettings implementations r=jduell 2013-02-14 09:32:31 -05:00
Josh Matthews
8ab76476c3 Bug 837091 - Rename cookie-changed notification for private cookies. r=ehsan 2013-02-05 10:44:21 +00:00
Mounir Lamouri
e5ff16f5e9 Bug 823175 - Add a method to return the next sub domain of a given host in nsIEffectiveTLDService. r=bz 2013-02-04 17:59:49 +00:00
Dave Townsend
f1c830614d Bug 793928: Switch users of the promise library to the new location and move tests files. r=gavin
--HG--
rename : toolkit/addon-sdk/test/Makefile.in => addon-sdk/test/Makefile.in
rename : toolkit/addon-sdk/test/unit/head.js => addon-sdk/test/unit/head.js
rename : toolkit/addon-sdk/test/unit/test_promise.js => addon-sdk/test/unit/test_promise.js
rename : toolkit/addon-sdk/test/unit/xpcshell.ini => addon-sdk/test/unit/xpcshell.ini
2013-02-01 11:43:15 -08:00
Nicholas Nethercote
f7f94fcd8f Bug 833208 (part 4) - Remove e4x support from xpcshell tests. r=jorendorff.
--HG--
extra : rebase_source : a7bd33905120f74e6c242e0c236450dd3be54436
2013-01-30 16:56:16 -08:00
Honza Bambas
65b52d00f6 Bug 812167 - Redirect Responses are Cached to disk despite Cache-control: no-store, Expires: -1, r=michal 2013-01-30 16:01:16 +01:00
Peter Eckersley
118a0981b9 Bug 765934: Test cases for the redirectTo API. r=honza 2013-01-24 12:49:41 -08:00
Ryan VanderMeulen
bc8dfe66fb Backed out changeset 08863162779f (bug 761040) for crashes. 2013-01-24 15:18:35 -05:00
Jason Duell
ef2300b702 Bug 761040 - Addition to test to cover failed redirect case. r=mayhemer 2013-01-25 13:19:59 -05:00
Raymond Lee
ceaf440e37 Bug 830703 - test_httpauth.js doesn't run. r=josh
--HG--
rename : browser/components/privatebrowsing/test/unit/test_httpauth.js => netwerk/test/unit/test_httpauth.js
2013-01-24 00:37:42 +08:00
Raymond Lee
4707c6f79e Bug 820784 - Remove alternative add_task implementations. r=mak 2013-01-24 12:47:19 +08:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Patrick McManus
1a3731064e bug 829646 PAC mIPAddress() problem outside of FindProxyForURL() r=biesi 2013-01-11 21:40:36 -05:00
Honza Bambas
92a45a42b7 Bug 761040 - Offline cache entries are created for no-store entries r=jduell 2013-01-07 16:01:00 +01:00
Patrick McManus
5b01696419 bug 796475 - proxy auth cancelation rendering fix r=jduell
--HG--
extra : rebase_source : 83d6ad3d15bae973c8a09bca02a8d86578467345
2013-01-09 10:17:32 -05:00
Andrea Marchesini
fd59052d04 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Phil Ringnalda
a1a5fe2151 Back out fef358e6d5e6 (bug 827050) for Linux/Windows xpcshell orange in test_cache_jar_wrap.js 2013-01-07 22:01:41 -08:00
Andrea Marchesini
72c8687e50 Bug 827050 - Clear cookies and stored data in the browser clears remember my choice permissions for PROMPT_ACTION WebAPIs, r=mounir
--HG--
rename : dom/tests/mochitest/localstorage/frame_clear_browser_data.html => extensions/cookie/test/frame_clear_browser_data.html
rename : extensions/cookie/test/test_app_uninstall_permissions.html => extensions/cookie/test/test_app_cleardata_permissions.html
2013-01-07 18:37:01 +01:00
Nils Maier
96b67e24c9 Bug 826063 - Part 2: Add tests for nsIPrivateBrowsingChannel::isChannelPrivate; r=ehsan 2013-01-03 19:41:12 -05:00
Michal Novotny
b06fe67e37 Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith 2013-01-04 00:30:48 +01:00
Josh Matthews
c8d3af7a52 Bug 818667 - Put HTTP cache into app jars. r=michal.novotny 2012-12-28 12:50:23 -05:00
Josh Matthews
bf2cdb7a02 Backed out changeset d924c6aa0a8f (bug 818667) 2012-12-28 12:31:44 -05:00
Josh Matthews
9e14d2624a Bug 818667 - Put HTTP cache into app jars. r=michal.novotny 2012-12-28 11:56:31 -05:00
Josh Matthews
4e4a7167e0 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Masatoshi Kimura
4c1412833e Bug 803713 - Skip the SP after finding it. r=biesi 2012-12-20 21:47:40 +09:00
Ed Morley
b823df0685 Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE 2012-12-19 23:46:07 +00:00
Josh Matthews
36ed4c8e79 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley
0c632ab2fc Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
f27802d4e8 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Michal Novotny
80df1b7aa4 Bug 808997 - Explicitly close all output and input streams of all active cache entries during shutdown, r=hurley 2012-12-14 18:03:01 +01:00
Paolo Amadini
6151fc6201 Bug 789932 - Add a component to save files asynchronously on a background thread, handling temporary download locations. r=biesi 2012-12-10 21:06:37 +01:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
Jason Duell
579f8a7cc4 Bug 811669 - nsICachingChannel.cacheKey may not be set on http-on-modify-request anymore. r=mcmanus 2012-12-03 22:24:36 -08:00
Ms2ger
4f3a54421a Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Kartikaya Gupta
268082eeb3 Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Julian Reschke
52c284a0e8 Bug 777687: make handling of broken %-escapes in RFC2231/5987 encoding more draconian. r=jduell 2012-11-28 06:48:00 -08:00
Jason Duell
b8be83f676 Bug 814117 - Forbid multiple Access-Control-Allow-Origin headers in HTTP responses. r=bz 2012-11-28 10:57:34 -08:00
Ehsan Akhgari
564f778357 Bug 813438 - Part 0: Register the test content sniffer in test_force_sniffing.js with the category manager properly 2012-11-22 16:25:23 -05:00
Josh Matthews
3c1cd97486 Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews
0da98fa02a Bug 722850 - Part 2: Query the private browsing status of channels used to manipulate cookies. r=mconnor 2012-02-08 13:37:07 -05:00
Ed Morley
f2ccb0abbe Backout e123e0173185, 326ed6f1dc9e & 7c2c9c988869 (bug 722979) for mochitest-a11y failures 2012-11-16 15:06:13 +00:00
Ed Morley
12188e22ea Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures 2012-11-16 14:18:41 +00:00
Josh Matthews
6d9f8239fe Bug 722979 - Add privacy status argument to relevant nsIStrictTransportSecurityService methods. r=bsmith sr=biesi 2012-06-30 07:34:17 -07:00
Josh Matthews
61fb615b90 Bug 722850 - Part 2: Query the private browsing status of channels used to manipulate cookies. r=mconnor 2012-02-08 13:37:07 -05:00
Seth Fowler
011f61e657 (no bug) Remove debugging cruft that snuck into the tree which prints 'httpserver XPI_NAME=' when we build. r=bsmedberg 2012-11-15 13:12:23 -08:00
Isaac Aggrey
218a57b4d4 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan 2012-11-14 13:14:21 -06:00
Ehsan Akhgari
f5b80eb686 Backed out changeset da25394a8b55 (bug 802706) for build bustage 2012-11-14 13:24:12 -08:00
Isaac Aggrey
2c0ab41183 Bug 802706: Remove usage of NSPRFormatTime.h from tree; r=ehsan,wtc 2012-11-14 13:14:21 -06:00
Josh Matthews
5faa109e12 Bug 804655 - Part 2: Wrap up interface aggregator callbacks with a target thread on which they should be released. r=mayhemer 2012-11-14 16:00:44 +00:00
Gregory Szorc
4c48f87da0 Bug 809677 - Refactor httpd.js to work when modules are functions; r=Waldo 2012-11-09 14:48:28 -08:00
Jason Duell
03cc56112b Bug 806753 - e10s: Remove already broken support for child-side http-on-* observers r=bz 2012-11-07 17:24:27 -08:00
Oonishi Atsushi
72228eb21e Bug 282432 - XPCShell test. r=bz 2012-11-01 19:23:13 -04:00
Kyle Huey
1482122303 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
8297cdabd6 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
bdf47895bb Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
777eed8444 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
aa1997a51a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Nick Hurley
8d28a27be5 Bug 536324 part 4 - Test to make sure 64-bit content length works. r=sworkman 2012-10-22 10:51:07 -07:00
Nick Hurley
31985d7fa6 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Jeff Walden
1c08b086eb Bug 532369 - Replace octal numbers in httpd.js with manual bit-shifts and bit-ors, to avoid strict warnings. Obvious enough for r=try
--HG--
extra : rebase_source : d110239cac4967d7bd278c3c931f10fe78229860
2012-10-05 17:04:12 -07:00
Brian Smith
125999d7c4 Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan 2012-10-18 15:55:48 -04:00
Isaac Aggrey
61d7092334 Bug 794510: Part 3 - create NSPRFormatTime.h with temporarily undef'd NO_NSPR_10_SUPPORT for compatibility; r=ehsan 2012-10-11 13:16:29 -05:00
David Zbarsky
6d18b74223 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-16 00:26:51 -04:00
David Zbarsky
35ce833fdb Backout 368cd30cccda for bustage 2012-10-15 23:52:17 -04:00
David Zbarsky
95cf6682cb Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 23:37:34 -04:00
David Zbarsky
226b7d9e12 Backout 14f09c2fb04c on CLOSED TREE 2012-10-15 21:19:30 -04:00
David Zbarsky
d8abbc0fc0 Bug 801803: More nsresult as enum class creates warnings r=me 2012-10-15 21:00:20 -04:00
David Keeler
2148728e6b bug 786417 - filter the hsts preload list to sites that actually send the header r=bsmith, mayhemer 2012-10-15 14:43:57 -07:00
David Zbarsky
a898f8ae41 Bug 801803 - nsresult as enum class creates warnings in test files r=ehsan 2012-10-15 17:12:50 -04:00
Andrew Quartey
464807b57d Bug 792581 - part 16: Replace LL_L2UI macro with uint32_t cast. r=ehsan 2012-10-12 13:29:11 -04:00
Patrick McManus
3bae158437 bug 799470 - pac dnsResolve wrong return code on error r=biesi 2012-10-09 13:52:26 -04:00
Patrick McManus
ba8363eb03 bug 797684 - http-on-modify-request can reflect ProxyInfo r=biesi
--HG--
extra : rebase_source : b3da738e1b08575e037b2f67f0e58044eb6e55dd
2012-10-08 20:19:08 -04:00
Andrew Quartey
9f926a0d71 Bug 792581 - part 10: Replace LL_SUB macro with mathematical minus operator. r=ehsan 2012-10-05 01:05:27 -04:00
Patrick McManus
e3e41e365c bug 795905 call proxyservice::asyncresolve() when direct in case of filters r=biesi
--HG--
extra : rebase_source : c0d97222a8c5bad3ed8120c5a5a9cfdb7d3b8d6f
2012-10-04 15:08:26 -04:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Patrick McManus
2571779f22 bug 791527 check compiler return on pac thread r=biesi 2012-09-27 13:29:34 -04:00
Patrick McManus
90715f05f5 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-14 16:27:46 -04:00
Patrick McManus
b0eb649bd8 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Brian Smith
6c05169f5f Bug 770243: Close cache input stream only when we're sure we don't need it in nsHttpChannel, r=bsmith for Honza's code, r=honzab for bsmith's changes
--HG--
extra : rebase_source : 6ea99a3a3cd3703cdd0b9a2e0c17dd71ffc3b3ac
2012-09-24 10:20:11 -07:00
Mounir Lamouri
1f63068bcf Bug 792828 - Fix warnings in netwerk/test/. r=Ms2ger 2012-09-21 11:28:56 +01:00
Jason Duell
e8292ead1f Bug 756648 - Implement "cookie jars" for apps. r=biesi,smaug
--HG--
rename : netwerk/test/unit_ipc/test_cookie_wrap.js => netwerk/test/unit_ipc/test_cookie_header_wrap.js
2012-09-18 12:04:04 -04:00
Ehsan Akhgari
c4c18521be Bug 741059 - Part 1: Add APIs to nsIChannel to allow callers to override the private bit on the channel; r=jduell
This is probably the worst patch that I have ever written!

We add a setPrivate method to nsIPrivateBrowsingChannel which will be
implemented by channels who care about private browsing.  This allows the
client to explicitly override the private bit on the channel.
NS_UsePrivateBrowsing is also taught about this override bit using the
internal nsIPrivateBrowsingChannel::IsPrivateModeOverriden API.  This patch
implements the new API for HTTP, FTP and wyciwyg channels.  This also
modifies the IPC implementations of these channels to correctly transfer that
bit to the parent process if it has been set in the child process channel.
2012-09-04 20:37:45 -04:00
Ed Morley
946a13d148 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Patrick McManus
b6479d75e2 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-14 16:27:46 -04:00
Patrick McManus
cafe3619a5 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
1525bc6440 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
9d7ced3202 bug 347307 - make pac myIPAddress() more accurate r=biesi 2012-09-13 15:22:56 -04:00
Patrick McManus
22205a5249 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
L. David Baron
25da45cb30 Followup to bug 648603: increase the number of connections that our test HTTP server will serve to the larger of the server limit or the proxy limit.
This should fix intermittent oranges in bug 536603 and bug 576543 that
were reintroduced this morning.

This is needed because the mochitest HTTP server is accessed as a proxy;
we set network.proxy.autoconfig_url to a data: URL.
2012-09-05 22:43:21 -07:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
Aryeh Gregor
010dc0fdf5 Bug 782594 - Don't return nsresult from main() (netwerk/); r=bz 2012-08-07 20:17:27 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Gordon P. Hemsley
0b0f9f7fde Bug 672448 - Allow the Accept-Language header to have quality ('q') values up to 2 decimal places. r=biesi 2012-08-29 22:49:31 -04:00
Gordon P. Hemsley
98660593a8 Bug 672448 - Remove trailing whitespace. r=biesi 2012-08-27 21:21:20 -04:00
Ryan VanderMeulen
ebd9d07ef7 Backout 69154d62012c and b0b07ef904ea (bug 672448) due to warnings-as-errors red. 2012-08-29 22:22:16 -04:00
Gordon P. Hemsley
da16040116 Bug 672448 - Allow Accept-Language header to have quality ('q') values up to 3 decimal places. r=biesi
--HG--
extra : rebase_source : 1257eb6a0a79d910821657582111fbb592443e9f
2012-08-29 17:58:25 -04:00
Gordon P. Hemsley
f6a87dc55a Bug 672448 - Remove trailing whitespace. r=biesi
--HG--
extra : rebase_source : e63c293d05aef2e8c34abbb12c5bd3ca355f0d7c
2012-08-27 21:21:20 -04:00