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

608024 Коммитов

Автор SHA1 Сообщение Дата
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
Paolo Amadini 8d5fa55c65 Bug 1481056 - Don't reuse the "progressmeter" element for the custom "download-progress" binding. r=mossop
--HG--
extra : rebase_source : eb13d6fa3908165e49db64828f23b3c8ea97f206
extra : amend_source : f94ec06fcc7ac73ca08417a48cb2e31b170a22e2
2018-08-06 10:38:03 +01:00
Brian Grinstead 076839e8b4 Bug 1478139 - Migrate <editor> to a Custom Element. r=paolo
MozReview-Commit-ID: IiTzndil1MV

--HG--
rename : toolkit/content/widgets/editor.xml => toolkit/content/widgets/editor.js
extra : rebase_source : 137d6d8d1eac724f79ce58043fcc7b9d8c29f160
2018-08-06 14:22:02 +01:00
Arthur Edelstein 04dab89db7 Bug 1481096 - Fix incorrectly written pref name r=nwgh
"spdy.default-hpack-buffer" was incorrectly
written as "spdy.hpack-default-buffer".

--HG--
extra : histedit_source : 28dfa00e0accb4e51239a2d31178944034b3eaf5
2018-08-05 16:10:00 +03:00
Geoff Lankow 1e93905608 Bug 1481094 - Skip all downloads tests on Thunderbird; r=aswan 2018-08-07 11:58:12 +12:00
catalin.badea392@gmail.com 63b407b671 Bug 1469523 - Remove unused methods from nsAttrAndChildArray, r=smaug
--HG--
extra : rebase_source : 4743514586f3abf25e5bc18dcff3bad39b30d869
2018-08-06 22:29:37 +03:00
Olli Pettay 5a669d2747 Bug 1469521 - Change storage of previous and next children in nsINode, r=bz
--HG--
extra : rebase_source : 4cb50889c2cfc788cab7037d26d114e35205e998
2018-08-06 22:29:27 +03:00
Ciure Andrei a103d25c65 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-07 01:03:59 +03:00
Ciure Andrei 9f8ebbde60 Merge inbound to mozilla-central. a=merge 2018-08-07 00:58:13 +03:00
Andrea Marchesini aeaf76c5f4 Bug 1481195 - The current document should have access to its PerformanceTimingData, r=valentin 2018-08-06 21:27:00 +02:00
ffxbld de6c35a6a2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D2771
2018-08-06 15:09:53 -04:00
Brendan Dahl da472b2bfe Bug 1480206 - Move XULDocument popup attributes to Document. r=bz
Allows top level non-XUL documents to share this code. Three tests had to
be adjusted to account for the attributes being chrome only now and not
available to content privilege XUL. In two tests, the values attributes
are now simply undefined. The crashtest was converted to a chrome
mochitest to preserve what it was testing.

MozReview-Commit-ID: 99w9Ax4et3C

--HG--
rename : dom/base/crashtests/473284.xul => dom/base/test/chrome/test_bug473284.xul
extra : rebase_source : 924d34a88fe8a48d766f78b02e64275f6e7cdc2b
2018-08-06 10:52:53 -07:00
Tim Nguyen 51514f772f Bug 1481270 - Small cleanups to LightweightThemeChildHelper.jsm. r=kmag
MozReview-Commit-ID: HGjKQPxXx4S

--HG--
extra : rebase_source : d508a156dd4709bfe8af473fe97b81950de81c3a
2018-08-06 18:33:55 +01:00
Robert Longson 91f16c1309 Bug 1480946 - systemLanguage should be case insensitive r=dholbert 2018-08-06 21:47:20 +01:00
Luca Greco f31071f798 Bug 1480948 - Defer or await storage.local data migration on extension shutdown. r=aswan
MozReview-Commit-ID: HGdd2jO0WQy

--HG--
extra : rebase_source : 6473952d53b7ed12f38086117d2a82a8c5ef475e
2018-08-04 17:00:41 +02:00