Commit Graph
1180 Commits
Author SHA1 Message Date
Wes Kocher 24a0d454ab Backed out changeset 830b3b513bf1 (bug 1373483) for build failures in TelemetryHistogram.o a=backout
MozReview-Commit-ID: I5RRKMjXWKM
2017-06-20 15:03:04 -07:00
Gabriel Luong 0ef615e987 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 14:41:13 -07:00
Matteo Ferretti fb3fc2638d Bug 1373678 - don't display lines' number for value equals to 0; r=pbro
MozReview-Commit-ID: KsSpwcXoxsi
2017-06-20 21:52:55 +02:00
Mike Park 8c132dfbcc Bug 1368709 - Handle zoom and geometry-box options for CSS shapes highlighter. r=pbro
Also convert markers to SVG path to better handle zoom

MozReview-Commit-ID: 8h9WWOLvFfG
2017-05-30 14:24:12 -04:00
Patrick Brosset 34ce4eae43 Bug 987877 - Add Copy XPath menu item to the inspector; r=miker
MozReview-Commit-ID: A5g0MmWovjk
2017-06-12 16:25:48 +02:00
Matteo Ferretti 379aef13be Bug 1351997 - removing any approximation when virtual canvas is updated; r=pbro
MozReview-Commit-ID: 6Z1F5JIoSGO
2017-06-12 17:15:51 +02:00
Matteo Ferretti 0ca9a50de7 Bug 1371330 - calculate the proper coordinates for infinite lines; r=pbro
On Skia / OS X using a large number as workaround for infinite lines makes
the canvas really slow; here I removed the hack, calculating the proper
intersection with the canvas' boundaries for the infinite lines. That should
greatly improve the performance for transformed grid.

MozReview-Commit-ID: Ae1GyxIhf3l
2017-06-12 08:33:11 +02:00
Matteo Ferretti c784030bd4 Bug 1370278 - used getTransformToAncestor in Grid Inspector highlighter; r=gl
Used the new chrome-only API to obtain the transformation matrix of the current
node, relative to the inspected window's root element.
That also includes all the transformations from the element's ancestor; plus
the method is more robust and we can simplify the current code, removing also
some hack.

Deleted also the test for dom_matrix_2d, since one of the method was testing
now doesn't exist anymore, and the second it's just a map to native method
that has its own tests on platform.

MozReview-Commit-ID: 35rs34RSMYA
2017-06-09 01:32:27 +02:00
Sebastian Hengst 5ca3d57888 Backed out changeset b61c6809644c (bug 1370278) for failing chrome test test_dom_matrix_2d.html with 'getNodeTransformOrigin is not a function'. r=backout 2017-06-08 20:58:32 +02:00
Matteo Ferretti faa910ca62 Bug 1370278 - used getTransformToAncestor in Grid Inspector highlighter; r=pbro
Used the new chrome-only API to obtain the transformation matrix of the current
node, relative to the inspected window's root element.
That also includes all the transformations from the element's ancestor; plus
the method is more robust and we can simplify the current code, removing also
some hack.

MozReview-Commit-ID: 35rs34RSMYA
2017-06-08 19:46:41 +02:00
Jason Laster 433ad106d3 Bug 1370923 - Fetch environments on demand. r=jimb 2017-06-07 14:28:00 -04:00
Carsten "Tomcat" Book b18cb8a20e merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Nicolas B. Pierron 92420d300e Bug 1371035 - Index JSMSG_CANT_TRUNCATE_ARRAY MDN documentation. r=fscholz 2017-06-08 09:49:11 +00:00
Ryan VanderMeulen 75cc747ca2 Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE
2017-06-07 22:55:56 -04:00
Matteo Ferretti c1f0fa8e62 Bug 1368535 - translate the matrix also by element's borders; r=gl
MozReview-Commit-ID: 6otecA8D18y
2017-06-07 12:06:53 +02:00
Paolo Amadini 8531ce563a Bug 1370652 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
These fixes are in preparation of making browser-chrome tests fail when there are unhandled Promise rejections.

