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

3030 Коммитов

Автор SHA1 Сообщение Дата
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
tanhengyeow 0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Oana Pop Rus f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
tanhengyeow 5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +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
Brian Hackett 3e7cf51dc1 Bug 1558504 - Waive xrays on contents of Set and Map objects when previewing, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D34743

--HG--
extra : rebase_source : 0a7a278afe93c3873b6c90ade98a9271fbff9965
2019-06-12 06:11:48 -10:00
Thomas e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +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
David Walsh e5f1dbe9cf Bug 1556308 - Prevent nemonitor errors for failed requests r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D33988

--HG--
extra : moz-landing-system : lando
2019-06-10 16:16:08 +00:00
Micah Tigley 246762bd09 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-08 21:35:42 +00:00
Bogdan Tara d2b3af29d9 Backed out changeset f4ea30c29aa7 (bug 1556533) for browser_orientationchange_event.js failures CLOSED TREE 2019-06-07 04:54:14 +03:00
Micah Tigley 08a7bba50b Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-07 00:00:55 +00:00
Csoregi Natalia df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Csoregi Natalia 0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Bogdan Tara 2fbab54c99 Backed out changeset 91643c6f9a42 (bug 1556533) for es lint failure CLOSED TREE 2019-06-07 00:22:18 +03: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
Nicolas B. Pierron 7d6c7e92af Bug 1488858 - Rename JSMSG_NOT_NONNULL_OBJECT to JSMSG_OBJECT_REQUIRED. r=jorendorff 2019-06-06 14:25:44 +02:00
shindli 3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Charlie Marlow 29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Micah Tigley 0b75341190 Bug 1556533 - Fix RDM simulating orientationchange event when the page is refreshed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33734

--HG--
extra : moz-landing-system : lando
2019-06-06 19:18:16 +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
Brian Hackett f169f9c96f Bug 1325195 Part 2 - Remove worker specific code in object previews, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D32874

--HG--
extra : rebase_source : d262de290a5a8de56085e614cd01435d91b9dee3
2019-05-28 08:33:00 -10:00
Gabriel Luong 6c4bdbacd6 Bug 1550519 - Show a translucent parent highlight when a subgrid is highlighted. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D32507
2019-05-24 14:02:14 -04:00
Nicolas B. Pierron 1040b3de0b Bug 1533132 - Index JSMSG_SET_NON_OBJECT_RECEIVER MDN documentation. r=fscholz 2019-06-05 19:15:35 +02: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
Charlie Marlow da73c04156 Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-04 22:04:14 +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 89a6536b37 Bug 1555064 - (Part 2) Centralize the list of supported pseudo-classes. r=gl
Depends on D32867

Reference the shared list of pseudo-elements throughout the codebase:
- markup view context menu + test
- Rule editor
- box model highlighter
- node actor
- new Rules view

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

--HG--
extra : moz-landing-system : lando
2019-05-30 16:14:53 +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
Yura Zenevich f46fa84727 Bug 1556135 - only check if the current node is null in getClosestBackgroundImage. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D33396

--HG--
extra : moz-landing-system : lando
2019-06-01 23:16:01 +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
Andrea Marchesini b1b122fb20 Bug 1554464 - Merge nsICookie2 and nsICookie in 1 single interface, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33031

--HG--
extra : moz-landing-system : lando
2019-05-31 09:36:44 +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
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
Andrea Marchesini 4c6ace6ac6 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:03 +00:00
arthur.iakab 944263f18a Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini e9bbb85ed1 Bug 1551798 - Rename nsICookie2.SAMESITE_UNSET to nsICookie2.SAMESITE_NONE, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D31214

--HG--
extra : moz-landing-system : lando
2019-05-24 15:18:49 +00:00
Patrick Brosset 1745f1b4eb Bug 1554723 - Correctly exclude all inline-level elements when warning for misuse of vertical-align r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32799

--HG--
extra : moz-landing-system : lando
2019-05-29 08:39:43 +00:00
Boris Chiou a194573277 Bug 1429303 - Animate offset-rotate. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D32237

--HG--
extra : moz-landing-system : lando
2019-05-28 18:31:48 +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
David Walsh 2db41012f6 Bug 1157817 - Show blocked requests in the Network Monitor r=Honza,Harald
Displays blocked requests in the Network monitor request listing, providing a reason for why the request was blocked based on response codes provided b nsILoadInfo.idl

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

--HG--
extra : moz-landing-system : lando
2019-05-28 12:13:08 +00:00
Patrick Brosset a6088694e9 Bug 1554727 - Check if selectorText exists before testing its content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32737

--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:53 +00:00
Jean-Yves Avenard 022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Gurzau Raul 967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard 074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
Brindusan Cristian fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Kevin Morehouse 25f075630a Bug 1546109 - Replace references to generated properties in the server r=jlast
Replace:
        generatedSourceActor —> sourceActor
        generatedLine —> line
        generatedColumn —> column
        generatedLastColumn —> lastColumn
        generatedUrl —> url
        generatedLocation —> location
        GeneratedLocation —> SourceLocation
        parentGeneratedLocation —> parentLocation
    Replace references in comments to match the above changes.

The affected files are:

    devtools/server/actors/breakpoint.js
    devtools/server/actors/common.js
    devtools/server/actors/frame.js
    devtools/server/actors/thread.js
    devtools/server/actors/utils/TabSources.js

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:43:11 +00:00
Brian Hackett d8aca5bfb7 Bug 1483350 - Fix some control logic bugs, r=loganfsmyth.
--HG--
extra : rebase_source : 28501766085216f8e731a0ea205a80eea069a798
2019-05-21 17:44:53 -10:00
Boris Chiou 3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +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
Patrick Brosset a365f19d19 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:06:16 +00:00
Mihai Alexandru Michis 2ae5a4bb01 Backed out changeset 0f9626b48a66 (bug 1553451) for linting failures. CLOSED TREE 2019-05-23 10:58:22 +03:00
Patrick Brosset 28f446d619 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:07:49 +00:00
Gurzau Raul 74c555539e Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
Backed out changeset 5dd10a365ba9 (bug 1550422)
Backed out changeset 529f5be01ab9 (bug 1550422)
Backed out changeset b6861d3badf8 (bug 1550422)
Backed out changeset 059cff1a3dde (bug 1550422)
Backed out changeset 6ada1116b241 (bug 1550422)
Backed out changeset ca67e8e45262 (bug 1550422)
Backed out changeset a1961a51ae44 (bug 1550422)
Backed out changeset 1c90b9cb3ad4 (bug 1550422)
Backed out changeset 285fa46e4f26 (bug 1550422)
Backed out changeset e2938a444234 (bug 1550422)
Backed out changeset 7a930fc51125 (bug 1550422)
Backed out changeset 898ed02804fe (bug 1550422)
Backed out changeset e1b7abc99ae9 (bug 1550422)
Backed out changeset f781d415cef6 (bug 1550422)
Backed out changeset 2fef10a7cce5 (bug 1550422)
Backed out changeset ea64b4d8d4ff (bug 1550422)
Backed out changeset 86a8ba1b755c (bug 1550422)
Backed out changeset 9c0c9e80f309 (bug 1550422)
Backed out changeset 10c153ddbaea (bug 1550422)
Backed out changeset 60fe635ec2c9 (bug 1550422)
Backed out changeset a38796266b28 (bug 1550422)
Backed out changeset 2db647dcdf1c (bug 1550422)
Backed out changeset 952ddac02972 (bug 1550422)
Backed out changeset ba46b53643ec (bug 1550422)
Backed out changeset ca47ef6c59f7 (bug 1550422)
Backed out changeset f45f471a1a40 (bug 1550422)
Backed out changeset 371b4da5b771 (bug 1550422)
Backed out changeset 02fc78890032 (bug 1550422)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard 8d7b592625 Bug 1550422 - P27. Fix long line. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D32247

