Commit Graph

17661 Commits

Author SHA1 Message Date
Karl Tomlinson
337fbc6879 Bug 1578623 add test for syntax errors and uncaught exceptions in worklet scripts r=bhackett
Depends on D44611

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

--HG--
rename : devtools/client/webconsole/test/browser/browser_webconsole_worker_error.js => devtools/client/webconsole/test/browser/browser_webconsole_worklet_error.js
extra : moz-landing-system : lando
2019-09-09 00:42:03 +00:00
Brian Hackett
a0762fda35 Bug 1581999 - Fix event logging while replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46245

--HG--
extra : moz-landing-system : lando
2019-09-18 03:22:33 +00:00
Brian Hackett
458ed0080a Bug 1581665 - Tidy up handling of pause and paint data, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46087

--HG--
extra : moz-landing-system : lando
2019-09-16 22:43:39 +00:00
Jason Laster
aca4c6e5c7 Bug 1581945 - It should not be possible to set watchpoints on non-configurable properties. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D46214

--HG--
extra : moz-landing-system : lando
2019-09-17 22:28:36 +00:00
Nicolas Chevobbe
e26ae9c3f4 Bug 1581738 - Fix ErrorRep for Error objects with non-string stack property. r=Honza.
When the stack isn't a string (or a longstring), we
don't try to parse anything.
A test is added to ensure we don't regress.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 13:57:18 +00:00
Armando Ferreira
5a33b3c101 Bug 1567372 - Add a reverse search button to the Editor Toolbar. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D45095

--HG--
extra : moz-landing-system : lando
2019-09-17 21:58:17 +00:00
Jason Laster
5cb8b24f19 Bug 1110276 - Log on Events (UI). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D46077

--HG--
extra : moz-landing-system : lando
2019-09-17 21:17:58 +00:00
Boris Chiou
88285c24ba Bug 1480665 - Support ray() in offset-path and make it animatable. r=emilio,birtles
1. Add `generics::motion::OffsetPath`, and use specified `Angle` and
   computed `Angle` to define specified `OffsetPath` and computed `OffsetPath`.
2. Add `ray` function into `OffsetPath`.

We also tweak the degree from 150deg to 135deg in wpt (e.g.
offset-path-ray-001.html and others) to avoid floating point precision issues.
For example:
```
// offset-path: ray(150deg ...);
// offset-distance: 20px;
matrix:
{
  {0.500000 0.866025 0.000000 0.000000},
  {-0.866025 0.500000 0.000000 0.000000},
  {0.000000 0.000000 1.000000 0.000000},
  {10.000000 17.320509 0.000000 1.000000}
}

// rotate(60deg) translate(20px)
matrix:
{
  {0.500000 0.866025 0.000000 0.000000},
  {-0.866025 0.500000 0.000000 0.000000},
  {0.000000 0.000000 1.000000 0.000000},
  {10.000000 17.320507 0.000000 1.000000}
}
```
Their translate parts, 17.320509 vs 17.320507, are almost the same (only
tiny difference), which may cause the reftest failed.

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-ray-ref.html => testing/web-platform/tests/css/motion/offset-path-ray-001-ref.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-001.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-002.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-003.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-004.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-005.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-006.html
rename : testing/web-platform/tests/css/motion/offset-path-ray.html => testing/web-platform/tests/css/motion/offset-path-ray-007.html
extra : moz-landing-system : lando
2019-09-16 23:24:48 +00:00
Ting-Yu Lin
1c4d625432 Bug 1423383 - Enable layout.css.column-span.enabled on Nightly. r=dholbert
properties-db.js is patched via `./mach devtools-css-db` after flipping
column-span pref to @IS_NIGHTLY_BUILD@ in StaticPrefList.yaml.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 19:43:00 +00:00
Jason Laster
751b6be5a3 Bug 1578772 - Enable/disable replay from Devtools settings. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D46162

--HG--
extra : moz-landing-system : lando
2019-09-17 19:37:00 +00:00
Gabriel Luong
2a62837bcb Bug 1578824 - Land initial boilerplate for embedding RDM UI into the browser. r=mtigley,mconley,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45091

--HG--
extra : moz-landing-system : lando
2019-09-17 16:56:16 +00:00
Mark Banner
88eab57b84 Bug 1579452 - Enable ESLint rule no-async-promise-executor on disabled locations for devtools. r=jlast
Depends on D45010

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

--HG--
extra : moz-landing-system : lando
2019-09-17 17:50:23 +00:00
Dorel Luca
c47fb85a4c Backed out changeset 7b042044bd2d (bug 1578772) for eslint failures. CLOSED TREE 2019-09-17 21:10:58 +03:00
Jason Laster
df4007c720 Bug 1578772 - Enable/disable replay from Devtools settings. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D46162

