Commit Graph

547855 Commits

Author SHA1 Message Date
Kyle Machulis
a8efea862f Bug 1472087 - deCOMtaminate nsIDocShellLoadInfo; r=nika
Change all references from nsIDocShellLoadInfo to nsDocShellLoadInfo

MozReview-Commit-ID: AyKlZUtSEDD
2018-07-11 20:19:14 -07:00
sotaro
bf6acdb5a5 Bug 1474806 - Use more std::unordered_map in layers r=nical 2018-07-12 12:12:50 +09:00
Tooru Fujisawa
12d2245c95 Bug 1460489 - followup: Remove inline from BackgroundSweepTask::{isRunning,isRunningWithLockHeld} definitions which is called from other files. r=bustage CLOSED TREE 2018-07-12 11:46:20 +09:00
Kris Maglione
4a4bc46130 Bug 1463587: Follow-up: Fix Windows assertion. r=bustage CLOSED TREE 2018-07-11 19:39:57 -07:00
Kris Maglione
258fc1c238 Bug 1463587: Follow-up: Disable OOP test on Android. r=me,test-only DONTBUILD 2018-07-11 18:57:29 -07:00
Tooru Fujisawa
c13cad25d1 Bug 1460489 - Part 5: Move TryEmitter and ForOfLoopControl to TryEmitter.{cpp.h} and ForOfLoopControl.{cpp.h} . r=jwalden 2018-07-12 10:24:14 +09:00
Tooru Fujisawa
86091afb67 Bug 1460489 - Part 4: Move IfEmitter to IfEmitter.{cpp.h}. r=jwalden 2018-07-12 10:24:14 +09:00
Tooru Fujisawa
0fd1127f78 Bug 1460489 - Part 3: Move NestableControl classes except ForOfLoopControl to BytecodeControlStructures.{cpp.h}. r=jwalden 2018-07-12 10:24:13 +09:00
Tooru Fujisawa
a96287c213 Bug 1460489 - Part 2: Move EmitterScope to EmitterScope.{cpp.h}. r=jwalden 2018-07-12 10:24:13 +09:00
Tooru Fujisawa
0c74ebb78a Bug 1460489 - Part 1: Move TDZCheckCache to TDZCheckCache.{cpp.h}. r=jwalden 2018-07-12 10:24:13 +09:00
Tooru Fujisawa
78d9c10d1a Bug 1460489 - Part 0: Include necessary headers in Nestable.h. r=jwalden 2018-07-12 10:24:13 +09:00
Kris Maglione
b337da884a Bug 1463587: Follow-up: Fix compiler warning on Android debug. r=bustage 2018-07-11 18:24:28 -07:00
Kris Maglione
a39f75a80e Bug 1470783: Migrate extensions framework to use sharedData for cross-process data. r=zombie
initialProcessData has the unfortunate side-effect of sending an entire copy
of all of its data to all content processes, and eagerly decoding it. For the
extension framework, this means that we wind up loading an entire copy of all
of our schema data, and of every extension's manifest and locale data, into
every process, even if we'll never need it.

The sharedData helper allows us to store an encoded copy of that data in a
shared memory region, and clone it into the current process only when we need
it, which can be a significant savings. For screenshots alone, it saves about
15K on locale and manifest data per content process, plus the size we save on
not copying schema data.

MozReview-Commit-ID: KkIOoLsBd99
2018-06-24 16:34:44 -07:00
Kris Maglione
9eaf4ea4da Bug 1463587: Part 6 - Add an idle flush task to WritableSharedMap. r=erahm
MozReview-Commit-ID: 8Ht7zHo4PD6
2018-06-27 16:44:22 -07:00
Kris Maglione
f25b4e931b Bug 1463587: Part 5 - Add tests for SharedMap. r=erahm
MozReview-Commit-ID: 2ou8N30Omie
2018-06-27 16:43:36 -07:00
Kris Maglione
bd754ff3f1 Bug 1463587: Part 4 - Add blob support to SharedMap. r=erahm,baku
I was hoping to avoid supporting blobs here, but some parts of the
WebExtensions framework rely on being able to store Blobs in
initialProcessData, and can't be migrated without adding blob support.

This patch adds an ordered array of BlobImpls for all extant keys, clones them
to all child processes when updating the serialized maps, and initializes
StructuredCloneData instances with indexes into the combined array.

MozReview-Commit-ID: IdSv5FHbPbE
2018-06-27 16:35:53 -07:00
Kris Maglione
6dd000b378 Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.

Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.

It currently has the following limitations:

