Commit Graph
1013 Commits
Author SHA1 Message Date
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
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
Sebastian Hengst 68ed87c717 Backed out changeset ef12ed2b4641 (bug 1302702) 2017-05-17 20:01:21 +02:00
Sebastian Hengst ea1685762f Backed out changeset 3173e1090b3c (bug 1302702) 2017-05-17 20:01:13 +02:00
Sebastian Hengst a30918a457 Backed out changeset 2255bb2a4215 (bug 1302702) 2017-05-17 20:01:08 +02:00
Luca Greco 422d09befc 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 a6b324a2cf 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 1af289f3b5 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 1ca317e6e2 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
Tom Tromey 1fae2b4bb3 Bug 1349354 - remove now-unused source-map-service; r=jryans
MozReview-Commit-ID: umdc4XrpGf
2017-05-15 03:17:19 -06:00
Carsten "Tomcat" Book e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Matteo Ferretti fa5c96e8dd Bug 1348919 - forced grid cell infobar and area infobar position; r=gl
The infobars needs to be not hidden when the `moveInfobar` function is called,
otherwise the computed style won't work as expected; therefore I switched the
functions' call related to that.
I added an optional `options` argument to the `moveInfobar` function in order
to support forced position and make the infobar hide if offscreen.

MozReview-Commit-ID: 81dxkMGt7vT
2017-05-15 13:54:42 +02:00
Wes Kocher 5a3d1ae43d Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij
2017-05-15 17:02:08 -07:00
Michael Ratcliffe 6b564929b3 Bug 1231452 - Make it possible to add cookies to the storage inspector r=pbro
MozReview-Commit-ID: 9l9GBpxX7xv
2017-03-31 23:28:55 +01:00
Michael Ratcliffe 2217e5a681 Bug 1363006 - Make it possible to add local and session storage entries to the storage inspector r=pbro
MozReview-Commit-ID: IhXPD4C8HZO
2017-05-08 17:30:15 +01:00
Alexandre Poirot 72524a0500 Bug 1364081 - Unregister process list listener on root actor cleanup. r=jdescottes
MozReview-Commit-ID: GdysoBw7hHl
2017-05-11 16:06:22 +02:00