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

564 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead ebd177e3cd Bug 1288475 - Remove code unused in client and server versions of webconsole utils;r=tromey
MozReview-Commit-ID: GcNg9nEI9d4

--HG--
extra : rebase_source : aa23b027673b9bcfcdb9d8751d528335ac5afbaa
2016-08-05 10:44:42 -07:00
Brian Grinstead 5a0322040e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H

--HG--
rename : devtools/shared/webconsole/utils.js => devtools/client/webconsole/utils.js
rename : devtools/shared/webconsole/utils.js => devtools/server/actors/utils/webconsole-utils.js
rename : devtools/shared/webconsole/worker-utils.js => devtools/server/actors/utils/webconsole-worker-utils.js
extra : rebase_source : 6f1b2afba2c3cf3e3d17f839c11bf15e89a2f69d
2016-08-05 10:44:38 -07:00
Tom Tromey 4a3acb8220 Bug 1287631 - fix typo in Services.appinfo use in devtools; r=fitzgen
MozReview-Commit-ID: 1HTz3uRgMfT

--HG--
extra : rebase_source : 5d2bdbb2c1b4ab2b91d892578d85ed03f7df55a0
2016-08-05 07:45:18 -06:00
Greg Tatum 34824c4105 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7

--HG--
extra : rebase_source : f9b225e5a4464b7e6f937e4670a0bfbf472dc916
2016-08-02 17:18:01 -05:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
J. Ryan Stinnett 9b60f9ebc6 Bug 1288964 - Restore reload buttons in canvas and web audio. r=me
MozReview-Commit-ID: 2ZKDlt8teTL
2016-08-03 18:27:26 -05:00
Eddy Bruel c8d0c59aee Bug 1184661 - If a listener is not callable, assume it is an event listener object. r=past
--HG--
extra : rebase_source : cbea66acb5acfbdc1b83acd797566bb5a5be1c75
2016-08-01 09:09:00 +02:00
Carsten "Tomcat" Book 04c4fa957d Backed out changeset 2b687444223c (bug 1184461) for landing with wrong bug number
--HG--
extra : rebase_source : 0200fb421ef08622252434b8e3f6893e735befb7
2016-08-04 14:43:25 +02:00
Greg Tatum 2ba8b8b1ab Bug 1275939 - replace domUtils.getCSSValuesForProperty in inplace-editor.js r=tromey
MozReview-Commit-ID: KtuAWnNsnaq

--HG--
rename : devtools/server/tests/mochitest/test_css-properties.html => devtools/server/tests/mochitest/test_css-properties_01.html
extra : rebase_source : 3002ac705c2a99fa04796666aa40261abdc87646
2016-08-01 09:34:00 +02:00
Eddy Bruel 1244c00ca8 Bug 1184461 - If a listener is not callable, assume it is an event listener object. r=past
In ThreadActor._getAllEventListeners, we construct a list of handler functions
for each target in the event target chain of a given event target. If a handler
is an event handler object, we obtain the handler function from its handleEvent
property. Otherwise, the handler function is assumed to be the handler itself.

To detect whether a handler is an event handler object, we would check its class
name property. This approach is fragile for several reasons: if the handler is
a proxy, accessing its class name may cause the debuggee to run. Moreover,
since accessing a proxy's class name requires us to enter the compartment of the
proxy's handler, if the latter is a security wrapper, accessing its class name
will cause security warnings in debug mode.

Since a handler is either an event handler object or a function, it should be
safe to assume that a handler is an event handler object if and only if it is
not callable. Checking whether a proxy is callable cannot cause the debuggee to
run. Moreover, it does not require us to enter the compartment of the proxy's
handler, thus avoiding the security warnings we mentioned earlier.
2016-08-03 14:26:06 +02:00
Hallvord R. M. Steen bbc7e74d88 Bug 1291069, command should be hello.echo() in protocol.js.md docs. r=jryans DONTBUILD
MozReview-Commit-ID: DwYxfeTeWYN
2016-08-02 09:20:04 +09:00
Luca Greco 5e6bb687e5 Bug 1285557 - Fix eslint errors on webbrowser devtools actor. r=jryans
MozReview-Commit-ID: 5TdmJHqqsn2

--HG--
extra : rebase_source : 11eb21043566f0899814a339d7bbcd61823f5609
2016-07-25 12:18:33 +02:00
Luca Greco d01ad0fefd Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/webextension.js
extra : rebase_source : 4e15cd90658dcc28e8cb90414c55cd66865c711e
2016-07-25 16:28:49 +02:00
Carsten "Tomcat" Book 1e0260eddf Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Luca Greco 08fdde48aa Bug 1287889 - Adopt webconsole _lastConsoleInputEvaluation when the debugger changes. r=bgrins
MozReview-Commit-ID: 8ujphVlekIL

--HG--
extra : rebase_source : 72a1bc22c87ef2f8d0d848f103880b41e66fe83d
2016-07-25 10:09:14 +02:00
Luca Greco 065bec7ddc Bug 1268773 - Test addon wrapper updated in cached addon actor on reload and upgrade. r=ochameau
MozReview-Commit-ID: Fsdptohp22c

--HG--
extra : rebase_source : 0ca1399280eece985b634cf700116ecdbe766894
2016-07-07 14:55:31 +02:00
Luca Greco 7ce3851ef3 Bug 1268773 - Update the Addon Wrapper for cached addon actors on reload. r=ochameau
MozReview-Commit-ID: AWNPTyIuzCX

