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

683140 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 2d2df9761e Bug 1598548 part 7 - Add a RetAddrEntry::Kind for interrupt check callVM. r=tcampbell
This is necessary for the next patch: it will merge JSOP_LOOPHEAD
and JSOP_LOOPENTRY but that means there can be multiple callVMs for
that op and this confuses DebugModeOSR (interrupts can trigger debugger
recompilation).

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:54:34 +00:00
Jan de Mooij 5634061f54 Bug 1598548 part 6 - Fold IonBuilder::startLoop into its only caller. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D55630

--HG--
extra : moz-landing-system : lando
2019-12-05 12:54:01 +00:00
Jan de Mooij 7d4614650a Bug 1598548 part 5 - Remove loopEntry_ and loopHead_ fields from LoopState. r=tcampbell
In visitTestBackedge we can just get the backedge target from the
bytecode instruction.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:53:25 +00:00
Jan de Mooij d78326dfd8 Bug 1598548 part 4 - Remove LoopState::State and some dead code. r=tcampbell
All loops now use State::DoWhileLike so we can don't need to keep track of the
state anymore and can remove some more dead code.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:52:47 +00:00
Jan de Mooij 802b493c67 Bug 1598548 part 3 - Merge loop source note classes into one SrcNote::Loop class. r=arai
All loops now have the same structure. A later patch in the stack
will remove this class.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:52:24 +00:00
Jan de Mooij 53ca70f1ce Bug 1598548 part 2 - Give all loops the same bytecode structure. r=arai,tcampbell
This changes all loops to have the following bytecode structure:
```
JSOP_LOOPHEAD
JSOP_LOOPENTRY
...condition/body...
JSOP_GOTO/JSOP_IFEQ/JSOP_IFNE
```

This simplifies IonBuilder a lot because it can use the do-while code path
for all loops. For-in loops are also a bit simpler now because they no longer
need to have the next enumerated value on the stack across the backedge.

Later patches in the stack wil fold JSOP_LOOPENTRY into JSOP_LOOPHEAD,
simplify the source notes more and remove more code from IonBuilder.

I verified stepping/breakpoints for the different loop types works in the
debugger the same way as before this patch.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:51:19 +00:00
Jan de Mooij 39cb4a566d Bug 1598548 part 1 - Use hit count from predecessor block for OSR preheader. r=nbp
The old code used the beforeLoopEntry bytecode pc, but this wasn't always
the correct pc and fixing that is a bit annoying (IonBuilder would have to
keep track of the last pc just for this).

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

--HG--
extra : moz-landing-system : lando
2019-12-05 12:50:11 +00:00
Christian Holler 9a94d4cfc6 Bug 1601597 - Avoid writing into the empty array header. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D55949

--HG--
extra : moz-landing-system : lando
2019-12-05 12:29:56 +00:00
Miko Mynttinen 47dde82de0 Bug 1601483 - Avoid HashTable lookups when the table is empty r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55882

--HG--
extra : moz-landing-system : lando
2019-12-05 01:57:22 +00:00
Jamie Nicol 3b6922b0b9 Bug 1594446 - Clamp scale at 32k to avoid excessively large visible regions r=mattwoodrow
The size of the visible region, for either a painted layer or a webrender blob
image, is calculated from the building rects of the contained display items, in
local-space. This should be restricted to the display port, to prevent the
visible regions growing too large leading to excessive memory usage.

For items within large scale transforms, the local-space visible region should
be very small. However, as we do not allow fractional sizes, the size of the
visible region will be rounded up to at least 1. This means that when we convert
the region back to screen-space, we are multiplying the extremely large scale by
at least one, rather than by a much smaller fraction. This can result in
incredibly large visible regions, and was causing OOM crashes.

To avoid this, we clamp the maximum chosen scale for these layers/blob images to
32k. Layers affected by this problem should have a visible region with
dimensions of 1 or 2, so this limits the resulting screen-space size for
those to an acceptable value. Layers with visible regions sized greater than
that should not have scales anywhere near this large, so will not be affected.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 11:39:01 +00:00
Jamie Nicol ecf8b8f3eb Bug 1599248 - Use local raster space when animating a double tap zoom. r=botond
In bug 1531142 we made it so that when a spatial node is being pinch-zoomed we
use a local raster-space to avoid rerasterizing glyphs for every slight change
in zoom level. This makes it so that we also apply the same trick when
being asynchronously zoomed by a double-tap gesture.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 11:35:38 +00:00
Julian Descottes 81e34d9437 Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D55305

