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

11619 Коммитов

Автор SHA1 Сообщение Дата
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Michael Layzell 3eb46d5372 Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan 2015-07-03 17:12:17 -04:00
Ehsan Akhgari 4484832cb5 Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00
Michael Layzell 0e9fa18ac8 Bug 1170200 - Part 1: Change the API for nsIPermissionManager::Remove() to accept a URI instead of a string; r=ehsan 2015-07-03 14:17:11 -04:00
Valentin Gosu 7fe7150c99 Bug 1177403 - Unable to load http package resources with fetch() or xhr r=mcmanus 2015-07-03 17:15:46 +02:00
Valentin Gosu 754aea4980 Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus 2014-10-14 00:35:51 +03:00
Valentin Gosu e869aebc27 Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus 2014-10-14 00:34:03 +03:00
Carsten "Tomcat" Book 148c5433eb Backed out changeset ddd6b2e3aead (bug 1048131) 2015-07-03 14:26:03 +02:00
Carsten "Tomcat" Book 7cda123145 Backed out changeset 49f72333b407 (bug 1048131) 2015-07-03 14:25:56 +02:00
Valentin Gosu fb74912cb6 Bug 1048131 - Make some network events trigger a captive portal recheck r=mcmanus 2014-10-14 00:35:51 +03:00
Valentin Gosu 95e62eb914 Bug 1048131 - Implement CaptivePortalService using nsICaptivePortalDetector r=mcmanus 2014-10-14 00:34:03 +03:00
Franziskus Kiefer 2ae91f6891 Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz
--HG--
extra : rebase_source : ceb3a3d18acf7deb9d13cfae499b7e112db8ffce
2015-06-05 15:25:24 -07:00
Dragana Damjanovic 71de884cdc Bug 1177848 - Add telemetry to measure ipv6 miss and hits. r=mcmanus 2015-07-01 13:51:00 +02:00
Dragana Damjanovic 85e3991f21 Bug 1170197 - Add test. r=mcmanus 2015-06-26 17:27:00 -04:00
Dragana Damjanovic b5075f0de3 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 8bc87efb1e Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00
Franziskus Kiefer 91b0523177 Bug 1166910 - referrer attribute for img tag. r=hsivonen 2015-06-05 15:25:24 -07:00
Ehsan Akhgari 2ad9d6b396 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 c7c7afa9ce 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 2599e0384d Bug 1175771 (part 3) - Replace nsCacheEntryHashable::VisitEntries() with iterators. r=michal.
Note that FreeCacheEntries was unused, and so could be removed as well.

--HG--
extra : rebase_source : 9b34399dc79479b47935b89c21c0525d010127c1
2015-06-17 22:31:08 -07:00
Nicholas Nethercote 4ce0a4d3ed Bug 1175771 (part 2) - Remove PL_DHashTableEnumerate() use from nsHostResolver. r=michal.
--HG--
extra : rebase_source : 28d252c83005b74c7106412a114fe7443f244ea4
2015-06-10 18:28:03 -07:00
Nicholas Nethercote 601e5edf97 Bug 1175771 (part 1) - Fix indentation in nsHostResolver::FlushCache(). r=michal.
--HG--
extra : rebase_source : e158de557cdf93c132627268c8dd2342d4c3de5f
2015-06-10 17:09:32 -07:00
Patrick McManus 57aa78c815 bug 1174152 - update test to be nsIObserver based r=hurley 2015-06-24 13:50:37 -04:00
Patrick McManus cc04db5e46 bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen 2015-06-19 17:11:42 -04:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Ehsan Akhgari 60626aff92 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 3ce10dc57a Bug 1171724 - Large OOMs in CacheFileMetadata, r=honzab 2015-06-24 06:33:37 +02:00
Valentin Gosu d5df90e127 Bug 1142083 - Add test for IDN Unicode domain redirect. r=mcmanus 2015-06-20 00:03:57 +03:00
Michal Novotny c6803255b7 Bug 1170645 - Intermittent crash in mozilla::net::nsWSAdmissionManager::RemoveFromQueue(mozilla::net::WebSocketChannel*), r=mcmanus 2015-06-21 14:37:36 +02:00
Ryan VanderMeulen bbdd38fdde Merge inbound to m-c. a=merge
CLOSED TREE
2015-06-19 16:33:59 -04:00
Patrick McManus 8cfe4dc411 Bug 1175545 - Dont process alt-svc on 421 r=hurley 2015-06-19 08:32:05 -04:00
Mike Taylor d22a598539 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 76297166d8 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 2288418a7a Bug 1142083 - IDN Unicode domain redirect is broken r=mcmanus 2015-06-18 16:05:21 +03:00
Carsten "Tomcat" Book dc3312548b Backed out changeset b2c472fe14ca (bug 1175480) for crashes in serviceworkers/test_request_context.htm 2015-06-18 09:54:44 +02:00
Boris Zbarsky 53a0fc0478 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 cee6f01c68 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 40bbd6a80c Bug 1173860: Null check on sGlobalEntryTables. r=mcmanus 2015-06-17 11:23:43 -04:00
Carsten "Tomcat" Book 325cd7219a Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
--HG--
extra : rebase_source : aabdc3669df5b252c4373b9fb6049565e6560a0c
2015-06-17 16:58:57 +02:00
Patrick McManus 78c4fb4975 bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen 2015-05-06 10:09:27 -04:00
Andrea Marchesini 45578e03fa Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz 2015-06-17 12:21:39 +01:00
Michal Novotny 671167c884 Bug 1173378 - crash in mozilla::net::HttpBaseChannel::OverrideSecurityInfo(nsISupports*), r=ehsan 2015-06-17 13:16:33 +02:00
Fernando Jimenez 9d27d75942 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 a1b715b5df 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

--HG--
extra : rebase_source : fa5cac2fc50b1ab7624030bced4763131280f4d8
2015-06-11 21:19:53 -07:00
Valentin Gosu d8933c48f3 Bug 1171127 - Listeners are not released in OnStopRequest in e10s mode. r=jduell 2015-06-15 02:39:29 +03:00
Ryan VanderMeulen 350215c93f Backed out changeset 068df0223a6c (bug 1125961) for e10s crashes.
CLOSED TREE
2015-06-15 15:27:53 -04:00
Josh Matthews e3e3f30ca2 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 0544e6bf2c Bug 1164714 - Move netwerk/test/TestSTSParser.cpp into security/manager/ssl/tests/. r=keeler
--HG--
rename : netwerk/test/TestSTSParser.cpp => security/manager/ssl/tests/compiled/TestSTSParser.cpp
2015-06-14 21:37:12 -07:00
Michal Novotny 075c39f3b9 Bug 1151812 - Add telemetry to find optimal cache entry hash size, r=honzab 2015-06-14 14:13:18 +02:00