Commit Graph

1101 Commits

Author SHA1 Message Date
Mark Striemer
74c3b5612e Bug 1330732 - Show install warnings in about:debugging r=aswan,jdescottes
MozReview-Commit-ID: 8SFcYuln8w8

--HG--
extra : rebase_source : 5e9b51508bf7b7366b393b485ff1cbbd1c7e146e
2017-06-29 11:11:21 -07:00
Jan Odvarko
8db5653ea4 Bug 1378854 - Stop using sdk/core/heritage in DevTools stack utils; r=zer0
MozReview-Commit-ID: L4FrZ0UBKea

--HG--
extra : rebase_source : 4aff3c90edaf18040810e79bc8c75dfd05b3d6ab
2017-07-10 11:28:26 +02:00
Micah Tigley
a8929d7b47 Bug 1379715 - Grid Inspector Area Names are giant when they overflow. r=gl
MozReview-Commit-ID: EFQkZ25Bf4w
2017-07-11 22:17:17 -06:00
J. Ryan Stinnett
835cab2d73 Bug 1380082 - Don't Stylo check pref directly in tests. r=xidorn
Stylo might be enabled by either env var or pref.  Use the existing
DOMWindowUtils method to test for Stylo instead of the pref to get an accurate
value.

MozReview-Commit-ID: 8p22xCBjHjo

--HG--
extra : rebase_source : 1a5524e22be07a712838ac5a2ac0bec0cc65dfa7
2017-07-12 13:03:15 -05:00
Micah Tigley
e2a3636c53 Bug 1380544 - Overlapping grid line numbers should display as a stack. r=zer0
MozReview-Commit-ID: 4XRA0AiLzty
2017-07-24 21:36:26 -06:00
Tom Tromey
0325344b7b Bug 1306887 - use SourceMap response header in style sheet actor; r=gl
If a SourceMap response header was saved on a style sheet, use it in the
style sheet actor.

MozReview-Commit-ID: GRLCdRCaP5Q

--HG--
extra : rebase_source : 6632acb69a4d1a85ea6ccf3897c0e3be7ae51edd
2017-06-29 10:04:52 -07:00
J. Ryan Stinnett
9679cb9dce Bug 1371457 - Change restyle marker data to animation state. r=bholley,gregtatum
Stylo doesn't have a good equivalent for restyle hints to expose in markers and
the ones exposed for Gecko aren't very accurate either, so we don't want to
expose the restyle hint anymore.

At the same time, several animation restyle tests currently use the hint inside
the marker to check when animation-only restyles have happened.  We can preserve
this by changing the data inside the marker to be a flag for whether the restyle
is animation only, which we know for both Gecko and Stylo.

MozReview-Commit-ID: 8L8KU8Ush7P

--HG--
extra : rebase_source : 4eef80653c1ef79ee1539d27fe6a70fbfaf441ad
2017-06-28 11:59:28 -07:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Patrick Brosset
c109f6e2ed Bug 1374587 - Avoid getting NodeActors for grids when we already know them and filter reflows; r=gl
Here we make updates on reflow slower (with a throttle) cause we don't
really need to update live.
We also filter all reflows that do not cause either the list of grids or
the current outline to change.
Finally, we also attach NodeActors to GridActor forms (when they are know)
in order to avoid one more round-trip to the server.

Globally, this makes performance of the grid panel far better on pages that
cause many reflows.

Note that this commit also fixes a debounce vs. throttle confusion that
existed in an inspector utils file. The throttle function there was actually
a debounce function, so it was renamed, and an actual throttle function
was added.

MozReview-Commit-ID: GeqgZR0o0E6

--HG--
extra : rebase_source : 6b9719379dcbd4479bded26014aa3742bd75208e
2017-06-27 12:02:53 -07:00
J. Ryan Stinnett
3fa0d59862 Bug 1357715 - Skip DevTools tests on Stylo that use shadow DOM. r=heycam
MozReview-Commit-ID: DXT7yDgPjCM

--HG--
extra : rebase_source : c44be4de23bf722fb9d43bddf0b69ea41ce11127
2017-06-21 12:59:06 -05:00
Gabriel Luong
24ccb0a1bb Bug 1375615 - Don't render the grid areas overlay for implicit named grid areas. r=pbro 2017-06-26 12:12:34 -07:00
Carsten "Tomcat" Book
03eeab2f7b Backed out changeset a7a5b2fc4f0a (bug 1357715) for causing perma failures after merged to m-c 2017-06-23 13:45:55 +02:00
Phil Ringnalda
21f33fe35a Backed out 3 changesets (bug 1334550) for Windows timeouts in test-oop-extensions/test_ext_unlimitedStorage.html
Backed out changeset 17c74c7634a2 (bug 1334550)
Backed out changeset d3b0db4e50c5 (bug 1334550)
Backed out changeset 4319f15e2496 (bug 1334550)