MozReview-Commit-ID: JTMgC2XwzX2
2017-06-06 21:15:42 +01:00
Matteo Ferretti 79d93c8e7b Bug 1359794 - grid cell highlighting now are properly transformed, infobars are better positioned; r=gl
The Grid Cell highlighting should take transformation into account

Added utility functions for a better handling of points and boundaries;
especially when a transformation is applied.

The SVG path description's points are now properly transformed.

Grid's infobars are now positioned in the same way of box model infobar, since
we pass a more accurate `bounds` object.

MozReview-Commit-ID: CNknsC0ufZj
2017-06-05 16:22:30 +02:00
Gabriel Luong 01db2e2437 Bug 1369586 - Fix eslint error with 'currentZoom' variable never being used in css-grid.js. r=me 2017-06-05 15:41:27 -04:00
Micah Tigley 652b37b5fc Bug 1369586 - Add a border around the grid area name overlay. r=gl
MozReview-Commit-ID: 3aUiVU3gKpq
2017-06-02 22:05:55 -06:00
Marco Castelluccio a05b9f9d05 Bug 1095267 - Assert the promise's timeToSettle is a number only if its state isn't 'pending'. r=fitzgen 2017-06-03 20:14:13 +01:00
Ryan VanderMeulen 655684b447 Merge m-c to inbound. a=merge 2017-06-05 12:00:40 -04:00
Micah Tigley b3450ea319 Bug 1349335 - Use the grid color for the grid cell and area fills. r=gl
MozReview-Commit-ID: 4etwnse2jZu
2017-06-02 22:49:26 -06:00
Tom Tromey 8686a37c63 Bug 1142115 - remove for/of scoping workaround; r=bgrins,jryans
MozReview-Commit-ID: IVUDJPpshSl
2017-05-31 13:00:19 -06:00
Kris Maglione 88befd774d Bug 1368152: Part 3 - Remove ExtensionManagement.getURLForExtension. r=aswan
MozReview-Commit-ID: 4KalPWYQeks
2017-06-03 22:29:27 -07:00
Sebastian Hengst 4631649279 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-04 20:11:31 +02:00
Micah Tigley 71c904abdf Bug 1369585 - Explicitly identify the row and columns in cell infobar. r=gl
MozReview-Commit-ID: F4oKtM3IEbg
2017-06-03 22:24:24 -06:00
Joel Maher d1f0b3328d Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Sebastian Hengst 92d4e91332 merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02:00
Micah Tigley 988f3b9897 Bug 1367627 - Show overlay of grid areas in Grid Highlighter. r=gl
MozReview-Commit-ID: 9KWPltfpWlT
2017-05-31 18:37:43 -06:00
Julian Descottes ff793517de Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
MozReview-Commit-ID: 38XKKM37jC5
2017-05-29 23:36:26 +02:00
Luca Greco 8c05041220 Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo
2017-02-15 14:54:50 +01:00
Luca Greco 2a919403da Bug 1370925 - Fix missing DebuggingServer.removeContentServerScript. r=jdescottes
MozReview-Commit-ID: F1elUP3b7OD
2017-06-07 17:27:29 +02:00
Ryan VanderMeulen e9026433eb Bug 1369214 - Fix ESLint doublequote failures in test_getProcess.html on a CLOSED TREE. 2017-05-31 21:48:59 -04:00
Andrew McCreight 80e3c4b3c4 Bug 1369214 - test_getProcess.html should explicitly require Services in its process script. r=ochameau
MozReview-Commit-ID: BIjsqgIedxD
2017-05-31 16:09:06 -07:00
Paolo Amadini 255a25f454 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Sebastian Hengst 4f5a64e5c8 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Paolo Amadini 48197ac0f0 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2
2017-05-25 15:00:22 +01:00
Ryan VanderMeulen 8c01333062 Merge inbound to m-c. a=merge 2017-05-26 15:43:59 -04:00
Jason Laster fe75e33ac5 Bug 1367052 - Debugger Server prematurely removes out of scope variables. r=fitzgen 2017-05-25 12:33:00 -04:00
Mike Park 97179cc9c0 Bug 1282716 - Add static highlighters for ellipse and inset. r=pbro
Currently doesn't handle zooms or transforms, or rounded corners for inset().

