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

905 Коммитов

Автор SHA1 Сообщение Дата
yulia 41a63bce0d Bug 1494796 - fix timing issues in general tests due to threadClient refactor; r=jdescottes
this patch fixes a few tests that had miscellanous timeouts

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:36 +00:00
yulia 6d5d4fea40 Bug 1494796 - fix timing issues in debugger tests due to threadClient refactor; r=jlast
There were a few miscellaneous situations in which the test would fail due to a hanging
request. These tests passed in the past because the old way of using the threadActor did not
identify which requests had been responded to.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:34:00 +00:00
chujun c7b8502fb8 Bug 1536854 - Log errors from logpoint as actual errors in the console r=davidwalsh,nchevobbe
If logpoint throws, set `level` to "error".
Add tests to ensure the correct level is set.

Demo function: https://luxuriant-system.glitch.me/
Add some logpoints. The first two statements are invalid. The third one is valid.
{F1311386}

In console:
{F1311387}

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

--HG--
extra : moz-landing-system : lando
2019-06-12 12:10:35 +00:00
Nicolas Chevobbe 9129865b0e Bug 1558468 - Split InactivePropertyHelper test cases in multiple files. r=rcaliman.
This should make the test more managable as we add properties
validators in InactivePropertyHelper.
eslint doesn't support dynamic import yet, so we have to ignore
the test file.

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

--HG--
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/gap.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/max-min-width-height.js
rename : devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html => devtools/server/tests/mochitest/inactive-property-helper/vertical-align.js
extra : moz-landing-system : lando
2019-06-12 09:49:16 +00:00
Nicolas Chevobbe fe0fe361da 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

--HG--
rename : devtools/server/tests/browser/browser_inspector-inactive-property-helper.js => devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html
extra : moz-landing-system : lando
2019-06-11 05:57:13 +00:00
Razvan Caliman d83b76d0d4 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

--HG--
extra : moz-landing-system : lando
2019-06-07 21:09:41 +00:00
Yura Zenevich 1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich 8a74234eb8 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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Michael Ratcliffe 4f40762044 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

--HG--
extra : moz-landing-system : lando
2019-06-06 15:26:34 +00:00
Jason Laster 2e54b109b8 Bug 1441183 - Resume lands on the same location. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D33571

--HG--
extra : moz-landing-system : lando
2019-06-05 18:42:58 +00:00
Nicolas Chevobbe 54361ce6cb 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

--HG--
extra : moz-landing-system : lando
2019-06-04 20:33:58 +00:00
Emilio Cobos Álvarez 1e7b303431 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

--HG--
extra : moz-landing-system : lando
2019-06-04 15:39:47 +00:00
Andrea Marchesini 176b3f8e39 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500

--HG--
extra : moz-landing-system : lando
2019-06-04 02:42:57 +00:00
Razvan Caliman 212aac6c2b Bug 1555064 - (Part 1) Generalize creation and handling of pseudo-class toggles in the Rules view. r=gl
- Removes the hardcoded references from `index.xhtml` and `rules.js` and uses a centralized list of pseudo-classes to generate the checkboxes for the supported pseudo-class locks at runtime.

- Streamlines the handling for pseudo-class locks state. Fixes Bug 1536676 as a side-effect.

- Updates tests.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:22:18 +00:00
Nicolas Chevobbe c03f5e6b19 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

--HG--
extra : moz-landing-system : lando
2019-06-03 12:16:44 +00:00
Ashley Hauck 7205b26ed3 Bug 1538375 - Don't deopt on debugger statements. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D33219

--HG--
extra : moz-landing-system : lando
2019-05-31 17:34:46 +00:00
yulia fd9524f7ff Bug 1042642 - Do not pass the threadClient to EnvironmentClient during instantiation in tests; r=jdescottes
r=jdescottes

turns out we were incorrectly passing the threadClient to the environmentClient while
instantiating in one of the tests. It worked before because the threadClient exposed the API surface
of the debugger-client.

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

