Commit Graph
920 Commits
Author SHA1 Message Date
Daniel Varga 05081ead08 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Tom Ritter 14f681e31e Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809
2019-07-30 15:12:08 +00:00
Patrick Brosset 1b9f1b2d48 Bug 1569877 - Consider textarea as a replaced element; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39866
2019-07-30 12:56:03 +00:00
Andreea Pavel a929f957f0 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Tom Ritter 2de54c1257 Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

Differential Revision: https://phabricator.services.mozilla.com/D38809
2019-07-30 13:19:05 +00:00
jaril cccc44dde7 Bug 997119 - Move ThreadActor logic from BrowsingContext. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36554
2019-07-30 00:05:04 +00:00
Razvan Maries adb9031322 Bug 1543156 - Disabled test_addon_events.js on Windows 7 x32. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D39845
2019-07-30 08:44:55 +00:00
Ciure Andrei 9595ae9a6f Backed out 2 changesets (bug 1566450) for causing browser_aboutdebugging_process_main_local.js to perma fail CLOSED TREE
Backed out changeset b0eee59fb22c (bug 1566450)
Backed out changeset ea5411c307fb (bug 1566450)
2019-07-30 13:25:30 +03:00
yulia 89846bb83d Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712
2019-07-29 13:20:27 +00:00
Jason Laster ca97847588 Bug 1565578 - 'Step in' exits function. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D38769
2019-07-29 22:40:53 +00:00
Julian Descottes 4d981dcc40 Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850
2019-07-29 12:59:25 +00:00
Patrick Brosset c727c6c5a9 Bug 1565652 - Treat input and select unconditionally as replaced elements; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39199
2019-07-29 11:42:07 +00:00
Kris Maglione 545eb3d999 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

Differential Revision: https://phabricator.services.mozilla.com/D39462
2019-07-24 13:06:57 -07:00
Kris Maglione fdba7d1377 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459
2019-07-19 15:31:16 -07:00
Kris Maglione 1b5a278b6a Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D38726
2019-07-19 12:30:10 -07:00
yulia a0c9c1155d Bug 1528730 - Remove ChromeDebugger and rename chromeDebugger field to threadActor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D38838
2019-07-23 03:27:04 +00:00
Razvan Caliman 8c20f33511 Bug 1567164 - Ensure StyleRuleActor.getRuleText() returns text content of minified CSS. r=gl
The patch for Bug 724505 changed the return of `prettifyCSS()` from a string to an object and the reference in the StyleRuleActor.getRuleText() was not updated. This patch fixes this and introduces a test.

Differential Revision: https://phabricator.services.mozilla.com/D38673
2019-07-22 07:58:05 +00:00
Jason Laster e3bae28d20 Revert "Backed out changeset 63ef8fdfff70 (Bug 1354679) for xpcshell failures at test_xpcshell_debugging.js."
This reverts commit e2023eef255628a3b10040b4b6b35c482efd152b.

Differential Revision: https://phabricator.services.mozilla.com/D38689
2019-07-19 18:01:04 +00:00
Brindusan Cristian 7a7bb21041 Backed out changeset 63ef8fdfff70 (bug 1354679) for xpcshell failures at test_xpcshell_debugging.js. 2019-07-19 03:39:04 +03:00
Jason Laster f27c15f3d7 Bug 1354679 - re-apply pause overlay. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D38572
2019-07-18 22:14:49 +00:00
Alexandre Poirot 0ce86f8b2c Bug 1566457 - Remove unused provider logic from Loader.jsm. r=jdescottes
We used to have another provider which would load module via file:// URI,
directly from the disk. But the progress on artifact builds and ./mach build faster
made this obsolete and has been removed a long time ago.
We still have a lot of abstraction to support this non-existent feature.