--HG--
extra : moz-landing-system : lando
2019-09-17 17:34:12 +00:00
David Walsh
4f1d186333 Bug 1580530 - Implement NetworkActionBar in the netmonitor r=Honza
Creates a left sidebar panel for both search and request blocking.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:14:50 +00:00
David Walsh
b572c4fefa Bug 1580890 - Restructure inline-preview action for better performance r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45702

--HG--
extra : moz-landing-system : lando
2019-09-16 20:35:17 +00:00
lloan
6ca2966cb0 Bug 1580185. Clicking on clear button in the Search panel doesn't cancel the current search. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D46047

--HG--
extra : moz-landing-system : lando
2019-09-17 10:47:14 +00:00
Julian Descottes
e21e90c2e9 Bug 1581071 - Update devtools metrics test to check that modules are not loaded twice r=Honza,ochameau
Check for duplicated entries in the loaders during the metrics tests

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

--HG--
extra : moz-landing-system : lando
2019-09-17 09:34:28 +00:00
Miko Mynttinen
94d12e12a7 Bug 1559706 - Workaround for invalid layerization in Inspector r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45896

--HG--
extra : moz-landing-system : lando
2019-09-16 14:03:32 +00:00
Daisuke Akatsuka
59b47c5ef8 Bug 1581582: Change the loading way. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D46104

--HG--
extra : moz-landing-system : lando
2019-09-17 06:56:18 +00:00
Brian Hackett
9e43080ec9 Bug 1581418 - Include more properties when logging objects, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45961

--HG--
rename : devtools/client/webreplay/mochitest/browser_dbg_rr_console_warp-03.js => devtools/client/webreplay/mochitest/browser_rr_object_preview-01.js
extra : source : ece44b8f51e43f9dcb56a592cb4e5205f8ce19e6
2019-09-16 22:48:15 +00:00
Maxime Vaillancourt
f6ab7d35e3 Bug 1574054 - Fix arrow keys behavior on tabs when document direction is RTL. r=rcaliman
Fix arrow keys behavior on tabs when document direction is RTL

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

--HG--
extra : moz-landing-system : lando
2019-09-16 19:46:41 +00:00
Mihai Alexandru Michis
4174e65ff5 Backed out changeset ece44b8f51e4 (bug 1581418) for causing xpcshell failures.
--HG--
rename : devtools/client/webreplay/mochitest/browser_rr_object_preview-01.js => devtools/client/webreplay/mochitest/browser_dbg_rr_console_warp-03.js
2019-09-17 06:17:05 +03:00
Brian Hackett
da5abd1fbc Bug 1546369 - Support InspectorUtils.getContentState while replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D46091

--HG--
extra : moz-landing-system : lando
2019-09-16 23:30:33 +00:00
Brian Hackett
1cd0fb99fd Bug 1581418 - Include more properties when logging objects, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45961

--HG--
rename : devtools/client/webreplay/mochitest/browser_dbg_rr_console_warp-03.js => devtools/client/webreplay/mochitest/browser_rr_object_preview-01.js
extra : moz-landing-system : lando
2019-09-16 22:48:15 +00:00
Zibi Braniecki
e0cdd093e0 Bug 1581204 - Remove unused DTDs from devtools. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D45899

--HG--
extra : moz-landing-system : lando
2019-09-16 19:41:44 +00:00
Micah Tigley
c76a5272d4 Bug 1581155 - Fix flashing a CSS property from box-model link. r=gl
In this revision, mimic flashing a property element like in the markup view.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 14:07:04 +00:00
Gabriel Luong
4a1c59f251 Bug 1500142 - Remove inspector bindings from toolbox. r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40320

--HG--
extra : moz-landing-system : lando
2019-09-16 17:39:42 +00:00
Rob Wu
64ad4811f6 Bug 1570715 - Treat (deprecation) warnings as errors r=rpl
Add new preference `extensions.webextensions.warnings-as-errors` that
defaults to `true` in tests. Tests that expect warnings are modified
to briefly flip the pref for the specific part of the test that needs
an exception.

As part of the refactor, log entries for schema entries that contain
`"onError": "warn"` will now be prefixed by "Warning" instead of
"Error", to be consistent with the change from bug 1495908.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 16:35:59 +00:00
Nicolas Chevobbe
765b39cd6d Bug 1572980 - Fix browser_jsterm_autocomplete-properties-with-non-alphanumeric-names intermittent. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D46026

--HG--
extra : moz-landing-system : lando
2019-09-16 14:29:03 +00:00
Maxime Vaillancourt
19b3bd3cde Bug 1567859 - Add missing separator after computed style filter. r=gl
Add missing separator after computed style filter

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

--HG--
extra : moz-landing-system : lando
2019-09-15 20:06:24 +00:00
Nicolas Chevobbe
8be561cece Bug 1577798 - Don't create a new Debugger instance in WebConsoleActor. r=ochameau,jlast.
Previously, when creating a new WebConsoleActor, we were
also creating a new Debugger instance.
The problem was that we would never call `enable` on it,
which is what allows to create debuggee for all existing
globals, and for the ones that will be created after.
This means that we had multiple workaround to get a
global debuggee, and in the case of function, would add
a global as a debuggee only to get its script location.