- It only supports basic structured clone data. There's no support for blobs,
  input streams, message ports... Blob support will be added in a follow-up
  patch.

- Changes are currently only broadcast to child endpoints when flush() is
  explicitly called in the parent, or when new child processes are launched.
  In a follow-up, this will be changed to automatically flush after changes
  when the event loop is idle.

- All set operations clone their inputs synchronously, which means that
  there's no trivial way for callers to batch multiple changes to a single key
  without some additional effort. It might be useful to add a
  delayed-serialization option to the .set() call in a follow-up, for callers
  who are sure they know what they're doing.

MozReview-Commit-ID: IM8a3UgejXU
2018-06-29 14:55:27 -07:00
Kris Maglione
4cbf261125 Bug 1463587: Part 2 - Add a shared-memory structured clone key-value store. r=erahm,bz
This class allows one read-write copy of a map in the parent process to share
data with multiple read-only copies in child processes. The maps only hold
onto data as structured clone blobs, and deserialize them each time a key is
read.

This commit only provides the bare-bones data structures. Follow-ups will add
bindings, change events, and automatic flushes.

MozReview-Commit-ID: LimwfmFBNOi
2018-06-22 20:35:49 -07:00
Mihai Tabara
529b549e13 Bug 1462064 - prevent release-bouncer-check test against sha1 installers. r=rail a=release 2018-07-11 20:50:21 -04:00
Aaron Klotz
c11833f5c0 Bug 1473175: Add support for catalog files to DLL signature verifications; r=mhowell 2018-07-10 14:09:44 -06:00
Ciure Andrei
f2922876bd Backed out 1 changesets (bug 1473175) for windows 2012 build bustages CLOSED TREE
Backed out changeset 92c393ca18d6 (bug 1473175)
2018-07-12 02:22:54 +03:00
Ciure Andrei
112a019bbc Backed out 1 changesets (bug 1474636) for test_crash_with_memory_report.js failure CLOSED TREE
Backed out changeset 86ba30c70a27 (bug 1474636)
2018-07-12 02:21:33 +03:00
Kearwood Gilbert
da13d16deb Bug 1470527 - Implement Controller support for gfxVRExternal and VRServiceOpenVR,r=daoshengmu
MozReview-Commit-ID: I1xHfmAPMxT
2018-07-11 12:20:51 -07:00
Aaron Klotz
b543dcd8ee Bug 1473175: Add support for catalog files to DLL signature verifications; r=mhowell 2018-07-10 14:09:44 -06:00
Eric Rahm
5de2562b3a Bug 1474636 - Report memory used by nsMemoryReporterManager. r=njn
This adds reporting of nsMemoryReporterManager's internals. Currently we just
report the weak and strong ref hashtables which have shown up in DMD reports.

The new entry is '/explicit/memory-reporter-manager'.
2018-07-10 15:38:52 -07:00
Gurzau Raul
9cfd23439e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-12 01:09:58 +03:00
Gurzau Raul
8a06c38829 Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
Boris Zbarsky
1a2f9f4ba5 Bug 1474045. Make nsIScriptGlobalObject::HandleScriptError non-virtual. r=qdot 2018-07-11 14:17:01 -07:00
Ciure Andrei
1dc6d4cf0c Backed out 1 changesets (bug 1470527) for build bustages on OpenVRSession.cpp CLOSED TREE
Backed out changeset 66c97a5d22ef (bug 1470527)
2018-07-11 23:23:42 +03:00
Kearwood Gilbert
3389e42969 Bug 1470527 - Implement Controller support for gfxVRExternal and VRServiceOpenVR 2018-07-11 12:20:51 -07:00
Mark Banner
88c65fc790 Bug 1474638 - Remove nsIDownloadHistory::removeAllDownloads. r=mak
Depends on D2056

Differential Revision: https://phabricator.services.mozilla.com/D2057
2018-07-11 18:10:22 +00:00
Ciure Andrei
36d33d385a Backed out 1 changesets (bug 1473637) for frequent wpt failures inputevent-constructor.htm/window-named-properties-002.html CLOSED TREE
Backed out changeset 5342b206e024 (bug 1473637)
2018-07-11 21:08:24 +03:00
Mark Banner
6a204ea1c1 Bug 1474638 - Change users of nsIDownloadHistory::removeAllDownloads() to PlacesUtils.history.removeVisitsByFilter. r=mak
Also change PlacesUtils.history.removeVisitsByFilter to be able to remove by transition type.

MozReview-Commit-ID: Bkiv0ScUi07

