Commit Graph

1909 Commits

Author SHA1 Message Date
Alexandre Poirot
621a50208d Bug 1026583 - Avoid sending network monitor events when the related actors are already destroyed. r=Honza
Summary: Depends On D4329

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

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

MozReview-Commit-ID: H8j43mSIUnc
2018-08-28 05:42:33 -07:00
Cosmin Sabou
55da592d85 Backed out 4 changesets (bug 956376) for causing a spike of failures in bug 1438778. a=backout
Backed out changeset 9cb7826b8f28 (bug 956376)
Backed out changeset 37f94ae472d6 (bug 956376)
Backed out changeset d96d56907ce0 (bug 956376)
Backed out changeset ee0b4798b061 (bug 956376)
2018-08-27 18:52:57 +03:00
Margareta Eliza Balazs
a629c5e84f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-27 12:44:17 +03:00
yulia
1bfcdf90b1 Bug 1485939 - use eager loading for evalWithDebugger; r=nchevobbe
use Eager loading for evalWithDebugger

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

--HG--
extra : moz-landing-system : lando
2018-08-27 06:15:14 +00:00
Tooru Fujisawa
408ba66bfc Bug 956376 - Part 4: Use Debugger.findSources in PromisesActor#attach. r=ochameau 2018-08-23 09:27:31 +09:00
Tooru Fujisawa
d3fc03d405 Bug 956376 - Part 3: Use Debugger.findSources in ThreadActor#_discoverSources. r=ochameau 2018-08-23 09:27:30 +09:00
Tooru Fujisawa
beda8d2e75 Bug 956376 - Part 2: Support Debugger#findSource in WebReplay. r=jimb 2018-08-27 08:17:39 +09:00
Kris Maglione
9a8a840c9d Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D3732

--HG--
extra : rebase_source : 0154c72286ce0ca3ade84c5c360122861a36c7b0
extra : histedit_source : 83a8b267becbf86db5f8789d3673bd529da35286
2018-08-18 19:28:37 -07:00
Cosmin Sabou
3211507dfb Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Gurzau Raul
ebba8abeef Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 15:30:45 +03:00
Csoregi Natalia
67cc8b873a Backed out 3 changesets (bug 956376) for browser_dbg-quick-open.js failures. a=backout
Backed out changeset 3e61a2874367 (bug 956376)
Backed out changeset 8169bed1fafc (bug 956376)
Backed out changeset 46dfdfe14067 (bug 956376)
2018-08-23 15:15:31 +03:00
Alexandre Poirot
eafbded463 Bug 1485300 - Remove duplicated implementation of NetworkObserver. r=Honza
MozReview-Commit-ID: F3yDYfmsv59

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

--HG--
extra : moz-landing-system : lando
2018-08-22 12:16:23 +00:00
Jan Odvarko
a735040675 Bug 1333994 - The network tab should flag resources on the tracking protection list; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D3862

--HG--
extra : moz-landing-system : lando
2018-08-23 07:36:08 +00:00
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