Commit Graph
1522 Commits
Author SHA1 Message Date
Mark Banner 0f0bf6f793 Bug 1447944 - Remove devtool's check_except helper function in favour of Assert.throws. r=jdescottes.
MozReview-Commit-ID: 8W0oZd2P505
2018-03-22 11:13:17 +00:00
Mark Banner 79c0d941fb Bug 1447944 - Enable ESLint rule no-undef for test files in devtools/server/tests/unit/. r=jdescottes
MozReview-Commit-ID: JBtDdAUraQ2
2018-03-22 10:59:26 +00:00
Noemi Erli 9e897d6278 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-23 01:00:18 +02:00
Jason Laster cd6df82c8a 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 585df74fc4 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
2018-03-21 14:53:08 -04:00
arthur.iakab 0911dedf1a Merge mozilla-central to inbound 2018-03-21 22:27:21 +02:00
arthur.iakab 6e006c34b4 Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Mark Banner 3fa2dbe9ae Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI
2018-03-06 22:50:58 +00:00
J. Ryan Stinnett 00a56b52f1 Bug 1446222 - Move DevTools worker startup to new dir. r=jdescottes
Move and rename the server's worker debugger script that starts DevTools for a
worker from `worker.js` to `startup/worker.js`.

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: EvzDSGnG1vU
2018-03-19 22:14:08 -05:00
J. Ryan Stinnett 8c6201e5f4 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
2018-03-19 21:53:24 -05:00
J. Ryan Stinnett eb6c5c216b 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
2018-03-19 21:28:26 -05:00
J. Ryan Stinnett fe86270713 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
2018-03-19 18:53:46 -05:00
J. Ryan Stinnett 223d3200c1 Bug 1446222 - Move websocket-server.js to socket dir. r=jdescottes
MozReview-Commit-ID: 9LZZXTKGCOb
2018-03-19 18:06:44 -05:00
J. Ryan Stinnett d53ca1ae45 Bug 1446222 - Move CssLogic to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: 8IWTgRyWXNQ
2018-03-19 17:39:11 -05:00
J. Ryan Stinnett 3c1e73ffdc Bug 1446222 - Move event parsers to Inspector actor dir. r=jdescottes
MozReview-Commit-ID: LoMjO3v0bDN
2018-03-15 19:25:37 -05:00
J. Ryan Stinnett e62372fb2e Bug 1446222 - Move WebGL primitives to Canvas actor dir. r=jdescottes
MozReview-Commit-ID: 8Zv7cJFFG88
2018-03-15 19:20:32 -05:00
Margareta Eliza Balazs f1a18ad02c Merge inbound to mozilla-central. a=merge 2018-03-20 18:49:59 +02:00
shindli 3d9528c591 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 12:15:46 +02:00
Boris Zbarsky aec275fadf Bug 1446711 part 8. Get rid of nsIDOMMouseEvent. r=qdot
MozReview-Commit-ID: 2FK1MA4LGZj
2018-03-20 00:16:07 -04:00
Boris Zbarsky 72b3558850 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 5d6a395b0b 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
2018-03-16 14:33:24 +00:00
Andreea Pavel 77cede8498 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-20 00:39:56 +02:00
Boris Zbarsky 6c76a18c4c Bug 1446598 part 2. Get rid of nsIDOMComment. r=mystor
MozReview-Commit-ID: GGXPQnlwuUM
2018-03-19 15:15:39 -04:00
Boris Zbarsky 49560bc47d 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 1096f0f569 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Bogdan Tara f6affd371a Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Adrian Wielgosik 03284e63fb Bug 1446515 - Remove nsIDOMFileList. r=bz
MozReview-Commit-ID: 4ab1e6NTcOB
2018-03-16 20:55:32 +01:00
Kris Maglione 9d5b9190a5 Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
The shims that this rule tests for no longer exist.

MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Yura Zenevich c69be566e6 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
Peter Van der Beken 75d03ab497 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz. 2018-03-01 20:19:56 +01:00
Mark Banner d30cec486b 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
2018-03-05 10:34:38 +00:00
Jonathan Watt b707a7f701 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
Kris Maglione 2167255882 Bug 1445551: Follow-up: Fix typo. r=emk DONTBUILD
MozReview-Commit-ID: BDJD4SvrIX9
2018-03-15 21:57:28 -07:00
shindli 2fe73c2e23 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 12:17:25 +02:00
Kris Maglione 39c12beb57 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
2018-03-13 20:21:22 -07:00
Kris Maglione c52d401bb4 Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT
2018-03-14 14:35:05 -07:00
Andreea Pavel 46192c089c 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
Andreea Pavel 4fcb7883ae Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +02:00
Mike Ratcliffe d41ae48c05 Bug 1381590 - Make Storage Inspector work with file:// URLs r=pbro
MozReview-Commit-ID: I8QPDaovalG
2018-03-12 17:37:49 +00:00
Razvan Caliman 0eed3a0f87 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
2018-02-19 17:45:06 +01:00
Razvan Caliman 34aead6f47 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
2018-02-19 17:51:10 +01:00
sean-chen 81482253df Bug 1443786 - Fix CanvasDebugger crash due to a TypeError. r=jdescottes 2018-03-13 11:14:46 -07:00
Michael Ratcliffe ec7ed48b6b Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Dorel Luca 3533489bdf Backed out changeset ae1924aff61b (bug 1443457) as requested by developer 2018-03-14 12:35:38 +02:00
Michael Ratcliffe b37dad2dfb Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Emilio Cobos Álvarez 32772a86a4 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Michael Ratcliffe 02295c73e7 Bug 1446310 - Remove CPOWs from browser_storage_updates.js r=jryans
MozReview-Commit-ID: DVeLEYIfl9A
2018-03-16 09:55:56 +00:00
Michael Ratcliffe e97ef7ef72 Bug 1446037 - Remove CPOWs from browser_storage_dynamic_windows.js and simplify the test r=jryans
Try to comprehend exactly how the original test worked... I dare you!

MozReview-Commit-ID: 5EYOfhw3hVw
2018-03-15 17:17:53 +00:00
Michael Ratcliffe 3a93eeb7fc Bug 1446320 - Remove uses-unsafe-cpows flag from browser_storage_listings.js r=jryans
browser_storage_listings.js doesn't use CPOWs and runs just fine with the flag removed.

I would r=me this if ReviewBoard would let me but I can't.

MozReview-Commit-ID: IHoY7qLR3k2
2018-03-16 11:13:38 +00:00
Alexandre Poirot 35f6d81d38 Bug 1438121: Change test_memory_allocations_01.html to use async functions instead of Task.jsm.
MozReview-Commit-ID: BCQjc5Q3yqd
2018-03-13 10:02:17 -07:00