--HG--
extra : moz-landing-system : lando
2019-05-23 00:22:21 +00:00
Jean-Yves Avenard d59781ac33 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:30 +00:00
Micah Tigley b15ec7f710 Bug 1357774 - Part 2: Add the ability to update orientation state of a simulated device in RDM r=gl
This patch gives the RDM UI the ability to update the screen orientation based on the orientation of the simulated device screen. It fixes the following issues:

  - Initializing the orientation state of the selected device when RDM is opened.
  - Updating orientation state when the rotate button in the RDM toolbar is pressed.
  - Updating the orientation state when a new device is selected.

There are three actions creators that are responsible for notifying the ResponsiveUI manager, `changeDevice`, `restoreDeviceState`, and `rotateViewport`. In particular:



  - `restoreDeviceState` is dispatched when the Responsive UI has finished initializing. If a previous RDM session had a device selected, then this action creator will also dispatch the `changeDevice` action to update the RDM UI to reflect the currently selected device.
  - `changeDevice` is dispatched when a device is selected.
  - `rotateViewport` is dispatched when the rotate button is clicked in the RDM toolbar.

When either of these actions is dispatched, we post a "viewport-orientation-change" message to the window that notifies the manager to update the screen orientation accordingly.

Finally, when RDM is closed, we need to ensure the original physical screen orientation is restored. We do this by calling the `setRDMPaneOrientation` on the docShell's document in the content frame script.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 20:07:13 +00:00
Gabriel Luong debbd4220d Bug 1468402 - Part 1: Add isSubgrid to the grid actor form and getParentGridNode to the walker. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29317
2019-04-30 00:50:47 -04:00
Patrick Brosset 5449744a67 Bug 1551812 - New InactiveCSS rule for vertical-align; r=flod
Differential Revision: https://phabricator.services.mozilla.com/D31235

--HG--
extra : moz-landing-system : lando
2019-05-22 14:56:48 +00:00
Patrick Brosset babd28f5c6 Bug 1544223 - Disable a few high complexity functions and lower the limit to prevent more complexity; r=jdescottes
Depends on D31973

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:08:59 +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
Nicolas Chevobbe aef9587dfb Bug 1541355 - Don't display DevTools internal frames in Netmonitor stacktrace. r=Honza.
Before sending back the stacktrace, we remove all the
devtools internal frames using removeFramesAboveDebuggerEval.
A test (that was failing without the fix) is added to ensure
this works as expected.
The test revealed some issues in webconsole-connection-proxy
(mostly trying to access webConsoleUI while closing the toolbox),
which we fix in the patch as well.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 08:57:36 +00:00
Emilio Cobos Álvarez d6c1e69556 Bug 1553227 - followup: fix animation-type-longhand.js. 2019-05-22 02:47:22 +02: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
Patrick Brosset 51f7604145 Bug 1521188 - Make findGridParentContainerForNode not depend on the walker; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D31633

--HG--
extra : moz-landing-system : lando
2019-05-21 14:30:33 +00:00
Boris Zbarsky e03bc405fa Bug 1551106 part 2. Stop using [array] in profiler's GetFeatures/GetAllFeatures. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D30968

--HG--
extra : moz-landing-system : lando
2019-05-21 14:43:10 +00:00
Boris Zbarsky dbdb74ad56 Bug 1551106 part 1. Stop using [array] in StartProfiler. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D30967

--HG--
extra : moz-landing-system : lando
2019-05-21 14:42:57 +00:00
violet 058a50476b Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
This is the last part of this seris of patches to implement geometry property.
This particular patch just run `./mach devtools-css-db` to update db per instruction
at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db.

After this patch, the SVG geometry propery is implemented for <rect>, <circle>,
<ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the
remainings are inner <svg> and <image>, which are kind of different to the
others, so they will be handled in some follow-ups. Note that these patches won't
impact old behavior of inner <svg> and <image>.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
Boris Chiou ce15d305e2 Bug 1429299 - Part 2: Implement offset-distance. r=emilio
Define the offset-distance property in style system.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:52 +00:00
Jonathan Kew eb2e0187f1 Bug 1531715 - Implement the CSS line-break property, with values "auto | anywhere". r=emilio
Note that the "loose | normal | strict" values are not yet parsed/implemented.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:07 +00:00
Mihai Alexandru Michis a025133e9e Backed out changeset 36ada63cb9fb (bug 1541355) for failing browser_webconsole_network_messages_stacktrace_console_initiated_request.js CLOSED TREE 2019-05-20 18:33:53 +03:00
Nicolas Chevobbe f20a8dc563 Bug 1541355 - Don't display DevTools internal frames in Netmonitor stacktrace. r=Honza.
Before sending back the stacktrace, we remove all the
devtools internal frames using removeFramesAboveDebuggerEval.
A test (that was failing without the fix) is added to ensure
this works as expected.
The test revealed some issues in webconsole-connection-proxy
(mostly trying to access webConsoleUI while closing the toolbox),
which we fix in the patch as well.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 12:33:06 +00:00
Emilio Cobos Álvarez c1954c0d3a Bug 1492739 - Unprefix user-select. r=mats
The CSSWG decided that our behavior regarding inheritance is what we want,
see [1].

[1]: https://github.com/w3c/csswg-drafts/issues/3344

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