MozReview-Commit-ID: 2vmxPAMJZW
2017-06-22 22:32:58 -07:00
J. Ryan Stinnett
56bd8d22b1 Bug 1357715 - Skip DevTools tests on Stylo that use shadow DOM. r=heycam
MozReview-Commit-ID: DXT7yDgPjCM

--HG--
extra : rebase_source : 354263999353809cecabcb9da12a0321d2cccfeb
2017-06-21 12:59:06 -05:00
Haik Aftandilian
e927881242 Bug 1334550 - Part 3 - Workaround for addon.uninstall() file locking issue; r=jimm
MozReview-Commit-ID: HvWmnyuuipj

--HG--
extra : rebase_source : 5b6e2bf5962d5b21314d33fd5433850ffa2c4ac7
2017-05-29 10:45:43 -07:00
Wes Kocher
ac0fd2038c Merge inbound to m-c a=merge
MozReview-Commit-ID: 3LXFVwSoMvs
2017-06-21 17:58:17 -07:00
Yury Delendik
6d3d1c4489 Bug 1374681 - Disable wasm binary source for debugger.html. r=jlast
MozReview-Commit-ID: 2lKMOizPwoX

--HG--
extra : rebase_source : 7f2d3b4205fe8482231835dee62cd0ecf97d6b5a
2017-06-20 10:32:53 -05:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Yury Delendik
3c4f86517b Bug 1364535 - Inverse source mapping for WebAssembly maps. r=jlast
MozReview-Commit-ID: JqEkdLpIv2o

--HG--
extra : rebase_source : 381c8ff7b754299c468c0e790177aace74bab44f
2017-06-19 10:55:20 -05:00
Yury Delendik
6294f37db4 Bug 1364535 - Modifies Debug Protocol to access WebAssembly binary source. r=jlast
MozReview-Commit-ID: K4lR5qz4DWG

--HG--
extra : rebase_source : 6d62a1f6c52313e87a1b089e4038cb6bdaeef6e6
2017-05-19 12:19:54 -05:00
Gabriel Luong
fe1128dd14 Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 16:32:18 -07:00
Wes Kocher
89c6584074 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
0f9310447e Bug 1373483 - Add telemetry for the grid inspector. r=pbro. data-r=bsmedberg 2017-06-20 14:41:13 -07:00
Matteo Ferretti
8600d2979f 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
920866c6b0 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

--HG--
extra : rebase_source : 338155d2420183b17b9507b1fbedc7bda307d16b
2017-05-30 14:24:12 -04:00
Patrick Brosset
336f2049fa Bug 987877 - Add Copy XPath menu item to the inspector; r=miker
MozReview-Commit-ID: A5g0MmWovjk

--HG--
extra : rebase_source : c426b97a789847ba8a6c1a7d3f8cc81cd20a2fdc
2017-06-12 16:25:48 +02:00
Matteo Ferretti
ec371e55b6 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
3a8b1be5c3 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
2854cff5e1 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
313d90426f 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
d52072a4a8 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
e321615671 Bug 1370923 - Fetch environments on demand. r=jimb 2017-06-07 14:28:00 -04:00
Carsten "Tomcat" Book
b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Nicolas B. Pierron
d00b5ff644 Bug 1371035 - Index JSMSG_CANT_TRUNCATE_ARRAY MDN documentation. r=fscholz 2017-06-08 09:49:11 +00:00
Ryan VanderMeulen
9b7a73b65a Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE

--HG--
extra : amend_source : a59e53ba2f8db608f613f21ad6da2b5be8814aa4
2017-06-07 22:55:56 -04:00
Matteo Ferretti
7ef48762ee 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
ac30ebecfa 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

--HG--
extra : rebase_source : 4d0b0465641b2286d01f872b0cf8052af5573939
extra : amend_source : 75dacab1ff06bcab2a05e6e744845b151f97d06c
extra : intermediate-source : 047e38fdb0c889e7e7dc0c2cd5a4e6dc6aa7fe22
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-06-06 21:15:42 +01:00
Matteo Ferretti
819ccfd2e4 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

