Commit Graph

545816 Commits

Author SHA1 Message Date
Yoshi Huang
71b8c7686e Bug 1377492 - fix mochitest-1 failure in docshell when data: URI is a unique origin. r=smaug
When we turn on the pref security.data_uri.unique_opaque_origin to make
data URI is unique origin, the following tests will fail because now
data document is treated as cross origin, so we replace data URIs with
seperate files, hence it will still in the same origin.
2017-07-12 10:35:54 +08:00
Bryce Van Dyk
1b35f7626e Bug 1378826 - Remove direct track listeners for video tracks if MediaRecorder is notified of their removal. r=jesup
--HG--
extra : rebase_source : cdd2f7070fab1ad1491d272819e0be524d9583fd
2017-07-11 09:14:28 +12:00
Kris Maglione
b9733549b8 Bug 1364768: Part 6 - Use startup cache for initial extension permission data. r=aswan
Reading the extension permissions DB at startup takes several hundred
milliseconds, largely from the overhead of initializing OS.File. We can avoid
that somewhat by using the stream APIs to read the files, and beginning the
read very early. But the eager initialization gets complicated, and we still
add extra IO to startup.

After this change, the permissions JSON file still remains the primary source
of truth, but the state as of the last session is cached in the volatile
extension startup cache to decrease the overhead of reading it at startup.

MozReview-Commit-ID: HGDt5kSsdzX

--HG--
extra : rebase_source : 511b9a03619f70c3e601a5e1b5985bf3d5efa21f
2017-05-14 16:12:33 -07:00
Kris Maglione
6554146755 Bug 1364768: Part 5 - Store the list of available locales in the startup cache. r=aswan
For unpacked extensions, loading the locales list adds an appreciable delay to
startup time. For packed extension, the overhead is much lower, but still best
avoided.

MozReview-Commit-ID: 6kicOU78fpZ

--HG--
extra : rebase_source : fe88cdd42071c5b7a883b2cad97679381aa5c074
2017-05-14 16:56:59 -07:00
Kris Maglione
9319fd72c9 Bug 1364768: Part 4 - Switch to a compressed, binary flat file for startup cache. r=aswan
IndexedDB helped where we needed to decrease main thread CPU, but it also took
so long to inialize during startup (over 500ms on a fast machine) that it
delayed extension startup more than was acceptable.

Using a structured clone flat file solves the same issues that IndexedDB did,
but with much less startup overhead.

MozReview-Commit-ID: 1Of7uxKCfkg

--HG--
extra : rebase_source : f2f7f9f852d40d547d43da4804a6bb7be00fdded
2017-07-10 22:51:28 -07:00
Kris Maglione
2f6aeba16c Bug 1364768: Part 3 - Add helpers to serialize and deserialize compressed structured clone blobs. r=rhelmer
MozReview-Commit-ID: JSl97FjWbK

--HG--
extra : rebase_source : fcb897c751b8f6f191f2d5367ac1f28438cc18f2
2017-05-14 15:56:50 -07:00
Kris Maglione
ff0f8560f8 Bug 1364768: Part 2 - Add AsyncShutdown finalizer support to DeferredSave. r=rhelmer
MozReview-Commit-ID: LAvOErU1YB8

--HG--
extra : rebase_source : a64786b0a44ba70f500c7e3686c89023d643eb76
2017-05-14 15:55:42 -07:00
Kris Maglione
ad0c31080f Bug 1364768: Part 1 - Add NetUtil.readInputStream helper. r=aswan
MozReview-Commit-ID: IZRvdcIiV4z

