Commit Graph

659105 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
69901eb74f Bug 1497190: Apply Meta CSP to about:cache-entry.
Differential Revision: https://phabricator.services.mozilla.com/D37212

--HG--
extra : moz-landing-system : lando
2019-07-08 07:58:35 +00:00
Cosmin Sabou
c13838cf6e Bug 1559313 - Disable fixed-z-index-blend.html on Android for frequent failures. a=test-only 2019-07-08 10:09:56 +03:00
Noemi Erli
c914ab324a Backed out changeset f4081c5e99bf (bug 1562255) for failures in browser_createLogin.js CLOSED TREE 2019-07-08 09:19:41 +03:00
Cosmin Sabou
38de4a72d6 Backed out 1 changesets (bug 1561092) for debugger failures on flow and jest tests. CLOSED TREE
Backed out changeset 109fab16fdda (bug 1561092)
2019-07-08 08:53:09 +03:00
Jason Laster
d5e49f826f Bug 1561092 - Fix intermittent browser_dbg-wasm-sourcemaps test. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D36837

--HG--
extra : moz-landing-system : lando
2019-07-07 21:20:49 +00:00
Jared Wein
58232b510c Bug 1562255 - Move 'Create new login' button to the bottom of the login list. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37133

--HG--
extra : moz-landing-system : lando
2019-07-08 04:44:54 +00:00
Andreea Pavel
a0eedef06a Backed out changeset f1b593ede263 (bug 1563993) for wrench bustages on a CLOSED TREE 2019-07-08 05:11:23 +03:00
Ciure Andrei
35fa9e2361 Backed out changeset fe8c2426d9d3 (bug 1514474) for causing beta simulation failures CLOSED TREE 2019-07-08 04:58:50 +03:00
Dzmitry Malyshau
ffc66bad70 Bug 1563993 - WR chase into clips r=jrmuizel
it's very helpful to see the list of clips and the way they affect a chased primitive
Example:
```
    building clip chain instance with local rect TypedRect(1561.0×1968.0 at (-300.0,-300.0))
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(1)
        flags (empty), resulted in Partial
        clip Rectangle(3840.0×1874.0, Clip) at (0.0,0.0) in space SpatialNodeIndex(2)
        flags (empty), resulted in Partial
```

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

--HG--
extra : moz-landing-system : lando
2019-07-08 01:48:54 +00:00
Ciure Andrei
d94259f899 Backed out 2 changesets (bug 1514296) for causing beta simulation failures CLOSED TREE
Backed out changeset 88f4a687f039 (bug 1514296)
Backed out changeset fe343795c247 (bug 1514296)
2019-07-08 03:03:22 +03:00
Jim Blandy
40b709bc47 Bug 1470558: Delete Debugger::{resultToCompletion,newCompletionValue,receiveCompletionValue}. r=jorendorff
All uses of these have been rewritten to use the Completion type.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:58 +00:00
Jim Blandy
53b25d6db0 Bug 1470558: Use Completion in Debugger.Object 'call' and 'apply' methods. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33078

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:51 +00:00
Jim Blandy
e97921f538 Bug 1470558: Use Completion type for Debugger eval-related methods. r=jorendorff
DebuggerFrame::eval and DebuggerObject::evalInGlobal are two more invocation
functions that can reasonably use Completion to report the results of the
operation.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:52 +00:00
Jim Blandy
0db9a27958 Bug 1470558: Use Completion type in Debugger::receiveCompletionValue. r=jorendorff
Replacing more calls to Debugger::resultToCompletion with uses of the newer API.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:54 +00:00
Jim Blandy
bbe5b53e74 Bug 1470558: Use Completion type in DebuggerObject::{set,get}Property. r=jorendorff
Use the `Completion` type to report the result of the
`DebuggerObject::setProperty` and `getProperty` methods.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 09:47:56 +00:00
Jim Blandy
0817e7f8c3 Bug 1470558: Distinguish yields and awaits in completion values. r=jorendorff
This patch introduces a new type to the debugger, `js::Completion`, describing
how a given JavaScript evaluation completed. It's a wrapper around a `Variant`
with alternatives:
- Return
- Throw
- Terminate
- InitialYield (the initial yield of a generator, returning the generator object)
- Yield (subsequent yields of a generator)
- Await (both initial and subsequent)

We can construct a `Completion` in two ways:

- From any JavaScript operation's result (a success value and a context carrying
  an exception value and stack). This only distinguishes between Return, Throw,
  and Terminate.

- From a stack frame that's about to be popped. This allows us to identify
  yields and awaits.

Given a `Completion` we can construct Debugger API 'completion values' to pass
to hooks, as well as the resumption/value/context states that tell the engine
how to continue execution. Within Debugger itself, `Completion` values are a
convenient place to gather up various bits of logic: identifying suspensions,
chaining resumption values from multiple Debugger hooks, and so on.