--HG--
extra : moz-landing-system : lando
2019-05-30 09:02:03 +00:00
yulia ae4a4c8517 Bug 1042642 - Stop using the DebuggerClient instance to listen for ThreadClient events in tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29375

--HG--
extra : moz-landing-system : lando
2019-05-30 08:38:51 +00:00
yulia a9f8c70111 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373

--HG--
extra : moz-landing-system : lando
2019-05-30 08:37:55 +00:00
yulia 29a61755bc Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371

--HG--
extra : moz-landing-system : lando
2019-05-29 15:51:28 +00:00
yulia 41a557e3b1 Bug 1042642 - do not use DebuggerClient for functions that should only take ThreadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29370

--HG--
extra : moz-landing-system : lando
2019-05-29 15:46:02 +00:00
Narcis Beleuzu 5d86f95008 Bug 1493369 - Disable browser_storage_updates.js on Win. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32696

--HG--
extra : moz-landing-system : lando
2019-05-28 13:34:00 +00:00
Jason Laster 77d4bd0ad9 Bug 1552453 - Breakpoint doesnt pause in file during page load. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D32161

--HG--
extra : moz-landing-system : lando
2019-05-23 12:52:34 +00:00
Razvan Caliman 915619d9c1 Bug 1553194 - Remove unnecessary isInherited from CssLogic constructor. r=pbro
`isInherited` is a callback function that checks if a given CSS property is inherited. It is misleadingly commented as a cache of inherited properties (which perhaps it is on the InspectorUtils implementation, but on the consumer side it is just a function).

The actual call is done by InspectorUtils.isPropertyInherited. There is no need to pass the handler to CssLogic or to CssPropertyInfo since InspectorUtils is available in the same context as the definition of the consumers.

There is no other use case where a custom handler is passed to check for inherited properties in so it is safe to remove this as an argument and just use InspectorUtils.isPropertyInherited where needed. This cleans up the code slightly.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 07:34:03 +00:00
Micah Tigley 7c28d8cebd 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

--HG--
extra : moz-landing-system : lando
2019-05-21 21:29:02 +00:00
Oriol Brufau 4be85f2295 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-05-14 06:46:30 +00:00
Yura Zenevich 4ba1b5ae4c Bug 1549397 - add progress indicator to accessibility panel audit. r=yulia,flod
Differential Revision: https://phabricator.services.mozilla.com/D30454

--HG--
extra : moz-landing-system : lando
2019-05-13 14:01:16 +00:00
Daniel Varga f59107b417 Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types 2019-05-06 03:14:57 +03:00
Oriol Brufau 4687ff5e88 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-04-26 15:32:50 +00:00
yulia 77f46589d6 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
yulia 2a531fdb64 Bug 1529247 - remove unused pausedLongString method, threadLongString and arrayBuffer methods; r=ochameau
Finally! the goal of all of this: removing three functions from threadClient that really belong as part of source client. PauseLongString is never used except in tests. ThreadLongString is only ever used by sourceClient. Same goes for the arrayBuffer method. This clears all of that out.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 14:44:23 +00:00
Yura Zenevich ed9d7a2698 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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:08:31 +00:00
Yura Zenevich cae455a8a2 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

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:27 +00:00
Yura Zenevich 7684e5c002 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

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:17 +00:00
yulia 1aa3bce3f9 Bug 1544694 - move and rename SourceClient to SourceFront; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27709

--HG--
rename : devtools/shared/client/source-client.js => devtools/shared/fronts/source.js
extra : moz-landing-system : lando
2019-04-26 13:50:47 +00:00
yulia 47738413e6 Bug 1544694 - Convert Source Client to a Front; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27708

--HG--
extra : moz-landing-system : lando
2019-04-26 12:51:07 +00:00
jaril 1aa19f42ad Bug 1538054 - Toggle off 'Pause on Exception' immediately. r=loganfsmyth
After toggling off 'Pause on exceptions' in the debugger, exceptions were still being paused on once.

