Commit Graph
585 Commits
Author SHA1 Message Date
Wes Kocher 41af310505 Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Oriol 9397545915 Bug 1295729 - Ensure that properties are array indices when the console checks if an object is a pseudo-array. r=fitzgen 2016-08-16 14:59:00 -04:00
Sebastian Hengst c1cba3001e Backed out changeset c289e719ca5d (bug 1285566) for timing out in devtools test browser_toolbox_computed_view.js. r=backout 2016-08-16 09:57:27 +02:00
Benoit Chabod 06f4606e43 Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: F5s8Fd265Qe
2016-08-12 12:45:00 -07:00
Benoit Chabod 0ce3a6cf55 Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
MozReview-Commit-ID: 860epGLFO9
2016-08-16 21:56:14 -05:00
Alexandre Poirot b9d1deaae1 Bug 1289433 - Fix Eye dropper focus to support key shortcuts on it when opening from the inspector. r=jdescottes 2016-08-11 04:14:36 -07:00
Jarda Snajdr 9ed57163c0 Bug 1292503 - Fix e10s issues in resending HTTP requests, enable browser_net_resend.js test r=ochameau 2016-08-10 17:08:35 -07:00
b0fa44c98a Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
7da99e3425 Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen 2016-08-10 17:35:50 +02:00
c36403bbe5 Bug 1288423 - Decouple PerformanceEntriesActor from PerformanceEntriesFront. r=fitzgen 2016-08-10 17:35:31 +02:00
Carsten "Tomcat" Book aa76bed77a merge fx-team to mozilla-central a=merge 2016-08-09 15:43:44 +02:00
Tom Tromey f56dca3a4c Bug 1291834 - make indexDB a global via devtools loader; r=jryans
MozReview-Commit-ID: 3NnhUWaBBra
2016-08-03 13:26:34 -06:00
Julian Descottes dc61a11e92 Bug 1291306 - update highlighter CSS selector to avoid leaking styles to content;r=ntim
Even though the pseudo :-moz-native-anonymous is only available for chrome content, elements
such as INPUT tags were impacted by the reset styles defined with the selector ":-moz-native-anonymous"

The selector has to be specialized in order to make sure it only impacts devtools elements.

MozReview-Commit-ID: HeHx9i6RJiq
2016-08-06 15:04:49 +02:00
Wes Kocher 29771f4f17 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
James Long 24266d6355 Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04:00
Tom Tromey 6892a50d74 Bug 1292574 - make CSS a global rather than a module in devtools loader; r=gregtatum
MozReview-Commit-ID: 5RYwDAW4wxt
2016-08-05 08:32:59 -06:00
Brian Grinstead 29bef48212 Bug 1288475 - Remove code unused in client and server versions of webconsole utils;r=tromey
MozReview-Commit-ID: GcNg9nEI9d4
2016-08-05 10:44:42 -07:00
Brian Grinstead 4e42260d3e Bug 1288475 - Split webconsole utils.js into separate client and server parts;r=MattN,tromey
MozReview-Commit-ID: HlpiRvuMF1H
2016-08-05 10:44:38 -07:00
Tom Tromey 53b9e15417 Bug 1287631 - fix typo in Services.appinfo use in devtools; r=fitzgen
MozReview-Commit-ID: 1HTz3uRgMfT
2016-08-05 07:45:18 -06:00
Jarda Snajdr 384fe3ecb3 Bug 1286281 - Part 8: Mochitest for WebSocket-based debugger transport r=jryans
MozReview-Commit-ID: AcDb9vj9t5X
2016-08-05 05:02:00 -07:00
Jarda Snajdr de6c06ec8c Bug 1286281 - Part 3: WebSocket server for WebSocket remote debugger transport r=jryans
MozReview-Commit-ID: DFcPTayju7m
2016-08-05 05:00:00 -07:00
Ricky Chien ac91549790 Bug 1102269 - Fixed infobar getting outside visible area r=ntim
MozReview-Commit-ID: 7yNokF0bjj9
2016-08-02 16:51:06 +08:00
Greg Tatum 13b3b00221 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7
2016-08-02 17:18:01 -05:00
Carsten "Tomcat" Book 8ed9dcbd2e merge mozilla-inbound to mozilla-central a=merge 2016-08-04 15:55:50 +02:00
J. Ryan Stinnett d83e7d2185 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 6e63cd22ba Bug 1184661 - If a listener is not callable, assume it is an event listener object. r=past 2016-08-01 09:09:00 +02:00
Carsten "Tomcat" Book 6c57a4aadc Backed out changeset 2b687444223c (bug 1184461) for landing with wrong bug number 2016-08-04 14:43:25 +02:00
Greg Tatum 5ecf2bffa5 Bug 1275939 - replace domUtils.getCSSValuesForProperty in inplace-editor.js r=tromey
MozReview-Commit-ID: KtuAWnNsnaq
2016-08-01 09:34:00 +02:00
f867443bf1 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 aaf9841849 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
Julian Descottes c861479ceb Bug 1289150 - prevent HTML element style color to impact highlighters;r=zer0
MozReview-Commit-ID: VJekKGEBQb
2016-08-04 16:39:42 +02:00
2d7d4468a6 Bug 1281040 - Make sure we detach from worker client when target is destroyed. r=jlongster 2016-08-08 07:53:37 +02:00
Luca Greco 5eeda63bca Bug 1285557 - Fix eslint errors on webbrowser devtools actor. r=jryans
MozReview-Commit-ID: 5TdmJHqqsn2
2016-07-25 12:18:33 +02:00
Luca Greco 537d059f73 Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl
2016-07-25 16:28:49 +02:00
Carsten "Tomcat" Book 186ae7c42a Merge mozilla-central to fx-team 2016-07-28 17:44:58 +02:00
Luca Greco 626f28f1eb Bug 1287889 - Adopt webconsole _lastConsoleInputEvaluation when the debugger changes. r=bgrins
MozReview-Commit-ID: 8ujphVlekIL
2016-07-25 10:09:14 +02:00
Luca Greco e9239cd320 Bug 1268773 - Test addon wrapper updated in cached addon actor on reload and upgrade. r=ochameau
MozReview-Commit-ID: Fsdptohp22c
2016-07-07 14:55:31 +02:00
Luca Greco 1fc23a332e Bug 1268773 - Update the Addon Wrapper for cached addon actors on reload. r=ochameau
MozReview-Commit-ID: AWNPTyIuzCX
2016-07-06 16:18:58 +02:00
Oriol cd445ceebc 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 8303c282bd Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV
2016-07-01 17:42:07 +08:00
Wes Kocher 6c86a63861 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 6ac230e8bc Bug 1288147 - move event-parsers.js to devtools/server; r=bgrins
MozReview-Commit-ID: 9ijC0wAinMs
2016-07-26 09:32:21 -06:00
Tom Tromey 3db2e25714 Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
Patrick Brosset 3e7653ff54 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
2016-07-20 16:06:42 +02:00
Patrick Brosset 1309c4b84e Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue
2016-06-06 15:11:27 +02:00
Patrick Brosset 48056ab112 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
2016-07-20 16:07:04 +02:00
Patrick Brosset e19007d87a 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
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 3c6d6ab8d0 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Greg Tatum 30ad9244d0 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro 2016-07-21 06:54:00 -04:00