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

696467 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 616e33a998 Bug 1615333 - [taskgraph] gzip the manifests-by-task.json artifact r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D62821

--HG--
extra : moz-landing-system : lando
2020-03-13 20:29:46 +00:00
Daosheng Mu 9258842ca9 Bug 1621369 - Part 4: Support WebXR to WebVR gamepad button/axis re-mapping. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D66680

--HG--
extra : moz-landing-system : lando
2020-03-13 20:57:15 +00:00
Daosheng Mu 81a78595ce Bug 1621369 - Part 3: Adjust Oculus controller button/axis order for WebXR. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D66679

--HG--
extra : moz-landing-system : lando
2020-03-13 20:57:07 +00:00
Daosheng Mu c385d94fc2 Bug 1621369 - Part 2: Replace OpenVRControllerType with VRControllerType in IPC. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D66678

--HG--
extra : moz-landing-system : lando
2020-03-13 20:56:59 +00:00
Daosheng Mu 5469f66b91 Bug 1621369 - Part 1: Refactor OpenVR controller and adjust its button/axis order for WebXR. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D66677

--HG--
extra : moz-landing-system : lando
2020-03-13 20:56:52 +00:00
Iain Ireland b2e798ad9e Bug 1620020: Turn on optimization knobs r=mgaudet
This patch turns on various optimization options by default. A later patch will allow us to control these flags with JitOptions.

Depends on D66104

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:47 +00:00
Iain Ireland db8d4a568c Bug 1620020: Use MergeSort instead of std::stable_sort to appease check_vanilla_allocations.py r=mgaudet
std::stable_sort allocates a buffer internally for temporary scratch space, but SpiderMonkey doesn't want anybody to allocate memory without going through us. This patch appeases our static analysis.

Depends on D66103

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:47 +00:00
Iain Ireland 4817a87890 Bug 1620020: Remove invalid implementation of FixedArray r=mgaudet
FixedArray must store v8 Objects (aka JS::Values), but because it is allocated during parsing, it can't be a GC thing itself. The current implementation doesn't work. Writing a correct implementation is a little delicate. Fortunately, we only need it to support named captures, which are future work. For now, I am stubbing out the implementation of FixedArray to get rid of some GC hazards.

Depends on D66102

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:46 +00:00
Iain Ireland 55f9bcdb49 Bug 1620020: Implement StdoutStream r=mgaudet
StdoutStream is used for debug output when trace-regexp-parser is enabled. The existing code doesn't actually print anything. V8's implementation goes to great lengths to make output work, even on Android. Instead of pulling in dozens of lines of code just to get some debug output working, this implementation just tapes a piece of paper to its chest with "std::cerr" written in crayon and pretends.

The snprintf changes are to satisfy a static analysis (SprintfLiteralChecker).

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:46 +00:00
Iain Ireland 66f9cd33f5 Bug 1620020: Fix Zone implementation r=mgaudet
For obvious reasons, irregexp does not contain any calls to EnsureBallast. We therefore need to make our LifoAlloc allocation fallible so that it can allocate a new chunk if necessary.

Also, we want to use the current size of the LifoAlloc, not the peak size, to decide whether we've allocated too much memory. Nobody was using the old ComputedSizeOfExcludingThis, so I rewrote it to use the value we're already tracking.

Depends on D66100

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:47 +00:00
Iain Ireland e02bdf87a7 Bug 1620020: Add ICU support r=mgaudet
When ICU is available, case-insensitive non-unicode matches (/i, not /iu) are performed using precomputed sets of characters that need special handling to follow the JS spec's weird rules. These sets live in special-case.cc. In V8, special-case.cc is generated at compile time with a special build step. This is overkill. Barring changes to gen-regexp-special-case.cc, special-case.cc will only change when we import a new version of ICU, and even then only if Unicode defines new case-folding shenanigans. This patch checks in a copy of special-case.cc. I'll open another bug to hook this process up to make_unicode.py.

PS: This version of special-case.cc is actually wrong due to a bug in V8. My patch to fix it upstream is under review; I'll fix it here in a later patch.

Depends on D66099

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:46 +00:00
Iain Ireland 191e514387 Bug 1620020: Stub definitions for JSRegExp r=mgaudet
The actual definition of these methods depends on future changes to RegExpShared. For now, we just stub them out.

Depends on D66098

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:46 +00:00
Iain Ireland aa800a7eef Bug 1620020: Import non-ICU Unicode implementation r=mgaudet
This patch fills in the ICU-less Unicode implementation by copying the relevant code from V8's implementation. There are a number of big tables here, but they are all only defined when we're not using ICU (aka only in local shell builds).

Depends on D65573

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:45 +00:00
Iain Ireland 0aef5fd6bc Bug 1620020: Implement Factory methods on Isolate r=sfink
In V8, the Isolate (~JSContext) owns a Factory, which is responsible for allocating objects. The SM shim unifies Isolate and Factory into a single class.

