Commit Graph

607899 Commits

Author SHA1 Message Date
Kris Maglione
dfe5c95ca1 Bug 1479241: Don't eagerly load AboutPages.jsm in content processes. r=mythmon
MozReview-Commit-ID: 1ewRIxTVzJR

--HG--
rename : toolkit/components/normandy/content/shield-content-process.js => toolkit/components/normandy/shield-content-process.js
extra : source : f150e62dcbbdc14bec93db0705470a5d9e71737e
2018-07-31 14:13:03 -07:00
Kris Maglione
5ccef39c52 Bug 1479318: Minimize the amount of content Findbar code loaded by default. r=felipe
MozReview-Commit-ID: Gu4RyWKmaAz

--HG--
rename : toolkit/content/browser-content.js => toolkit/modules/FindBarChild.jsm
extra : source : 177e4adb94d1b63002577995deed230ba15624f8
extra : intermediate-source : 915862a355e959c92c9ea7fb1cd7adbcf03bfb98
2018-07-29 14:38:44 -07:00
Nihanth Subramanya
d60e939f6a Bug 1480610 - Implement Firefox Monitor add-on stub. r=johannh 2018-08-02 16:41:47 +02:00
Thi Huynh
6b47da6dac Bug 1461262 - Re-factor KeyedHistogram::GetJSKeys and internal_JSKeyedHistogram_Clear to avoid both races and deadlocks. r=dexter 2018-07-31 19:46:58 +07:00
Geoff Brown
aff5a6af05 Bug 1460411 - Add taskcluster config support for Android x86 7.0 tests on packet.net in docker-worker; r=jmaher 2018-08-07 10:05:38 -06:00
Geoff Brown
24afcca748 Bug 1469720 - Add a 'mach test-info' subcommand to find long-running tasks; r=jmaher 2018-08-07 10:05:37 -06:00
Geoff Brown
8b4653a7b7 Bug 1480546 - Enhance logging for Android automation app wait; r=bc 2018-08-07 10:05:37 -06:00
arthur.iakab
a3f6453363 Merge mozilla-central to inbound 2018-08-07 18:49:13 +03:00
arthur.iakab
f0c15db995 Merge inbound to mozilla-central a=merge 2018-08-07 18:42:40 +03:00
arthur.iakab
cf3d94e908 Merge autoland to mozilla-central a=merge 2018-08-07 18:41:31 +03:00
Sebastian Hengst
1d7e92c61a Bug 1479235: Stop whitelisting SpecialPowers helper modules for content process startup: Remove unused FileUtils import. a=eslint-fix 2018-08-07 18:32:35 +03:00
Cosmin Sabou
901f34bef4 Backed out 12 changesets (bug 1479309, bug 1479312, bug 1479313, bug 1479310, bug 1479235, bug 1479945, bug 1479241, bug 1479318) for causing a big performance regression on OS X. a=backout
Backed out changeset 915862a355e9 (bug 1479318)
Backed out changeset f150e62dcbbd (bug 1479241)
Backed out changeset a68daa762119 (bug 1479312)
Backed out changeset 2a5aa9de1fd9 (bug 1479945)
Backed out changeset 163276881d35 (bug 1479945)
Backed out changeset 20a1a11b4d0b (bug 1479945)
Backed out changeset ca43bd11f431 (bug 1479945)
Backed out changeset 71700b368132 (bug 1479945)
Backed out changeset f5d647fae973 (bug 1479313)
Backed out changeset 3583823171de (bug 1479310)
Backed out changeset 2d46e1fe3121 (bug 1479309)
Backed out changeset 8f9c9580f687 (bug 1479235)

--HG--
rename : browser/components/uitour/ContentUITour.jsm => browser/components/uitour/content-UITour.js
rename : dom/ipc/ManifestMessages.jsm => dom/ipc/manifestMessages.js
rename : toolkit/components/normandy/content/ShieldFrameListener.jsm => toolkit/components/normandy/content/shield-content-frame.js
rename : toolkit/components/normandy/shield-content-process.js => toolkit/components/normandy/content/shield-content-process.js
2018-08-07 17:30:52 +03:00
ffxbld
3c600b585e No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D2772