This was because the server's exception-pausing behavior was not toggled off until an exception was paused on. This patch makes it so that the behavior is changed immediately after unchecking the 'Pause on exceptions' checkbox in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:30:03 +00:00
yulia 854b687951 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-23 13:48:59 +00:00
Dorel Luca e349607790 Backed out 2 changesets (bug 1544694) for XPCshell failures in devtools/server/tests/unit/test_blackboxing-01.js. CLOSED TREE
Backed out changeset 63d133aae187 (bug 1544694)
Backed out changeset fc739beb6782 (bug 1544694)
2019-04-23 13:09:41 +03:00
Alexandre Poirot 31940b3696 Bug 1540693 - Fix BrowserTabList leak. r=jdescottes
BrowserTabList._actorByBrowser still contains opened tab we attached
to when destroying the RootActor. This prevents correctly unregistering
the DOM listener set on browser.xul, leading to permanent leaks.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 08:23:16 +00:00
yulia a2dd505a24 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-17 16:15:15 +00:00
Coroiu Cristina e687fbf549 Backed out changeset dedf066bfcfc (bug 1538054) for xpcshell failures at devtools/server/tests/unit/test_pause_exceptions-04.js on a CLOSED TREE 2019-04-20 00:09:05 +03:00
jaril 2e143cda16 Bug 1538054 - Toggle off 'Pause on Exception' immediately. r=loganfsmyth
After toggling off 'Pause on exceptions' in the debugger, exceptions were still being paused on once.

This was because the server's exception-pausing behavior was not toggled off until an exception was paused on. This patch makes it so that the behavior is changed immediately after unchecking the 'Pause on exceptions' checkbox in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 15:35:53 +00:00
Jason Laster f2cd91cb30 Bug 1545103 - applyBreakpoint should no longer support fuzzy matches.
Differential Revision: https://phabricator.services.mozilla.com/D28203

--HG--
extra : moz-landing-system : lando
2019-04-19 16:07:24 +00:00
Noemi Erli cf310dc4ad Backed out changeset 3240b92c5566 (bug 1545103) for failures in test_setBreakpoint-at-the-beginning-of-a-minified-fn.js 2019-04-19 17:29:37 +03:00
Jason Laster 6828479873 Bug 1545103 - applyBreakpoint should no longer support fuzzy matches. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27943

--HG--
extra : moz-landing-system : lando
2019-04-19 13:29:50 +00:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Yura Zenevich 060fc67e56 Bug 1544678 - fixing a11y audit when checking an accessible object with no bounds. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D27884

--HG--
extra : moz-landing-system : lando
2019-04-17 12:28:04 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Julian Descottes 1f5a3831f6 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

--HG--
extra : moz-landing-system : lando
2019-04-16 06:37:21 +00:00
Yura Zenevich 4c0b4af80b Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458

--HG--
extra : moz-landing-system : lando
2019-04-10 18:36:02 +00:00
Yura Zenevich 2c9b6e5406 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457

--HG--
extra : moz-landing-system : lando
2019-04-10 18:36:00 +00:00
Brian Hackett bbeb7fc709 Bug 1092922 - Only pause once when unwinding a particular exception, r=loganfsmyth. 2019-04-09 15:48:22 -10:00
Andrew McCreight 1b901ff2db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 21:39:27 +00:00
Ciure Andrei 3ff6ff6d6f Backed out changeset 5937ad352b2d (bug 1542024) for perma failing 406106-1.html CLOSED TREE 2019-04-09 00:12:32 +03:00
Andrew McCreight ccc11f67db Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky
I changed DelegatedQueryInterface and CallMethod to be non-static
methods rather than taking an explicit |self| parameter.

I did a tiny bit of cleanup in the nsIXPConnectJSObjectHolder case of
DelegatedQueryInterface().

There is already a method nsXPCWrappedJS::CallMethod() with the same
signature, but it is a shim, so I inlined it into the version in
XPCWrappedJSClass.cpp.

I also fixed up a few comments that mention nsXPCWrappedJSClass.

The new comments starting with "We now need to enter the realm" were
written by Boris, and are a little more explicit so they are easier to
understand.

