Commit Graph

557685 Commits

Author SHA1 Message Date
Bill McCloskey
47a8d9cfd8 Bug 1398420 - Don't use SystemGroup for CookieServiceChild (r=jdm)
I noticed a bug where the following can happen. The parent sends a
TrackCookiesLoad message followed by an HTTP OnStartRequest
message. When these messages are received in the child, the
TrackCookiesLoad message goes in the SystemGroup event queue and the
OnStartRequest message goes in the event queue for the relevant
tab. Unfortunately, this means that the OnStartRequest message could
run first since the queues have no guaranteed ordering.

We really should be putting the TrackCookiesLoad message in the same
queue that the OnStartRequest message goes in. I worked on that a
little bit, but it's hard to get right. For now, I would like to leave
the cookie message unlabeled. Any unlabeled message/event is totally
ordered with respect to all other messages/events, so this fixes the
bug.

MozReview-Commit-ID: KiLDAhlrbB8
2017-09-11 19:11:05 -07:00
Bill McCloskey
0f4e7d4fe6 Bug 1398423 - Fix LabeledEventQueue bug with unlabeled events (r=froydnj)
MozReview-Commit-ID: 7ru62QTkya2
2017-09-11 19:11:03 -07:00
Bill McCloskey
b9683a5b18 Bug 1398423 - Make linked list of SchedulerGroups static (r=froydnj)
MozReview-Commit-ID: GgfdRlhPiHP
2017-09-11 19:11:01 -07:00
Bill McCloskey
fe8e58f308 Bug 1397941 - Fix DecodedStream labeling bug (r=jwwang)
MozReview-Commit-ID: KL5XzLJuWgz
2017-09-11 19:10:59 -07:00
Bill McCloskey
9c4cbe52d1 Bug 1398417 - Fix PrioritizedEventQueue bugs with input event prioritization (r=stone)
MozReview-Commit-ID: 4wk8EUv0h7C
2017-09-11 19:10:57 -07:00
Bryce Van Dyk
347e311683 Bug 1378826 - Add test for removal of video tracks during recording. r=jesup
MozReview-Commit-ID: 7IGx27Z2jsN

--HG--
extra : rebase_source : a1f86dc1d73fe125ac72fc05de4af8c192704ad4
2017-08-22 15:28:00 +12:00
Kris Maglione
c73271c1d1 Bug 1391707: Follow-up: Skip idle dispatch during tests in TelemetrySession.jsm for increasing the failure rate of an intermittent. r=me
MozReview-Commit-ID: CT6qLG0edG9
2017-09-11 18:48:53 -07:00
Kris Maglione
a610196df3 Bug 1391707: Follow-up: Skip idle dispatch in passwordManager.js for increasing the failure rate of an intermittent. r=me
--HG--
extra : rebase_source : 521d1872b9216522ebd657a8c2b972932d390a04
extra : amend_source : 665eba699bee8fe8e7c4154458ab51bb429d8e9f
2017-09-11 18:43:35 -07:00
Ryan VanderMeulen
4c4cd9fcc4 Bug 1386410 - Re-enable browser_toolbox_custom_host.js now that the new console frontend is riding the trains. r=bgrins 2017-09-11 20:25:16 -04:00
Ryan VanderMeulen
8390e1aed9 Bug 1398890 - Use 8 chunks for Windows reftest-gpu. r=jmaher
--HG--
extra : rebase_source : d9356b87017af0c83e3e6db811a33ffb065966ab
2017-09-11 19:39:48 -04:00
Kris Maglione
3c4f332231 Bug 1391707: Follow-up: Update DeferredTask tests not to use generator functions. r=me
MozReview-Commit-ID: 8ertwxW0rRv
2017-09-11 17:05:11 -07:00
Kris Maglione
30c5c2457e Bug 1398630: Follow-up: Fix another typo. r=me
MozReview-Commit-ID: HmaqWzfLVGa
2017-09-11 17:03:20 -07:00
Kris Maglione
372f1ef672 Bug 1398630: Follow-up: Fix typo. r=me
MozReview-Commit-ID: 7Wv2WPWRC4L

--HG--
extra : rebase_source : 98b4513c40d0e27041a316572859671375b33c97
2017-09-11 16:09:58 -07:00
Alexander Surkov
71e3947ad6 Bug 1379808 - Intermittent browser_test_zoom_text.js failure, wrong height and y, r=eeejay 2017-09-11 19:05:38 -04:00
Eric Rahm
80d3d41e39 Bug 1396958 - Make eTLD cache thread-safe. r=valentin
Restrict the MRU cache for eTLD lookups to main thread only. This allows off
main thread lookups, but they will just take a slower path.