--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +00:00
Julian Descottes 00ecd06c21 Bug 1600185 - Fix DevTools inplace editor single line mode detection r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55847

--HG--
extra : moz-landing-system : lando
2019-12-05 11:08:16 +00:00
Mihai Alexandru Michis df71fb19c3 Bug 1601572 - Disable moz-icon-1.html on android. a=fix CLOSED TREE
--HG--
extra : amend_source : ed5cc9dae872e18c012f4483e1cc94676dd2580b
2019-12-05 13:18:24 +02:00
Michael Ratcliffe f1c47b5478 Bug 1597890 - [Storage] Don't log an error if private field headers are not localized r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55935

--HG--
extra : moz-landing-system : lando
2019-12-05 10:50:41 +00:00
Mihai Alexandru Michis 1f0de9fe04 Backed out changeset 26f4282834a3 (bug 1601197) for causing condprof failures in condprof/tests/test_client.py CLOSED TREE
--HG--
extra : rebase_source : 6280869a7d32fa412c0ee658290258a619cf86e0
2019-12-05 12:46:06 +02:00
Masatoshi Kimura 08c2cf0d50 Bug 1455716 - Followup to fix review comments. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D55881

--HG--
extra : moz-landing-system : lando
2019-12-05 10:36:12 +00:00
Emilio Cobos Álvarez 7a80801b12 Bug 1600998 - Remove layout.css.xul-box-display-values.survive-blockification.enabled. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D55898

--HG--
extra : moz-landing-system : lando
2019-12-05 06:12:47 +00:00
Tarek Ziadé c49b42b74f Bug 1601197 - Make sure the condprofclient picks mozilla-central artifacts by default r=stephendonner
The client will pick condprofs from mozilla-central by default

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

--HG--
extra : moz-landing-system : lando
2019-12-05 10:11:31 +00:00
Michael Ratcliffe feebcdd788 Bug 1599408 - Fix scrolling at narrow widths in the Changes View r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55654

--HG--
extra : moz-landing-system : lando
2019-12-03 14:53:59 +00:00
Timothy Nikkel b46b340660 Bug 1601572. Test that moz-icon draws something.
Differential Revision: https://phabricator.services.mozilla.com/D55931

--HG--
extra : moz-landing-system : lando
2019-12-05 09:54:08 +00:00
Daisuke Akatsuka cc09f182eb Bug 1589178: Use TargetList api for markup view. r=jdescottes,rcaliman
Depends on D54872

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

--HG--
extra : moz-landing-system : lando
2019-12-05 09:19:52 +00:00
Mike Hommey 4b7d2e300b Bug 1601544 - Upgrade mozversion to semver 0.9. r=whimboo
This was the only use of semver 0.6.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 09:21:58 +00:00
Asumu Takikawa 7c2c17a2e7 Bug 1511958 - Implement i64<>JavaScript’s BigInt conversions proposal (part 2, runtime flag and testing function)
This is part 2 of a series of revs that split up D41710 (for Wasm I64 to BigInt conversion) into smaller revs. This rev depends on the compile-time flag added in D43177 and adds a runtime flag to JSContext options that will toggle whether I64 to BigInt conversion is used. The flag will get used mostly in WasmInstance.cpp, but it also needs to be used to toggle I64 error checks in both Ion inlining code and in Wasm stub generation code. To pass that information along, the flag is also put in CompileArgs for WasmCompile and then copied to wasm module metadata (so that it can be read from lazy stub generation code).

Differential Revision: https://phabricator.services.mozilla.com/D43179
2019-12-04 13:30:06 +02:00
Simon Giesecke e77b837ae6 Bug 1598164 - Fixed log messages, use serial number of transaction. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D54963

