Commit Graph

1183 Commits

Author SHA1 Message Date
Noemi Erli
1270a21724 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Jason Laster
2fef0dedc3 Bug 1447316 - The debugger should use pausePoints to decide where to stop. r=jimb
MozReview-Commit-ID: 4Sxz0VIKB3j
2018-03-22 18:32:36 -04:00
Erica Wright
f79e46140a Bug 1386047 - Grid and Flexbox inspector cross hash that fills the grid gap and flex container stays 45deg to the bounding lines on rotations. r=pbro
MozReview-Commit-ID: 1tDTGHEixCS

--HG--
extra : rebase_source : 43036a69a3919cbc24658b06fb8888d855d005e5
2018-03-21 14:53:08 -04:00
Peter Van der Beken
f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
Jonathan Watt
f6c1f57fe8 Bug 1397795 part 3 - Don't rely on opaque widgets not having overflow. r=mstange
MozReview-Commit-ID: GJNDwQUjfEr
2018-02-19 16:00:32 +00:00
J. Ryan Stinnett
aed6462de1 Bug 1446222 - Move DevTools service worker control script to worker actor dir. r=jdescottes
The `service-worker-child.js` process script is used by actors to control
service workers as needed.  This moves it to helper directory near the actors
that make use of it.

MozReview-Commit-ID: LIq1zcU6fBc

--HG--
rename : devtools/server/service-worker-child.js => devtools/server/actors/worker/service-worker-process.js
extra : rebase_source : 8319d60ab2f3ae10d93d063f8932057316325fc3
2018-03-19 21:53:24 -05:00
J. Ryan Stinnett
0cee298854 Bug 1446222 - Move DevTools content process startup to new dir. r=jdescottes
Move and rename the server's process script (and accompanying JSM) that starts
DevTools for an entire content process from `content-process-debugger-server.js`
to `startup/content-process.js`.  `connectToContent` also becomes the more
specific `connectToContentProcess`.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: 1evbZMB8T7r

--HG--
rename : devtools/server/content-process-debugger-server.js => devtools/server/startup/content-process.js
rename : devtools/server/content-server.jsm => devtools/server/startup/content-process.jsm
extra : rebase_source : e077dd3dc915ec274f866d53d3539909f8440de1
2018-03-19 21:28:26 -05:00
J. Ryan Stinnett
1c5534b4d8 Bug 1446222 - Move DevTools frame startup to new dir. r=jdescottes
Move and rename the server's frame script that starts DevTools in remote frames
from `child.js` to `startup/frame.js`.  `connectToChild` also becomes the more
generic `connectToFrame`.  A few b2g-isms like "app" are also removed.

These code paths will likely change more as Site Isolation work continues, but
for now, we have this light cleanup to gather startup-related paths together.

MozReview-Commit-ID: El8a0OE99gZ

--HG--
rename : devtools/server/child.js => devtools/server/startup/frame.js
rename : devtools/server/tests/mochitest/test_connectToChild.html => devtools/server/tests/mochitest/test_connectToFrame.html
extra : rebase_source : 2735c53587257b215d720204cf7c4581088eba42
2018-03-19 18:53:46 -05:00
J. Ryan Stinnett
d376d1e61d Bug 1446222 - Move CssLogic to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: 8IWTgRyWXNQ

--HG--
rename : devtools/server/css-logic.js => devtools/server/actors/inspector/css-logic.js
extra : rebase_source : e88edd34f8150f15b9fb26130fd67c5c323a6d56
2018-03-19 17:39:11 -05:00
J. Ryan Stinnett
c500f6e824 Bug 1446222 - Move event parsers to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: LoMjO3v0bDN

--HG--
rename : devtools/server/event-parsers.js => devtools/server/actors/inspector/event-parsers.js
extra : rebase_source : 9465b9552aff0209225996e0766591fd33dd175b
2018-03-15 19:25:37 -05:00
J. Ryan Stinnett
e66787688e Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes
MozReview-Commit-ID: 8Zv7cJFFG88

--HG--
rename : devtools/server/primitive.js => devtools/server/actors/canvas/primitive.js
extra : rebase_source : aa443931f43a54e2be127e099787cbaa6c6993b8
2018-03-15 19:20:32 -05:00
shindli
ae7d662af6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 12:15:46 +02:00
Boris Zbarsky
837dc7eaaa Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Boris Zbarsky
89ea512161 Bug 1446711 part 7. Switch the nsIDOMMouseEvent::MOZ_SOURCE_* constants over to MouseEventBinding. r=qdot
We can't include MouseEventBinding.h in MouseEvents.h because that produces
this include loop:

MouseEventBinding.h -> UIEventBinding.h ->
nsGlobalWindow.h -> nsGlobalWindowInner.h -> nsRefreshDriver.h ->
AnimationEventDispatcher.h -> AnimationComparator.h -> Animation.h ->
EffectCompositor.h -> PseudoElementHashEntry.h -> Element.h ->
PointerEventHandler.h -> MouseEvents.h -> MouseEventBinding.h