--HG--
extra : rebase_source : 373032eacbfeacf1e6b870cbbe59be539be916b8
2017-06-05 16:22:30 +02:00
Gabriel Luong
6cab183898 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
c671140c63 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
d66a91a2b0 Bug 1095267 - Assert the promise's timeToSettle is a number only if its state isn't 'pending'. r=fitzgen
--HG--
extra : rebase_source : 226bc42d409c63c0ff8a0e8f7c560a6fca699ef6
2017-06-03 20:14:13 +01:00
Ryan VanderMeulen
9531c6693f Merge m-c to inbound. a=merge 2017-06-05 12:00:40 -04:00
Micah Tigley
4d89c214fd 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
e97863698c Bug 1142115 - remove for/of scoping workaround; r=bgrins,jryans
MozReview-Commit-ID: IVUDJPpshSl

--HG--
extra : rebase_source : e91da2183ba4fcdb14287dc9f9d68ba0f4bcea3a
2017-05-31 13:00:19 -06:00
Kris Maglione
bfc7032cb4 Bug 1368152: Part 3 - Remove ExtensionManagement.getURLForExtension. r=aswan
MozReview-Commit-ID: 4KalPWYQeks

--HG--
extra : rebase_source : fed07c753b1bd0f44d85d7bdfceab7d4296aa9df
2017-06-03 22:29:27 -07:00
Sebastian Hengst
c228c964b6 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-04 20:11:31 +02:00
Micah Tigley
42809d4c3a 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
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
Sebastian Hengst
b3c51a3e2d merge mozilla-central to autoland. r=merge a=merge 2017-06-03 20:16:49 +02:00
Micah Tigley
cdc9485714 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
9bedf05e44 Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
MozReview-Commit-ID: 38XKKM37jC5

--HG--
extra : rebase_source : 65b3aced59a7f5ceca35b2941c1ab1c80ac89b2b
2017-05-29 23:36:26 +02:00
Luca Greco
a977d84eda Bug 1300590 - Implement support for $0 and inspect bindings in devtools.inspectedWindow.eval. r=aswan,ochameau
MozReview-Commit-ID: CHuc57tfgzo

--HG--
rename : browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow.js => browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow_eval_bindings.js
extra : rebase_source : 0e207c6d422b0227ec867e08e05a6a323dc3664b
2017-02-15 14:54:50 +01:00
Luca Greco
250e9e18e4 Bug 1370925 - Fix missing DebuggingServer.removeContentServerScript. r=jdescottes
MozReview-Commit-ID: F1elUP3b7OD

--HG--
extra : rebase_source : 10a24b865302b61ae5f880e7c7e114d2a04c9414
2017-06-07 17:27:29 +02:00
Ryan VanderMeulen
925f8e7dd2 Bug 1369214 - Fix ESLint doublequote failures in test_getProcess.html on a CLOSED TREE. 2017-05-31 21:48:59 -04:00
Andrew McCreight
ffd5350678 Bug 1369214 - test_getProcess.html should explicitly require Services in its process script. r=ochameau
MozReview-Commit-ID: BIjsqgIedxD

--HG--
extra : rebase_source : 764ab09860de0f30efef2545fc29b704c1a870f2
2017-05-31 16:09:06 -07:00
Paolo Amadini
0369d7414c Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 279cabcd658b3877a8501df382804ae5fa7aa1fc
extra : source : b59573695517b2a464f22e00bd3792c50dcf371a
2017-05-25 15:00:22 +01:00
Sebastian Hengst
877985ac99 Backed out changeset b59573695517 (bug 1242505) 2017-05-28 11:31:22 +02:00
Paolo Amadini
6886a4fb81 Bug 1242505 - Part 1 - Handle more rejections in code exercised by browser-chrome tests. r=Mossop
MozReview-Commit-ID: JTMgC2XwzX2

--HG--
extra : rebase_source : 83a77cbfe5629abe99ae575b57592361ea9627b8
2017-05-25 15:00:22 +01:00
Ryan VanderMeulen
75fa1fd85f Merge inbound to m-c. a=merge 2017-05-26 15:43:59 -04:00
Jason Laster
ad0a595b53 Bug 1367052 - Debugger Server prematurely removes out of scope variables. r=fitzgen 2017-05-25 12:33:00 -04:00
Mike Park
ab57b5c007 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