--HG--
extra : moz-landing-system : lando
2019-12-05 08:21:55 +00:00
Marco Bonardo 7cc8dee6ea Bug 1600244 - Don't store favicons added after the initial page load. r=mossop
Icons added after the initial parsing are likely randomly generated to show badges,
thus they are not good for permanent storage, because they are transient and can
potentially flood the store.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 18:21:09 +00:00
Marco Bonardo a55bf4b9c0 Bug 1600242 - Stop storing favicons having Cache-Control: no-store. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55289

--HG--
extra : moz-landing-system : lando
2019-12-04 18:20:49 +00:00
Botond Ballo a68b4de65d Bug 1591519 - Re-enable test_group_touchevents on android. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D55905

--HG--
extra : moz-landing-system : lando
2019-12-05 06:48:42 +00:00
Botond Ballo c456ac6d8c Bug 1476893 - Split helper_bug1280013.html into its own test group. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D55904

--HG--
extra : moz-landing-system : lando
2019-12-05 06:34:37 +00:00
Dave Townsend 6379bd94ae Bug 1601526: Manifest scope should default to the directory of the resolved start_url. r=marcosc
Differential Revision: https://phabricator.services.mozilla.com/D55903

--HG--
extra : moz-landing-system : lando
2019-12-05 06:13:10 +00:00
Boris Zbarsky 75124bdd98 Bug 1517588. Use nsIPrincipal::IsSystemPrincipal instead of nsContentUtils::IsSystemPrincipal r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D53067

--HG--
extra : moz-landing-system : lando
2019-12-05 04:44:32 +00:00
Mike Hommey 7f061cc7b1 Bug 1601150 - Update cargo workspace hack. r=chmanchester
Bug 1601233 made cranelift bump its syn dependency to 1.0, breaking the
workspace hack. Some of the features were also stale from presumably
other updates.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 04:32:15 +00:00
Logan Smyth 6fc977baf1 Bug 1592415 - Create Debugger.Frame.prototype.asyncPromise for async fns/gens. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D53931

--HG--
extra : moz-landing-system : lando
2019-12-05 04:29:30 +00:00
Logan Smyth 0863f59db0 Bug 1592431 - Part 5: Support .offset on suspended generator frames. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54492

--HG--
extra : moz-landing-system : lando
2019-12-05 04:30:38 +00:00
Logan Smyth 553c541485 Bug 1592431 - Part 4: Support .callee on suspended generator frames. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54491

--HG--
extra : moz-landing-system : lando
2019-12-05 04:04:40 +00:00
Logan Smyth aa9ec1170d Bug 1592431 - Part 3: Support .script on suspended generator frames. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54490

--HG--
extra : moz-landing-system : lando
2019-12-05 04:01:55 +00:00
Logan Smyth c5fb27c706 Bug 1592431 - Part 2: Introduce Debugger.Frame.prototype.terminated to check state. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54489

--HG--
extra : moz-landing-system : lando
2019-12-05 04:26:08 +00:00
Logan Smyth 5b6b224f2a Bug 1592431 - Part 1: Rename Debugger.Frame.prototype.live to .onStack. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54488

--HG--
rename : js/src/jit-test/tests/debug/Frame-live-01.js => js/src/jit-test/tests/debug/Frame-onStack-01.js
rename : js/src/jit-test/tests/debug/Frame-live-02.js => js/src/jit-test/tests/debug/Frame-onStack-02.js
rename : js/src/jit-test/tests/debug/Frame-live-03.js => js/src/jit-test/tests/debug/Frame-onStack-03.js
rename : js/src/jit-test/tests/debug/Frame-live-04.js => js/src/jit-test/tests/debug/Frame-onStack-04.js
rename : js/src/jit-test/tests/debug/Frame-live-05.js => js/src/jit-test/tests/debug/Frame-onStack-05.js
rename : js/src/jit-test/tests/debug/Frame-live-06.js => js/src/jit-test/tests/debug/Frame-onStack-06.js
rename : js/src/jit-test/tests/debug/Frame-live-07.js => js/src/jit-test/tests/debug/Frame-onStack-07.js
extra : moz-landing-system : lando
2019-12-05 04:28:00 +00:00
Benjamin Bouvier ac52ddb216 Bug 1601233: Output of mach vendor rust r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D55791