I renamed DebugDump() to DebugDumpInterfaceInfo() to be more
informative.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:44:45 +00:00
Ehsan Akhgari 9d957462b6 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

--HG--
extra : moz-landing-system : lando
2019-04-05 18:16:06 +00:00
Sebastian Hengst c23936fcc6 Bug 1539131 - Only test bigInt propertypes in test_objectgrips-08.js if bigInt is enabled r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D25508

--HG--
extra : moz-landing-system : lando
2019-04-01 05:39:57 +00:00
arthur.iakab 35c8a01713 Merge mozilla-central to autoland 2019-03-25 17:54:29 +02:00
Nicolas Chevobbe c0f87f9ae6 Bug 1527867 - Add support for BigInt in devtools; r=davidwalsh.
We add a new `BigInt` grip type that can be consumed by reps.
A few test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 14:33:30 +00:00
Mats Palmgren ff5ea5f6ab Bug 205202 part 2 - [css-lists][css-pseudo] Add support for the ::marker pseudo element on list items. Test updates. r=emilio 2019-03-24 23:13:53 +01:00
yulia 994e78fd2f Bug 1532567 - remove unused eval method from threadClient and threadActor; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21700

--HG--
extra : moz-landing-system : lando
2019-03-12 15:03:47 +00:00
Jason Laster d11dedc8c5 Bug 1532791 - Breaking on exception even if option is off. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D22186

--HG--
extra : moz-landing-system : lando
2019-03-12 19:01:40 +00:00
yulia 408d434de2 Bug 1529247 - remove unused releaseMany method from thread client and actor; r=ochameau
There is one spot I am unsure about, and that is the test:
devtools/server/tests/unit/test_threadlifetime-06.js -- should this be kept or do we want to remove
it as well?

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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:06:35 +00:00
Edwin Gao ab75e0557e 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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:20:48 +00:00
Edwin Gao efc0cfcee0 Bug 1533487 - disable devtools/server/tests/browser/browser_accessibility_walker.js r=jmaher
Depends on D22589

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

--HG--
extra : moz-landing-system : lando
2019-03-07 21:18:33 +00:00
Emilio Cobos Álvarez 0b5807bc62 Bug 1215878 - Implement CSS revert keyword. r=heycam,birtles
The only fishy bit is the animation stuff. In particular, there are two places
where we just mint the revert behavior:

 * When serializing web-animations keyframes (the custom properties stuff in
   declaration_block.rs). That codepath is already not sound and I wanted to
   get rid of it in bug 1501530, but what do I know.

 * When getting an animation value from a property declaration. At that point
   we no longer have the CSS rules that apply to the element to compute the
   right revert value handy. It'd also use the wrong style anyway, I think,
   given the way StyleBuilder::for_animation works.

   We _could_ probably get them out of somewhere, but it seems like a whole lot
   of code reinventing the wheel which is probably not useful, and that Blink
   and WebKit just cannot implement either since they don't have a rule tree,
   so it just doesn't seem worth the churn.

The custom properties code looks a bit different in order to minimize hash
lookups in the common case. FWIW, `revert` for custom properties doesn't seem
very useful either, but oh well.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 11:59:36 +00:00
ravefalcon92 1944262d43 Bug 1530423 - Ensure breakpoints are added to newly-cloned JSScripts for existing sources. r=loganfsmyth
Similar to bug 1528654, we currently bail out too early and don't process all of the correct scripts when adding breakpoints.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 01:01:05 +00:00
Brian Hackett 448cf790fe Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth. 2019-03-03 07:05:07 -10:00
Razvan Maries c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Dorel Luca 5d73bddbc6 Merge mozilla-central to autoland 2019-03-02 01:23:22 +02:00
Daniel Varga 74f08acf9b Backed out changeset 4047bcadec73 (bug 1522244) for mochitest failure at devtools/client/debugger/new/test/mochitest/browser_dbg-worker-scopes.js a=backout
--HG--
extra : rebase_source : 3ad963907a2364fa351e67b957f49d3d754e5efb
2019-03-02 00:01:01 +02:00
Dorel Luca 0284221047 Merge mozilla-central to mozilla-inbound 2019-03-02 01:26:01 +02:00
yulia beb91522fe Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834