--HG--
extra : rebase_source : 62a8952fe18e1493ba9f31e85a4d9bc7d558167c
2017-05-16 16:25:19 -04:00
Mike Park
341dbc43d2 Bug 1282716 - Add static highlighter for polygon and circle shapes. r=pbro
MozReview-Commit-ID: 37v4L7qKKWa

--HG--
extra : rebase_source : 20e502e6c3067a6a4a0b8925986c430bf340996d
2017-05-15 13:56:04 -04:00
Hemant Singh Patwal
cba0ed3bd5 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
***

--HG--
extra : rebase_source : d44256d1881c5f76bfc51c2f42c39955f66e62d4
2017-05-19 17:41:52 +05:30
Alexandre Poirot
51fbee878f Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans
MozReview-Commit-ID: 3ry7pRiqNWv

--HG--
rename : devtools/server/moz.build => devtools/platform/moz.build
rename : devtools/server/nsIJSInspector.idl => devtools/platform/nsIJSInspector.idl
rename : devtools/server/nsJSInspector.cpp => devtools/platform/nsJSInspector.cpp
rename : devtools/server/nsJSInspector.h => devtools/platform/nsJSInspector.h
rename : devtools/server/tests/unit/test_nsjsinspector.js => devtools/platform/tests/unit/test_nsjsinspector.js
extra : rebase_source : 1df23f9247d9202fc7022ae73f8bf4bcf262410b
2017-05-15 18:53:19 +02:00
Andy McKay
53f5dca650 bug 1360756 show internal ID for about:debugging r=jdescottes,mstriemer
MozReview-Commit-ID: 2LwFAzKSVKT

--HG--
extra : rebase_source : 1bffb7764fb2b6bf48a0559f5b27a1ae8886c61e
2017-05-19 12:00:04 -07:00
Matteo Ferretti
b3dbed1256 Bug 1365075 - waiting until the document is loaded if CustomContentContainer is not available; r=pbro
MozReview-Commit-ID: Cuv6diP08RT

--HG--
extra : rebase_source : 07c8a9c67b1f54df657dfc8e735bc623fec20a77
2017-05-16 18:18:46 +02:00
Luca Greco
0a009bbe92 Bug 1302702 - Check if the threadActor is attached before using it in tab actor's _windowReady. r=ochameau
MozReview-Commit-ID: IexaXRL27Lu

--HG--
extra : rebase_source : 8596c602675a33b70b38483fc7b5926cac9df603
2017-05-11 18:54:26 +02:00
Luca Greco
c422dba97a Bug 1302702 - Fix inspector panel deadwrapper exceptions on addon reloads. r=ochameau
MozReview-Commit-ID: DPaUiLeTyCC

--HG--
extra : rebase_source : 8e72e722ef200f48ce2a2489f4c60de05ab9d4cf
2017-04-24 13:49:10 +02:00
Luca Greco
06558b719f Bug 1302702 - Add devtools webextension actor mochitest-chrome unit tests. r=ochameau
MozReview-Commit-ID: 9pAbT89SlJJ

--HG--
extra : rebase_source : c6a5af85c412f5989bdd7664948aaba5a6f9bf66
2017-05-10 12:54:18 +02:00
Luca Greco
0747cbb551 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

--HG--
extra : rebase_source : 7ed7735084d9351ff32ab1ad822e53dd0828dace
2017-03-21 15:55:35 +01:00
Sebastian Hengst
5f9f503238 Backed out changeset 9b16857ca48d (bug 1302702) 2017-05-17 20:01:30 +02:00
Sebastian Hengst
f9fedeeec9 Backed out changeset ef12ed2b4641 (bug 1302702) 2017-05-17 20:01:21 +02:00
Sebastian Hengst
5eaa935f65 Backed out changeset 3173e1090b3c (bug 1302702) 2017-05-17 20:01:13 +02:00
Sebastian Hengst
68dd3c29a1 Backed out changeset 2255bb2a4215 (bug 1302702) 2017-05-17 20:01:08 +02:00
Luca Greco
beacbd1f6a Bug 1302702 - Check if the threadActor is attached before using it in tab actor's _windowReady. r=ochameau
MozReview-Commit-ID: IexaXRL27Lu

--HG--
extra : rebase_source : d3a9b2062b876b073970fe8ab919e1240eaadcbf
2017-05-11 18:54:26 +02:00
Luca Greco
61ddf5427f Bug 1302702 - Fix inspector panel deadwrapper exceptions on addon reloads. r=ochameau
MozReview-Commit-ID: DPaUiLeTyCC