--HG--
extra : rebase_source : e209f70d27f32ed0a073b7dc6c07bdcd1cfffdb7
2017-05-14 15:54:12 -07:00
Geoff Brown
912ce64a14 Bug 1360446 - Broaden skip of test_click.py TestLegacyClick.test_click for continued intermittent failures; r=whimboo 2017-07-11 16:37:59 -06:00
Philip Chimento
3faca05ad5 Bug 1379538 - Unresolved symbols when linking program to standalone SpiderMonkey. r=fitzgen
Some symbols that need to be public are not marked as such.
2017-07-11 10:59:00 -04:00
Philip Chimento
260bdd7088 Bug 1334338 - Mark character encoding functions as public API. r=fitzgen 2017-07-10 22:56:04 -07:00
Boris Zbarsky
1b5d0a8ea1 Bug 1370550. Move the onwheel attribute to GlobalEventHandlers, to follow the spec. r=smaug 2017-07-11 17:49:25 -04:00
Boris Zbarsky
28db637afa Bug 1379728 part 2. Add assertions to ensure we don't multiple-define events in our event name list. r=smaug 2017-07-11 17:49:25 -04:00
Boris Zbarsky
49dbf6fa43 Bug 1379728 part 1. Remove the double-definition of the 'close' event from EventNameList.h. r=smaug 2017-07-11 17:49:24 -04:00
Florian Quèze
3d56aac575 Bug 1379788 - Stop loading RecentWindow.jsm during startup, r=Gijs. 2017-07-11 23:30:23 +02:00
Florian Quèze
b9b1a8454e Bug 1104325 - [Windows HiDPI] expand the awesomebar panel workaround to also apply to the searchbar so that one-off buttons are laid out correctly even when there are rounding issues, r=adw. 2017-07-11 23:29:58 +02:00
Eric Rahm
3862a0db5c Bug 1376038 - Part 3: Combine ghost window reporter with window reporter. r=njn
This combines the GhostWindowsReporter with the nsWindowMemoryReporter. It has
the benefit of removing a reporter of a single value and also guarantees that
we use the latests ghost windows value that is calculated in
|nsWindowMemoryReporter::CollectReports| rather than a possibly cached value
from a previous run.
2017-07-11 13:58:23 -07:00
Eric Rahm
eff9ba861a Bug 1376038 - Part 2: Cache base domains during ghost window calculation. r=mccr8
Avoid hitting the rather slow effective TLD service by caching results when
mapping URLs to their base domains. In testing the cache ranged from a 1:1 to
a 3:1 hit:miss ratio.
2017-07-11 13:58:21 -07:00
Eric Rahm
0dc3c70d24 Bug 1376038 - Part 1: Use a cached ghost window value for the distinguished amount. r=mccr8
We already periodically calculate the ghost window amount after cycle
collection, this just uses a cached value of that for the distinguished amount.
This avoids the overhead of a recalculating the value when reporting telemetry.
2017-07-11 13:58:20 -07:00
Brendan Dahl
1fad6e6fe4 Bug 1368211 - Don't create gnome shell service in headlesss mode. r=jrmuizel 2017-07-11 13:35:30 -07:00
Timothy Nikkel
96e0c1cbc6 Bug 1379887. Don't clobber the value of mWillBuildScrollableLayer when we are building a display list for event handling. r=mstange
ScrollFrameHelper::DecideScrollableLayer doesn't get the actual value of usingDisplayPort/wasUsingDisplayPort if we are not painting to the window. It then sets mWillBuildScrollableLayer to usingDisplayPort. mWillBuildScrollableLayer is the value that determines if we are active and hence an ASR, we don't want to change that between paint display lists for an event handling display list.