Although `Completion` should be used throughout Debugger, this patch only uses
it for the `onPop` hook. Subsequent patches in the series will apply it to other
cases where Debugger can invoke JavaScript.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 17:03:57 +00:00
Julian Descottes
5a3789f753 Bug 1563686 - Introduce menu.popupAtTarget to fix zoom issues in netmonitor menus r=nchevobbe
Already tested via toolbox menus in devtools/client/framework/test/browser_toolbox_zoom_popup.js
Could open a follow up to allow for other anchor points than bottom-left.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 14:15:51 +00:00
Honza Bambas
269532026a Bug 1563538 - Propagate close reason through TLSFilterTransaction to allow tunnel stream reuse when possible + close the undelying tunnel stream when a tunneling connection is closed, r=dragana,kershaw+kershaw
Differential Revision: https://phabricator.services.mozilla.com/D37122

--HG--
extra : moz-landing-system : lando
2019-07-07 13:01:40 +00:00
Honza Bambas
b8829c6ba7 Bug 1556491 - Always close http transactions from nsHttpConnection::CloseTransaction even when the connection or its filter does not refer any, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D37102

--HG--
extra : moz-landing-system : lando
2019-07-06 20:17:59 +00:00
Nicolas Chevobbe
81e865fd97 Bug 1558248 - Don't clear the completion text when it starts with the typed letters. r=fvsch.
We were clearing the completion text all the time to prevent
a visual glitch while typing (See Bug 1491776). But since we
are now waiting for 75ms before calling the autocomplete
function (which triggers the autocompletion text update), we
have a flash of the completion text, which isn't ideal.
In this patch, we check if the typed letters match the begining
of the completion text, and if they do, we don't clear the
completion text.
In the same time, we set the completion text in absolute position
so it doesn't jump when the new letter is added in the CodeMirror
document.
Finally, we change how the Editor pipe events from CodeMirror to
include parameters, so we can use them in JsTerm.

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

--HG--
extra : moz-landing-system : lando
2019-07-07 10:38:08 +00:00
Dorel Luca
af558d4b74 Backed out 6 changesets (bug 1470558) for Build bustage in js/src/vm/Debugger.cpp
Backed out changeset 1a18ccfcdc98 (bug 1470558)
Backed out changeset ef67e1b47f9c (bug 1470558)
Backed out changeset 6034237161dc (bug 1470558)
Backed out changeset 6791d671e6cc (bug 1470558)
Backed out changeset abdfe0ed8ea1 (bug 1470558)
Backed out changeset c4bae8a5a111 (bug 1470558)
2019-07-07 12:42:20 +03:00
Jim Blandy
a71ae32a0e Bug 1470558: Delete Debugger::{resultToCompletion,newCompletionValue,receiveCompletionValue}. r=jorendorff
All uses of these have been rewritten to use the Completion type.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:26:48 +00:00
Jim Blandy
4a891fa5c5 Bug 1470558: Use Completion in Debugger.Object 'call' and 'apply' methods. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33078

--HG--
extra : moz-landing-system : lando
2019-07-06 21:26:45 +00:00
Jim Blandy
505dee1b5f Bug 1470558: Use Completion type for Debugger eval-related methods. r=jorendorff
DebuggerFrame::eval and DebuggerObject::evalInGlobal are two more invocation
functions that can reasonably use Completion to report the results of the
operation.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:26:43 +00:00
Jim Blandy
6d13fe16df Bug 1470558: Use Completion type in Debugger::receiveCompletionValue. r=jorendorff
Replacing more calls to Debugger::resultToCompletion with uses of the newer API.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:26:39 +00:00
Jim Blandy
8332025b33 Bug 1470558: Use Completion type in DebuggerObject::{set,get}Property. r=jorendorff
Use the `Completion` type to report the result of the
`DebuggerObject::setProperty` and `getProperty` methods.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:25:40 +00:00
Jim Blandy
cd561984c9 Bug 1470558: Distinguish yields and awaits in completion values. r=jorendorff
This patch introduces a new type to the debugger, `js::Completion`, describing
how a given JavaScript evaluation completed. It's a wrapper around a `Variant`
with alternatives:
- Return
- Throw
- Terminate
- InitialYield (the initial yield of a generator, returning the generator object)
- Yield (subsequent yields of a generator)
- Await (both initial and subsequent)

We can construct a `Completion` in two ways:

- From any JavaScript operation's result (a success value and a context carrying
  an exception value and stack). This only distinguishes between Return, Throw,
  and Terminate.

- From a stack frame that's about to be popped. This allows us to identify
  yields and awaits.

Given a `Completion` we can construct Debugger API 'completion values' to pass
to hooks, as well as the resumption/value/context states that tell the engine
how to continue execution. Within Debugger itself, `Completion` values are a
convenient place to gather up various bits of logic: identifying suspensions,
chaining resumption values from multiple Debugger hooks, and so on.