--HG--
extra : moz-landing-system : lando
2019-03-01 15:26:18 +00:00
Brian Hackett 59b0afdf35 Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 80e4880695f4fb1516946dc70e87b0949d89402f
2019-02-28 06:25:10 -10:00
Brian Hackett 75c921ea5c Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : cdd1d02a69a17709aff17ac2d6d13f6f0039d5bb
2019-02-28 06:24:46 -10:00
Julian Descottes 4615ed9f9b Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:08:43 +00:00
Logan Smyth 2cfdeb0deb Bug 1530549 - Ensure that _clearSteppingHooks() runs _after_ we pause. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21384

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:31 +00:00
Alexandre Poirot 252ea7758f Bug 1520835 - Remove unused attachTarget methods. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20704

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:52 +00:00
yulia 69d42691df Bug 1529247 - remove unused getPrototypesAndProperties method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20835

--HG--
extra : moz-landing-system : lando
2019-02-26 16:24:49 +00:00
Brindusan Cristian 73b09a782e Backed out changeset c300840573f5 (bug 1528276) for dt failures at browser_target_server_compartment.js. CLOSED TREE
--HG--
extra : histedit_source : b43e057c5f78805a5a09afd84836e537fc726618
2019-02-26 19:45:30 +02:00
Julian Descottes ecf2b4ff49 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:38:30 +00:00
yulia f1efb1c816 Bug 1529247 - Remove environment method from the threadClient; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20467

--HG--
extra : moz-landing-system : lando
2019-02-22 16:13:54 +00:00
Michael Ratcliffe 11f246e18a Bug 1042082 - Chrome event bubbles are displayed when they shouldn't be r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18358

--HG--
extra : moz-landing-system : lando
2019-02-22 11:17:02 +00:00
Alexandre Poirot 412b285031 Bug 1269919 - Unify all the attachThread methods on Target class. r=jdescottes
There is still some tight connection between ThreadClient and Target,
- Target.threadClient, which should ideally disappear in favor of
  target.getFront("thread")
- Target.threadClient is manually nullified from ThreadClient.detach,
  but that should disappear as well thanks to getFront.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 15:05:49 +00:00
Logan Smyth fe5c75b9ba Bug 1528654 - Select the first column breakpoint for _all_ evaluations of a Debugger.Source, not just the first. r=jlast
A JSScript can be explicitly cloned and applied to a new realm. When this is done within the same compartment
as the original JSScript, it maintains its reference to the original ScriptSourceObject. This can lead to the
potentially surprising fact that using Debugger.findScripts({ source }) can return multiple Debugger.Script
objects representing the same function, but in multiple realms.

When we query for breakpoints in a given source, we want to take the first column breakpoint on a given line,
but that needs to apply to all potential instances of the Debugger.Script for that location, not just the first one.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 16:44:54 +00:00
Kyle Machulis 9fb68b2ccf Bug 1524683 - Remove nsIFrameLoaderOwner from tests; r=nika
Any time we QI to nsIFrameLoaderOwner in tests, we're really accessing
a MozFrameLoader. We don't need to be doing that anymore.

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

--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:49 +00:00
Jason Laster e5c5dceda1 Bug 1527612 - Format displayName in the server. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D19666

--HG--
extra : moz-landing-system : lando
2019-02-13 22:32:00 +00:00
Jim Blandy ed1c6b0878 Bug 1145201: xpcshell test: Debugger callbacks protect debuggee's microtask queue. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D17548

--HG--
extra : moz-landing-system : lando
2019-02-12 08:11:02 +00:00
Jim Blandy 33e0302a5c Bug 1145201: Fix xpcshell tests not to mix the test's own microtasks with the debuggee's. r=jlast
Evaluation of debuggee code should always begin with an empty microtask queue.
In xpcshell tests, this is not guaranteed, as it is in the web platform. This
patch changes those devtools server xpcshell tests that break this rule in a
detectable way to run the debuggee code as a separate HTML task.

