Commit Graph
278 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
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
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
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
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
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
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 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
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 275d39b9e3 Bug 1557330 - Lowercase node.nodename in InactivePropertyHelper. r=rcaliman.
Element.nodeName is usually all-caps, and we were testing lower cased version,
which brought erroneous results.
The test wasn't picking those errors because we were creating the element from
a XHTML document, where Element.nodeName keep the casing used for their creation.
The test is modified to deal with an HTML document instead.

After the test was modified, I could see it was failing, and was then able to
do the actual feature fix.

Differential Revision: https://phabricator.services.mozilla.com/D34149
2019-06-11 05:57:13 +00:00
Razvan Caliman 504979d216 Bug 1557063 - Better checks for invalid CSS when using gap, column-gap and row-gap. r=miker,fluent-reviewers,flod
Splits the checks by appropriate container:
- column-gap and gap for flex-container, grid-container and multi-column container
- row-gap only for flex container and grid container

See CSS Box Alignment: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Alignment

Differential Revision: https://phabricator.services.mozilla.com/D33814
2019-06-07 21:09:41 +00:00
Yura Zenevich f26e7883c9 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185
2019-06-06 08:05:19 +00:00
Yura Zenevich 1c744f92a6 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

Differential Revision: https://phabricator.services.mozilla.com/D33183
2019-06-06 17:58:33 +00:00
Michael Ratcliffe 4c15fc0beb Bug 1493369 - Fix and rewrite browser_storage_updates.js r=rcaliman
### Changes

In a nutshell, the old test produced the occasional orange and was badly written so it was very difficult to follow, especially when there were failures. The new test uses a snapshot system, which is much easier to understand.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=39b92ebbce9ce1ae58f0466ccc1608314257bf81&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f0fdf5e246550494e41b1ad88da1258e62a63ab7&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=79489426ffcf177663aceb9db43efabc190de613&group_state=expanded
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ee7fbfb846be73e08023caddd1baed2e6962d6b&group_state=expanded

That is 1040 successful test runs across all supported operating systems. There is just one window leak, which is common when running a single test in this way.

