Commit Graph

6233 Commits

Author SHA1 Message Date
Dragana Damjanovic
7cef3cbfe8 Bug 1170197 - Add test. r=mcmanus 2015-06-26 17:27:00 -04:00
Dragana Damjanovic
9ff1155ef3 Bug 1170197 - If a channel is suspended in http-on-modify-request, it should not send any trafic untill resumed. r=mayhemer 2015-06-18 10:57:00 -04:00
Carsten "Tomcat" Book
d4735903b0 Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00
Franziskus Kiefer
381fbf5475 Bug 1166910 - referrer attribute for img tag. r=hsivonen 2015-06-05 15:25:24 -07:00
Ehsan Akhgari
f4684ecd6d Bug 1173069 - Don't accumulate the cache hit telemetry for intercepted channels; r=mayhemer,jdm
These channels will always have a fake cache entry associated with them,
so they can skew our telemetry results once we ship service workers.
2015-06-30 13:24:10 -04:00
Eric Rahm
65b068e988 Bug 1177541 - Remove warning if file is not found during deferred open. r=mcmanus
When doing a deferred open we should not emit a warning if the file is not
found. The proper return code is still returned.
2015-06-30 09:33:37 -07:00
Nicholas Nethercote
52c7443b67 Bug 1175771 (part 3) - Replace nsCacheEntryHashable::VisitEntries() with iterators. r=michal.
Note that FreeCacheEntries was unused, and so could be removed as well.
2015-06-17 22:31:08 -07:00
Nicholas Nethercote
7e7e83f233 Bug 1175771 (part 2) - Remove PL_DHashTableEnumerate() use from nsHostResolver. r=michal. 2015-06-10 18:28:03 -07:00
Nicholas Nethercote
483d84252e Bug 1175771 (part 1) - Fix indentation in nsHostResolver::FlushCache(). r=michal. 2015-06-10 17:09:32 -07:00
Patrick McManus
0efa098ec7 bug 1174152 - update test to be nsIObserver based r=hurley 2015-06-24 13:50:37 -04:00
Patrick McManus
2cbbb281b8 bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Ryan VanderMeulen
55b2086097 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
98461fc4a4 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Ehsan Akhgari
29eec391b3 Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
Consumers of this type need to deal with the external content policy
types.  One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Michal Novotny
e8ddbe69ec Bug 1171724 - Large OOMs in CacheFileMetadata, r=honzab 2015-06-24 06:33:37 +02:00
Valentin Gosu
daae534dcc Bug 1142083 - Add test for IDN Unicode domain redirect. r=mcmanus 2015-06-20 00:03:57 +03:00
Michal Novotny
fc9a10ba31 Bug 1170645 - Intermittent crash in mozilla::net::nsWSAdmissionManager::RemoveFromQueue(mozilla::net::WebSocketChannel*), r=mcmanus 2015-06-21 14:37:36 +02:00
Ryan VanderMeulen
2cc08b4a01 Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Patrick McManus
a49b09d019 Bug 1175545 - Dont process alt-svc on 421 r=hurley 2015-06-19 08:32:05 -04:00
Mike Taylor
7771e2164c Bug 1169772 - Add Android version to platform identifier of Fennec's UA string. r=mfinkle, r=gerv 2015-06-11 09:38:00 -04:00
Valentin Gosu
f36e291a84 Bug 1172697 - URLs containing !// in the query or hash should not be handled as packaged app resources r=mcmanus 2015-06-09 02:20:02 +03:00
Valentin Gosu
fdaf9a8a79 Bug 1142083 - IDN Unicode domain redirect is broken r=mcmanus 2015-06-18 16:05:21 +03:00
Carsten "Tomcat" Book
ab1e849c45 Backed out changeset b2c472fe14ca (bug 1175480) for crashes in serviceworkers/test_request_context.htm 2015-06-18 09:54:44 +02:00
Boris Zbarsky
17fd391fc4 Bug 1175600 followup. Add getRelativePath to ye othere nsIFile implementatione so as to de-bust ye olde CLOSED TREE 2015-06-17 16:46:19 -04:00
Ehsan Akhgari
a85a263993 Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
Consumers of this type need to deal with the external content policy
types.  One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-17 15:09:06 -04:00
David Major
1a4267dc0e Bug 1173860: Null check on sGlobalEntryTables. r=mcmanus 2015-06-17 11:23:43 -04:00
Carsten "Tomcat" Book
7c76048c28 Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html 2015-06-17 16:58:57 +02:00
Patrick McManus
1cd7ac366a bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Andrea Marchesini
5acececf92 Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Michal Novotny
7baf38bba5 Bug 1173378 - crash in mozilla::net::HttpBaseChannel::OverrideSecurityInfo(nsISupports*), r=ehsan 2015-06-17 13:16:33 +02:00
Fernando Jimenez
a44aea896f Bug 1174078 - Calling "fetch" inside Service Worker's "onfetch" handler in b2g causes "onfetch" again that leads to an infinite loop. r=nsm 2015-06-17 11:50:07 +02:00
Nicholas Nethercote
c2df231328 Bug 1174625 - Overhaul PLDHashTable's iterator. r=froydnj.
This change splits PLDHashTable::Iterator::NextEntry() into two separate
functions, which allow you to get the current element and advance the iterator
separately, which means you can use a for-loop to iterate instead of a
while-loop.