--HG--
extra : moz-landing-system : lando
2019-05-17 02:43:59 +00:00
Brian Hackett ebb59a5eec Bug 1392411 Part 2 - Report stacks for websocket construction in net monitor, r=ochameau.
--HG--
extra : histedit_source : 05865e0d0447d9f075a747c3b707176f892c6083
2019-05-19 12:44:55 -10:00
Brian Hackett 3a6942403b Bug 1432885 - Step in to the first valid step target, r=loganfsmyth.
--HG--
extra : rebase_source : 63a7f8f5f1bc4f416e9a330576dc25ccd57222fc
extra : histedit_source : 71d4d3c9374a1a85c343a7126a10a869cebca11d
2019-05-14 07:11:04 -10:00
Csoregi Natalia 68a6d3ccaa Backed out 4 changesets (bug 1392411, bug 1546736) for failures on /browser_net_websocket_stacks.js. CLOSED TREE
Backed out changeset c37ca68a24e5 (bug 1546736)
Backed out changeset 1c23ba0f835f (bug 1392411)
Backed out changeset fce11a50c058 (bug 1392411)
Backed out changeset 2e2f3fc37e2e (bug 1392411)
2019-05-17 04:27:56 +03:00
Brian Hackett db5154104d Bug 1392411 Part 2 - Report stacks for websocket construction in net monitor, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D28229

--HG--
extra : rebase_source : 8335b8d0cfb2e96b88439b241016788deb6fab87
2019-04-19 07:42:58 -10:00
Brian Hackett c2a42226a5 Bug 1392408 Part 5 - Listen for alternate stack traces in StackTraceCollector, r=ochameau.
--HG--
extra : rebase_source : 48e4e4f1bd6d63039051e492f87451e689e6a740
2019-05-16 08:09:07 -10:00
Csoregi Natalia 8ef3142853 Merge inbound to mozilla-central. a=merge 2019-05-17 00:55:45 +03:00
Brian Hackett e6398fa3d4 Bug 1547084 Part 5 - Debugger changes for new control logic, r=loganfsmyth.
--HG--
extra : rebase_source : 800196b6c73dec30db3afa0b3a5d87acbfd76e5e
2019-05-12 13:18:17 -10:00
Brian Hackett 27c0a0fcda Bug 1547084 Part 4 - Switch to a search focused control logic architecture, r=loganfsmyth.
--HG--
extra : rebase_source : 395c14562519d79a9bf620e3f0e5ead58cbd22c8
2019-05-12 13:17:40 -10:00
Brian Hackett c201146e83 Bug 1547084 Part 2 - Remove reverseStepIn and reverseStepOut logic, r=loganfsmyth.
--HG--
extra : rebase_source : 9cd48bddd6d4156036b5732a94d3a2c79fd3e992
2019-05-12 13:15:05 -10:00
Brian Hackett 7bc46c0237 Bug 1546736 Part 2 - Set flag on docshell when devtools are watching it, r=ochameau.
--HG--
extra : rebase_source : 5360534bafd95f13ce0c8870daae96c771954c24
2019-05-08 09:28:53 -10:00
Julian Descottes dc81ec93ee Bug 1552116 - Move devtools.inspector.inactive.css.enabled to devtools shared preferences r=miker
This preference is used both by the client and the server and cannot be stored in devtools/client
Also added default fallback values.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 09:58:43 +00:00
Coroiu Cristina b4731ed54d Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period
Backed out changeset 4316d55f87be (bug 1383650)
Backed out changeset 0118148f1534 (bug 1383650)
Backed out changeset 447c9248342b (bug 1383650)
Backed out changeset 6730776560c0 (bug 1383650)
Backed out changeset a7b8e6460fb8 (bug 1383650)
Backed out changeset e864696f6cf8 (bug 1383650)
Backed out changeset 2b003d678c58 (bug 1383650)
Backed out changeset 7bc3bff991c4 (bug 1383650)
Backed out changeset f1f7b4ad9547 (bug 1383650)
Backed out changeset 18b030b31660 (bug 1383650)
Backed out changeset 70e74dd6b45d (bug 1383650)
Backed out changeset 55a283e793df (bug 1383650)
2019-05-16 04:47:58 +03:00
violet 2fea323951 Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
This is the last part of this seris of patches to implement geometry property.
This particular patch just run `./mach devtools-css-db` to update db per instruction
at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db.

After this patch, the SVG geometry propery is implemented for <rect>, <circle>,
<ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the
remainings are inner <svg> and <image>, which are kind of different to the
others, so they will be handled in some follow-ups. Note that these patches won't
impact old behavior of inner <svg> and <image>.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:56:22 +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
Nicolas Chevobbe 2ce628defc Bug 1551222 - Fix stacktrace for throwing console evaluated expressions. r=bhackett.
We now have stacktrace for expressions evaluated in the console
that throws, and we are stripping any frames that are devtools
internals.
But the way we were doing this meant that we were only having
one `debugger eval code` frame, even if the expression in the console
had multiple frames.
Also, if an expression was throwing without having any `debugger eval
code` frame (e.g. expression with SyntaxError), we were sending internal
frames.
This patch should fix those 2 cases and a linux 64 ccov intermittent
caused by a different line number for an internal frame in a fixture
packet.
Tests cases are added to the existing mochitest to ensure this
works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 18:42:31 +00:00
Brian Hackett 03090392f2 Bug 1547864 - Use a single debugger request to gather information needed to pause at a location, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D29292

--HG--
extra : rebase_source : fdd36325071826bb0f423c1b028c3ee1722e5984
2019-04-29 06:40:23 -10:00
yulia 814de9f0fc Bug 1450284 - rename script spec to thread.js; r=jdescottes
Rather straighforward -- as per jryans recommendation, I have renamed the file to reflect
our naming conventions.

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

--HG--
rename : devtools/shared/specs/script.js => devtools/shared/specs/thread.js
extra : moz-landing-system : lando
2019-05-13 13:56:18 +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
Michael Ratcliffe a58a67412c Bug 1306054 - Use custom tooltip for inactive properties r=jdescottes,flod,rcaliman
### Changes

Probably the most important change apart from the tooltips is that we now only support one property at a time. This allows us to short circuit at the first invalid property and improve performance. This was previously agreed with Razvan but there were some relics left in the code.

`toolbox.xul`
- Added tooltips.ftl

`devtools/client/inspector/markup/test/helper_events_test_runner.js`:
- Had to change to synthesizeMouseAtCenter because CSS changes caused the original to fail.

`devtools/client/inspector/rules/rules.js`:
- Added `VIEW_NODE_INACTIVE_CSS` to node types and sorted alphabetically.
- Added new nodeInfo data for Inactive CSS icons.