--HG--
extra : moz-landing-system : lando
2018-08-07 12:50:52 +00:00
Noemi Erli
52b71d3fbe Backed out changeset 2dcb573bd271 (bug 1480349) for failures in rowser/base/content/test/urlbar/browser_urlbarAddonIframe.js 2018-08-07 15:43:20 +03:00
Jan de Mooij
caa8441bb2 Bug 1481229 part 2 - Always use the unwrapped object in Logging::formatObject. r=evilpie 2018-08-07 14:06:45 +02:00
Jan de Mooij
b5ec5d2e1e Bug 1481229 part 1 - Remove unnecessary realm entering in JavaScriptShared::findObjectById. r=evilpie
ToWindowProxyIfWindow does not rely on the current realm in any way.
2018-08-07 14:06:45 +02:00
Jan de Mooij
ed41af5ddc Bug 1480678 part 9 - Assert IDBWrapperCache::mScriptOwner is a global and use JSAutoRealm instead of JSAutoRealmAllowCCW. r=mrbkap 2018-08-07 14:06:45 +02:00
Jan de Mooij
7f5a6ddcdf Bug 1480678 part 8 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in nsObjectLoadingContent::SetupProtoChain. r=mrbkap
I audited the callers and this function already does GetDOMClass(aObject)->mGetProto(aCx) elsewhere.
2018-08-07 14:06:45 +02:00
Jan de Mooij
4af62d6c9e Bug 1480678 part 7 - Use CallbackObject's callback global for realm entering in more places. r=bz 2018-08-07 14:06:44 +02:00
Emilio Cobos Álvarez
59ff5de1a2 Bug 1474900: Assert there are no pending locks when destroying the image proxy. r=tnikkel 2018-08-07 12:54:15 +02:00
Mike Hommey
9eb572df9c Bug 1481378 - Simplify mozconfig.linux32. r=ted
All CI builds for linux32 have been running on 64-bits hosts for a long
while now, and there are no 32-bits hosts left. We can remove the
special-casing that makes the linux32 builds behave differently
depending on the bit-width of the host.

Furthermore, configure has been able to deal with adding -m32 on its
own, so we don't need to add it to $CC/$CXX manually anymore.
2018-08-07 19:40:52 +09:00
sotaro
92f8dea8a0 Bug 1476846 - Reduce latency of applying async images of video r=nical 2018-08-07 19:12:06 +09:00
Jan de Mooij
47db50879a Bug 1478359 - Use nsXPCWrappedJS's object global as nonCCWObject in nsFrameMessageManager::ReceiveMessage. r=bz 2018-08-07 11:57:51 +02:00
Jan de Mooij
5824a03a39 Bug 1478359 - Store a global object in nsXPCWrappedJS and use it for realm-entering. r=mccr8
The problem we're solving here: getting/entering the realm/global of a cross-compartment wrapper doesn't make sense once there are multiple realms in a compartment and the CCW will be shared by all of them. Because nsXPCWrappedJS can store a CCW, we will no longer be able to use this JSObject to enter the target realm.

What this patch does: we pass a JSContext* to nsXPCWrappedJS::GetNewOrUsed and we use this to store a global object in nsXPCWrappedJS (with the invariant that the object and global stored in nsXPCWrappedJS are same-compartment). Then when we want to enter the nsXPCWrappedJS's target realm, we use this global object instead of the maybe-CCW object. Because we currently still have one realm per compartment and the objects are same-compartment, this is guaranteed to preserve behavior for now.

nsXPCWrappedJS has some code to deal with weak pointers. Fortunately this applies only to root wrappers and root wrappers always store an unwrapped JSObject, so the extra global we store is guaranteed to be marked by the GC in that case (a global object is never collected when there are live JSObjects belonging to the same realm).
2018-08-07 11:57:41 +02:00
arthur.iakab
2d528aa145 Merge mozilla-central to inbound 2018-08-07 12:41:15 +03:00
arthur.iakab
d39e02bf00 Merge inbound to mozilla-central a=merge 2018-08-07 12:36:18 +03:00
Ms2ger
768063d35d Bug 1478713 - Add some tests for the Wasm JS API; r=luke+bbouvier
--HG--
rename : testing/web-platform/mozilla/tests/wasm/js/harness/wasm-constants.js => testing/web-platform/tests/wasm/jsapi/wasm-constants.js
rename : testing/web-platform/mozilla/tests/wasm/js/harness/wasm-module-builder.js => testing/web-platform/tests/wasm/jsapi/wasm-module-builder.js
2018-08-07 10:18:34 +02:00
Ms2ger
8f6fcafd68 Bug 1480454 - Part e: Stop running disabled wpt tests in jstests; r=jgraham 2018-08-07 10:18:31 +02:00
Ms2ger
970755f67e Bug 1480454 - Part d: Don't run wpt jstests in the jsreftest harness; r=bbouvier
These tests already run in the browser within the wpt setup.
2018-08-07 10:18:31 +02:00
Ms2ger
c73ddf8544 Bug 1480454 - Part c: Give RefTestCase a useful __repr__ implementation; r=bbouvier 2018-08-07 10:18:31 +02:00
Ms2ger
6cd332bb7f Bug 1480454 - Part b: Improve assertion in _emit_manifest_at; r=bbouvier
This adds a message to the assertion, and removes a leftover pdb invocation
(which causes unnecessary delays if it is triggered in automation).
2018-08-07 10:18:31 +02:00
Ms2ger
82d9496d6a Bug 1480454 - Part a: Add a wasm setting to the wpt .ini expectation files; r=jgraham 2018-08-07 10:18:31 +02:00
sotaro
ebf0ddf6be Bug 1479181 part 2 - Remove glXChooseVisual() usage r=jgilbert 2018-08-07 14:13:37 +09:00
sotaro
f4af09856a Bug 1479181 part 1 - Expose glxGetConfig() in GLXLibrary r=jgilbert 2018-08-07 14:13:17 +09:00
Timothy Nikkel
d128a31a08 Bug 1476779. Remove expired IMAGE_ANIMATED_* telemetry. r=aosmond
It was added to monitor the impact of bug 686905. Which went as expected, no spikes or alerts since then. So no need to keep it.
2018-08-06 22:40:31 -05:00
Mathieu Leplatre
7d0021f371 Bug 1469525 - Remove blocklist clients files from profile r=Gijs
MozReview-Commit-ID: Fm5Pegz5LcU