This patch implements the Factory methods using the Handle infrastructure from previous patches.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:45 +00:00
Iain Ireland 9692fba2ab Bug 1620020: Implement ByteArray r=sfink
A ByteArray is a fixed-length array of bytes. V8 uses ByteArrays to store bytecode for the irregexp interpreter, and to store lookup tables when compiling regexps. V8's ByteArrays are GC things (meaning that we have to be able to store them in a Value), but SM's version can't be a GC thing, because we have to be able to allocate a ByteArray while generating masm. We therefore end up with this approach, where a ByteArray is a PrivateValue pointing to a ByteArrayData (a length-prefixed buffer).

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

--HG--
extra : moz-landing-system : lando
2020-03-13 20:50:46 +00:00
Iain Ireland 8f1bec0479 Bug 1620020: Handles and HandleScopes r=sfink
SM's roots are a linked list that lives on the stack. V8's stack roots are stored in a side table, which allows them to allocate handles that outlive the current stack frame. The lifetimes of those handles are instead determined by HandleScope objects. When a HandleScope goes out of scope, all "roots" created in that scope are freed simultaneously. This patch implements the V8 API inside SM.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 04:23:45 +00:00
Andreea Pavel ae4651826b Backed out changeset cc4ec8298e52 (bug 1618696) backed out for causing bugs 1621191 and 1565363 on a CLOSED TREE 2020-03-13 22:51:21 +02:00
Chris Peterson 67b21f14a1 Bug 1622173 - Consolidate redundant MOZ_ALWAYS_TRUE/FALSE/OK/ERR definitions. r=froydnj
MOZ_ASSERT(false) will evaluate to a no-op in release builds, so there should be no overhead from using MOZ_ASSERT(false) to define MOZ_ALWAYS_TRUE/FALSE/OK/ERR in both debug and release.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:47:14 +00:00
James Willcox fdb196df32 Bug 1619778 - Wait for Gecko to be ready when delivering Web Push events r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66586

--HG--
extra : moz-landing-system : lando
2020-03-13 20:08:26 +00:00
James Willcox 3c21ccc32c Bug 1619778 - Add `GeckoThread#waitForState()`. r=geckoview-reviewers,aklotz
This allows us to asynchronously wait for a given `GeckoThread` state
to be reached.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:49:48 +00:00
James Willcox 97a1646a17 Bug 1619778 - Remove unused `GeckoThread#waitOnGecko` methods. r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66584

--HG--
extra : moz-landing-system : lando
2020-03-12 15:33:57 +00:00
Jason Laster 332ec2ba27 Bug 1620025 - Improve source front management. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D65803

--HG--
extra : moz-landing-system : lando
2020-03-13 20:04:49 +00:00
Kartikaya Gupta 67bc5d7367 Bug 1617427 - Add a test for the scenario being fixed. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D66428

--HG--
extra : moz-landing-system : lando
2020-03-13 19:59:41 +00:00
Kartikaya Gupta c4913fea1d Bug 1617427 - Resurrect IsCurrentlyCheckerboarding and make it more correct. r=botond
This improves the implementation of IsCurrentlyCheckerboarding (which is not
invoked from anywhere prior to this patch) so that it takes into account the
recursive clipping applied by ancestor layers' composition bounds. In other
words, the visible rect for a layer may be additionally clipped because
ancestor scrollframes have scrolled, and this patch accounts for that.

It also records the currently-checkerboarding state into the APZTestData
at the time that the compositor APZTestData instance is fetched.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:59:30 +00:00
Kartikaya Gupta 61b5c2e638 Bug 1617427 - Extract helper method to normalize visible rect computation. r=botond
Slight functional changes:
- the checkerboard event call site will now include mTestAsyncScrollOffset
when calculating the visible rect, which should impact overall behaviour if
there's a test that cares about checkerboard events (there currently isn't).
- the IsCurrentlyCheckerboarding call site will use the compositing effective
scroll offset instead of the raw metrics scroll offset. This function is
not called from anywhere so it doesn't matter, but it makes sense to align
it with the other uses and I'll be using it in future patches.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:58:56 +00:00
Kartikaya Gupta 7d07c4a8b1 Bug 1617427 - Miscellaenous documentation fixes. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D66425

--HG--
extra : moz-landing-system : lando
2020-03-13 19:56:56 +00:00
Kartikaya Gupta 6d4a82e018 Bug 1617427 - Add a DOMWindowUtils API to disable APZ on a particular element. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D66424

--HG--
extra : moz-landing-system : lando
2020-03-13 19:56:33 +00:00
Kartikaya Gupta 5ebf4f9e11 Bug 1617427 - Rename things and fix up comments. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D66423

--HG--
extra : moz-landing-system : lando
2020-03-13 19:55:18 +00:00
Kartikaya Gupta e4ce8449ae Bug 1617427 - Prefer using the root frame's displayport to the root composition bounds. r=tnikkel
If we can get the root frame's displayport, then we should use that
rect instead of the root composition bounds when clipping the scrollframe's
displayport. That way if APZ is disabled on the scrollframe, but the root
frame scrolls to bring a part of it into view, it will be fully painted and
not perma-checkerboard-y.

