Commit Graph

84 Commits

Author SHA1 Message Date
Shih-Chiang Chien
9c648e86fc Bug 1337721 - Part 2, add xpcshell test for channel priority. r=mayhemer
MozReview-Commit-ID: JbbRg63ufW9

--HG--
extra : rebase_source : 4a32499e62a9c3f9292311a3974d5759bf5a579e
2017-02-10 16:56:04 +08:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ehsan Akhgari
ad51310cc1 Bug 1170190 - Part 3: Add tests for the e10s case too; r=mayhemer 2016-12-23 14:40:11 -05:00
Ehsan Akhgari
eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari
cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05: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
Valentin Gosu
d746e122c8 Bug 1307491 - (Part 1) Remove support for per-app-offline in netwerk/ [nukeb2g] r=bagder
* * *
Bug 1307491 - Remove support for per-app-offline [nukeb2g] r=bagder

MozReview-Commit-ID: FoweWBv9QyE

--HG--
extra : rebase_source : 0f6e0f0d19f108c3aef8b25cb6d605ecd338ee2b
2016-10-17 03:54:46 +02:00
Valentin Gosu
632626f639 Bug 1231565 - (Part 4) Test that large alt-data content can be saved, and that streaming works r=honzab
--HG--
rename : netwerk/test/unit/test_alt-data_simple.js => netwerk/test/unit/test_alt-data_stream.js
rename : netwerk/test/unit_ipc/test_alt-data_simple_wrap.js => netwerk/test/unit_ipc/test_alt-data_stream_wrap.js
2016-09-27 10:26:32 +02:00
Honza Bambas
cd3ee4c951 Bug 1231565 - (Part 1) Basic test for alt-data representation in cache r=honzab 2016-03-22 11:42:00 +01:00
Tim Huang
19e68da566 Bug 1291652 - Part 3: Update tests for fetching originAttributes from the nsILoadInfo, but not from the nsILoadContext. r=mayhemer
--HG--
extra : rebase_source : ebb2beb2c1c8cde1ecb1f04c151c37ff6705077c
2016-08-22 08:41:00 -04:00
Wes Kocher
730c59fce4 Backed out changeset e1f3ed984607 (bug 1261585) for causing bug 1292586 a=backout 2016-08-22 11:29:04 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
35cecae1b6 Bug 1261585 - Make nsITraceableChannel listener work with content encoding.r=jduell
--HG--
extra : rebase_source : 98c549ada53f64f66eb716801f0140da6b7252ef
2016-07-19 05:05:00 +02:00
Jarda Snajdr
fd72aae3ac Bug 1274556 - Add a channelId attribute to nsIHttpChannel (unit test) r=hurley 2016-06-01 12:30:27 -07:00
Dragana Damjanovic
7cf5152088 Bug 669259 - Expose original header received from a peer. r=mcmanus 2016-05-12 14:33:00 -04:00
Nicholas Hurley
fd7a5d97b5 Bug 1016628 - Add prefetch abilities to the predictor. r=mayhemer 2016-04-21 12:32:30 -07:00
Dragana Damjanovic
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02: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
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
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
Dragana Damjanovic
c2d5cae269 Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jduell 2015-12-19 16:11:39 -05:00
Christoph Kerschbaumer
55c5c7efa6 Bug 1232567 - Convert 10 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-17 12:47:22 -08:00
Magnus Melin
12d47d0d77 Bug 1221758 - don't run cache2 tests when cache2 isn't used. r=michal.novotny
Was causing test failures for Thunderbird where cache2 isn't in use yet.
2015-11-12 22:12:50 +02:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Yoshi Huang
d38b78ae54 Bug 1165466 - Fix up docshell and loadcontext inheriting code in nsIScriptSecurityManager. r=bholley 2015-09-23 16:10:21 +08:00
Wes Kocher
98e5242831 Backed out changeset 2bdaed564656 (bug 1125961) for b2g emulator mochitest-21 failures starting in test_fetch_event_client_postmessage.html 2015-07-30 14:53:38 -07:00
Josh Matthews
77fd3928cf Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks. r=bkelly,ddamjano 2015-06-03 15:07:42 -04:00
Nicholas Hurley
ff91c700ee Bug 959752 - Make the network predictor work under e10s. r=mcmanus 2015-06-18 11:23:00 +02:00
Dragana Damjanovic
82480b23f3 Bug 1108957 - Add per network interface dns query. This is possible only with gonk. r=mayhemer 2015-02-19 00:14:00 -05:00
Christoph Kerschbaumer
d65c89962c Bug 1087739: Make JS callers of ios.newChannel call ios.newChannel2 in netwerk/ (r=sworkman,tanvi) 2014-10-24 15:16:29 -07:00
Connor
9c9e89038a Bug 575094 - Modify how prefservice is accessed so that it's from the parent process and not from the child process. Also re-enable test_bug528292_wrap.js. r=jdm
--HG--
rename : netwerk/test/unit_ipc/disabled_test_bug528292_wrap.js => netwerk/test/unit_ipc/test_bug528292_wrap.js
2014-10-29 23:58:03 -04:00
Josh Matthews
8f259e6613 Bug 898524: Part 2 - Avoid IPC roundtrips for synthesized responses. r=mayhemer 2014-10-17 09:55:09 -04:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Valentin Gosu
804753cf6d Bug 786419 - Part 7 - xpcshell test for HTTP per-app offline r=jduell 2014-08-23 05:06:44 +03:00
Wes Kocher
d10230338d Backed out changeset 1ed271ffb59c (bug 786419) bug causing bug 786419 a=backout 2014-08-26 16:34:46 -07:00
Dragana Damjanovic
8bc6d0e95f Bug 947721 - Fix function CancelAsyncRequest and add the same function for the child process. r=sworkman
--HG--
extra : rebase_source : b89d296732cd65e8bfc0c6ff563095a668484eae
2014-08-26 05:09:00 -04:00
Valentin Gosu
077e9036e0 Bug 786419 - Provide way to "set network offline" per app r=jduell 2014-08-23 06:05:56 +03:00
Dragana Damjanovic
9c72743446 Bug 748117 - Make sure http channel is pending in OnStartRequest & OnDataAvailable r=jduell 2014-06-26 18:51:49 -07:00
Monica Chew
6fe994703a Bug 974018: Implement nsIRedirectHistory (r=mayhemer) 2014-05-22 12:58:23 -07:00
Daniel Stenberg
736938c11c Bug 959100 - Make ParseChunkRemaining detect chunk size overflow. r=jduell 2014-01-17 17:07:29 +01:00
Honza Bambas
8ee832cff4 Bug 949667 - crash in mozilla::net::HttpChannelParent::OnStartRequest, fail redirect to unsupported protocol on child process, r=jduell 2014-01-14 15:59:00 +01:00
Jason Duell
0c4425831b Bug 945066: remote nsIDNSService to child. r=jdm
* * *
bug 945066. Fix windows bustage.  r=jduell
2013-12-11 11:03:51 -08:00
Carsten "Tomcat" Book
e249bd1a6e Backed out changeset 3072c9af15b3 (bug 945066) for fixing bustage on a CLOSED TREE 2013-12-11 11:51:35 +01:00
Jason Duell
6625975d9d Bug 945066: Make nsIDNSService work on child processes. r=jdm 2013-12-11 01:37:57 -08:00
Gregory Szorc
7bd3c0ae36 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Honza Bambas
894ba59236 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Mihnea Dobrescu-Balaur
de3e7988f4 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