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

1541 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei 5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Makoto Kato 15eece8a65 Bug 1444796 - Part 3. Add test for parameters of startProfiler. r=gregtatum
MozReview-Commit-ID: B2NucdBOXxb

--HG--
extra : rebase_source : a9a1c57631be68b02d63d977a60fbcfac5941688
2018-03-14 15:05:54 +09:00
Makoto Kato 344ae3712c Bug 1444796 - Part 1. Add options to startProfiler to customize profiler parameter from remote. r=gregtatum
New remote profiler protocol uses perfActor, but startProfiler doesn't support
parameters such as interval, So perfActor should support parameters for
startProfiler.

nsIProfiler emit profiler-started event with parameters, but perfActor doesn't
set the parameter yet.  For unit test, we should set parameter on
profiler-started event.

MozReview-Commit-ID: 3QiNunLyhnf

--HG--
extra : rebase_source : 836f67d2f161816c9947a47a18f912dad77728bf
2018-03-14 15:05:48 +09:00
J. Ryan Stinnett 7fef001d2a Bug 1449610 - Remove event loop lag in DevTools. r=ochameau
Bug 962511 added event loop lag info in DevTools for use via a "jank watcher"
tool on Firefox OS devices.

With the removal of Firefox OS, this is now dead code that can be removed.

MozReview-Commit-ID: IHRozqCviuQ

--HG--
extra : rebase_source : 0429ae3655c30ccf79950cd33153ee0a9223c69c
2018-03-28 11:19:22 -05:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Luca Greco c407f3ba17 Bug 1425197 - Add additional checks of the target URL in the inspectedWindow devtools actor. r=kmag, r=ochameau 2018-03-16 21:20:52 +01:00
Erica Wright c241a7059b Bug 1439512 - Correctly find stacked lines to ensure grid and numbers do no disappear when changing grid-row values. r=pbro
MozReview-Commit-ID: 7HkXaylZiMO

--HG--
extra : rebase_source : 6f2719b94ffa7a35615ed6a03ed94763da2bf507
2018-03-16 11:56:10 -04:00
Julian Descottes 4842bb9a9c Bug 1448178 - include actorId in unknown error packet from DevTools server;r=jryans
This will allow client code to catch errors occuring on the server side when
interacting with old-style actors. Before that change, the call from the client
would just never resume.

MozReview-Commit-ID: Ar6q5KapsDy

--HG--
extra : rebase_source : 041584543737c570957fc8b55148e5a824013f2f
2018-03-22 21:37:55 +01:00
Oriol Brufau 67d91bfded Bug 1448501 - Remove unsafe CPOWs in DevTools server tests r=jryans
MozReview-Commit-ID: 9uQGoj4LI8h

--HG--
extra : rebase_source : de4d6afd4c9e0cfe28fbca18d2c06e2406c7a888
2018-03-23 23:44:10 +01:00
Mark Banner 067bafd141 Bug 1447944 - Remove devtool's check_except helper function in favour of Assert.throws. r=jdescottes.
MozReview-Commit-ID: 8W0oZd2P505

--HG--
extra : rebase_source : 9a0a02ec693fc0aaf8f579e4632691cae188441b
2018-03-22 11:13:17 +00:00
Mark Banner f1ed0a2b70 Bug 1447944 - Enable ESLint rule no-undef for test files in devtools/server/tests/unit/. r=jdescottes
MozReview-Commit-ID: JBtDdAUraQ2

--HG--
extra : rebase_source : 544ada916f5d3fd41f57225b19897d6b21407425
2018-03-22 10:59:26 +00:00
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
arthur.iakab 5e8092339a Merge mozilla-central to inbound
--HG--
rename : browser/base/content/test/general/bug364677-data.xml => browser/components/feeds/test/bug364677-data.xml
rename : browser/base/content/test/general/bug364677-data.xml^headers^ => browser/components/feeds/test/bug364677-data.xml^headers^
rename : browser/base/content/test/general/test_bug364677.html => browser/components/feeds/test/test_bug364677.html
rename : services/sync/tps/extensions/tps/bootstrap.js => services/sync/tps/extensions/tps/components/tps-cmdline.js
rename : testing/talos/talos/pageloader/bootstrap.js => testing/talos/talos/pageloader/components/tp-cmdline.js
rename : testing/talos/talos/startup_test/sessionrestore/addon/bootstrap.js => testing/talos/talos/startup_test/sessionrestore/addon/SessionRestoreTalosTest.js
rename : testing/talos/talos/talos-powers/bootstrap.js => testing/talos/talos/talos-powers/components/TalosPowersService.js
rename : tools/quitter/bootstrap.js => tools/quitter/QuitterObserver.js
extra : rebase_source : 5801e95a945b54754f27571e7b211e1eac132d67
2018-03-21 22:27:21 +02:00
arthur.iakab abcb47d8cc Merge inbound to mozilla-central. a=merge 2018-03-21 21:13:11 +02:00
Mark Banner ca1d1c7f94 Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI

--HG--
extra : rebase_source : 95819adebef10c8db626bc75f985f75f9e39cad8
2018-03-06 22:50:58 +00:00
J. Ryan Stinnett c690e84914 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

--HG--
rename : devtools/server/worker.js => devtools/server/startup/worker.js
extra : rebase_source : e0b4600a0644e3e8ebb14f3da9c7dcea94d776ad
2018-03-19 22:14:08 -05: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 c6636c8067 Bug 1446222 - Move websocket-server.js to socket dir. r=jdescottes
MozReview-Commit-ID: 9LZZXTKGCOb

--HG--
rename : devtools/server/tests/mochitest/test_websocket-server.html => devtools/server/socket/tests/test_websocket-server.html
rename : devtools/server/websocket-server.js => devtools/server/socket/websocket-server.js
extra : rebase_source : bc009ad0078394d2e24599fcd999ad6123ee094a
2018-03-19 18:06:44 -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
Margareta Eliza Balazs b29daa4644 Merge inbound to mozilla-central. a=merge 2018-03-20 18:49:59 +02: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
Bogdan Tara 4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +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
Kris Maglione 313b707b2e 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

--HG--
extra : rebase_source : 765ddd5c62c9449c07ed050e44d86a3bd5c0ae64
extra : amend_source : 627a7694ac07182200f876901ded7a34721cd228
2018-03-07 19:31:28 -08: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
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
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
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
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
Kris Maglione 83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -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
Andreea Pavel 363ad2007d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +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