--HG--
extra : rebase_source : bb0676fc1be9dc6e02762a978b43765d79dcdfff
2017-09-05 12:26:51 -07:00
Andrew Osmond
6d8e605a80 Bug 1389021 - Explicitly shutdown the CompositorManagerChild during ContentChild::ActorDestroy. r=me
It has been observed on nightly and beta that the compositer thread
fails to shutdown gracefully due to lingering references. From what
can be determined, it appears as if the content process references
are what are keeping it alive. The shutdown of CompositorBridgeChild
was altered because a top level protocol was added above it in a
previous change in bug 1365927. This protocol tree is ultimately
what is keeping the thread alive. As such, this patch adds an
explicit shutdown of the protocol, to ensure it gets released in a
timely manner.

This change will be backed out if it appears to have no effect on
the crash rate in nightly 57.
2017-09-11 18:32:44 -04:00
Kris Maglione
a4c190dad7 Bug 1398642: Several minor WebRequest optimizations. r=mixedpuppy
MozReview-Commit-ID: 4vsDScMkyzA

--HG--
extra : rebase_source : 96e778aea729300c4629bff7da83c960b8e011ff
2017-09-10 18:37:52 -07:00
Kris Maglione
988d03b779 Bug 1398630: Part 7 - Random cleanup. r=zombie
MozReview-Commit-ID: LibtXDKXrnA

--HG--
extra : rebase_source : 34035be1600f0e62e738a2d4df1ece10714f992f
2017-09-10 15:37:08 -07:00
Kris Maglione
4fe634d449 Bug 1398630: Part 6 - Avoid some avoidable uses of nsIURI. r=zombie
MozReview-Commit-ID: 18Wd3buFM38

--HG--
extra : rebase_source : 0b42a1b55d80560491c0c0e533d8c0e990bffa43
2017-09-10 15:36:57 -07:00
Kris Maglione
8921830f3b Bug 1398630: Part 5 - User iteration helpers for nsISimpleEnumerator. r=zombie
MozReview-Commit-ID: Iw25XozakK0

--HG--
extra : rebase_source : 4e88954bece9293acb168c79b096dafaed6ad7c9
2017-09-10 15:35:46 -07:00
Kris Maglione
ea86cfbbc8 Bug 1398630: Part 4 - Use getWinUtils everywhere we use DOMWindowUtils. r=zombie
MozReview-Commit-ID: FroMQF9Tiz1

--HG--
extra : rebase_source : 16bc023dc5ca08358097592b04d6da1a8282b5f1
2017-09-10 15:33:54 -07:00
Kris Maglione
daa3085d2b Bug 1398630: Part 3 - Use document.docShell rather than longer/slower XPC paths. r=zombie
MozReview-Commit-ID: 5oD0Uvv1pvx

--HG--
extra : rebase_source : 977b6df718df231082f1c7594f25d954cfa50a5f
2017-09-11 14:53:20 -07:00
Kris Maglione
6e12b1a4f1 Bug 1398630: Part 2 - Avoid unnecessary Map/Set lookups. r=zombie
We currently call has() every time we do a DefaultMap/DefaultWeakMap lookup,
which unfortunately shows up a lot in profiles. We only actually need to
check, though, if get() returns an undefined value.

Similar things in other places, where we only need to do a has() call if
another operation fails.

MozReview-Commit-ID: 9qFWsb4vlZj

--HG--
extra : rebase_source : 94c231fa007744f733faa9fdbde38a3875e10e7d
2017-09-10 15:39:49 -07:00
Kris Maglione
8f3bd8b318 Bug 1398630: Part 1 - Remove/cleanup some old ExtensionUtils helpers. r=zombie
MozReview-Commit-ID: FeLUjH7pkiB

--HG--
extra : rebase_source : 639c3ccece00aab6dd1c97eb21115e4beb82f378
2017-09-10 15:39:28 -07:00
Kris Maglione
ed1a6e6084 Bug 1391707: Part 2 - Use idle dispatch in DeferredSave. r=florian
MozReview-Commit-ID: Fffz9Qgom52

--HG--
extra : rebase_source : acf72f72463135a06a0b461876213f68292050a5
2017-09-01 14:58:34 -07:00
Kris Maglione
80178f8d4d Bug 1391707: Part 1 - Use idle dispatch in DeferredTask. r=florian
MozReview-Commit-ID: Ktlu71aIcRZ

--HG--
extra : rebase_source : f1bd118a1d869deddb5fe9107641f848cf4165e3
2017-09-01 16:39:14 -07:00
Kris Maglione
fee33acaec Bug 1391707: Part 0 - Remove Task.jsm support from DeferredTask. r=florian
MozReview-Commit-ID: LEbrPt0uae0

--HG--
extra : rebase_source : 4ba5d4a0eb988660639e5d2f9161ce380ad8d014
2017-09-10 13:14:12 -07:00
Kris Maglione
1b2f22b34a Bug 1396366: Make sure the URLPreloader cache is only written once. r=erahm
MozReview-Commit-ID: FA1BPQ5c6nP