`devtools/client/inspector/rules/test/browser_rules_inactive_css_flexbox.js` &
`devtools/client/inspector/rules/test/browser_rules_inactive_css_grid.js`:
- removed some listeners that are no longer needed

`devtools/client/inspector/rules/test/head.js`:
- Refactored `getPropertiesForRuleIndex()` in order to pass along information needed for testing our Fluent strings.
- Refactored `checkDeclarationIsInactive()` to check tooltip contnts using a new method.
- Added `checkInteractiveTooltip()` for checking the tooltip contents themselves.
- Simple changes to `runInactiveCSSTests()`.

`devtools/client/inspector/rules/views/text-property-editor.js`:
- We no longer create the tooltip by adding the title attribute.

`devtools/client/inspector/shared/node-types.js`:
- Changed the enum to use strings to simplify debugging.
- Added `VIEW_NODE_INACTIVE_CSS`.
- Sorted alphabetically.

`devtools/client/inspector/shared/tooltips-overlay.js`:
- Introduced a new tooltip type called `interactiveTooltip`.

`devtools/client/locales/en-US/inspector.properties`:
- Removed strings.

`devtools/client/locales/en-US/tooltips.ftl`:
- Added structured versions of the properties from `inspector.properties`.

`devtools/client/shared/widgets/tooltip/HTMLTooltip.js`:
- Made the tooltips obey the "prevent popup autohide" option in the browser debugger.

`devtools/client/shared/widgets/tooltip/InactiveCSSTooltipHelper.js`:
- Main file for handling InactiveCSS Tooltips.

`devtools/client/themes/tooltips.css`:
- Made arrow tooltips follow the Proton theme.

`devtools/server/actors/utils/inactive-property-helper.js`:
- General changes to support Fluent.
- Bail on first inactive property found.

### Latest Try (expecting green)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=de28939206d444dc4b534a3e5cc7a84b8797bec3

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

--HG--
extra : moz-landing-system : lando
2019-05-10 17:03:27 +00:00
Michael Ratcliffe ba0ce74c15 Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman
### Summary of Changes

1. Added `element-style.js::refreshUnusedCssAll()`:
   - This method refreshes the CSS declarations for every property change and then calls  `element-style.js::_updatePropertyUsed()` for each pseudo element.
2. Added `element-style.js::_updatePropertyUsed()`:
   - This method simply updates the unused CSS HTML for each property that needs it.
3. Added `alerticon-unused.svg`.
4. A tiny bit of tidying in `devtools/client/themes/rules.css`:
   - Added blank lines before comments.
   - Changed `0px` to `0`;
   - Merged both the `#ruleview-class-panel .classes` rules.
   - Added used and unused CSS styles.
   - Hooked `InactivePropertyHelper` into `devtools/server/actors/styles.js`
5. `devtools/server/actors/utils/inactive-property-helper.js` contains the actual unused CSS engine.
6. This feature exposed a race condition inside `head.js::assertShowPreviewTooltip()`. It was mousing over an element and sometimes the tooltip emitted "shown" before we added the listener. This is now fixed.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=016f8dc8e05dbaa89bc5a79b822ce23e786d3fc1

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

--HG--
extra : moz-landing-system : lando
2019-05-07 14:58:50 +00:00
Cameron McCormack f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Oana Pop Rus 443bc6002b Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-09 00:58:43 +03:00
Yura Zenevich e577981a98 Bug 1549626 - fix an issue with incorrect text colour blending. Fallback on basic colour contrast algorythm when canvas approach fails. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D30145