Although `Completion` should be used throughout Debugger, this patch only uses
it for the `onPop` hook. Subsequent patches in the series will apply it to other
cases where Debugger can invoke JavaScript.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:48:15 +00:00
Geoff Brown
b515c7b262 Bug 1556058 - Run geckoview xpcshell in older emulator; r=jmaher
There are some intermittent failures in xpcshell tests (eg bug 1562344)
in the new emulator; let's revert to the older emulator until those can
be figured out.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 10:11:26 +00:00
Dzmitry Malyshau
6104350440 Bug 1548339 - WR: Remove the color/alpha feature in cs_scale shader r=jrmuizel
this makes the shader simpler at no cost

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

--HG--
extra : moz-landing-system : lando
2019-07-05 21:11:44 +00:00
Kershaw Chang
a53a39a584 Bug 1563824 - New error NS_ERROR_TOO_MANY_REQUESTS for 429 response r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D37140

--HG--
extra : moz-landing-system : lando
2019-07-06 21:46:00 +00:00
harry
f56a5c0ec4 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 21:10:33 +00:00
Panos Astithas
e9127d9614 Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D37134

--HG--
extra : moz-landing-system : lando
2019-07-06 07:33:28 +00:00
Coroiu Cristina
6e3840ddec Backed out changeset 7aa8180f36eb (bug 1563180) for ESlint failure 2019-07-06 19:43:30 +03:00
Mathieu Leplatre
4039e268d2 Bug 1563180 - Prevent synchronization to be ran in parallel multiple times r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36921

--HG--
extra : moz-landing-system : lando
2019-07-06 16:05:12 +00:00
Andrea Marchesini
f711552789 Bug 1514296 - FeaturePolicy - WPT fixed, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35803

--HG--
extra : moz-landing-system : lando
2019-07-06 15:11:42 +00:00
Andrea Marchesini
5a8e4fdbe9 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-06 15:11:23 +00:00
Andrea Marchesini
e01cab332f Bug 1514296 - Rename Document.policy to Document.featurePolicy, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35801

--HG--
extra : moz-landing-system : lando
2019-07-06 15:10:59 +00:00
Yash Johar
26f5af1d30 Bug 1535254 - Update RDM rotate and touch icons to a Photon style. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D32790

--HG--
extra : moz-landing-system : lando
2019-07-06 14:37:17 +00:00
Jan de Mooij
4165bae74e Bug 1562830 - Keep Baseline Interpreter bytecode pc in a register between VM/IC calls. r=djvj
This is both simpler and faster than the old scheme where the pc was stored in
a register but could be clobbered by R2.

On x64 this wins about 9-10%. On 32-bit x86 we don't have enough registers so
there we load the pc from the frame in more cases. That's about a 2-3%
regression and is a reasonable trade-off.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 12:30:31 +00:00
Sylvestre Ledru
65bcd242ec Bug 1519636 - Ride along - remove useless ';' r=andi
Depends on D35622

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

--HG--
extra : moz-landing-system : lando
2019-07-06 12:36:03 +00:00
Sylvestre Ledru
131d0c6a02 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:18:28 +00:00
Jan de Mooij
676b258268 Bug 1561925 - Implement remaining interpreter-specific BaselineCodeGen methods. r=tcampbell
After the recent script data changes we can now read objects/scopes/bigints and resume offsets
from JIT code.

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

--HG--
extra : moz-landing-system : lando
2019-07-06 10:34:06 +00:00
Emilio Cobos Álvarez
e4638db56f No bug - Remove a map(From::from) statement that does literally nothing. r=trivial 2019-07-06 11:42:17 +02:00
Emilio Cobos Álvarez
117f562dcb Bug 1563315 - Use cbindgen for fill and stroke r=boris
Differential Revision: https://phabricator.services.mozilla.com/D36807

--HG--
extra : moz-landing-system : lando
2019-07-06 08:31:02 +00:00
Emilio Cobos Álvarez
1a39c45ae2 Bug 1563728 - Add a return statement to BiquadFilterNode::GetFrequencyResponse to fix bustage. rs=padenot
CLOSED TREE
2019-07-06 10:45:56 +02:00
Emilio Cobos Álvarez
42ce0fc8e5 Bug 1563315 - Simplify parsing and storage of SVG paint server fallback. r=boris
Depends on D36805

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

--HG--
extra : moz-landing-system : lando
2019-07-06 08:24:39 +00:00
Emilio Cobos Álvarez
db6ecd7691 Bug 1563315 - Use more compact and ffi-friendly types for some svg props. r=boris
No functional change yet.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:19:42 +00:00
Mathieu Leplatre
326c302870 Bug 1563213 - Upgrade kinto-http-client.js to 4.7.2 r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36752

--HG--
extra : moz-landing-system : lando
2019-07-05 13:45:56 +00:00
Emilio Cobos Álvarez
74837c0281 Bug 1563484 - Add reftests for this bug. r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D36895

--HG--
extra : moz-landing-system : lando
2019-07-06 08:20:14 +00:00
Emilio Cobos Álvarez
6754f5f967 Bug 1563484 - Add reftest support for text-zoom. r=dbaron
Seems we had no reftests for this feature :(

Depends on D36893

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

--HG--
extra : moz-landing-system : lando
2019-07-05 21:33:37 +00:00