Differential Revision: https://phabricator.services.mozilla.com/D33766
2019-06-06 15:26:34 +00:00
Nicolas Chevobbe 83c3232d90 Bug 1551586 - Display a warning when min-width, min-height etc. are used incorrectly. r=miker,fluent-reviewers,flod.
This introduce a new form of invalid messages. Until now, all the
messages were like "X has no effect on this since it's not Y".
But in this case, the width/height properties applies to all but
a few cases, which means we can't really keep the same shape of
message (or it would be "since it's not A, B, C, D, ...).
So we're switching to a message that prints the display property
of the element ("X has no effect on this element since it has a
display of Y").
In order to do that, we need to pipe the element computed display
into the inactive tooltip.

Differential Revision: https://phabricator.services.mozilla.com/D32805
2019-06-04 20:33:58 +00:00
Emilio Cobos Álvarez aedb5dc6a7 Bug 1539469 - Make all input elements display: inline-block, for compat with other UAs. r=mats
See https://github.com/whatwg/html/issues/4082 for the data and some comments
from Boris and David.

I didn't look into fixing the font-inflation reftests, see bug 1540176 for that.

Differential Revision: https://phabricator.services.mozilla.com/D25566
2019-06-04 15:39:47 +00:00
Andrea Marchesini 747c7aea13 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500
2019-06-04 02:42:57 +00:00
Nicolas Chevobbe e05ec51919 Bug 1555339 - Add a test for InactivePropertyHelper isPropertyUsed. r=pbro.
Since isPropertyUsed takes an HTMLElement and its computed style, we
need to have access to the DOM, and can't use an xpcshell test.

Differential Revision: https://phabricator.services.mozilla.com/D33454
2019-06-03 12:16:44 +00:00
yulia d6c65c3294 Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371
2019-05-29 15:51:28 +00:00
Narcis Beleuzu dc2b8d9fa8 Bug 1493369 - Disable browser_storage_updates.js on Win. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32696
2019-05-28 13:34:00 +00:00
Micah Tigley 5fe55bcd46 Bug 1526975: Filter out implicit grid line names in text-property-editor's autocomplete. r=gl,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D21308
2019-05-21 21:29:02 +00:00
Yura Zenevich 6418e4d02f Bug 1549397 - add progress indicator to accessibility panel audit. r=yulia,flod
Differential Revision: https://phabricator.services.mozilla.com/D30454
2019-05-13 14:01:16 +00:00
Yura Zenevich 538563a71d Bug 1544713 - make full page audit non-blocking. Fire 'audit-event' events when the full page audit completes or fails. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D28854
2019-04-29 21:08:31 +00:00
Yura Zenevich e30c34829f Bug 1546555 - include WCAG score as part of contrast check to only calculate once. Rename ColorContrastScores constant to SCORES to be used by all checks. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28753
2019-04-27 13:33:27 +00:00
Yura Zenevich 0b6423c88b Bug 1546555 - make AccessibleActor form data a smallest set of accessible data necessary for the a11y panel to work. Allow for fetching full accessible object data via new hydrate method. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28752
2019-04-27 13:33:17 +00:00
Yura Zenevich 0f18c7660e Bug 1544678 - fixing a11y audit when checking an accessible object with no bounds. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D27884
2019-04-17 12:28:04 +00:00
Julian Descottes 43271c973c Bug 1544261 - Skip tests that try to disable a11y service on aarch64 r=yzen
Depends on D27468

As suggested, some additonal tests that should be skipped on this platform.
A first batch of tests were disabled in Bug 1533184

Differential Revision: https://phabricator.services.mozilla.com/D27558
2019-04-16 06:37:21 +00:00
Yura Zenevich 9afbef28e5 Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458
2019-04-10 18:36:02 +00:00
Yura Zenevich 361ece8aef Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457
2019-04-10 18:36:00 +00:00
Brindusan Cristian 47ab5aded0 Backed out 4 changesets (bug 1541666, bug 1541446, bug 1540904, bug 1540601) for dt failures at browser_accessibility_node_audit.js
Backed out changeset 7bcd00bbcb71 (bug 1541666)
Backed out changeset a27b2d203885 (bug 1540904)
Backed out changeset 9f43419c7b40 (bug 1541446)
Backed out changeset e3294a1be947 (bug 1540601)
2019-04-10 07:13:57 +03:00
Yura Zenevich 4b158b0afa Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458
2019-04-10 00:58:31 +00:00
Yura Zenevich be505a5b98 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457
2019-04-10 00:58:24 +00:00
Ehsan Akhgari d79016b3f8 Bug 1533584 - Part 2: Make sure browser_storage_listings.js does not depend on the value of the privacy.documentCookies.maxage pref
Landed on a CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D26354
2019-04-05 18:16:06 +00:00
Edwin Gao cdad99a319 Bug 1533184 - disable various files inside devtools/client/accessibility/test/ and devtools/server/tests/browser/ r=jmaher
- browser_accessibility_context_menu_browser.js
- browser_accessibility_highlighter_infobar.js
- browser_accessibility_node.js
- browser_accessibility_node_events.js
- browser_accessibility_simple.js

Depends on D22593

Differential Revision: https://phabricator.services.mozilla.com/D22594
2019-03-07 21:20:48 +00:00
Edwin Gao 83a22a9dd0 Bug 1533487 - disable devtools/server/tests/browser/browser_accessibility_walker.js r=jmaher
Depends on D22589

Differential Revision: https://phabricator.services.mozilla.com/D22590
2019-03-07 21:18:33 +00:00
Julian Descottes 9319528755 Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

Differential Revision: https://phabricator.services.mozilla.com/D20831
2019-02-27 17:08:43 +00:00
Alexandre Poirot 698742a690 Bug 1520774 - Remove TargetFactory.forRemoteTab. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D18539
2019-02-06 16:17:15 +00:00
Alexandre Poirot e9c0994e1c Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-02-02 11:24:24 +00:00
Bogdan Tara c0cfac2f78 Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00