--HG--
extra : rebase_source : 68137a0378cfb2138144c8f53b6b25352c21233d
2017-09-08 13:44:32 -07:00
Wes Kocher
744565d5e9 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: J2tAqTVxlQv
2017-09-11 15:20:43 -07:00
Sebastian Hengst
dbddac850d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IgyDMUVYYBm
2017-09-11 23:58:31 +02:00
Wes Kocher
e376f14721 Merge inbound to central, a=merge
MozReview-Commit-ID: GDeX9aPb7Fn
2017-09-11 14:41:45 -07:00
Michal Novotny
b72d4051c5 Bug 1398941 - test_race_cache_with_network.js test is failing after landing bug 1398847, r=KWierso, CLOSED TREE 2017-09-11 23:37:36 +02:00
Michal Novotny
1917b04633 Bug 1398941 - test_race_cache_with_network.js test is failing after landing bug 1398847, r=KWierso, CLOSED TREE 2017-09-11 23:31:58 +02:00
Olli Pettay
99010cec25 Bug 1398896 - Check the cycle collection budget more often, r=mccr8 2017-09-11 23:57:22 +03:00
Aaron Klotz
65fff0a945 Bug 1398922: Add AccessibleMarshal.dll registration to updater; r=mhowell
MozReview-Commit-ID: 1xmE4oi2q2u
2017-09-11 14:35:01 -06:00
Kannan Vijayan
b849368e30 Bug 1376717 - Do not crash on failed profiler table lookups for jitcode during report generation. r=mstange 2017-09-11 16:21:03 -04:00
Michal Novotny
c6167ee19b Bug 1398847 - Enabling RCWN causes tp6_facebook regression, r=valentin
For some reason, triggering network directly from MaybeRaceCacheWithNetwork() causes performance regression of tp6_facebook tests. This patch changes it so that an event is posted instead.
The patch also adds network.http.rcwn.min_wait_before_racing_ms preference which can be used by users to avoid immediate racing.
2017-09-11 22:16:13 +02:00
Wes Kocher
0616bb7827 Merge autoland to central, a=merge
MozReview-Commit-ID: 4bGs7E65Lmn
2017-09-11 13:06:56 -07:00
Aaron Klotz
5ff52c6547 Bug 1398907: Handler path should be written using length of null-terminated string in bytes, not size of the buffer; r=eeejay
MozReview-Commit-ID: 64Zv3obsQie

--HG--
extra : amend_source : bddaf442ed1af677aac6d03417fa2afc754b07eb
2017-09-11 13:47:38 -06:00
Andrea Marchesini
eed3c66463 Bug 1393044 - Remove a warning message in nsGlobalWindow::GetParentInternal(), r=erahm 2017-09-11 21:40:36 +02:00
Emilio Cobos Álvarez
f2b7e3f5a3 Bug 1398448: Always insert async when reconstructing ancestors to avoid pathological frame construction cases. r=bz
MozReview-Commit-ID: 5ARTWW9dt7X
2017-09-11 20:41:43 +02:00
Jonathan Kew
162dd2e4e1 Bug 1395061 - patch 4 - Refactor checks in the gfxPlatformFontList::GetFontList loop to use a single virtual method call instead of three separate calls. r=jrmuizel 2017-09-11 19:24:01 +01:00
Jonathan Kew
82bdaf03b2 Bug 1395061 - patch 3 - Clean up vestigial code that existed to support setting the gfxFontEntry::mSymbolFont flag. r=jrmuizel 2017-09-11 19:23:30 +01:00
Jonathan Kew
379ddad597 Bug 1395061 - patch 2 - Implement default gfxFontFamily::IsSymbolFontFamily, and provide override for GDI font backend. r=jrmuizel 2017-09-11 19:22:57 +01:00
Myk Melez
aa59a13010 Bug 1395061 - patch 1 - Refactor gfxFontEntry::SupportsLangGroup and MatchesGenericFamily into gfxFontFamily. r=jfkthame 2017-09-11 19:22:15 +01:00
Sebastian Hengst
9ccea669ac Backed out changesets ffdc2bc309b7 and 435bc55b9c14 (bug 1379808) for failing browser-chrome's accessible/tests/browser/bounds/browser_test_zoom_text.js on Windows. r=backout 2017-09-11 19:55:48 +02:00
ffxbld
51eae08453 No bug, Automated HPKP preload list update from host bld-linux64-spot-306 - a=hpkp-update 2017-09-11 10:29:02 -07:00
ffxbld
e79c3e437e No bug, Automated HSTS preload list update from host bld-linux64-spot-306 - a=hsts-update 2017-09-11 10:28:58 -07:00
Sebastian Hengst
22c06f3a4b Backed out changeset f09b2b387751 (bug 1374749) for frequently failing browser-chrome's browser/components/extensions/test/browser/test-oop-extensions/browser_ext_browserAction_popup_resize.js on macOS. r=backout 2017-09-11 18:45:35 +02:00
Sebastian Hengst
159bb0b56b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6kLhBocgiua
2017-09-11 11:18:49 +02:00