This patch remove the creation of the new Debugger,
and retrieve the parent actor Debugger instance instead.

This shuffles things around a bit, are the Debugger instance
was created by the ThreadActor, but is now by the target
actor (BrowsingContext, ContentProcess, ...).

We can then remove the now unused `getGlobalDebugObject`
hooks we were using in the Function previewer, as we
get a proper Debugger object, with the script location.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 12:12:22 +00:00
Ola Gasidlo
ea28744160 Bug 1580826 - Ensure awaiting on fetchManifest before closing tab, r=yulia
Intermittent devtools/client/application/test/browser/browser_application_panel_sidebar.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn2.child1/manifestActor19, type fetchCanonicalManifest failed

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

--HG--
extra : moz-landing-system : lando
2019-09-16 11:55:50 +00:00
Noemi Erli
2c99088968 Bug 1581472 - ES lint fix CLOSED TREE 2019-09-16 13:45:49 +03:00
Sorin Davidoi
b7d09ae90b Bug 1580490 - Load search worker on demand. r=Honza
Load search worker on demand

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

--HG--
extra : moz-landing-system : lando
2019-09-16 10:31:42 +00:00
Emilio Cobos Álvarez
8349d49124 Bug 1581472 - Only treat CSS parser errors as CSS errors. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D45986

--HG--
extra : moz-landing-system : lando
2019-09-16 10:12:47 +00:00
Daisuke Akatsuka
7934273827 Bug 713106: Add test for visited element. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D45807

--HG--
extra : moz-landing-system : lando
2019-09-16 09:53:32 +00:00
Daisuke Akatsuka
d2d8fffbd5 Bug 713106: Lock/unlock :visited pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D45805

--HG--
extra : moz-landing-system : lando
2019-09-13 22:12:29 +00:00
Daisuke Akatsuka
409a2bc885 Bug 713106: Make :visited selector enabled to use from DevTools. r=pbro,emilio
Differential Revision: https://phabricator.services.mozilla.com/D45624

--HG--
extra : moz-landing-system : lando
2019-09-13 22:12:12 +00:00
Daisuke Akatsuka
ef36d9df93 Bug 713106: Show :visited rule while the pseudo is locked. r=pbro,emilio
Differential Revision: https://phabricator.services.mozilla.com/D45623

--HG--
extra : moz-landing-system : lando
2019-09-13 22:11:58 +00:00
Brian Hackett
c5861a20a0 Bug 1581434 - Convert new console message arguments into the proper format, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45967

--HG--
extra : moz-landing-system : lando
2019-09-16 03:18:11 +00:00
Brian Hackett
52bb5d1e45 Bug 1579654 - Use old set of scripts if reparsing for breakpoint positions fails, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45965

--HG--
extra : moz-landing-system : lando
2019-09-16 03:17:23 +00:00
Brian Hackett
b08a3cc809 Bug 1581013 - Support event logpoints when replaying, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45778

--HG--
extra : moz-landing-system : lando
2019-09-16 00:12:34 +00:00
Gurzau Raul
f195a247dd Backed out changeset 1bed7919ff1e (bug 1580890) frequently failing browser_dbg-debug-line.js (bug 1581026) 2019-09-15 03:21:27 +03:00
Brian Hackett
67035f9e70 Bug 1580104 - Send record/replay messages atomically, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D45934

--HG--
extra : moz-landing-system : lando
2019-09-14 14:03:16 +00:00
Miriam
57718b6d7a Bug 1574192 - Initial watchpoints front end commit. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D43487

--HG--
extra : moz-landing-system : lando
2019-09-14 14:13:54 +00:00
Narcis Beleuzu
1cb9dbb638 Backed out 2 changesets (bug 1570715) for causing tp6m raptor failures
Backed out changeset e7364a10a663 (bug 1570715)
Backed out changeset 51824b1dda97 (bug 1570715)
2019-09-14 16:00:00 +03:00
Micah Tigley
c1ddfa4079 Bug 1581059 - Fix networking throttling dropdown menu UI. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D45876

--HG--
extra : moz-landing-system : lando
2019-09-13 17:43:57 +00:00
Michael Ratcliffe
eb70def3e1 Bug 1579058 - [Inactive CSS] Remove invalidProperties from CSS validator r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D45852

--HG--
extra : moz-landing-system : lando
2019-09-13 14:12:52 +00:00
Julian Descottes
1dc087a788 Bug 1557083 - Emit actions from netmonitor store after requests are blocked/unblocked r=Honza
Depends on D45498
This makes the test run fine on top of the changes for the session history rewrite.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 13:38:03 +00:00