Commit Graph

1894 Commits

Author SHA1 Message Date
Gabriel Luong
4a7f648297 Bug 1484483 - Part 2: Return the computed style properties of the flex container from the FlexboxActor. r=rcaliman 2018-08-22 21:07:08 -04:00
Tooru Fujisawa
9e5866ba73 Bug 956376 - Part 3: Use Debugger.findSources in PromisesActor#attach. r=ochameau 2018-08-23 09:27:31 +09:00
Tooru Fujisawa
a64277c15d Bug 956376 - Part 2: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Noemi Erli
a6271be24c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 12:53:37 +03:00
Alexandre Poirot
740bef2e99 Bug 1484764 - Prevent netmonitors is undefined exception when closing tools during page load. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D3863

--HG--
extra : moz-landing-system : lando
2018-08-21 17:06:19 +00:00
Ciure Andrei
40b18c41b7 Backed out 7 changesets (bug 1429298) for xpcshell failures properties-db.js CLOSED TREE
Backed out changeset 48214a8e1b6b (bug 1429298)
Backed out changeset cc2785ab879e (bug 1429298)
Backed out changeset c217209a3b04 (bug 1429298)
Backed out changeset 196fc7b48b84 (bug 1429298)
Backed out changeset 761e9bb54adb (bug 1429298)
Backed out changeset 0b9ec0d707b5 (bug 1429298)
Backed out changeset 38ad1cc1b0c8 (bug 1429298)

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string-002.html => testing/web-platform/tests/css/motion/offset-path-string.html
2018-08-22 08:01:49 +03:00
Boris Chiou
4171197c25 Bug 1429298 - Part 2: Define offset-path and implement it in style system. r=emilio
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
  - Parse SVG Path String into SVGPathData (in Rust).
  - Use cbindgen to make sure the layout of PathCommand and StylePathCommand, and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
  - Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Depends on D2962

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