Note that this patch is the main fix, but leaves a bunch of comments/variables
with bad names; the next patch cleans that up.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:55:11 +00:00
Kartikaya Gupta f81f55c129 Bug 1617427 - Refactor to extract helper method; no functional changes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D66420

--HG--
extra : moz-landing-system : lando
2020-03-13 19:55:03 +00:00
Jessie Bonisteel 7a871da043 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 19:59:43 +00:00
Andreea Pavel c63a7a8d35 Bug 1424914 - adjust disabling condition on a CLOSED TREE r=test-only 2020-03-13 21:26:25 +02:00
Andreea Pavel ffe2fa6ae0 Backed out changeset 180f1350fdd3 (bug 1615049) for build bustages at /GfxDriverInfo.cpp on a CLOSED TREE 2020-03-13 21:23:56 +02:00
Andreea Pavel b311b0453c Bug 1618386 - temporary disable browser_fullscreen_window_focus.js on linux fission r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D66451

--HG--
extra : moz-landing-system : lando
2020-03-13 19:15:47 +00:00
Jessie Bonisteel 37e2c5ab60 Bug 1615049 - Shipping WebRender to modern intel laptops with small screen. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D66643

--HG--
extra : moz-landing-system : lando
2020-03-13 18:35:55 +00:00
Zibi Braniecki a67d7debed Bug 1622149 - Switch away from NS_ERROR_DOM_* in DOMLocalization. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D66706

--HG--
extra : moz-landing-system : lando
2020-03-13 17:36:53 +00:00
Zibi Braniecki 44eca5f333 Bug 1560038 - Switch uses of FluentBundle to use fluent-rs. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D57403

--HG--
extra : moz-landing-system : lando
2020-03-11 23:29:05 +00:00
Zibi Braniecki 8334ed0644 Bug 1560038 - Align FluentDateTime skeleton construction with Intl.DateTimeFormat. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D66504

--HG--
extra : moz-landing-system : lando
2020-03-13 19:02:21 +00:00
Maja Frydrychowicz 21d8ce86a1 Bug 1622363 - (docs) Fix communication link
Differential Revision: https://phabricator.services.mozilla.com/D66814

--HG--
extra : moz-landing-system : lando
2020-03-13 18:52:00 +00:00
Andreea Pavel cb7f5adb3b Bug 1424914 - Disable browser_styleeditor_bug_1405342_serviceworker_iframes.js on Win and Linux64 r=egao
Differential Revision: https://phabricator.services.mozilla.com/D66419

--HG--
extra : moz-landing-system : lando
2020-03-12 17:16:19 +00:00
Mark Banner ec0f02b186 Bug 1621610 - Extend telemetry for search cache corruption. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D66406

--HG--
extra : moz-landing-system : lando
2020-03-12 14:18:51 +00:00
André Bargull 011bdd7b5d Bug 1621011 - Part 8: Remove unnecessary explicit initialisation of ICStub::extra_ in subclass constructors. r=tcampbell
`ICStub::extra_` is already initialised to zero through a class field initialiser expression.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 18:18:49 +00:00
André Bargull 5fd1541c06 Bug 1621011 - Part 7: Remove unnecessary null 'funNode' handling in newFunctionBox. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D66072

--HG--
extra : moz-landing-system : lando
2020-03-13 17:09:02 +00:00
André Bargull 5556def7f4 Bug 1621011 - Part 6: Remove unused LifoAlloc::releaseEarly. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D66071

--HG--
extra : moz-landing-system : lando
2020-03-13 17:08:37 +00:00
André Bargull e93e307af4 Bug 1621011 - Part 5: Remove unused ParseReportKind enum. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D66070

--HG--
extra : moz-landing-system : lando
2020-03-13 17:08:12 +00:00
André Bargull b5ba7aeea8 Bug 1621011 - Part 4: Remove a stale comment about this-object creation. r=jandem
The comment was added in bug 741271. Bug 1041688 changed the code to call
`maybeCreateThisForConstructor()`, but that call was eventually removed in
bug 1406957.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:07:49 +00:00
André Bargull e5e5236f43 Bug 1621011 - Part 3: GuardFunApplyArgumentsOptimization is infallible. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D66067

--HG--
extra : moz-landing-system : lando
2020-03-13 17:07:26 +00:00
André Bargull df9cddcd58 Bug 1621011 - Part 2: Replace individual construct-op checks with IsConstructPC call. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D66066

--HG--
extra : moz-landing-system : lando
2020-03-13 17:07:11 +00:00
André Bargull 958176a7b5 Bug 1621011 - Part 1: Remove left-over note to JSOp::PopVarEnv. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D66065

--HG--
extra : moz-landing-system : lando
2020-03-13 17:07:06 +00:00
Max 28f97ef5eb Bug 1621066 - Compress flatpak tars with xz instead of gzip. r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D66696

--HG--
extra : moz-landing-system : lando
2020-03-13 18:39:55 +00:00