MozReview-Commit-ID: J9ZTjhn9Ki0
2017-05-16 16:25:19 -04:00
Mike Park 97248148b0 Bug 1282716 - Add static highlighter for polygon and circle shapes. r=pbro
MozReview-Commit-ID: 37v4L7qKKWa
2017-05-15 13:56:04 -04:00
Hemant Singh Patwal f7a1f766cd Bug 1355819 - Make the getDocument function safer in devtools\server\actors\styles.js.If passed object has no ownerNode get it from parentStyleSheet instead. r=pbro
MozReview-Commit-ID: 6asmrC31KRr
***
2017-05-19 17:41:52 +05:30
Alexandre Poirot e1aaaf6e78 Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans
MozReview-Commit-ID: 3ry7pRiqNWv
2017-05-15 18:53:19 +02:00
Andy McKay 47949be5e8 bug 1360756 show internal ID for about:debugging r=jdescottes,mstriemer
MozReview-Commit-ID: 2LwFAzKSVKT
2017-05-19 12:00:04 -07:00
Matteo Ferretti 3c181f467c Bug 1365075 - waiting until the document is loaded if CustomContentContainer is not available; r=pbro
MozReview-Commit-ID: Cuv6diP08RT
2017-05-16 18:18:46 +02:00
Luca Greco b6ccbb0ddc Bug 1302702 - Check if the threadActor is attached before using it in tab actor's _windowReady. r=ochameau
MozReview-Commit-ID: IexaXRL27Lu
2017-05-11 18:54:26 +02:00
Luca Greco 3f9e8ccc91 Bug 1302702 - Fix inspector panel deadwrapper exceptions on addon reloads. r=ochameau
MozReview-Commit-ID: DPaUiLeTyCC
2017-04-24 13:49:10 +02:00
Luca Greco 139b437d6b Bug 1302702 - Add devtools webextension actor mochitest-chrome unit tests. r=ochameau
MozReview-Commit-ID: 9pAbT89SlJJ
2017-05-10 12:54:18 +02:00
Luca Greco c83cf0fb0e Bug 1302702 - Make WebExtension Addon Debugging oop-compatible. r=ochameau
This patch applies all the changes needed to the devtools actors
and the toolbox-process-window, to be able to debug a webextension
running in an extension child process (as well as a webextension
running in the main process).

The devtools actor used to debug a webextension is splitted into
3 actors:

- the WebExtensionActor is the actor that is created when the
  "root.listTabs" RDP request is received, it provides the addon
  metadata (name, icon and addon id) and two RDP methods:

  - reload: used to reload the addon (e.g. from the "about:debugging#addons" page)
  - connectAddonDebuggingActor: which provides the actorID of the actor
    that is connected to the process where the extension is running
    (used by toolbox-process-window.js to connect the toolbox to the needed
    devtools actors, e.g. console, inspector etc.)

- the WebExtensionParentActor is the actor that connects to the
  process where the extension is running and ensures that a
  WebExtensionChildActor instance is created and connected
  (this actor is only the entrypoint to reach the WebExtensionChildActor,
  and so it does not provide any RDP request on its own, it only connect
  itself to its child counterpart and then it returns the RDP "form" of
  the child actor, and the client is then connected directly to the
  child actor)

- the WebExtensionChildActor is the actor that is running in the same
  process of the target extension, and it provides the same requestTypes
  of a tab actor.

By splitting the WebExtensionActor from the WebExtensionParentActor, we are
able to prevent the RemoteDebuggingServer to connect (and create
instances of the WebExtensionChildActor) for every addon listed by
a root.listAddons() request.

MozReview-Commit-ID: L1vxhA6xQkD
2017-03-21 15:55:35 +01:00
Sebastian Hengst b0ca1e9b39 Backed out changeset 9b16857ca48d (bug 1302702) 2017-05-17 20:01:30 +02:00