In an actual browser environment, debuggee JavaScript runs as an HTML task.
Since HTML requires a microtask checkpoint at the end of each task, this means
that a debuggee task begins execution with an empty microtask queue, free of
microtasks from other tabs or the browser machinery itself. Hence, while the
debugger is pausing debuggee code, it is safe for it to save the debuggee's
microtask queue, so that those jobs do not make progress. (Which is fortunate,
because it *must* do so, lest the debuggee's microtasks run during the pause!)

In an xpcshell test, however, there is no guarantee that debuggee code begins
execution with a fresh microtask queue: the test may call `eval` or
`evalInSandbox` at any time. If such an evaluation hits a breakpoint, `debugger`
statement, etc. that invokes a Debugger hook, supervisory microtasks from the
test harness code may be set aside along with the debuggee's microtasks. If the
hook code then blocks waiting for those microtasks to run, the test will hang.

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

--HG--
extra : moz-landing-system : lando
2019-02-12 08:20:29 +00:00
Logan Smyth 241f292283 Bug 1518661 - Part 7: Update debugger server to use new getPossibleBreakpoints APIs. r=jlast
Making use of the new SpiderMonkey APIs for available breakpoints means
that the server needs to think a lot less about where it is pausing and
allows us to drop the concept of a pause points from the server entirely.
It is now up to SpiderMonkey to decide where it will and will not stop
when it is stepping.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 02:31:03 +00:00
Logan Smyth 6b7e5f0896 Bug 1518661 - Part 4: Convert bytecode positions to be more expression-oriented. r=jimb,jorendorff
This brings SpiderMonkey more in line with V8 for the positions that it uses for expressions
nested within statements. We generally prefer to use the expression's own location
rather than the location of the statement, in the majority of cases.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 02:31:00 +00:00
Brian Hackett 56d2836638 Bug 1524374 - Remove breakpoint actors, r=jlast.
--HG--
extra : rebase_source : 066264dbc1f73f3afb403a9c04f5b5dbd7d53613
2019-02-06 09:18:33 -10:00
Brian Hackett 2f2cc2e383 Bug 1525685 - Remove server side breakpoint sliding code, r=jlast.
--HG--
extra : histedit_source : 926bce1cf87ccce1d586743b4f538a783dd67def%2C949bf19df412fa09cb750ec9c6ee1253616f75cd
2019-02-08 11:50:55 -10:00
Alexandre Poirot c5e4b01f95 Bug 1520774 - Remove TargetFactory.forRemoteTab. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D18539

--HG--
extra : moz-landing-system : lando
2019-02-06 16:17:15 +00:00
Jason Laster 32016ba41e Bug 1522663 - Stop referencing sourceClient.isBlackboxed. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D17549

--HG--
extra : moz-landing-system : lando
2019-02-06 05:04:37 +00:00
Andrew Swan 84de729f2c Bug 1525445 Part 2: Move users of Extension.generate to ExtensionTestCommon r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18753

--HG--
extra : rebase_source : 8df66f0ae26dbe126a6bf426532ea3f3ec030f0e
2019-01-03 14:22:44 -08:00
Alexandre Poirot ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Alexandre Poirot dddc73fb49 Bug 1465635 - Merge all target fronts with Target class. r=yulia,jdescottes
This patch makes it so that all target fronts inherits from a Target class mixin.
We are using a mixin as fronts should inherit from a custom Front class,
which is augmented with its own RDP request and events defined in its spec.
(This is done via FrontClassWithSpec(spec))

Depends on D15830

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:32 +00:00
Brian Hackett 96d60971db Bug 1520972 - Handle log points in the devtools server, r=jlast.
--HG--
extra : rebase_source : cbff40bc197b6a7cac66bd4698e0059860662a2c
2019-01-17 16:04:17 -10:00