As part of this change, the internals of PLDHashTable::Iterator were
significantly changed and simplified (and modelled after js::HashTable's
equivalent code). It's no longer duplicating code from PL_DHashTableEnumerator.
The chaos mode code was a casualty of this, but given how unreliable that code
has proven to be (see bug 1173212, bug 1174046) this is for the best. (We can
reimplement chaos mode once PLDHashTable::Iterator is back on more solid
footing again, if we think it's important.)

All these changes will make it much easier to add an alternative Iterator that
removes elements, which was turning out to be difficult with the prior code.

In order to make the for-loop header usually fit on a single line, I
deliberately renamed a bunch of things to have shorter names.

In summary, you used to write this:

  PLDHashTable::Iterator iter(&table);
  while (iter.HasMoreEntries()) {
    auto entry = static_cast<FooEntry*>(iter.NextEntry());
    // ... do stuff with |entry| ...
  }
  // iter's scope extends beyond here

and now you write this:

  for (auto iter = table.Iter(); !iter.Done(); iter.Next()) {
    auto entry = static_cast<FooEntry*>(iter.Get());
    // ... do stuff with |entry| ...
  }
  // iter's scope doesn't reach here
2015-06-11 21:19:53 -07:00
Valentin Gosu
0ead07ca71 Bug 1171127 - Listeners are not released in OnStopRequest in e10s mode. r=jduell 2015-06-15 02:39:29 +03:00
Ryan VanderMeulen
36854cb900 Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
CLOSED TREE
2015-06-15 15:27:53 -04:00
Josh Matthews
c630379743 Bug 1125961 - Allow sending null PBrowser actors when there's a triggering principal which can be used for security checks; r=dragana 2015-06-15 14:35:06 -04:00
Birunthan Mohanathas
334f1e22e7 Bug 1164714 - Move netwerk/test/TestSTSParser.cpp into security/manager/ssl/tests/. r=keeler 2015-06-14 21:37:12 -07:00
Michal Novotny
a7afc6299b Bug 1151812 - Add telemetry to find optimal cache entry hash size, r=honzab 2015-06-14 14:13:18 +02:00
Nicholas Hurley
9aa1575b2e Bug 959752 - Make the network predictor work under e10s. r=mcmanus 2015-06-18 11:23:00 +02:00
Christoph Kerschbaumer
49f2bed566 Bug 1175352 - Refactor LoadInfo arguments to be more self contained (r=bent) 2015-06-18 15:37:20 -07:00
Ted Mielczarek
673b54b136 bug 1170582 - Fix nsSocketTransport on iOS. r=mayhemer 2015-05-06 07:51:51 -04:00
Ben Kelly
dd7b85c548 Bug 1172884 P1 Properly decode body when intercepted response redirects. r=jduell 2015-06-12 07:20:21 -07:00
Sanchit Kumar
fbea751f5a Bug 1171016 - Initialize the linelen variable at its declaration in ParseFTPList.cpp. r=mcmanus 2015-06-11 11:47:00 -04:00
Nicholas Nethercote
5fd8a164f0 Bug 1173247 (part 2) - Remove PL_DHashTableEnumerate() uses from nsDiskCacheBindery. r=michal. 2015-06-10 13:07:41 -07:00
Nicholas Nethercote
2fb0de75cb Bug 1173247 (part 1) - Remove PL_DHashTableEnumerate() uses from nsDiskCacheBindery. r=michal. 2015-06-10 13:07:41 -07:00
Phil Ringnalda
de099ff5ab Backed out 3 changesets (bug 1172884, bug 1169819) for OS X timeouts in browser_force_refresh.js in bc3
CLOSED TREE

Backed out changeset 7b23ff6ac3a2 (bug 1169819)
Backed out changeset 1434730c0e19 (bug 1172884)
Backed out changeset 17d6ecf1b4ec (bug 1172884)
2015-06-11 20:57:24 -07:00
Eric Rahm
91a52e1515 Bug 1171583 - Remove mutable warning from |nsSimpleURI::SetUserPass|. r=bz 2015-06-11 18:32:03 -07:00
Ben Kelly
091887b3a5 Bug 1172884 P1 Properly decode body when intercepted response redirects. r=jduell 2015-06-11 18:29:28 -07:00
Wes Kocher
be0c4421e7 Backed out changeset 6231a72d0557 (bug 1172884) for being the wrong patches landed a=backout 2015-06-11 17:57:51 -07:00
Ben Kelly
04d782d8b6 Bug 1172884 P1 Properly decode body when intercepted response redirects. r=mayhemer a=kwierso 2015-06-11 17:52:01 -07:00
Nicholas Nethercote
a2918dedd5 Bug 1172789 (part 3) - Remove PL_DHashTableEnumerate() uses from nsLoadGroup. r=michal.
This change also factors out some duplicated code.
2015-06-10 13:07:40 -07:00