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

659114 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson 90ffbb1560 Bug 1561319 - Check facingMode constraint in MediaEngineDefaultVideo and don't match empty string by default. r=jib
This does two things:
It makes MediaEngineDefaultVideo::GetBestFitnessDistance include a facingMode
check.
It also makes FitnessDistance() for StringRanges take a Maybe<nsString>, since
the device might not have a value for all StringRange constraints, as is the
case for facingMode. This fixes this issue for a MediaEngineRemoteVideoSource
with no facingMode, since such a device would match a facingMode of the empty
string prior to this patch.

To be fully spec compliant, the Maybe should be a set instead, since a device
may support multiple values for the facingMode capability. We don't support
more than one value however, so this change can be made later as needed.

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

--HG--
extra : moz-landing-system : lando
2019-07-05 18:46:32 +00:00
Sylvestre Ledru fc2eb5393c Bug 1562642 - Part 2 - Add missing MPL2 headers r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37146

--HG--
extra : moz-landing-system : lando
2019-07-08 09:27:47 +00:00
Ola Gasidlo 247d4a898e Bug 1554707 - Refactor test folder structure, r=jdescottes,ladybenko
Refactor test folder structure to align with remote debugging

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

--HG--
rename : devtools/client/application/test/browser.ini => devtools/client/application/test/browser/browser.ini
rename : devtools/client/application/test/browser_application_panel_debug-service-worker.js => devtools/client/application/test/browser/browser_application_panel_debug-service-worker.js
rename : devtools/client/application/test/browser_application_panel_list-domain-workers.js => devtools/client/application/test/browser/browser_application_panel_list-domain-workers.js
rename : devtools/client/application/test/browser_application_panel_list-several-workers.js => devtools/client/application/test/browser/browser_application_panel_list-several-workers.js
rename : devtools/client/application/test/browser_application_panel_list-single-worker.js => devtools/client/application/test/browser/browser_application_panel_list-single-worker.js
rename : devtools/client/application/test/browser_application_panel_list-unicode.js => devtools/client/application/test/browser/browser_application_panel_list-unicode.js
rename : devtools/client/application/test/browser_application_panel_list-workers-empty.js => devtools/client/application/test/browser/browser_application_panel_list-workers-empty.js
rename : devtools/client/application/test/browser_application_panel_open-links.js => devtools/client/application/test/browser/browser_application_panel_open-links.js
rename : devtools/client/application/test/browser_application_panel_start-service-worker.js => devtools/client/application/test/browser/browser_application_panel_start-service-worker.js
rename : devtools/client/application/test/browser_application_panel_unregister-worker.js => devtools/client/application/test/browser/browser_application_panel_unregister-worker.js
rename : devtools/client/application/test/head.js => devtools/client/application/test/browser/head.js
rename : devtools/client/application/test/service-workers/debug-sw.js => devtools/client/application/test/browser/resources/service-workers/debug-sw.js
rename : devtools/client/application/test/service-workers/debug.html => devtools/client/application/test/browser/resources/service-workers/debug.html
rename : devtools/client/application/test/service-workers/dynamic-registration.html => devtools/client/application/test/browser/resources/service-workers/dynamic-registration.html
rename : devtools/client/application/test/service-workers/empty-sw.js => devtools/client/application/test/browser/resources/service-workers/empty-sw.js
rename : devtools/client/application/test/service-workers/empty.html => devtools/client/application/test/browser/resources/service-workers/empty.html
rename : devtools/client/application/test/service-workers/scope-page.html => devtools/client/application/test/browser/resources/service-workers/scope-page.html
rename : devtools/client/application/test/service-workers/simple-unicode.html => devtools/client/application/test/browser/resources/service-workers/simple-unicode.html
rename : devtools/client/application/test/service-workers/simple.html => devtools/client/application/test/browser/resources/service-workers/simple.html
rename : devtools/client/application/test/.eslintrc.js => devtools/client/application/test/components/.eslintrc.js
rename : devtools/client/application/test/babel.config.js => devtools/client/application/test/components/babel.config.js
rename : devtools/client/application/test/fixtures/Chrome.js => devtools/client/application/test/components/fixtures/Chrome.js
rename : devtools/client/application/test/fixtures/PluralForm.js => devtools/client/application/test/components/fixtures/PluralForm.js
rename : devtools/client/application/test/fixtures/Services.js => devtools/client/application/test/components/fixtures/Services.js
rename : devtools/client/application/test/fixtures/l10n.js => devtools/client/application/test/components/fixtures/l10n.js
rename : devtools/client/application/test/fixtures/stub.js => devtools/client/application/test/components/fixtures/stub.js
rename : devtools/client/application/test/jest.config.js => devtools/client/application/test/components/jest.config.js
rename : devtools/client/application/test/package.json => devtools/client/application/test/components/package.json
rename : devtools/client/application/test/setup.js => devtools/client/application/test/components/setup.js
rename : devtools/client/application/test/yarn.lock => devtools/client/application/test/components/yarn.lock
extra : moz-landing-system : lando
2019-07-08 09:20:28 +00:00
Andreas Pehrson dc0eb05ef0 Bug 1560207 - Reset all settings on every settings update, to avoid double-constructing. r=jib
Depends on D36192

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:13:11 +00:00
Andreas Pehrson 995ee35634 Bug 1560207 - Give Refcountable assignment operators. r=jib
Depends on D36191

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

--HG--
extra : moz-landing-system : lando
2019-07-05 22:11:22 +00:00
Andreas Pehrson b5260f58d6 Bug 1560207 - Add crashtest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D36191

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

--HG--
extra : moz-landing-system : lando
2019-07-08 08:47:30 +00:00
Andrea Marchesini f9e570ba21 Bug 1514474 - Implement FeaturePolicy.features(), r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35802

--HG--
extra : moz-landing-system : lando
2019-07-08 02:03:18 +00:00
Andrea Marchesini e87202df68 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-08 00:10:56 +00:00
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