--HG--
extra : moz-landing-system : lando
2018-08-22 01:24:13 +00:00
Ciure Andrei
a52997851e Backed out changeset 4f7d58a640b8 (bug 1483173) for browser_jsterm_screenshot_command_clipboard.js failures CLOSED TREE
--HG--
rename : devtools/shared/screenshot/capture.js => devtools/server/actors/webconsole/screenshot.js
2018-08-21 22:03:10 +03:00
yulia
9cbf625f78 Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

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

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
extra : moz-landing-system : lando
2018-08-21 13:10:52 +00:00
yulia
c67268db86 Bug 1483166 - refactor evalWithDebugger into its own file; r=nchevobbe,bhackett
this combines the changes that I made in bug 1464461
(https://reviewboard.mozilla.org/r/253132/diff/1#index_header) with the changes for web replay made
by Brian Hackett, along with some clean up that was done by Honza with regards to helpers being
executed. This change should not have any functional impact on the code base, but it should make it
easier to work with the evalWithDebugger functionality than it has been so far.

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

--HG--
rename : devtools/server/actors/webconsole.js => devtools/server/actors/webconsole/eval-with-debugger.js
extra : moz-landing-system : lando
2018-08-21 14:01:02 +00:00
Boris Chiou
a8bd6dfc8a Bug 1429298 - Part 2: Define offset-path and implement it in style system. r=emilio
Define OffsetPath & SVGPathData on the servo-side, and StyleMotion &
StyleSVGPath on the gecko-side. We parse the SVG Path string into a
vector of PathCommand. To build the gfx::Path, we will convert it into
gfx::Path later in a different patch.

The basic flow is:
* Parse SVG Path String into SVGPathData (in Rust).
* Use cbindgen to make sure the layout of PathCommand and StylePathCommand,
  and then set the Box[PathCommand] into nsTArray<StylePathCommand>.
* Try to convert nsTArray<StylePathCommand> into gfx::Path. (This part
  will be implemented in a different patch.)

Finally, we use the gfx::Path to create a motion path transform.
The layout implementation is in the later patch.

Differential Revision: https://phabricator.services.mozilla.com/D2963
2018-08-21 22:41:38 -07:00
Alexandre Poirot
125d387bbf Bug 1482070 - Move NetworkResponseListener to its own file. r=Honza
Summary: Depends On D3605

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: IH9R6N7auXO


--HG--
rename : devtools/server/actors/network-monitor/network-observer.js => devtools/server/actors/network-monitor/network-response-listener.js
2018-08-20 09:06:23 -07:00
Alexandre Poirot
93427a73f7 Bug 1482070 - Rename NetworkMonitor to NetworkObserver and move it next to the NetworkMonitorActor. r=Honza
Summary: Depends On D3604

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: ArS8SxVraiu


--HG--
rename : devtools/shared/webconsole/network-monitor.js => devtools/server/actors/network-monitor/network-observer.js
2018-08-20 09:06:23 -07:00
Alexandre Poirot
5e3572023f Bug 1482070 - Move StackTraceCollector to its own file. r=Honza
Summary: Depends On D3603

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 53aaLHR6lv
2018-08-20 09:06:22 -07:00
Alexandre Poirot
32c1768465 Bug 1482070 - Move ChannelEventSink to its own file. r=Honza
Summary: Depends On D3602

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: Kr3vYvP1oCZ


--HG--
rename : devtools/server/actors/moz.build => devtools/server/actors/network-monitor/moz.build
2018-08-20 09:06:22 -07:00
Alexandre Poirot
a231f526d7 Bug 1482070 - Move DocumentEventsListener to its own file. r=Honza
Summary: Depends On D3601

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 2ksi5eir4mb


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/document-events.js
2018-08-20 09:06:22 -07:00
Alexandre Poirot
6f9535367f Bug 1482070 - Move ContentProcessListener to its own file. r=Honza
Summary: Depends On D3600

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: CHReMMFXFHT


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/content-process.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot
56e60d1aff Bug 1482070 - Move ConsoleReflowListener to its own file. r=Honza
Summary: Depends On D3599

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 8pL6y7F4chU


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-reflow.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot
681faed609 Bug 1482070 - Move ConsoleAPIListener to its own file. r=Honza
Summary: Depends On D3598

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: k3KVzlmXOR


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-api.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot
659626feef Bug 1482070 - Move ConsoleServiceListener to its own file. r=Honza
Summary: Depends On D3597

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 7jdh33iKfgU


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-service.js
2018-08-20 09:06:20 -07:00
Alexandre Poirot
ed93e0337d Bug 1482070 - Move ConsoleProgressListener to its own file. r=Honza
Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

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

MozReview-Commit-ID: 99V3BJqKqZH


--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-20 09:06:20 -07:00
Micah Tigley
729888c275 Bug 1471933 - #Fixes issue where highlighting a text node with the Accessibility Inspector does not work. r=gl
Fixes issue where highlighting a text node with the Accessibility Inspector does not work.

#MozReview-Commit-ID: 6ineoicgjQu

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

--HG--
extra : moz-landing-system : lando
2018-08-17 01:48:49 +00:00
Xidorn Quan
464ef30ab4 Bug 1475033 part 3 - Add scrollbar-width property. r=heycam
MozReview-Commit-ID: CmCbaZosUrU

--HG--
extra : rebase_source : 85136c729524fdd8b9cdfcbf30e2bb35accd0d4a
2018-08-01 14:13:41 +10:00
Tiberius Oros
246f2b4fab Merge inbound to mozilla-central. a=merge 2018-08-17 00:32:50 +03:00
Alexandre Poirot
b840eb27bf Bug 1479524 - Always use message manager with NetworkMonitorActor. r=jdescottes
MozReview-Commit-ID: AXOd0i4NOjH
2018-08-16 10:14:50 -07:00
Nicolas Chevobbe
c1e79affbb Bug 1472117 - Fix autocompletion with "." surrounded by spaces; r=bgrins.
Expressions like `window . addEventListener` are perfectly valid in JS,
but our autocompletion provider wasn't working well in such case.
We modify the JSPropertyProvider to make sure to handle this kind of
syntax and add test cases to make sure it works as intended.`

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

--HG--
extra : moz-landing-system : lando
2018-08-14 13:40:08 +00:00
Alexandre Poirot
5135b70a76 Bug 1299344 - Fix exceptions when accessing DOMWindow and contentCharset when reload page against the netmonitor. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D3020

--HG--
extra : moz-landing-system : lando
2018-08-13 12:37:41 +00:00
Kris Maglione
7ce09e1fd8 Bug 1481025: Fix devtools code which calls message manager methods with a null target. r=ochameau
MozReview-Commit-ID: KJeQjwhfJbw

--HG--
extra : rebase_source : 682a0007b1fa802643e5ec43e0ff40db8efded03
2018-08-04 15:51:56 -07:00
Nicolas Chevobbe
2243b849bf Bug 1480823 - Fix invalid command error message; r=yulia.
When the command is invalid, we throw an error with
the appropriate message. But in the caller, we then
wrap this error in a string, which resulted in a
message in the console which looked like "Error: Error:".
Picking only error.message when wrapping the error
fixes this issue.

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

--HG--
extra : moz-landing-system : lando
2018-08-10 08:55:33 +00:00
Julian Descottes
1285d26f24 Bug 1481714 - Fix actors is null error when custom element is defined;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D2912

--HG--
extra : moz-landing-system : lando
2018-08-08 15:34:05 +00:00
Brian Hackett
622151a7e5 Bug 1479058 Part 11 - Server/client web console changes for replaying and time warp support, r=nchevobbe.
--HG--
extra : rebase_source : 2634d4f036f510fc7c70a8917b6d8202aabbb597
2018-08-02 23:33:24 +00:00
Brian Hackett
6199a3a415 Bug 1479058 Part 10 - Add console message support to ReplayDebugger, r=jimb.
--HG--
extra : rebase_source : e2c91fa0b88adef6bbd24749610d47de7c10c5f7
2018-08-02 23:32:52 +00:00
Brian Hackett
9844ce064b Bug 1479058 Part 6 - ReplayDebugger and server/client changes to support time warps, r=jimb.
--HG--
extra : rebase_source : 5972ae72f0601e3daa2506e1be3844dc77e3bafc
2018-08-02 23:30:19 +00:00
Brian Hackett
cb73c42b70 Bug 1479058 Part 5 - ReplayDebugger cleanup, r=jimb.
--HG--
extra : rebase_source : 7a95159485386cd4fdf0b3d1fabc33da2ab7866d
2018-08-02 23:29:38 +00:00
Boris Zbarsky
e4b74becff Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Nicolas Chevobbe
4f34541b99 Bug 1475391 - Add mapping for CORS error types to MDN pages; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D2557

--HG--
extra : moz-landing-system : lando
2018-08-03 06:40:36 +00:00
Alexandre Poirot
cfe9ef4cae Bug 1444132 - Fetch stacks from content process only on-demand. r=jryans
MozReview-Commit-ID: 727tzsqkkEp

--HG--
extra : rebase_source : daad7d90a5d37145f9c17b1d98dfe2dc1b2c7c23
2018-07-17 08:21:35 -07:00
Alexandre Poirot
1d8dac53fb Bug 1444132 - Fix sendHTTPRequest with the new setup. r=jryans
MozReview-Commit-ID: GCZWd47ICLH

--HG--
extra : rebase_source : 2930cfb226684529e9a01de8c1b1a1eb7b83b0e2
2018-07-17 07:36:39 -07:00
Alexandre Poirot
817c8826cf Bug 1444132 - Fix netmonitor preferences with the new setup. r=jryans
MozReview-Commit-ID: ESP8cctwN8r

--HG--
extra : rebase_source : 032c9d07ca39a8dd57a84d2437fd69283f134a06
2018-07-17 03:43:24 -07:00
Alexandre Poirot
91c15e3f3f Bug 1444132 - Remove the old proxy code. r=jryans
MozReview-Commit-ID: 33LcN5c5o4D

--HG--
extra : rebase_source : 5286e8465932127b3c2643636761a6570974608b
2018-07-17 02:23:49 -07:00
Alexandre Poirot
1547bc9607 Bug 1444132 - Fix stylesheet retrieval from network monitor with the new setup. r=jryans
MozReview-Commit-ID: 3pNu1zeuSwz

--HG--
extra : rebase_source : a5435699f6d7871591b6d801dfba389105457c39
2018-07-16 09:48:29 -07:00
Alexandre Poirot
c060f7dcf0 Bug 1444132 - Fix stacktrace support with the new setup. r=jryans
MozReview-Commit-ID: 1g5TU9yoj0E

--HG--
extra : rebase_source : ae5f3a8ba4aad8bc1d35a3570bf8856de17e6b02
2018-07-16 10:05:22 -07:00
Alexandre Poirot
3ea819fbef Bug 1444132 - Spawn a NetworkMonitorActor directly in the parent process. r=jryans
This allows to create NetworkEventActor directly from the parent process
and avoid most of the data being piped from the parent to the content processes.

MozReview-Commit-ID: 8p3A5yl5eVB

--HG--
extra : rebase_source : 49eb0406eff31b8262ac316884a4abd57512f6cf
2018-03-08 09:13:26 -08:00
dvarga
956d57e7f2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
Alexandre Poirot
e2f52bc542 Bug 1478945 - Test global actors against xpcshell debugger server. r=jdescottes
MozReview-Commit-ID: DqCkWqZJErQ

--HG--
extra : rebase_source : 535f138d2faf4cee76e44f5617d6459d9d8f0705
2018-07-31 10:08:51 -07:00
Alexandre Poirot
3a7f519e53 Bug 1478945 - Refactor test_xpcshell_debugging.js to use async/await instead of callbacks. r=jdescottes
MozReview-Commit-ID: 3QmGlX70BVz

--HG--
extra : rebase_source : bd1fd6ab4455707aadd51738d8e7bb43ff8d7b47
2018-07-31 08:46:07 -07:00
Nicolas Chevobbe
d4fdced45f Bug 1457478 - Do not call Services.console.logStringMessage in clearMessagesCache; r=bgrins.
This was causing an empty message to appear in the
browser console when clicking the clear button.
This specific call was introduced 5 years ago without
much explanation, and since the error console is now
gone, I think it's safe to remove the call.

A test is added to make sure we do not print any extra
messages when clearing the browser console.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 14:16:42 +00:00
Narcis Beleuzu
050b31f851 Backed out 9 changesets (bug 1444132) for bc failures on browser_ext_devtools_network. CLOSED TREE
Backed out changeset e702d9a79546 (bug 1444132)
Backed out changeset 22470174dfa0 (bug 1444132)
Backed out changeset 793019c3fd49 (bug 1444132)
Backed out changeset 6afaf8f9db5e (bug 1444132)
Backed out changeset 862a9a773767 (bug 1444132)
Backed out changeset c33d134af968 (bug 1444132)
Backed out changeset 526c4eaaac80 (bug 1444132)
Backed out changeset 09b0af4bda95 (bug 1444132)
Backed out changeset 5fe879d4e4cb (bug 1444132)
2018-07-31 16:18:41 +03:00
Alexandre Poirot
4889babcad Bug 1444132 - Fetch stacks from content process only on-demand. r=jryans
MozReview-Commit-ID: 727tzsqkkEp

--HG--
extra : rebase_source : 89469cbf30eb1fdc1b06bc5be50ada75eb188f4a
2018-07-17 08:21:35 -07:00
Alexandre Poirot
beaf0d7cc5 Bug 1444132 - Fix sendHTTPRequest with the new setup. r=jryans
MozReview-Commit-ID: GCZWd47ICLH

--HG--
extra : rebase_source : 92d19dfd8c6ba679bfa1e5111e6744f449c5aa70
2018-07-17 07:36:39 -07:00