--HG--
extra : moz-landing-system : lando
2019-12-05 04:26:50 +00:00
Benjamin Bouvier e9dfb12b1e Bug 1601233: Bump Cranelift to 497b4e1ca1d33dfd54314366d8e3a27a9fea225f; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D55790

--HG--
extra : moz-landing-system : lando
2019-12-05 04:26:50 +00:00
Kris Maglione ea63a0888d Bug 1583614: Def on frameloader rebuilding on remoteness change again. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D55858

--HG--
extra : moz-landing-system : lando
2019-12-05 03:52:49 +00:00
Perry Jiang 8b3344f4e7 Bug 1591353 - call ServiceWorkerShutdownBlocker::StopAcceptingPromises when ProfileManager exits r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D55895

--HG--
extra : moz-landing-system : lando
2019-12-05 02:35:17 +00:00
Thinker Li 7cfdf6a788 Bug 1470591 - Part 6: Create a fork server process. r=gsvelto
This patch make changes of Gecko infrastrutures to run a fork server
process.

 - ForkServerLauncher is a component, which creates a fork server
   process at XPCOM startup.

 - nsBrowserApp.cpp and related files have been chagned to start a
   fork server in a process.

 - Logging and nsTraceRefcnt were changed to make it work with the
   fork server.

Depends on D46883

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:02:40 +00:00
Thinker Li c50a650261 Bug 1470591 - Part 5: ForkServer to create new processes. r=gsvelto
Class ForkServer and class ForkServiceChild are implemented.  The
chrome process can ask the fork server process to create content
processes.  The requests are sent by MiniTransceiver over a socket.
The fork server replys with the process IDs/handles of created
processes.

LaunchOptions::use_forkserver is a boolean.  With use_forkserver being
true, the chrome process sends a request to the fork server instead of
forking directly.

Depends on D46881

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:05:21 +00:00
Thinker Li 234b674542 Bug 1470591 - Part 4: MiniTransceiver to do single-tasking IPC. r=gsvelto
MiniTransceiver is a simple request-reponse transport, always waiting
for a response from the server before sending next request.  The
requests are always initiated by the client.

Depends on D46880

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:04:53 +00:00
Thinker Li 3b1f4faef8 Bug 1470591 - Part 3: AppForkBuilder to ceate a new content process. r=gsvelto
An instance of AppForkBuilder creates a new content process from
the passed args and LaunchOptions.  It bascally does the same thing as
LaunchApp() for Linux, but it divides the procedure to two parts,

 - the 1st part forking a new process, and
 - the 2nd part initializing FDs, ENV, and message loops.

Going two parts gives fork servers a chance to clean new processes
before the initialization and running WEB content.  For example, to
clean sensitive data from memory.

Depends on D46879

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:04:19 +00:00
Thinker Li e9554bb05d Bug 1470591 - Part 2: Provide methods to recreate a delegated forker. r=gsvelto
With a fork server, the parameters to fork a new content process are
passed through a socket.  This patch does following tasks to adapt
sandbox to work with a fork server,

 - passing a FD of a chroot server,
 - passing flags of SandboxFork, and
 - setting LaunchOptions and its fork_delegate field at a fork server.

Depends on D46878

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

--HG--
extra : moz-landing-system : lando
2019-12-05 00:03:52 +00:00
Thinker Li 0fcab03d24 Bug 1470591 - Part 1: Add a new process type for ForkServer. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D46878

--HG--
extra : moz-landing-system : lando
2019-12-05 00:03:29 +00:00
Emilio Cobos Álvarez 1d77c9e9e8 Bug 1601512 - Point the pkcs11 dependency to the upstream repo. r=glandium
I messed up and deleted my own fork once my PR was merged, given the owner said
they would do a release.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 01:25:51 +00:00
Bert Peers ca6c534bb3 Bug 1599327 - Use cluster scrollbar flags to select picture cache tile size. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D55555

--HG--
extra : moz-landing-system : lando
2019-12-05 01:24:28 +00:00