--HG--
extra : rebase_source : c736731c2daa322dda16eca9ce8afbdba6ea1bb6
2016-07-06 16:18:58 +02:00
Oriol 3e28f15238 Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
Fischer.json d814fd47e3 Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV

--HG--
extra : transplant_source : %DDH%D0%22%A8%96%C0%F6%EAW%A6%8B%CF%CAA%3Cy%26m%E4
2016-07-01 17:42:07 +08:00
Wes Kocher 6517ee3462 Backed out 6 changesets (bug 1244227) for m(cl) failures
Backed out changeset 0cf1259b7073 (bug 1244227)
Backed out changeset d5866b9dd3d9 (bug 1244227)
Backed out changeset 49b5309e3415 (bug 1244227)
Backed out changeset 33bc49f015a7 (bug 1244227)
Backed out changeset f680f6460f07 (bug 1244227)
Backed out changeset 5a4bb3258978 (bug 1244227)
2016-07-22 13:32:37 -07:00
Tom Tromey ea95071431 Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs

--HG--
rename : devtools/shared/event-parsers.js => devtools/server/event-parsers.js
extra : rebase_source : 6e865cad2f70ca99824ccab77e95c6f001386606
2016-07-26 09:32:21 -06:00
Tom Tromey 4f245dd44f Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7

--HG--
extra : transplant_source : J%98f%AD%0C%80%3B%0D%23%89%5D/%F2He%CC%B95Np
2016-03-01 11:13:41 -07:00
Patrick Brosset f9d2dc2d7d Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD

--HG--
extra : rebase_source : 47c2effe193f4d1a64a8d16ea3609ff5ae1f793b
2016-07-20 16:06:42 +02:00
Patrick Brosset 4b2d233450 Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue

--HG--
extra : rebase_source : fb6b4feec4be295cb4494be66d0b188d6b538579
2016-06-06 15:11:27 +02:00
Patrick Brosset 968dc79025 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd

--HG--
extra : rebase_source : 392a3cbfce7b81518cd7e4c90a44bae17d96e8de
2016-07-20 16:07:04 +02:00
Patrick Brosset d2cc90ec24 Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7

--HG--
rename : devtools/client/shared/css-color-db.js => devtools/shared/css-color-db.js
rename : devtools/client/shared/css-color.js => devtools/shared/css-color.js
extra : rebase_source : 72431a9148d1c688987a5693a619769837c774c7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book 336105a0de merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 53b9562c23 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Greg Tatum 03144dabc5 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro
--HG--
extra : rebase_source : b24ee31a2563e25ef46cb8068255f4e8ae4ffb13
2016-07-21 06:54:00 -04:00
Carsten "Tomcat" Book 4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book ac018ea603 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
Eddy Bruel 34cdf87c79 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Tim Huang 2107711fca Bug 1287607 - Making the stylesheets editor using the system principal to load CSS files from 'chrome://' URL. r=gl 2016-07-19 17:39:00 +02:00
Jaideep Bhoosreddy 55e61dc998 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 19:09:00 +02:00
Wes Kocher b79af22444 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures
--HG--
rename : devtools/client/framework/source-map-service.js => devtools/client/framework/source-location.js
2016-07-20 12:56:46 -07:00
James Long 6ab69d6827 Bug 1238173 - remove ScriptStore in use findScripts in debugger r=fitzgen 2016-07-20 14:57:13 -04:00
Jaideep Bhoosreddy 8f73e01607 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell
--HG--
rename : devtools/client/framework/source-location.js => devtools/client/framework/source-map-service.js
2016-07-20 00:40:00 -04:00
Patrick Brosset f4f658ae9a Bug 1287042 - Always before/after CSS rules in rule-view; r=bgrins
::before and ::after pseudo-elements are visible in the markup-view today
but if, for some reason, they aren't generated, we still want to know that
the CSS rule exists.
This may happen if you use display:none on the pseudo-element CSS rule itself.
When that happens, the pseudo-element won't be generated and therefore there
will be no possibility to see the rule in the rule-view (you'd have to go to
the style-editor for that).
This change keeps the pseudo-elements in the markup-view, but also adds the
corresponding CSS rules in the rule-view.

MozReview-Commit-ID: tx5IpmtE7b

--HG--
extra : rebase_source : 19979672561e55fc5713900b83dd6d40ac33d2a3
2016-07-18 17:15:05 +02:00
Joseph Yeh 711bee9e8d Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm

--HG--
extra : rebase_source : ed4d3809d97fd1c1a6661ad30b9f9d0d868fbea2
2016-07-11 20:28:00 +02:00
Carsten "Tomcat" Book ca457776f8 merge mozilla-inbound to mozilla-central a=merge 2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book 779d97cbaf Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book a0992595d6 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Till Schneidereit 3a9eed06fe Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Jason Laster ae5b9e5663 Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster 2016-07-12 14:40:00 -04:00
Dalimil Hajek fa37099930 Bug 1220388 - Element highlighter tooltip doesn't display element's size if it has long ID / firefox window is narrow. r=zer0
MozReview-Commit-ID: AzKGhr9BssN
2016-07-05 12:38:00 +02:00
Greg Tatum 180f6e66ec Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Alexandre Poirot a3822bd122 Bug 1281726 - Emit TabActor.tabDetached whenever the actor is detached. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot 213ad20a2e Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Till Schneidereit f8bc4fae19 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Tim Huang d0bc82231f Bug 1282660 - Part 1 : Make the devtools uses nodePrincipal instead of the system principal when fetching stylesheets. r=gl 2016-07-13 02:37:00 +02:00