MozReview-Commit-ID: 6FNksGil7uD
2018-03-20 00:16:06 -04:00
Michael Ratcliffe
04ef7324c7 Bug 1428264 - Do not show chrome urls in storage inspector r=pbro
On investigation it turns out that no storage types are supported for chrome:// urls.

MozReview-Commit-ID: JZcQg5FvfvN

--HG--
extra : rebase_source : ea3ad83a5b81fb77fedf1ec4707294c45b6a5257
2018-03-16 14:33:24 +00:00
Andreea Pavel
7062e6b6a2 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
Boris Zbarsky
4fa4d2a7f5 Bug 1446598 part 2. Get rid of nsIDOMComment. r=mystor
MozReview-Commit-ID: GGXPQnlwuUM
2018-03-19 15:15:39 -04:00
Boris Zbarsky
ba095e218b Bug 1433566 part 2. Remove use of nsIDOMText from JS. r=mystor
MozReview-Commit-ID: LtAhn223y0s
2018-03-19 15:15:37 -04:00
Bogdan Tara
7eb4cdd58d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Adrian Wielgosik
87a72d3f51 Bug 1446515 - Remove nsIDOMFileList. r=bz
MozReview-Commit-ID: 4ab1e6NTcOB

--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Yura Zenevich
2cfe591b90 Bug 1445251 - do not instantiate a11y service if it was already turned off when resetting accessible walker actor. r=pbro
MozReview-Commit-ID: 8H9xeRs4nR6
2018-03-16 13:07:42 -04:00
Mark Banner
0f3ec963be Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.

MozReview-Commit-ID: 6wLY7Oj0am3

--HG--
extra : rebase_source : 863313d7907e8246d1f5b0ee83164cc0f943f8f6
2018-03-05 10:34:38 +00:00
Kris Maglione
a4d72e2a38 Bug 1445551: Follow-up: Fix typo. r=emk DONTBUILD
MozReview-Commit-ID: BDJD4SvrIX9
2018-03-15 21:57:28 -07:00
shindli
306b2c76aa Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 12:17:25 +02:00
Kris Maglione
38156094a4 Bug 1445551: Part 5 - Remove add-on path service. r=aswan,mccr8
The path service was created to allow us to track resources that were part of
legacy add-ons, and to map URIs ponting to those resources to add-on IDs, so
that we could apply special behavior to them.

We have better ways to track resources belonging to WebExtensions, so this
code does not benefit them in any significant way.

The only remaining legacy extensions are system add-ons, which we control, and
do not need the path service in order to track.

MozReview-Commit-ID: BKXkcaM7jJx

--HG--
extra : rebase_source : c8cb0f7cec919b767bbcfe5433a6838523747676
2018-03-13 20:21:22 -07:00
Andreea Pavel
41ec48d989 Backed out 2 changesets (bug 1435373) for devtools failures at devtools/client/shared/test/browser_telemetry_button_eyedropper.js and devtools/client/inspector/rules/test/browser_rules_eyedropper.js and devtools/client/inspector/test/browser_inspector_highlighter-cssshape_04.js on a CLOSED TREE
Backed out changeset 195379cf14f0 (bug 1435373)
Backed out changeset 14a22276dc53 (bug 1435373)
2018-03-15 01:50:45 +02:00
Mike Ratcliffe
cbae55792f Bug 1381590 - Make Storage Inspector work with file:// URLs r=pbro
MozReview-Commit-ID: I8QPDaovalG

--HG--
extra : rebase_source : f8b9578a9de89282dc0f14685e24b1f84ba008c8
2018-03-12 17:37:49 +00:00
Razvan Caliman
d8bcd1e906 Bug 1435373 - Map changes from shape highlighter to correct CSS rules. r=pbro
- Emit shape change events from highlighter
- Wrap shape highlighter with in-context shape editor singleton
- Link text properties from Rule view into in-context shapes editor
- Write changes to corresponding rule instead of inline style
- Hide shape highlighter on node change or TextProperty disabled/overwritten
- Remove functionality to restore shape editor on refresh
- Refactor and consolidate shape point hover behaviour (still to do: internalize remaining logic for point hover from rules.js and highlighter-overlay.js)
- Update unit tests

MozReview-Commit-ID: JiMTqODgcjU

--HG--
extra : rebase_source : abcaaa220d7cfda839daf77af9b5c01d4444d781
extra : histedit_source : 19060681534b800fc9696cc94f995eca7587ee30
2018-02-19 17:45:06 +01:00
Razvan Caliman
369a3b985d Bug 1435373 - Minor refactor for shape output string guarding against empty this.geometryBox. Round values in getDistance() util function to avoid verbose precision. r=gl
MozReview-Commit-ID: IBB4mkvAu6h

--HG--
extra : rebase_source : b40e9c29a1ccef116fcfceb0d01dd28d31fec46c
extra : histedit_source : 0d59aad3dd327a550fac40e04e3a733158dd7577
2018-02-19 17:51:10 +01:00
sean-chen
33275e6ec3 Bug 1443786 - Fix CanvasDebugger crash due to a TypeError. r=jdescottes 2018-03-13 11:14:46 -07:00
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Noemi Erli
ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Yura Zenevich
f200bd41c5 Bug 1443831 - accessible highlighter: when picking accessilbe for a node, walk its ancestry until the first valid accessible object. r=pbro
MozReview-Commit-ID: 1NEaKOoAIhH
2018-03-12 14:21:07 -04:00
Luca Greco
a7b7f06441 Bug 1435959 - Fix missing network requests in netmonitor panel for oop extensions. r=ochameau
MozReview-Commit-ID: F8jzwBveACm