Differential Revision: https://phabricator.services.mozilla.com/D38284
2019-07-18 12:25:05 +00:00
Kris Maglione 9f00b7395d Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
Jason Laster a18e297e7b Bug 1564168 - [jsdbg2] Debugger.prototype.enabled should be removed (part 1). r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D37929
2019-07-16 00:56:19 +00:00
Coroiu Cristina 168131c86e Backed out changeset 6363111ee8ce (bug 1354679) for causing bug 1565833 2019-07-14 21:15:31 +03:00
Ciure Andrei 3ac0c56b22 Backed out changeset fa44f47160b2 (bug 1354679)for causing high frequency browser_aboutdebugging_devtoolstoolbox_shortcuts.js and browser_aboutdebugging_devtoolstoolbox_reload.js failures CLOSED TREE 2019-07-12 23:42:16 +03:00
Razvan Caliman 6e8dbdabc2 Bug 1554701 - Replace CssProperties.isValidOnClient() with CSS.supports() r=gl
Given that `CssProperties.isValidOnClient()` does only a client-side check for support of a CSS declaration, we can leverage the built-in `CSS.supports()` method and remove some of the inter-dependencies between the `CssProperties` object from the `CssPropertiesFront` and its consumers, `OutputParser` and `FilterWidget`.

Differential Revision: https://phabricator.services.mozilla.com/D37751
2019-07-12 15:28:29 +00:00
Jason Laster ce6de7c5a2 Bug 1354679 - tweak pause overlay. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37496
2019-07-11 16:29:10 +00:00
Alexandre Poirot 4cc4a20117 Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes
ChromeUtils.import still support a second argument as it used to do
when it was Components.utils.import. But this is deprecated and we should
instead always use the returned value.