We then want to condition uses of mWillBuildScrollableLayer and the return value of DecideScrollableLayer on if we want painting to the window so we get the same behaviour as before when not painting to the window.
2017-07-11 15:30:04 -05:00
Marco Castelluccio
9c81bb27c1 Bug 1379955 - Use longest prefix match when rewriting lcov entries. r=chmanchester
--HG--
extra : rebase_source : 614fb7c1edd4b5e3a86e8e3edad53ed315f6f9df
2017-07-11 16:22:43 +02:00
Mason Chang
9bde55e1f0 Bug 1379322 Don't clear rect when init DrawTargetCapture with OMTP. r=jrmuizel 2017-07-07 18:08:12 -07:00
Sebastian Hengst
702df96bfc Backed out changeset b297e31320fd (bug 1374888) for mass-asserting, e.g. in dom/base/test/test_setInterval_from_start.html. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 55b47f131608cac63c8bb0530a20b8b21f549471
2017-07-11 21:10:43 +02:00
Tom Schuster
ebe8d92b75 Bug 1341261 - Use CompareIR for string equality. r=jandem 2017-07-08 19:59:44 +02:00
Tom Schuster
6a9b9472e7 Bug 1341261 - CompareIR spewing. r=jandem 2017-07-08 19:29:50 +02:00
Tom Schuster
f1365ea693 Bug 1341261 - Basic framework for CompareIR code. r=jandem 2017-07-08 19:29:50 +02:00
Michael Layzell
5347ef82fe Bug 1374888 - Maintain a live shared libraries list in gecko on macOS, r=mstange
MozReview-Commit-ID: 5QvrWujquIq
2017-07-11 13:49:23 -04:00
Jan de Mooij
5c5ead5942 Bug 1379461 - Refactor code to return RegExpShared* directly instead of using bool + outparam. r=evilpie,sfink 2017-07-11 11:31:12 +02:00
Jonathan Watt
49779da3e9 Bug 1379269 - Make the '-moz-windows-accent-color-applies' media query live to Windows 10 settings changes. r=dholbert
MozReview-Commit-ID: 9tE9Zvr9Dsb
2017-07-11 18:38:45 +02:00
Jon Coppeard
3b4db1432d Bug 1377466 - Rename PokeGC and add a reason code for GCs triggered by this r=sfink 2017-07-11 17:17:17 +01:00
Jon Coppeard
3460a3c5dd Bug 1378717 - Store JS holders in a vector for faster iteration r=smaug 2017-07-11 16:52:01 +01:00
Jon Coppeard
73aaca8f5b Bug 1378717 - Allow inlining of TraceEdge API's null check r=sfink 2017-07-11 16:51:37 +01:00
Jon Coppeard
b8dfe1df8d Bug 1378717 - Speed up gray root buffering tracer by removing a virtual dispatch and some release asserts r=sfink 2017-07-11 16:51:26 +01:00
Gabor Krizsanits
cb84415a1f Bug 1373660 - Block the preallocated process manager while a content process is being launched. r=mrbkap
We should not let the ppm to do work before the first paint in a new cp. This patch
makes sure that we only let the ppm spawn a new process after the last process reached
an idle state AND the main process becomes idle too.
2017-07-11 17:30:08 +02:00
Mason Chang
7e5e3ec643 Bug 1379029 AddUserData to hold onto the calloc blur memory. r=lsalzman 2017-07-11 08:05:53 -07:00
Carsten "Tomcat" Book
ae3f78f2c2 Backed out changeset 32a13d3e2902 (bug 1379980) for bustage 2017-07-11 16:57:46 +02:00
Jan de Mooij
0b7c63388c Bug 1379980 - Clean up RegExp code a bit. r=jonco 2017-07-11 16:46:36 +02:00
Ryan VanderMeulen
c66b4eb620 Bug 1379929 - Fix OSX TC test platform naming. r=catlee 2017-07-11 10:10:51 -04:00
Jessica Jong
5b8ce74fb3 Bug 1379108 - Factor GetValidationMessage() out of HTMLInputElement. r=smaug
MozReview-Commit-ID: IFQXQTxoD9T

--HG--
extra : amend_source : 4f2a7ee7b0b6e96612add014cee6e95e6b72b44c
2017-07-10 19:10:00 -04:00
Josh Aas
9d7fb5a517 Bug 1372599 - Only turn off CGEvent logging on buggy versions of OSX to avoid delays in first paint. r=mstange
--HG--
extra : amend_source : 6ac7d91aac2458e50a3de8a59e2e6ce0f1fd4509
2017-07-06 23:31:00 -04:00
Bruce Sun
a260cb8422 Bug 1378608 - Use UNIFIED_SOURCES to make PDFium compilation faster. r=glandium
MozReview-Commit-ID: IpNY6EVZtxV
2017-07-11 15:01:30 +08:00
Christoph Kerschbaumer
78cbe03eb9 Bug 1379915 - Convert browser_windowactivation.js to comply with new data: URI inheritance model. r=smaug 2017-07-11 10:31:07 +02:00
Michal Novotny
4d93478959 Bug 1371890 - Normalize time returned by ParseFTPList. r=mcmanus 2017-07-11 09:45:15 -04:00
Rob Wood
5cbc0e94a8 Bug 1378139 - Fix talos perf-reftest-singletons manifest; r=igoldan 2017-07-11 09:23:22 -04:00
Dan Minor
d2e8774b67 Bug 1378412 - Fix build error on Linux 32 bit due to a warning in task_queue_libevent.cc with clang 4.0; r=jesup
MozReview-Commit-ID: 5GW5CJMV7V5

--HG--
extra : rebase_source : df946b6a343a9b2b57224a62ad01c43a21337a33
2017-07-06 09:48:28 -04:00
Valentin Gosu
cde7f99f55 Bug 1378714 - [RCWN] Make sure we ReadFromCache even when OnCacheEntryAvailable is called before AsyncOpenURI is called. r=michal
MozReview-Commit-ID: KHUmZp8RuT8
2017-07-11 14:18:58 +02:00
Carsten "Tomcat" Book
038afacb9f Backed out changeset 2ae22a66e02d (bug 1366694) for memory leaks 2017-07-11 13:14:55 +02:00
Carsten "Tomcat" Book
05734fd002 Backed out changeset 88b71119fbf8 (bug 1366694) 2017-07-11 13:14:38 +02:00
Carsten "Tomcat" Book
45bb84b0da Backed out changeset 37f7f74bee08 (bug 1366694) 2017-07-11 13:14:36 +02:00