Differential Revision: https://phabricator.services.mozilla.com/D2056
2018-07-11 16:04:25 +00:00
Kearwood Gilbert
2a43905672 Bug 1470348 - Enable gfxVRExternal for Android; r=kip
MozReview-Commit-ID: 4XMdLLoedIh
2018-07-10 17:41:58 -07:00
Igor Oliveira
816eee3d9a Bug 1474306 - Fix typo in the extension optionsType handler. r=Mossop
AddonManager.OPTIONS_INLINE_BROWSER was replaced by
AddonManager.OPTIONS_TYPE_INLINE_BROWSER.
2018-07-09 07:24:00 +03:00
shindli
67f0e4e5c8 Backed out 2 changesets (bug 1474569, bug 1474581) for wpt failures in test harness output on a CLOSED TREE
Backed out changeset b39da1b094e9 (bug 1474581)
Backed out changeset d8c824521e7b (bug 1474569)
2018-07-11 19:26:06 +03:00
Ms2ger
c226a0d439 Bug 1474581 - Add support for external scripts in wpt .any.js tests in jstests harness; r=jgraham 2018-07-11 17:52:37 +02:00
Ms2ger
eb9cc1c856 Bug 1474569 - Improve output for failing wpt tests in jstests harness; r=bbouvier 2018-07-11 17:52:36 +02:00
Andrew Osmond
4e46c59f70 Bug 1470447 - JPEG decoder should post an invalidation for each row. r=tnikkel
The JPEG decoder will currently only post an invalidation when it has
processed all of the rows it is able to. If it is has all the data, that
means it must fully decode before invalidating. This causes very large
JPEGs to appear in large chunks which feels janky compared to slowly
appearing row by row with the refresh tick. With WebRender, it also
allows us to upload less data per frame update which can be another
source of jank.
2018-07-11 11:44:17 -04:00
moz-wptsync-bot
cd9a234199 Bug 1464910 [wpt PR 11204] - Update wpt metadata, a=testonly
wpt-pr: 11204
wpt-type: metadata
MozReview-Commit-ID: DsjPjJ18Bik
2018-07-11 15:42:36 +01:00
Simon Pieters
9b803aec92 Bug 1464910 [wpt PR 11204] - Split up WebCryptoAPI/derive_bits_keys/ with variant, a=testonly
Automatic update from web-platform-testsSplit up WebCryptoAPI/derive_bits_keys/ with `variant`

Also use .any.js.

Fixes #11203.
--

wpt-commits: 864cba25d0ac3d2f49e851623370f565ca293cbe
wpt-pr: 11204
2018-07-11 15:42:34 +01:00
Dragana Damjanovic
2395cca133 Bug 1467102 - Fix the ftp diversion. r=bagder 2018-07-11 10:01:43 -04:00
Dão Gottwald
74fd03a3b7 Backed out changeset 953772c799a6 (bug 1470870) for causing bug 1474631 2018-07-11 15:46:39 +02:00
Emilio Cobos Álvarez
bd61812571 Bug 1473637: Unbind ShadowRoot during unlinking. r=smaug
MozReview-Commit-ID: 7cWtZ5epRqK
2018-07-11 15:42:52 +02:00
Jan de Mooij
960f0a989a Bug 1474835 - Use implicit_jscontext for nsIWebNavigation.setOriginAttributesBeforeLoading. r=smaug 2018-07-11 15:23:54 +02:00
Dan Minor
970ebca57e Bug 1371485 - Moving gyp requires a clobber; r=chmanchester
Summary:
It looks like we need a clobber in order for the build system to properly find
gyp at its new location.

Reviewers: chmanchester

Tags: #secure-revision

Bug #: 1371485

Differential Revision: https://phabricator.services.mozilla.com/D2035
2018-07-09 14:48:41 -04:00
Lina Cambridge
be6d367af7 Bug 1463938 - Recalculate frecency in chunks on idle. r=mak
MozReview-Commit-ID: 7Mp0hT3Ziw5
2018-07-04 18:29:25 -07:00
Lina Cambridge
f43651983a Bug 1463938 - Recalculate frecency in chunks for synced bookmarks. r=mak
MozReview-Commit-ID: HrpzBnQisDK
2018-07-04 18:28:46 -07:00
Tim Nguyen
7dc4012ef9 Bug 1413144 - Make accentcolor and textcolor optional. r=jaws
MozReview-Commit-ID: 3jERl4H9vcv
2018-07-10 13:27:55 +01:00
Belén Albeza
bfbe1756ea Bug 1467256 - Temporarily disable the test. r=nchevobbe
MozReview-Commit-ID: sWZLg7PCvt
2018-07-11 15:14:42 +02:00