--HG--
extra : rebase_source : 4cf1de6b60399ab5092bf01ab4c64b255fdfb068
2018-08-06 17:34:28 +02:00
Michael Kaply
0880b79763 Bug 1475571 - Replace follow-on addon with in tree telemetry. r=mikedeboer,florian
Differential Revision: https://phabricator.services.mozilla.com/D2125

--HG--
extra : moz-landing-system : lando
2018-08-07 11:59:16 +00:00
Marco Bonardo
4f6ac9353b Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=adw
On window resize we should format the urlbar again, to ensure the host stays visible.
Also fixes bug 1192501, that requires the same resize handler.

Differential Revision: https://phabricator.services.mozilla.com/D2711

--HG--
extra : moz-landing-system : lando
2018-08-06 18:02:59 +00:00
Marco Bonardo
4744abe3c3 Bug 1480355 - The text from the URL bar is overlaid on the RTL build r=adw
Differential Revision: https://phabricator.services.mozilla.com/D2707

--HG--
extra : moz-landing-system : lando
2018-08-06 18:00:48 +00:00
Edgar Chen
1a8c36d58a Bug 1127588 - Fix the DOMNodeRemoved mutation event isn't fired when updating document.title; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D2774

--HG--
extra : moz-landing-system : lando
2018-08-07 07:47:00 +00:00
Margareta Eliza Balazs
8b831bb9be Backed out changeset e622daed0957 (bug 1481037) for causing speedometer failures on a CLOSED TREE 2018-08-07 14:22:24 +03:00
Emilio Cobos Álvarez
772d9c43fe Bug 1481162 - Cleanup invalidation processor constructor. r=xidorn
It used to be this way because of lifetime issues (plus the shadow
datas were in RwLocks at some point IIRC). Now we guarantee that as long as the
element is away the cascade data is as well, so we don't need to thread it
around.

Differential Revision: https://phabricator.services.mozilla.com/D2768

--HG--
extra : moz-landing-system : lando
2018-08-07 10:36:18 +00:00
Emilio Cobos Álvarez
447592a848 Bug 1481156 - Remove unused selectors methods. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2767

--HG--
extra : moz-landing-system : lando
2018-08-06 23:52:52 +00:00
Emilio Cobos Álvarez
60a4d14017 Bug 1481155 - Use more references in the snapshot code. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2766

--HG--
extra : moz-landing-system : lando
2018-08-06 23:44:56 +00:00
Emilio Cobos Álvarez
c0434853c1 Bug 1481204 - Don't print rerun-if-changed files until binding generation has succeeded. r=xidorn
Otherwise they may clobber useful output.

Differential Revision: https://phabricator.services.mozilla.com/D2783

--HG--
extra : moz-landing-system : lando
2018-08-07 00:33:34 +00:00
Emilio Cobos Álvarez
6e7b99caf6 Bug 1481037 - Update StyleBench. r=jmaher
Pick upstream changes.

Differential Revision: https://phabricator.services.mozilla.com/D2757

--HG--
extra : moz-landing-system : lando
2018-08-06 14:41:13 +00:00
arthur.iakab
c8d3fc41b5 Merge mozilla-central to autoland 2018-08-07 12:39:49 +03:00
Nicholas Nethercote
dcd7d4327c Bug 1481138 - Clarify that Hash{Map,Set}::putNew() can be used if elements have been removed. r=luke
Hash{Map,Set}::putNew() can be used on a table that has had elements removed,
despite some comments to the contrary.

This patch fixes those comments. It also clarifies when putNewInfallible() can
be used.

This patch also removes the !isRemoved() assertion in findFreeEntry(), which is
confusing -- !isLive() would be more precise, but also obvious from the
surrounding code.

MozReview-Commit-ID: q4qwKGBsHx

--HG--
extra : rebase_source : 94331879f9a1484159e030de93bd0ab222b54385
2018-08-06 12:01:28 +10:00
Nicholas Nethercote
46db021929 Bug 1481138 - Remove HashMap::lookupWithDefault(). r=luke
Because it's quite strange, badly named, not that useful, and barely used.

Also remove WeakMap::lookupWithDefault(), which is similar, but not used at
all.

MozReview-Commit-ID: IhIl4hQ73U1

--HG--
extra : rebase_source : 7da237a56391836ca5d056248f18bd5e2d8b1564
2018-08-06 09:45:38 +10:00
Nicholas Nethercote
d9eb003725 Bug 1481138 - Remove the add() variant in HashTable and GCHashTable that uses a default value. r=luke
Because (a) it's kinda weird, and (b) only used in a single test, where it can
be easily replaced with a vanilla add().

MozReview-Commit-ID: L4RoxFb7yGG

--HG--
extra : rebase_source : 515a5ede5d417686907345ad9069c6a41669dd17
2018-08-06 09:10:05 +10:00