--HG--
extra : moz-landing-system : lando
2019-05-08 15:04:57 +00:00
Jim Blandy 570a2fedee Bug 1540314: Devtools promise actor: Use ActorPool 'destroy' method. r=gl
The prior code calls '.cleanup()', but ActorPools have no 'cleanup' method. I
think it means to call 'destroy'.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 01:19:20 +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
Micah Tigley 827e4e2e78 Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 16:32:22 +00:00
Coroiu Cristina ea0445309e Backed out changeset 20874bfade8e (bug 1509255) for xpcshell failures at devtools/client/responsive.html/test/unit/test_rotate_viewport.js 2019-05-03 18:07:43 +03:00
Micah Tigley 97fb7f346e Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 14:00:37 +00:00
Razvan Caliman d0f3354428 Bug 1093953 - (Part 1) Make CSS warnings expandable to show affected DOM elements. r=Honza
This patch builds on [Bug 1537876](https://bugzilla.mozilla.org/show_bug.cgi?id=1537876) which associates CSS selectors with error messages where applicable.

This patch introduces a new React component, `CSSWarning`, for messages of type CSS. It forks the`PageError` component which was shared for `LOG` messages of type `JAVASCRIPT` and type `CSS`.

The `CSSWarning` component is expandable when the message has an associated CSS selector. When expanded, it runs a `document.querySelectorAll()` command to list all elements matching the selector. Clicking on any of the elements in the result jumps to the Inspector and select the corresponding node in the markup view.

Not all errors have associated CSS selectors. Not all selectors match elements. The errors/warnings are a result of the CSS Parser; there is no guarantee that the CSS rule is used anywhere on the document. The query may return an empty `NodeList`.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 13:01:27 +00:00
Jason Laster 8f13b0d82f Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28868

--HG--
extra : moz-landing-system : lando
2019-05-02 19:21:21 +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
Thomas Nguyen 23f12685bd Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22787

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
Csoregi Natalia 26aadf7f93 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-05-08 06:40:43 +03:00
Brian Hackett 42e04a6b23 Bug 1230194 Part 2 - Show stack for console evaluations that throw something, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27827

--HG--
extra : rebase_source : 78bedd752592f1c8b6940b356c1ad43d9f1b6590
2019-04-16 11:51:52 -10:00
Razvan Maries f88dffff7e Backed out 2 changesets (bug 1306054) for l10n issues.
Backed out changeset 88fb590040c4 (bug 1306054)
Backed out changeset 4369c5635972 (bug 1306054)
2019-05-01 13:27:12 +03: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
yulia ef38cc7174 Bug 1545021 - Convert ArrayBuffer to a Front and Protocoljs actor; r=ochameau,jdescottes
This introduces an ArrayBuffer front, so that we no longer need to go through the thread client to get an array buffer for the sourceFront (this is the only place it is used).

It also converts the arrayBufferActor to a protocol.js actor. I was running into an issue between them. I need to double check what this issue was. If these two refactors need to be split, I can do that, but for now it looks like it wasn’t that large of a change.

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

--HG--
rename : devtools/shared/client/array-buffer-client.js => devtools/shared/fronts/array-buffer.js
extra : moz-landing-system : lando
2019-04-30 14:40:43 +00:00
yulia 69aff42510 Bug 1544697 - use LongStringFront in SourceFront; r=ochameau,jdescottes
This change does two things: it starts returning the longstring actor directly from the server. It also introduces a new type in the spec — sourcedata.

This sourcedata can handle either a plain form (for array buffer) or it writes to and from a front. This is the major change. It could be the basis for writing a union type for protocol.js, which would do the same thing based on a list (ie — RetVal(“nullable:arraybuffer|nullable:longstring”))

This could be useful for getting handling the return value of createValueGrip (https://searchfox.org/mozilla-central/rev/f46e2bf881d522a440b30cbf5cf8d76fc212eaf4/devtools/server/actors/object/utils.js#75)

This requires that this stack lands first: https://phabricator.services.mozilla.com/D27709

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

--HG--
extra : moz-landing-system : lando
2019-04-30 08:04:33 +00:00
Michael Ratcliffe e2f2e51cd9 Bug 1306054 - Display an indicator on properties with inactive CSS r=rcaliman
### Summary of Changes

1. Added `element-style.js::refreshUnusedCssAll()`:
   - This method refreshes the CSS declarations for every property change and then calls  `element-style.js::_updatePropertyUsed()` for each pseudo element.
2. Added `element-style.js::_updatePropertyUsed()`:
   - This method simply updates the unused CSS HTML for each property that needs it.
3. Added `alerticon-unused.svg`.
4. A tiny bit of tidying in `devtools/client/themes/rules.css`:
   - Added blank lines before comments.
   - Changed `0px` to `0`;
   - Merged both the `#ruleview-class-panel .classes` rules.
   - Added used and unused CSS styles.
   - Hooked `InactivePropertyHelper` into `devtools/server/actors/styles.js`
5. `devtools/server/actors/utils/inactive-property-helper.js` contains the actual unused CSS engine.
6. This feature exposed a race condition inside `head.js::assertShowPreviewTooltip()`. It was mousing over an element and sometimes the tooltip emitted "shown" before we added the listener. This is now fixed.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=016f8dc8e05dbaa89bc5a79b822ce23e786d3fc1

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

--HG--
extra : moz-landing-system : lando
2019-04-29 13:59:50 +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
Jason Laster d831a88525 Bug 1547314 - Remove references to updatedSource. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29036

--HG--
extra : moz-landing-system : lando
2019-04-29 17:52:58 +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
Thomas dfa7158ec5 Bug 1521917 - Set a max width on infobar text. r=mtigley
Add a max width on infobar when inspecting elements.
The intent is to prevent very long infobars due to autogenerated classes or id.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:44:53 +00:00
Julian Descottes 6ccaf3f597 Bug 1544372 - part2: filter out hidden webextensions by default in about:debugging r=daisuke,Ola
Depends on D28629
Follows exactly the same pattern as showSystemAddons. Enabled by default for local builds, disabled otherwise.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:58:35 +00:00
Julian Descottes 6bb4bedecb Bug 1544372 - part1: sort webextension actor objects alphabetically (tidying) r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28629

--HG--
extra : moz-landing-system : lando
2019-04-26 13:57:04 +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
Honza Bambas 5f945421d4 Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
Differential Revision: https://phabricator.services.mozilla.com/D23150

--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Brindusan Cristian f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Julian Descottes 08809aa81d Bug 1507459 - Register performance actor even if new performance panel is enabled r=julienw
The server should not be driven by a client-side performance about which perf panel is enabled.
To preserve the behavior, the performance connection will not be initiated by the toolbox if the new perf panel is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 09:31:27 +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
Hemakshi Sachdev e8ed10a457 Bug 1542172 - Firefox freezes when inspecting large POST data. r=Honza
Truncate the Request Payload if it exceeds the `devtools.netmonitor.requestBodyLimit` pref and show `Request has been truncated` error in the Params Tab

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

--HG--
extra : moz-landing-system : lando
2019-04-23 13:30:42 +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
Razvan Caliman 19ecfe66b0 Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro
Introduces tracking for newly created CSS rules in the PageStyleActor.

Adds a boolean flag, `isNew`, to the tracked rule in the Changes Redux store. Using this flag, render the new rule's selector in the React component as added (plus sign, green background). Ensure selector changes for thew new rule always overwrite the original selector (fix for Bug 1542288) instead of erroneously showing the original selector as removed.

Removes obsolete documentation for "changeType" from the tracked rule in the Changes Redux store. This was never used.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 07:59:12 +00:00
Ryan Hunt d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Gurzau Raul 52b651e168 Merge inbound to mozilla-central. a=merge 2019-04-20 12:54:53 +03: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
J. Ryan Stinnett 4c41f2a87f Bug 1151368 - Unblock requests by URL in DevTools. r=ochameau
This is nearly the same the first patch for blocking, but adds the unblock
option as well.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:38 +00:00
J. Ryan Stinnett cc8110e6ff Bug 1151368 - Display blocked requests in Network Monitor. r=ochameau,Honza
This updates the request list to indicate a request was blocked by marking the
entire request item and also replaces transferred size column with "blocked by
DevTools". In the future, we may show other reasons for blocking in this way,
such as CORS, etc.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:29 +00:00
J. Ryan Stinnett d4c5593416 Bug 1151368 - Block requests by URL in DevTools. r=ochameau
This is a very basic form of request blocking for the Network Monitor. It only
supports blocking a request via right-click. This change adds the minimal UI and
server support to block the request.

There is no UI to indicate what happened to the request yet, so it will just
look like a "confused" request that never started. Future patches will improve
from here.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:19 +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 Hackett ee403cec34 Bug 1544170 Part 3 - Inspector changes to fetch style sheets from replaying process, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D27410

--HG--
extra : rebase_source : a70fc90d042f7b9d0fdec65aadff911c90f8edf7
2019-04-12 16:36:12 -10:00
Brian Hackett a151fd40c6 Bug 1544170 Part 2 - ReplayInspector changes to support showing styles, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D27409

--HG--
extra : rebase_source : fa3dde431c55e731c58297bb64dc405c3b8f7dd8
2019-04-12 16:35:18 -10:00
Dorel Luca 928f6e4b9f Merge mozilla-central to inbound
--HG--
extra : rebase_source : 54aeee031a564bbb761eb853f092e26626dd7ee2
2019-04-20 00:46:59 +03:00
Arpit 474e467436 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418

--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
Andreea Pavel eb0b5758ea Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-19 00:48:30 +03:00
Andreea Pavel e5b695eefd Merge mozilla-inbound to mozilla-central. a=merge 2019-04-19 00:36:23 +03: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
Daisuke Akatsuka 6f3ba76797 Bug 1539328: Introduce new unique id for normal worker actor. r=jdescottes,bhackett
Depends on D25207

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:47:24 +00:00
Yura Zenevich f69345fb1f Bug 1544714 - ensure that the contrast ratio check required stylesheet does not get removed while calculating contrast. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D27897

--HG--
extra : moz-landing-system : lando
2019-04-18 07:16:07 +00:00
Rob Wu 1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Brian Hackett 87d3e60af3 Bug 1533202 Part 2 - Enumerate WeakMap/WeakSet entries in workers, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D27610

--HG--
extra : rebase_source : da6f0d2dac40be4cfa1897e2247487711f9bf6d4
2019-04-15 12:05:38 -10: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
Brindusan Cristian ee3905439a Merge inbound to mozilla-central. a=merge 2019-04-17 12:37:47 +03:00
Brian Hackett 5c94bc3cfa Bug 1543751 Part 3 - Use stack for error location if none was specified, r=nchevobbe.
--HG--
extra : rebase_source : c6e220d486ea9886f307ef70cb044ab9dc08c586
extra : histedit_source : 76faa1811cc2f7064d803e18917430dc8312b961
2019-04-15 13:48:32 -10:00
Art-Vanderlay 1174054e9b Bug 1514766 - Change the order of the autocomplete popup to display lowercase items and perfect matches first. r=nchevobbe.
The autocomplete popup in the web console now favours matches
with the user input in alphabetical order with lowercase letters and
perfect matches brought to the top of the list.
e.g.

Typing 'document.styleSheets' brings up the result:

-styleSheets
-styleSheetSets

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

--HG--
extra : moz-landing-system : lando
2019-04-16 12:31:51 +00:00
Nicolas Chevobbe d1db0f1589 Bug 1260877 - Add a `chromeContext` property to ConsoleMessage. r=bgrins.
This property was already in console api message packet,
and this patch also adds it to pageError packets (retrieving
it from nsIScriptError.isFromChromeContext).

Stubs are updated to include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 09:08:34 +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
Razvan Maries 37613b6718 Backed out 3 changesets (bug 1260877) for perma dt fails on devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_page_error.js. CLOSED TREE
Backed out changeset 10fd2d1f0fa2 (bug 1260877)
Backed out changeset e4f28c656165 (bug 1260877)
Backed out changeset 17059c813d40 (bug 1260877)
2019-04-16 10:09:37 +03: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
Nicolas Chevobbe fa11ea4fc4 Bug 1260877 - Add a `chromeContext` property to ConsoleMessage. r=bgrins.
This property was already in console api message packet,
and this patch also adds it to pageError packets (retrieving
it from nsIScriptError.isFromChromeContext).

Stubs are updated to include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 05:32:34 +00:00
Yura Zenevich 08eb4962e6 Bug 1536802 - add contrast badge for accessible objects in accessibility tree. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26460

--HG--
extra : moz-landing-system : lando
2019-04-16 14:53:07 +00:00
Brian Grinstead e1abf1b768 Bug 1542843 - Don't special case XUL documents in webExtensionTargetPrototype._shouldAddNewGlobalAsDebuggee;r=rpl
As we convert more chrome documents away from XUL we end up running
through two different paths in this function. These are going to be
filtered out in later checks anyway, so this change removes the early return.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:26:23 +00:00
Hiroyuki Ikezoe eab764a7ae Bug 1312163 - Switch to the new scroll-snap-type syntax for the old scroll snap implementation and drop the scroll-snap-type-{x,y} longhands. r=emilio
Now scroll-snap-type is a longhand property.

Depends on D21621

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:19:31 +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
Csoregi Natalia 69ace9da34 Merge inbound to mozilla-central. a=merge 2019-04-10 12:59:51 +03:00
Brian Hackett bbeb7fc709 Bug 1092922 - Only pause once when unwinding a particular exception, r=loganfsmyth. 2019-04-09 15:48:22 -10:00
Brindusan Cristian 04da27ce4e 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 a2e55d282e 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 00:58:31 +00:00
Yura Zenevich a26dda1735 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 00:58:24 +00:00
Jason Laster 28fe41e07b Bug 1532319 - Log Points should have context. r=davidwalsh
This has some fun wins

- colored prompt
- multiline textarea
- default value for log points

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

--HG--
extra : moz-landing-system : lando
2019-04-09 22:42:06 +00:00
Micah Tigley 480b976719 Bug 1282084 - Don't allow RDM to show triggered hover states while touch is enabled. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26053

--HG--
extra : moz-landing-system : lando
2019-04-09 14:23:32 +00:00
Noemi Erli dd7e27f4a8 Merge inbound to mozilla-central. a=merge 2019-04-09 12:55:19 +03:00
Razvan Maries a3e3bcf2fe Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-04-09 06:43:36 +03: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
Brian Hackett ffa20b4d14 Bug 1542659 Part 3 - Avoid throwing when enumerating proxy properties, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26453

--HG--
extra : rebase_source : 136c986b58610ac72603a4016de98cef149dff1b
2019-04-07 16:02:42 -10:00
Brian Hackett e3e30e99e4 Bug 1542659 Part 2 - Remove unnecessary ReplayInspector instrumentation, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D26452

--HG--
extra : rebase_source : 596c0dbe2f29ab74d1253aeeb0e73e666a69c34a
2019-04-07 16:02:04 -10:00
Brian Hackett 7154d679ab Bug 1542659 Part 1 - Hook require() when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26451

--HG--
extra : rebase_source : 6697485b1dc098d6b276957953b537bfdcfb1109
2019-04-07 16:00:49 -10:00
Micah Tigley 270557bf86 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 20:22:12 +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
Dorel Luca ca1e4e263d Backed out changeset 4fef2150bef9 (bug 1534984) for DevTools Failures in devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js. CLOSED TREE 2019-04-08 19:23:02 +03:00
Micah Tigley a17d89a9d3 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:57 +00:00
Brian Hackett f4af857cef Bug 1497393 Part 7 - Server side changes for inspector support while replaying, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D22863

--HG--
extra : rebase_source : 1069a8534dd79e1d2cf309c9d3f3c27079077087
extra : histedit_source : 1a750a022d46da836181f913d012081ea608da7f
2019-03-09 16:45:50 -10:00
Brian Hackett eefdeac0e8 Bug 1497393 Part 5 - Add ReplayInspector module for accessing objects in a replaying process, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22861

--HG--
extra : rebase_source : 63c20073bb6e76d882ed0719e550685b2874a28e
2019-03-09 16:41:32 -10:00
Brian Hackett e96d35aa99 Bug 1497393 Part 4 - Suppress event handling at the usual times in server when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22860

--HG--
extra : rebase_source : f2daf3cf81931052e80a50d4f9057808d335328c
2019-03-09 16:40:40 -10:00
Brian Hackett 7d26be7959 Bug 1497393 Part 3 - Remove ReplayDebuggerObject.global, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22859

--HG--
extra : rebase_source : e5e63bf1da796a3131ed1948c5b9f38f316bc2df
2019-03-09 16:39:02 -10:00
Brian Hackett 0e51aaf966 Bug 1497393 Part 1 - Add isReplaying global to server bindings, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22857

--HG--
extra : rebase_source : 14b0daad9f6ef4f372b44e0081bd5ff9b1d270cf
2019-03-09 16:37:20 -10: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
Carolina Jimenez Gomez 930c75ee4b Bug 1480925 - Removes anti-patterns related with Ci.nsIWhatever. r=keeler,yzen
Differential Revision: https://phabricator.services.mozilla.com/D25686

--HG--
extra : moz-landing-system : lando
2019-04-05 16:51:16 +00:00
Carolina Jimenez Gomez 8093499470 Bug 1512505 - Log a message in web console when a site is only supporting TLS 1.0 or 1.1. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D25660

--HG--
extra : moz-landing-system : lando
2019-04-04 23:37:20 +00:00
Patrick Brosset 3bf2a3501d Bug 1539989 - Change the font highlighter's background color to match other highlighters; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D25598

--HG--
extra : moz-landing-system : lando
2019-04-02 13:59:29 +00:00
Ian Moody da57ddce6d Bug 1539265 - Make ::marker pseudo-elements always visible in the markup view. r=jdescottes,mbalfanz,pbro
Instead of only when setting devtools.inspector.showAllAnonymousContent.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:36:27 +00:00
Ian Moody fdb2b8f412 Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes
For autocompletion of : in selector contexts, like the Style Editor.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:46:09 +00:00
Ian Moody 65872bf468 Bug 1539265 - Add ::marker pseudo-element handling to WalkerIndex. r=jdescottes
So ::marker pseudo elements can be found via searching for "::marker" in the
markup view.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:46:02 +00:00
Ian Moody 85f74da0e4 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:53 +00:00
Ian Moody 53e960c394 Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:38 +00:00
Ian Moody 71b7e1fa5d Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:31 +00:00
Ian Moody 34c44989b0 Bug 1539265 - Handle ::marker pseudo-elements on shadow roots in walker.js. r=jdescottes
At the moment when devtools.inspector.showAllAnonymousContent is true shadow
hosts with ::marker and ::before pseudos will stop showing the ::before and
won't show the ::marker either.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:16 +00:00
arthur.iakab cf3b3f1eb5 Backed out 11 changesets (bug 1539265) for causing debugger failures CLOSED TREE
Backed out changeset 8206b880f9ec (bug 1539265)
Backed out changeset be9f5f73bdfe (bug 1539265)
Backed out changeset f78146b8aa17 (bug 1539265)
Backed out changeset 18fa7e971a0d (bug 1539265)
Backed out changeset 6eaf5bdd945c (bug 1539265)
Backed out changeset 3add7d4d4853 (bug 1539265)
Backed out changeset 8015aeb5279d (bug 1539265)
Backed out changeset 19c8e404ac5f (bug 1539265)
Backed out changeset 637a9d6af0f3 (bug 1539265)
Backed out changeset 72bbb4b28932 (bug 1539265)
Backed out changeset 931e98129878 (bug 1539265)
2019-04-02 02:44:43 +03:00
Ian Moody f49fd7257c Bug 1539265 - Make ::marker pseudo-elements always visible in the markup view. r=jdescottes,mbalfanz,pbro
Instead of only when setting devtools.inspector.showAllAnonymousContent.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:46:11 +00:00
Ian Moody c7a42da3f6 Bug 1539265 - Add ::marker to the list of suggested pseudo selectors. r=jdescottes
For autocompletion of : in selector contexts, like the Style Editor.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:59 +00:00
Ian Moody ecf9944c5a Bug 1539265 - Add ::marker pseudo-element handling to WalkerIndex. r=jdescottes
So ::marker pseudo elements can be found via searching for "::marker" in the
markup view.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:54 +00:00
Ian Moody 76dd66e399 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:44 +00:00
Ian Moody addac983bb Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:33 +00:00
Ian Moody 8e985aa314 Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:28 +00:00
Ian Moody 979334b420 Bug 1539265 - Handle ::marker pseudo-elements on shadow roots in walker.js. r=jdescottes
At the moment when devtools.inspector.showAllAnonymousContent is true shadow
hosts with ::marker and ::before pseudos will stop showing the ::before and
won't show the ::marker either.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:23 +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
Nicolas Chevobbe c94181f930 Bug 1540149 - Don't use `Array.map` in `prepareConsoleMessageForRemote`. r=bgrins.
`Array.map` triggers a deprecation warnings, and it
turns out we can use `.map`  directly on the objects
we were calling `Array.map` on.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 20:06:44 +00:00
Nicolas Chevobbe 4a7ea2cf9d Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-30 11:07:56 +00:00
Daniel Varga baeeb7c24b Backed out 4 changesets (bug 1524276) for mochitest-devtools at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 78fb95dc20e3 (bug 1524276)
Backed out changeset 30570673a894 (bug 1524276)
Backed out changeset 9476f9253c9c (bug 1524276)
Backed out changeset 6f1c417146be (bug 1524276)
2019-03-29 17:48:19 +02:00
Nicolas Chevobbe 9539eccd33 Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 14:17:03 +00:00
Daniel Varga 1380d5ef8d Backed out 4 changesets (bug 1524276) for mochitest-devtools failure at devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js. On a CLOSED TREE
Backed out changeset 47363a80ef6d (bug 1524276)
Backed out changeset 1fee0c357772 (bug 1524276)
Backed out changeset 8bbe3e4f5a54 (bug 1524276)
Backed out changeset d21159afd969 (bug 1524276)
2019-03-29 13:47:46 +02:00
Patrick Brosset bcfd6cd961 Bug 1409085 - Tell RDM when picking to stop simulating touch; r=mtigley,gl
Differential Revision: https://phabricator.services.mozilla.com/D25231

--HG--
extra : moz-landing-system : lando
2019-03-29 09:47:35 +00:00
Nicolas Chevobbe 6685c3a7a7 Bug 1524276 - Expose `category` and `innerWindowID` properties in ConsoleMessage. r=bgrins.
This will be used to group similar messages together.
Stubs are updated.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 08:03:15 +00:00
Yura Zenevich 5d401f1d28 Bug 1538306 - ensure highlighter bounds overlay does not interfere with the accessible audit. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24546

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:37 +00:00
Yura Zenevich 3d4f6877ca Bug 1538306 - ensure that only one audit can run at a given time for an Accessible actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D24545

--HG--
extra : moz-landing-system : lando
2019-03-26 13:33:29 +00:00
Michael Ratcliffe 639bed7bb2 Bug 1509620 - Computed style inspector CSS cascade calculation is wrong r=ladybenko
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1bad5e5282812225da95c0ea9e2ef173640b5da

### Summary

!!Comparing numerous complex websites such as github, facebook, cnn etc. the cascade now matchers that of Chrome so we are in a much better place.!!

According to https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading we should now be doing this (descending order):

  - Transition declarations
  - User-Agent & !important
  - User & !important
  - Author & !important
  - CSS Animations, @keyframes
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

We are only dealing with CSS selectors here so we can safely drop Transition declarations and CSS Animations because their presence here is irrelevant when it comes to the CSS cascade information we display in the computed view.

This leaves us with:

  - User-Agent & !important
  - User & !important
  - Author & !important
  - Author, normal weight
  - User, normal weight
  - User-Agent, normal weight
  - specificity
  - Sheet Index
  - Rule Line
  - Rule Column

### Changes

- References to content stylesheets have been changed to author stylesheet to closely match the technical terms author, user and agent stylesheets.
- Simplified and modernized a bunch of for loops to make the code easier to understand.
- Previous to these changes all matching parent rules were classed as equal e.g. color on the body tag was equal to color on a node's immediate container. We now use the `distance` variable to tell how close a rule is to the current node. This is the highest qualifier in our cascade calculation.
- The `_agentSheet`, `_authorSheet` and `_userSheet` properties are now used to obtain a sheets origin.
- `elementStyle` was renamed to `inlineStyle` in order to correctly identify the rule's origin.
- We used to sort the matchedSelectors to move rules with `STATUS.MATCHED` above `STATUS.PARENT_MATCH` but this is unnecessary now that we have the `distance` property so we no longer do this.
- The `compareTo()` method has been updated to match https://www.w3.org/TR/css-cascade-3/#cascading (which platform follows now) and https://www.w3.org/TR/css-cascade-4/#cascading. It has also been simplified and made far less prone to error.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:32:19 +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
sakshaat d781937a67 Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
shindli b3ac60ff06 Merge inbound to mozilla-central. a=merge 2019-03-23 11:47:34 +02:00
Brian Hackett 1bc179f724 Bug 1536618 Part 2 - Tolerate sources from any debugger in getOrCreateSourceActor, r=loganfsmyth.
--HG--
extra : rebase_source : cc2a3155162c4bdc87fcbb91b3bc6bcedf38bd46
2019-03-22 12:08:19 -06:00
Julian Descottes fda43987c4 Bug 1537877 - Update getDocumentWalker to fallback to non-anonymous walker;r=pbro
Except for rawParentNode, all consumers of getDocumentWalker should be ok with this fallback.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 19:43:08 +00:00
Logan Smyth a729ffce8f Bug 1536201 - Avoid calling findScripts() in a loop. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24365

--HG--
extra : moz-landing-system : lando
2019-03-21 15:45:24 +00:00
Oana Pop Rus b01d230f27 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-25 12:04:50 +02: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
Mats Palmgren f46136021c Bug 288704 part 1 - [css-lists] Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant decendants. r=emilio 2019-03-24 23:13:52 +01:00
Mats Palmgren 426b73e37a Bug 1518201 - [css-lists] Implement the counter-set property. r=emilio 2019-03-24 23:13:52 +01:00
Patrick Brosset dff1494aa0 Bug 1536834 - Remove leftover csscoverage code; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D24191

--HG--
extra : moz-landing-system : lando
2019-03-20 16:06:59 +00:00
Michael Ratcliffe eecca073ec Bug 1521151 - Make Flexbox Inspector canvas take zoom into account when scrolling r=gl
The Flexbox Inspector uses platform APIs that don't take zoom into account whilst the Grid Inspector uses APIs that do take zoom into account.

This means that the zoom calculations when repositioning the canvas need to be different when called from the Flexbox Inspector than when called from the grid inspector.

I have added a `zoomWindow` option to `canvas.js::updateCanvasElement()` that allows us to optionally apply zoom to the current canvas position and the flexbox issue reported in the bug now works just fine.

All the usual other test cases work just fine with this patch applied.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:33:43 +00:00
Michael Ratcliffe 34a753db67 Bug 1536096 - Unship the combined flexbox highlighter r=gl
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2aaa84ba4f14dec2cf05b9fabb6ef1c334053897

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

--HG--
extra : moz-landing-system : lando
2019-03-19 03:36:09 +00:00
Emilio Cobos Álvarez 09763b1ac3 Bug 1533201 - Make cssPropertySupportsType take an enum. r=heycam,rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D22427

--HG--
extra : moz-landing-system : lando
2019-03-18 16:38:48 +00:00
Michael Ratcliffe cffcfc6b1c Bug 1535661 - Fix CORS issues in Markup Panel r=pbro
One change is in `node.js::isScrollable()` so I decided to assign this to you for review. Feel free to re-assign as you feel appropriate if you don't have time.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e2f20af3f902ea65436bcfd288b3e075d6508f8

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

--HG--
extra : moz-landing-system : lando
2019-03-18 09:22:50 +00:00
Andrea Marchesini 5bb6c49ba8 Bug 1535799 - nsIHttpChannel.isTrackingResource should be a method, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23765

--HG--
extra : moz-landing-system : lando
2019-03-17 06:55:50 +00:00
Jason Laster 1f0f446316 Bug 1532309 - Log points should show multiple values. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D23313

--HG--
extra : moz-landing-system : lando
2019-03-15 20:31:37 +00: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
yulia d8f0e4a4eb Bug 1528296 - remove unused function call r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22497

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:10 +00:00
yulia d849fb1a59 Bug 1528296 - remove call watcher (and references to removed panels in the debugger including the r=vporof
gcli);

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:01 +00:00
yulia 58c5e6cec7 Bug 1403944 - Remove Web Audio Editor actor and spec; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D19528

--HG--
extra : moz-landing-system : lando
2019-03-13 16:49:15 +00:00