Differential Revision: https://phabricator.services.mozilla.com/D37708
2019-07-11 17:08:20 +00:00
yulia 33b1b832c3 Bug 1559819 - rename context to thread; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32849
2019-07-11 09:45:02 +00:00
yulia 7eba825d59 Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Jason Laster 55402c8a6b Bug 1354679 - Automatically display the PausedDebuggerOverlay when the debugger is paused. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D35162
2019-07-09 22:01:34 +00:00
Panos Astithas f3ad8a7772 Bug 1233891 - Use DOM promises instead of deprecated sync promises in devtools/. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37138
2019-07-09 17:26:32 +00:00
Victor Porof 1000c00248 Bug 1561435 - Fix test failures for devtools/server/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35893
2019-06-19 13:43:15 -07:00
Victor Porof 2221048633 Bug 1561435 - Format devtools/server/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35891
2019-07-05 11:26:00 +02:00
Yura Zenevich 0c2dd603d8 Bug 1562194 - update heading with no content text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36762
2019-07-04 10:39:55 +00:00
Yura Zenevich 825a3f2e0d Bug 1562194 - update <fieldset> no name from legend text label audit rule from failure to warning. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D36761
2019-07-04 10:38:46 +00:00
Yura Zenevich 2dbacd3ab7 Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36760
2019-07-04 15:16:57 +00:00
Yura Zenevich 0164b4b03d Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961
2019-07-04 15:16:57 +00:00
Narcis Beleuzu cc81c69082 Backed out 3 changesets (bug 1552067, bug 1518808) as per yzen`s req . CLOSED TREE
Backed out changeset e677852d2ea5 (bug 1518808)
Backed out changeset d60bcc3b1c72 (bug 1552067)
Backed out changeset 2cee1703625e (bug 1552067)
2019-07-04 02:21:44 +03:00
Yura Zenevich 8e130b0a62 Bug 1518808 - add accessibility highlighter infobar for text label audit. When accessible object does not pass text label accessibility audit, the infobar will display a short message describing the particular labeling issue. r=nchevobbe,flod
Differential Revision: https://phabricator.services.mozilla.com/D35961
2019-07-03 17:25:13 +00:00
Julian Descottes 6bdf120301 Bug 1561565 - Add linting rule and update documentation for setupInParent r=ochameau,yulia,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36003
2019-06-28 12:09:25 +00:00
Gerald Squelart ea175fa034 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

Differential Revision: https://phabricator.services.mozilla.com/D36027
2019-06-28 07:12:57 +00:00
Nicolas Chevobbe 4f10e6ef5e Bug 1526886 - Convert evaluateJsAsync from Promise to an async function. r=yulia.
We take this as an opportunity to clean-up the function that
waits for the evaluation result.
This change was causing an issue in main.js `_queueResponse`.
Previously, since `evaluateJsAsync` wasn't returning anything,
`_queueResponse` wouldn't be called (See https://searchfox.org/mozilla-central/rev/928742d3ea30e0eb4a8622d260041564d81a8468/devtools/server/main.js#1305-1308).
But now `ret` isn't falsy (the async function always return a
Promise), which means we ended up trying to send a response.
To fix this, we simply check if the response isn't falsy, or we
bail out.

Differential Revision: https://phabricator.services.mozilla.com/D35985
2019-06-26 15:28:04 +00:00
chujun ed9d5b7763 Bug 1520375 Invalid conditional breakpoint only pauses when pauseOnExceptions is checked
test_conditional_breakpoint-03.js tests the behavior of the last case in the [[ https://docs.google.com/spreadsheets/d/1VIQpKgFHv8AhgwUYZ1JaQBr3AOSZojnlcSi6VB4gWUQ/edit#gid=0 | Google sheet ]].

I'm not sure if it's the correct way to test a breakpoint doesn't pause in test_conditional_breakpoint-04.js. Look forward to your feedback.

Differential Revision: https://phabricator.services.mozilla.com/D35207
2019-06-25 14:09:00 +00:00
yulia 3068e24c23 Bug 1494796 - update setBreakpoint action on the debugger to be aware of server response; r=jdescottes,jlast
This was a difficult situation. We are not waiting for a server response when setting or
removing breakpoints. The result is that the server has not completed those actions by the time the
test closed, leaving setBreakpoint or removeBreakpoint requests hanging, causing a number of tests
to fail. In order to get around this, I made the panel action "SET_BREAKPOINT" and
"REMOVE_BREAKPOINT" aware of the server response. This involved rewriting the helper methods
`clientSetBreakpoint` and `clientRemoveBreakpoint` so that they no longer relied on the dispatch.

It was not possible to use the dispatches to wait, as they had no event exposed to the tests,
especially in cases when we triggered these requests via button presses.

Differential Revision: https://phabricator.services.mozilla.com/D32710
2019-06-14 04:24:09 +00:00
yulia de63507f28 Bug 1494796 - change test code for reaching into the server; r=jdescottes
we shouldn't have this code, but we do

Differential Revision: https://phabricator.services.mozilla.com/D32720
2019-06-14 04:24:07 +00:00
yulia 9427385061 Bug 1494796 - Delete registerClient functionality; r=jdescottes
The webConsoleFront and the threadClient front both used to depend on the debugger-client
to destroy them via registered clients. This is no longer the case, and this code can be deleted

Differential Revision: https://phabricator.services.mozilla.com/D32699
2019-06-14 04:24:11 +00:00
yulia 15de8591f0 Bug 1494796 - use getFront to retrieve threadClient; r=jdescottes
In order for a front to be available to getFront on a given target, it must be first --
registered on the target scope, and second -- set on the target's targetForm. This makes that update
for both browsing context and worker targets. This works as part of a work around until we can get
the server into better shape.

Differential Revision: https://phabricator.services.mozilla.com/D32698
2019-06-14 04:24:13 +00:00
yulia a7962bc58f Bug 1494796 - Removing threadClient specifics from DebuggerClient Special case resume; r=jdescottes,jlast
The resume case is much more complex than the other events, because we do an
unsafeSynchronize to send an unsolicited pause. In the old system, the resume response would have
been ignored, but that is no longer the case. With the new system, we do not want to send a response
to a resume action if it did not come from the UI. This also update the debugger panel code to
accept a resume.

Differential Revision: https://phabricator.services.mozilla.com/D32697
2019-06-14 04:24:17 +00:00
yulia 586e646b96 Bug 1494796 - get rid of ThreadClient specifics in DebuggerClient, interrupt method; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32847
2019-06-14 04:23:57 +00:00