--HG--
extra : rebase_source : d45591793484ad916c2e3312818700e9db628abe
2018-02-19 18:00:35 +01:00
Yura Zenevich
6c64f2f9fd Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-09 10:01:55 -05:00
Patrick Brosset
d5b6e21206 Bug 1444032 - Avoid clearing canvas when drawing justify-content areas; r=gl
So far, we are drawing the entire line area, and then cutting out the various
margin boxes from each item, in order to show where justify-content applies.
This is dangerous because that means clearing pixels in a canvas where we're
drawing tons of other stuff, and it's easy to accidentally clear unwanted
things.
Instead, now we just draw the justify-content where needed only.

MozReview-Commit-ID: LJN6Fl1by4l
2018-03-08 14:04:58 +01:00
J. Ryan Stinnett
23ff4cc75d Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Boris Zbarsky
ba4b5f9979 Bug 1444919 part 2. Remove nsIDOMClipboardEvent. r=mystor
MozReview-Commit-ID: YmJ04OiqFo
2018-03-13 00:59:24 -04:00
Brindusan Cristian
eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Nicolas B. Pierron
5cd93573c4 Bug 1443909 - Index documentation of JSMSG_BAD_INSTANCEOF_RHS. r=fscholz 2018-03-08 13:24:26 +00:00
Patrick Brosset
64f6d4eefa Bug 1435749 - Cut out justify-content areas using the correct flex items in the flexbox highlighter; r=gl
MozReview-Commit-ID: 6v9TrdRARlI

--HG--
extra : rebase_source : 67e1b6b331756a7beb7ee4db39678552a66ab38a
2018-03-07 09:19:30 +01:00
Gabriel Luong
5d8bd52394 Bug 1435749 - Get the correct flex items when rendering in the flexbox highlighter. r=pbro 2018-03-07 15:43:58 -05:00
Gabriel Luong
2065d0ece2 Bug 1432036 - Fix eslint error in flexbox.js. r=me 2018-03-07 14:50:33 -05:00
Shuoyi Ma
316ed4964f Bug 1432036 - Remove overlapping flex lines with the flex container in flexbox highlighter. r=gl 2018-03-07 14:45:18 -05:00
Nicolas Chevobbe
90c41237b2 Bug 1441864 - Fix ContentProcessForward data handling; r=bgrins.
In ContentProcessForward, we listen for console-api-log-event in order
to pass data to the Browser console and Browser toolbox.
But the data is modified and properties are cherry-picked from the original
event, missing some properties probably introduced later like `counter`,
`prefix`, `private`, …
The fix consists in cloning the original event data and only overriding what
needs to be overridden.

MozReview-Commit-ID: 6jSfiRxcHQa

--HG--
extra : rebase_source : 3a4c61c0eb14ccdf584630c508dc439b7718ee45
extra : source : d266983f9cdeba0381f11e00bb6b271ccda561c1
2018-03-01 10:23:58 +01:00
J. Ryan Stinnett
35faaa28aa Bug 1248498 - Check document cache status when loading HTML sources. r=jlast
When getting the source for inline scripts in documents, we generally try to use
the cache.  However, the toolbox allows you to disable the HTTP cache while open
if you wish.

If the toolbox has disabled the cache, using `fetchFromCache: true` will give
stale data (from the most recent cache-enabled request).

We can avoid stale data here by checking the document's cache state.

MozReview-Commit-ID: J5SJciSyQNj

--HG--
extra : rebase_source : f5fce653f7860b406aa4a580c32e7c15f9cdd0ce
2018-02-28 19:48:54 -06:00
Nicolas Chevobbe
aca904dd7c Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
MozReview-Commit-ID: 3B3slS3EPYn

--HG--
extra : rebase_source : 60bf49cfd4f620ee20aa577fd15168db48b2ff2d
2018-02-27 09:06:56 +01:00
Dorel Luca
9d9f538a22 Backed out 2 changesets (bug 1428430) for devtools failure on /builds/worker/workspace/build/src/accessible/base/nsAccessibilityService.cpp:1045 a=backout
Backed out changeset 7d9813d8cb47 (bug 1428430)
Backed out changeset a638660a49fa (bug 1428430)

--HG--
extra : source : 533de41e4cb3c8356e254f662371c0e852ce18ca
2018-03-02 01:48:52 +02:00
Gabriel Luong
8bbbdc6337 Bug 1441622 - Expose the OpenType Font Variations data to the fonts redux store. r=pbro 2018-03-01 15:25:10 -05:00
Yura Zenevich
e35979f190 Bug 1428430 - Fix for ESLint faiure in devtools/server/actors/accessibility.js.
MozReview-Commit-ID: 3PPmOMsQAr0
2018-03-01 10:39:40 -05:00