--HG--
extra : rebase_source : 315b6ae54fa4c86e8476c5785e66666f2d018f05
2017-04-24 13:49:10 +02:00
Luca Greco
641d116a30 Bug 1302702 - Add devtools webextension actor mochitest-chrome unit tests. r=ochameau
MozReview-Commit-ID: 9pAbT89SlJJ

--HG--
extra : rebase_source : a8f4c0caa248618cc99f764c258f2edb697a2bf3
2017-05-10 12:54:18 +02:00
Luca Greco
db7143751a 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

--HG--
extra : rebase_source : f9438b4a9842c1dd504edf2fcd87857c670f411f
2017-03-21 15:55:35 +01:00
Tom Tromey
5b3ab3e49e Bug 1349354 - remove now-unused source-map-service; r=jryans
MozReview-Commit-ID: umdc4XrpGf

--HG--
extra : rebase_source : 3c4ff9485a970181123fe5d762cfa772b47f6338
2017-05-15 03:17:19 -06:00
Carsten "Tomcat" Book
6095625a0e Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Nathan Froyd
c1d1748428 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
28d99ffe94 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

--HG--
extra : rebase_source : 5f64ea62368a85b020b4ad964e749c74fa337d9c
2017-05-15 13:54:42 +02:00
Wes Kocher
54a256d920 Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij

--HG--
extra : rebase_source : 8b581702a4534fb9394f8d3f4e85f65d6f4ff293
2017-05-15 17:02:08 -07:00
Michael Ratcliffe
d8e30095b3 Bug 1231452 - Make it possible to add cookies to the storage inspector r=pbro
MozReview-Commit-ID: 9l9GBpxX7xv

--HG--
extra : rebase_source : ad7edb8e099dd5a14cc754e3e8d71f35518856c0
2017-03-31 23:28:55 +01:00
Michael Ratcliffe
e8deade8f2 Bug 1363006 - Make it possible to add local and session storage entries to the storage inspector r=pbro
MozReview-Commit-ID: IhXPD4C8HZO

--HG--
extra : rebase_source : 48f5b51936452e3c1b765b7d97152762483df7be
2017-05-08 17:30:15 +01:00
Alexandre Poirot
9db3aefadf Bug 1364081 - Unregister process list listener on root actor cleanup. r=jdescottes
MozReview-Commit-ID: GdysoBw7hHl

--HG--
extra : rebase_source : 3e1d968417337e455130048ed94057310c7c5e19
2017-05-11 16:06:22 +02:00
Mike Park
ec4f60389c Bug 1363818 - Translate grid transformation matrix by top/left padding. r=zer0
MozReview-Commit-ID: 3GXMhJ2isW2

--HG--
extra : rebase_source : 962afc4c441f005c597d32b212e28fb987aac931
2017-05-11 11:11:53 -04:00
Ryan VanderMeulen
ff1d6f6f88 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00
Andrea Marchesini
83c815ee45 Bug 1363429 - Get rid of nsIDOMLocation, r=bz, r=honza, f=ochameau 2017-05-11 07:26:08 +02:00
Iris Hsiao
3f0892a7f5 Backed out changeset c56bd0d1e7c9 (bug 1363429) for build bustage, using-declaration causes a multiple declaration of 'nsIDocument::GetLocation' 2017-05-11 13:55:40 +08:00
Andrea Marchesini
e78b251ef5 Bug 1363429 - Get rid of nsIDOMLocation, r=bz, r=honza, f=ochameau 2017-05-11 07:26:08 +02:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Mark Banner
f8e4b3f8d7 Bug 1363790 - Turn off some ESLint rules for devtools that are in mozilla/recommended but not enabled currently for devtools. r=tromey
MozReview-Commit-ID: Dfse5Wny7nD

--HG--
extra : rebase_source : 7c87aad57211cbb8c93c8476f742415b09d14653
2017-05-10 16:51:17 +01:00
Carsten "Tomcat" Book
d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Alexandre Poirot
4a1a6f09fd Bug 1362830 - Fix incorrect API call from webconsole actor. r=bgrins
ActorPool.removeActor expects an actor instance, not an ID string.

MozReview-Commit-ID: 366sD7uvHbg

--HG--
extra : rebase_source : 91665450684fbfbf732f6e78c0bd6158a59301b2
2017-05-09 19:51:55 +02:00
Micah Tigley
6f4d9b105a Bug 1332085 - Add Color Name Field to Color Widget. r=gl
MozReview-Commit-ID: AYFulQcvBwv
2017-05-08 20:31:37 -06:00