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

1231 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 8f7083a841 Bug 1361332 - replace sdk/util/object by Object.assign in devtools;r=zer0
MozReview-Commit-ID: 3IREzyuAjAF

--HG--
extra : rebase_source : 758d431d809f0ac7bf70a1a39c2f38c83361e8f6
2017-07-31 19:53:37 +02:00
J. Ryan Stinnett 965f38d565 Bug 1384789 - Check ancestor URLs to avoid sheet cycles. r=bgrins
With Stylo, an import rule from a cycle _will_ have a `styleSheet` object, so we
need to also check the sheet's ancestors to see if the URL is unique.

MozReview-Commit-ID: B33REaSGGYU

--HG--
extra : rebase_source : d6113d802d5197c73510ac3fa3b6cfb31d29c609
2017-07-27 17:23:22 -05:00
Tom Tromey 9160711a92 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO

--HG--
extra : rebase_source : 37d2336bc1dbf5a8fd35d280c349044f1d06cd4c
2017-07-07 12:53:32 -06:00
sole ef6bb0ce7d Bug 1378857 - Stop using sdk/core/heritage in DevTools server/primitive. r=jdescottes
MozReview-Commit-ID: 2NQ2iSQKB0g

--HG--
extra : rebase_source : 2ff0d303e81ac48c99c470585c17fb7d7a732e51
2017-07-28 17:03:32 +01:00
Sebastian Hengst 09c065976f Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: E0RLmP6mojT
2017-07-27 18:16:52 +02:00
Sebastian Hengst 205843f800 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst 4ff4d8bc6d Backed out changeset 148d11a549ce (bug 1369801)
MozReview-Commit-ID: AIvxY8960pa
2017-07-27 18:14:23 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Micah Tigley 0bdc10be67 Bug 1369942 - Display Negative Line Numbers in CSS Grid Inspector. r=zer0
MozReview-Commit-ID: FmOj7jVT3Ll
2017-07-26 18:27:36 -06:00
Gabriel Luong a8675a3dd2 Bug 1376774 - Restore the highlighter states on markup loaded prior to emitting the "new-root" event. r=jdescottes 2017-07-26 16:26:09 -04:00
Julian Descottes 8a25ab0476 Bug 1369801 - dt-addon-fennec: package specific version of devtools addon for fennec;r=jryans
MozReview-Commit-ID: 50jh5spnHw6

--HG--
extra : rebase_source : 8b0b8f2f936a6f83166690cd15df642c61114a7e
2017-06-21 19:23:11 +02:00
Julian Descottes df95b72117 Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t

--HG--
extra : rebase_source : 05d41abb69a34f0f5b8241c26684ed53a88b6df5
2017-07-11 12:30:22 +02:00
Alexandre Poirot 7f5d400ac4 Bug 1369801 - DevTools as system add-on;r=jdescottes
MozReview-Commit-ID: EUjkQtEUy4V

--HG--
extra : rebase_source : 1d3920a73e082cb3efd9ceb3af6104fb54951b9b
2017-05-30 17:34:38 +02:00
Brian Grinstead 46cc553a7c Bug 1382833 - Don't throw when dealing with CPOWs in the Object Actor;r=jimb
MozReview-Commit-ID: CaIS2IpaQme

--HG--
extra : rebase_source : 75b4fe1abd460978039d7f1085d56e64b9dd2765
2017-07-26 11:22:56 -07:00
Andrew Halberstadt 21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Andrew Halberstadt baddb0a4e7 Bug 1383120 - [eslint-plugin-mozilla] Fix getTestType() helper so mochitests aren't treated as xpcshell tests, r=mossop
This also adds a11y as a test type.

MozReview-Commit-ID: D7y3uALzVQx

--HG--
extra : rebase_source : 6e3c886e28af2c406e86288d99482d59cf6d1852
2017-07-21 12:41:27 -04:00
Nicolas Chevobbe 6201ca9f26 Bug 881480 - Add ownSymbols to object preview; r=ochameau
This adds an `ownSymbols` and an `ownSymbolsLength` properties to the
grip `preview` property so we can retrieve them in the frontend.
This also refactors the newly introduced test for symbols and add a
function which test the content of the preview property in the grip.
The console test packet stubs files were updated to take this into account.

MozReview-Commit-ID: 7rPxFcS5uXE

--HG--
extra : rebase_source : dcd1189904b8f10ffb27df4c2290ac391a4f08ed
2017-07-24 15:25:46 +02:00
Nicolas Chevobbe ca659ecb7e Bug 881480 - Add ownSymbols to onPrototypeAndProperties; r=ochameau
MozReview-Commit-ID: 7Mzg1UPOYcY

--HG--
extra : rebase_source : 088b23bc9481387b974e435540060d25bb5cfdea
2017-07-21 17:17:44 +01:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Mike Park ed40ba307a Bug 1282717 - Highlight CSS shapes points in the page from the rule-view and vice versa. r=pbro
MozReview-Commit-ID: 9pXkbAwgcXO
2017-07-05 10:57:42 -04:00
Mike Park dc60e7a8cf Bug 1373339 - Add a button in the rules view to toggle the CSS shapes highlighter. r=gl
Requires pref "devtools.inspector.shapesHighlighter.enabled" to be true.

MozReview-Commit-ID: Ispw7ulV5o6
2017-06-20 11:23:32 -04:00
Yoshi Huang ac1cdfa157 Bug 1381771 - Part 1: fix mc1 failures in devtools/ when data: URI is unique origin. r=pbro 2017-07-24 10:00:07 +08:00
Patrick Brosset d3a01e0904 Bug 1378851 - Use ES classes in devtools highlighters rather than SDK heritage module; r=sole
MozReview-Commit-ID: 7ahFmbrMd8a

--HG--
extra : rebase_source : 084303bee8c0fad7385fb5767020b11797090c90
2017-07-21 13:00:04 +02:00
Mike Park 7c77ad7be9 Bug 1282719 - Make CSS shapes highlighter points editable. r=zer0
Click and drag markers, circle edges, and radius edges to move them.
Double click on a polygon edge to add a new point.
Double click on a polygon point to remove it.

MozReview-Commit-ID: EbPH1pVVBOT

--HG--
extra : rebase_source : 754d9f75e55f327f448d826123c0b522d0bbe7df
2017-06-14 17:18:57 -04:00
Alexandre Poirot 7df29037ba Bug 1378133 - Fix the inspector when loading pages from bfcache. r=jdescottes
MozReview-Commit-ID: Ek2lw4Vh1km

--HG--
extra : rebase_source : 33e4fc84caab4c39b64744e972aa5dcb80103754
2017-07-24 15:55:42 +02:00
sole fd3207ec5d Bug 1378853 - Stop using sdk/core/heritage in DevTools reflow actor. r=jdescottes
MozReview-Commit-ID: IZr8qrCUdU8

--HG--
extra : rebase_source : 7a11888136f83f043d89facea70970a7f428f018
2017-07-19 10:51:19 +01:00
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
Ian Moody 1692c5b691 Bug 1395367 - Highlight relevant iframe in the page when it's active in the iframe document selector. r=ochameau
MozReview-Commit-ID: 7DnW4iwGnfA

--HG--
extra : rebase_source : 4bc15e818ea4a22b624a4b1fda12371126e5320e
2017-09-25 14:03:11 +01:00
Daisuke Akatsuka da64729896 Bug 1383974 - Part 3: Display animation-timing-function if CSS Animations. r=pbro
MozReview-Commit-ID: CwtdijaEsae

--HG--
extra : rebase_source : 3f83086bb352d72396ed54b46f9da11a8bbad61f
2017-09-25 08:44:05 +09:00
Sebastian Hengst e42733acb1 Backed out changeset f951257a6856 (bug 1383974) 2017-09-22 18:11:50 +02:00
Daisuke Akatsuka 5948d3a5f0 Bug 1383974 - Part 3: Display animation-timing-function if CSS Animations. r=pbro
MozReview-Commit-ID: CwtdijaEsae

--HG--
extra : rebase_source : ae65f5866e7a523a38551705f7cea1ecfe986477
2017-09-22 22:37:01 +09: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
Fabien Casters fe92e878e9 Bug 1331802 - Fix remaining ESLint issues in devtools/server/actors/ r=tromey
MozReview-Commit-ID: 3dqvmCywg3s

--HG--
extra : rebase_source : 222ff49f275bc0eb86c3b7d099a2255ea8c8776d
2017-05-03 23:26:19 +02:00
Florian Scholz 85eaf172b0 Bug 1353706 – Update errordocs mapping for added and updated MDN docs. r=Honza 2017-05-04 00:49:00 -04:00
Kris Maglione 81d9ac4489 Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT

--HG--
extra : source : d8dc72ab2406371cc53ba228f347815b6aea74f4
extra : histedit_source : 51f8718014079ddc54fcfe22d3bcd7adc0e1c665
2017-05-02 17:31:05 -07:00
Sebastian Hengst 654262208b Backed out changeset d8dc72ab2406 (bug 1359653) 2017-05-06 11:02:09 +02:00
Kris Maglione 42440e7fff Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT

--HG--
extra : rebase_source : 3bd48aab275a810ad44599bd14009e0dca4ddc4c
extra : absorb_source : acb287480b9f29c20cad7a909761d610e3735ff8
2017-05-02 17:31:05 -07:00
Julian Descottes b7e19500fe Bug 1359085 - remove unused devtools util content-globals.js;r=ochameau
MozReview-Commit-ID: K8Knz9B0Gav

--HG--
extra : rebase_source : 1d2200ea18a8782f3fe4bfe49815363e999231a7
2017-04-25 16:53:54 +02:00
Patrick Brosset e5886d2296 Bug 1358479 - Check if a grid fragment is valid before highlighting it; r=jdescottes
Grid fragments returned by the chrome-only el.getGridFragments() API
may sometimes in fact be empty. When they are, the returned object still
looks like a fragment, but has either no rows or no columns.
So this commit simply adds a quick check on this in the css grid highlighter
before attempting to highlight a grid fragment.

MozReview-Commit-ID: GjsGu9hpU5G

--HG--
extra : rebase_source : 355073b26035ce02db11f51497c74f7746d35a77
2017-04-25 14:16:57 +02:00
Matteo Ferretti bd64999657 Bug 1297072 - added support for matrices to handle CSS 2D transformation on grid inspector; r=pbro
- Fixed a bug on `getNodeBounds` that would makes the calculation wrong in case
  of nested frames.
- Centralized all the transformation in `updateCurrentMatrix` function,
  including the scaling due the zoom and display's pixel ratio, and the
  translation to the top left corner of the node inspected.
- Added the transformation from the inspected node to the `currentMatrix`.
- Added `drawLine` and `drawRect` functions, that takes a matrix as argument.
- Position the line's number to the grid itself even when we've infinite lines
  (it's not a regression, it is intended since if a grid is transformed, we
  could have weird results otherwise, so we decided to uniform the behaviors).

MozReview-Commit-ID: 7OUfb6u63Qj
2017-05-03 19:19:19 +02:00
Gabriel Luong 731433e40c Bug 1317215 - Add tests for the LayoutActor and GridActor. r=pbro 2017-04-26 15:19:51 -04:00
Jonathan Kew 626370224b Bug 1353000 - Fix canvas size used for font inspector preview to avoid risk of non-integer scaling that may lead to rounding discrepancies. r=gl 2017-04-28 20:04:34 +01:00
Iris Hsiao 205a18f9d2 Backed out changeset b3f163644c78 (bug 1317215). a=backout
CLOSED TREE
2017-04-27 11:57:11 +08:00
Iris Hsiao 6b3d3915a5 Backed out changeset 379d1f58868f (bug 1317215) for devtool failures at browser_layout_getAllGrids.js. a=backout
CLOSED TREE
2017-04-27 11:56:53 +08:00
Gabriel Luong ca5d1262d5 Bug 1317215 - Part 2: Fix eslint errors with browser_layout_getAllGrids.js and devtools/server/tests/browser/head.js. r=me 2017-04-26 22:46:04 -04:00
Gabriel Luong dbd615a658 Bug 1317215 - Add tests for the LayoutActor and GridActor. r=pbro 2017-04-26 15:19:51 -04:00
Matteo Ferretti 5ca294eae0 Bug 1359028 - added encodeURIComponent and fixed css class typo; r=pbro
The patch of bug 1353005 removed by mistake a leading dot in a css class, and
the `encodeURIComponent` calls (so the # in the color definition was considered
the hash part in the url).
Also, it appears autoland rejected the last commit from Bug 1353005, so this
patch includes those changes as well.

MozReview-Commit-ID: 2aVW3hYHhSr
2017-04-25 16:35:08 +02:00
Yury Delendik e62d0b44cc Bug 1355263 - Generate better source URL for the wasm module. r=luke
The URLs will have the following format:
   wasm: [<uri-econded-filename-of-host> ":"] <64-bit-hash>

MozReview-Commit-ID: 3diYgRWhki1

--HG--
extra : rebase_source : 2603ab4dc41aad0ae4f49184d89ad912516d3d6a
2017-04-10 19:08:07 -05:00
Michael Ratcliffe 0a6c15a02a Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml

--HG--
extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
2017-04-10 18:04:25 +01:00
Markus Stange 89bf2bcbfc Bug 1350503 - Wrap the performance actor's sharedLibraries value inside an object so that it can be transferred through the debugger protocol. r=gregtatum
MozReview-Commit-ID: 3cXfaSrWFJW

--HG--
extra : rebase_source : 7dca681aa1b43e9351e398966416614e656f78e0
2017-04-20 16:10:47 -04:00
Matteo Ferretti c565119d65 Bug 1353005 - removed sdk/content/mod and replaced with DOMWindowUtils calls; r=pbro pbro
MozReview-Commit-ID: 7aj8C0zYr6C

--HG--
extra : rebase_source : d702642c17e4bb852d5aadd435201383e9b5102f
2017-04-10 21:47:39 +02:00
Alexandre Poirot d65a3a1316 Bug 1348761 - Fix object inspection performances against objects with large Typed Arrays. r=bgrins
MozReview-Commit-ID: 8QGo2b3pYoL

--HG--
extra : rebase_source : 27b681a4d8957f58801f1e97e8bfed8a50d1e019
2017-04-20 19:32:13 +02:00
Kevin Jones a7fa6eb9b7 Bug 1345090 - Modify SessionStore to restore tabs with lazy browsers. r=mikedeboer,dao
MozReview-Commit-ID: 5J5UqlWMxKX
2017-04-20 11:01:09 +02:00
Wes Kocher 61ed56921b Merge m-c to inbound, a=merge 2017-04-18 14:38:53 -07:00
Michael Layzell 5649a1dff0 Bug 1354635 - Part 2: Wrap JS line in devtools to satisfy eslint, a=bustage
MozReview-Commit-ID: AJrmTsonET2
2017-04-18 15:28:38 -04:00
Michael Layzell ab79668929 Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb
MozReview-Commit-ID: 8cUh5znQcFN
2017-04-18 14:38:56 -04:00
Daisuke Akatsuka 9a2f64b9e1 Bug 1210796 - Part 2: Visualize each properties. r=pbro
MozReview-Commit-ID: Hjb1QyOMNZR

--HG--
extra : rebase_source : 8ee1a7249453ed701f40c5f0a8fc0118cee8dd39
2017-04-18 12:15:54 +09:00
Florian Queze 4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione 0ee4a22385 Bug 1314861: Minor optimization: Define globals for shared sandbox modules on the sandbox rather than each module. r=ochameau
MozReview-Commit-ID: Lre6L2u4Y2r

--HG--
extra : rebase_source : 118422fee9361152037f7746fa4beaffa6d5157d
2017-04-14 16:13:41 -07:00
Kris Maglione e1feed9d51 Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd

--HG--
rename : toolkit/components/extensions/ExtensionContent.jsm => toolkit/components/extensions/extension-process-script.js
extra : rebase_source : cc473732c152fa2ac47202a8c5634e4a68a30763
extra : absorb_source : 4a9b52534bee64e907e61f3bb229b0ad7849c097
2017-04-14 17:00:51 -07:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 875f27030a merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Eugen Sawin 0b1bae9e19 Bug 1355542 - [2.0] Remove unused web progress callbacks and add missing progress filters. r=felipe 2017-04-13 23:20:17 +02:00
Julian Descottes 7500121261 Bug 1355886 - fix regression when undoing delete node next to a whitespace sibling;r=pbro
MozReview-Commit-ID: GDYzsbCiQcI

--HG--
extra : rebase_source : 731b51aa56a31f9cc8e65628bc158278c2287582
2017-04-12 18:59:28 +02:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Micah Tigley de14211084 Bug 1347338 - Add ability to grid line name in grid highlighter. r=gl
MozReview-Commit-ID: JvBsGTFxvbL
2017-04-07 21:48:22 -06:00
Julian Descottes 6d54a87bb1 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6

--HG--
extra : rebase_source : 31e7d3321abef04243b741196d4ca6279cefd53a
2017-04-06 23:17:03 +02:00
Phil Ringnalda a79eb1fa8e Backed out changeset fda9bea59c6f (bug 1345529) for timeouts in browser_markup_mutation_01.js 2017-04-10 08:18:03 -07:00
Julian Descottes 68eb222f26 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6

--HG--
extra : rebase_source : 6230899f57b624ad8dd374f8f9e712f430acf9df
2017-04-06 23:17:03 +02:00
Patrick Brosset 498369fdf0 Bug 1354647 - Move the eyedropper l10n strings to /devtools/shared/; r=jryans
MozReview-Commit-ID: Fgu72wGpFK1

--HG--
rename : devtools/client/locales/en-US/eyedropper.properties => devtools/shared/locales/en-US/eyedropper.properties
extra : rebase_source : 25ceb960d644fea262caa4d2535f2d306f79aff2
2017-04-07 22:00:00 +02:00
Patrick Brosset f5dd02cc37 Bug 1353012 - Use the ObserverService in webaudio actor instead of sdk/system/events; r=jdescottes
MozReview-Commit-ID: DxNf72egWVP

--HG--
extra : rebase_source : eb13d6865e61429cb428c654bc38d7ef7ccd4cb1
2017-04-05 15:44:46 +02:00
J. Ryan Stinnett f9f3e1275b Bug 1352157 - Avoid listTabs for global actors. r=ochameau
Adds a new `getRoot` request to the root actor which lists the global actors
only (leaving out the tabs).  This is a much better fit for callers who want to
access some global actor only, since it avoids visiting every tab, which could
be a very expensive operation.

MozReview-Commit-ID: 1lIAuaV7zoF

--HG--
extra : rebase_source : bf64ee1298591f26ffa4c6a660cca52145084b66
2017-04-06 23:00:22 -05:00
J. Ryan Stinnett 926b7c208f Bug 1352157 - Improve root actor style with async / await. r=ochameau
MozReview-Commit-ID: 3UspkZ63auc

--HG--
extra : rebase_source : 5af879ca85fefbfba8cdb9851e4cf374a3a7a106
2017-04-06 22:25:34 -05:00
Julian Descottes 0e9ee02fa8 Bug 1341612 - align grid highlighter numbers with lines and increase readability;r=zer0
MozReview-Commit-ID: AGmWT3gmzL0

--HG--
extra : rebase_source : 1c76ac614898a8350e26495730f1cc5d9af01572
2017-03-28 20:42:00 +02:00
nchevobbe 5534f094a3 Bug 1347490 - Return isConnected in node grip to indicate if a node is in the DOM tree. r=ochameau
node.isConnected (see https://dom.spec.whatwg.org/#dom-node-isconnected) returns true if the node is
in the DOM tree (including in a shadowDOM tree), which can be used in the frontend to display additional
tools and information.

MozReview-Commit-ID: LjUbkc7VPcB

--HG--
extra : rebase_source : b43644cf869663412a9ed6b956093e7a41afb01f
2017-04-04 12:08:54 +02:00
J. Ryan Stinnett ee3845099d Bug 1353559 - Filter out exited browsers from tab list. r=ochameau
This adds higher level protection to ignore exited browser actors, so we don't
end up triggering methods like `form` on them, since they won't make much sense
anyway.

MozReview-Commit-ID: KgUCA04N2fY

--HG--
extra : rebase_source : 4dbf0dfe0a21755796625106840209bed0f9db82
2017-04-05 07:27:30 -05:00
J. Ryan Stinnett 54d3dab9ca Bug 1353559 - Guard against null browser in exited actor. r=ochameau
MozReview-Commit-ID: 4TZZMywFIdu

--HG--
extra : rebase_source : 73a3f1cdff33d29604d76e2163ab5ce485525332
2017-04-04 17:41:30 -05:00
Patrick Brosset d64e4e25b7 Bug 1353010 - Remove the unused director-manager/registry API; r=ochameau
MozReview-Commit-ID: 3TZUs0MAhAi

--HG--
extra : rebase_source : a8fbdc1d5372ee60a77e5f31e297789b679dd740
2017-04-05 10:44:07 +02:00
bechen 7b4c35c268 Bug 1318542 - fix testcases due to new pseudo element ::cue. r=heycam
MozReview-Commit-ID: F10y2zTtBoT

--HG--
extra : rebase_source : 8d6ab4a78c1fcd62dc688e9b31f7f1b6fb4056fc
2017-04-05 10:50:58 +08:00
Matteo Ferretti c69aedcdd8 Bug 1345434 - Implementation of a virtual canvas technique for grid highlighter; r=pbro
A virtual canvas is basically a canvas that seems bigger than is actually is.
The technique consists in moving a fixed sized canvas during the scrolling, when
is needed, to give the illusion that it always covers the entire document.

MozReview-Commit-ID: Hp4cUZaBdm8

--HG--
extra : rebase_source : 536891732a6247103734d60f9d8720dc2131815f
2017-04-04 15:11:04 +02:00
Patrick Brosset bcf9b2f668 Bug 1338582 - New devtools highlighter for signaling paused state; r=jlast
This adds a new highlighter to our collection of highlighters.
This one is a simple overlay on top of the page and a message at the
top.
It will be used by the debugger to signal to users that script execution
is paused.

In later versions, the message at the top will also contain stepping and
resuming buttons.

MozReview-Commit-ID: JNGWrVjMzkm

--HG--
extra : rebase_source : 2006068b82f808c284aebe9f1f364970bda428c5
2017-04-04 12:03:03 +02:00
Patrick Brosset 4472fb4e88 Bug 1352369 - Delete unused RectHighlighter CSS; r=zer0
MozReview-Commit-ID: Gz0m9fLJyKS

--HG--
extra : rebase_source : 4b2c0cc5dae43e8a8df3a6f73f94f038881e27a4
2017-03-31 12:23:59 +02:00
Julian Descottes 9791406fea Bug 1350499 - exclude styles for pseudo-els when building boxmodel widget;r=gl
MozReview-Commit-ID: GSoqlJ97KT7

--HG--
extra : rebase_source : 8cceb22ad3a7326f72a3a112a904a741f2017f45
2017-03-29 15:41:42 +02:00
Rahul Chaudhary dd5683bd4f Bug 1332090 - Added a contrast ratio component to the Color Widget. r=pbro
MozReview-Commit-ID: 9FA0h9ST62E
2017-02-20 22:27:22 -05:00
Gabriel Luong 7ab5ac6467 Bug 1350894 - Check if the node is dead in getOffsetParent. r=pbro 2017-03-30 00:10:40 -04:00
Matteo Ferretti c2450fbc4d Bug 1349275 - refactored `moveInfobar` function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr

--HG--
extra : rebase_source : c5abac64217ee0b86413594461fb6a50d5df655e
2017-03-28 12:40:22 +02:00
Iris Hsiao b26415ec87 Backed out changeset 448adfbcfda1 (bug 1349275) for eslint failure
--HG--
extra : rebase_source : 0728e29de869800694671a1133fa7c9beb66df06
2017-03-29 10:29:13 +08:00
Matteo Ferretti 4f078211da Bug 1349275 - refactored `moveInfobar` function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr

--HG--
extra : rebase_source : 8c599a323ff51f1e032405fae47674b695c75b86
2017-03-28 12:40:22 +02:00
Michael Ratcliffe 4257730704 Bug 1350525 - Storage Inspector should trim port from hosts for cookies r=pbro
MozReview-Commit-ID: FfsfiXTt96o

--HG--
extra : rebase_source : 1a06fe13348c07d86435d195ab6610aa225cee05
2017-04-11 17:09:40 +01:00
Andrew McCreight 855f08b5d6 Bug 1350435 - Compute snapshot ID in the parent process. r=fitzgen,smaug
The parent and content processes can have different temp directories
when sandboxing is enabled, so the process that creates the file for a
heap snapshot must also determine the snapshot ID.

MozReview-Commit-ID: 2UuncT54NXc

--HG--
extra : rebase_source : 350e49bf7c570abfdde457a89ee8922f8cdb8b7d
2017-03-24 10:34:44 -07:00
Alexandre Poirot 523f358ad5 Bug 1348885 - Prevent throwing on dead wrapper when processing stacks of error from nuked globals. r=jryans
MozReview-Commit-ID: gdFNYNzXLz

--HG--
extra : rebase_source : 429b0ca6ad020acb4cf14e01e0856b9f0d512c12
2017-03-23 18:53:57 +01:00
Stanford Lockhart 5a70065aab Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart b598497c17 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart ab224ce876 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Iris Hsiao 5c092525e2 Backed out 5 changesets (bug 1345119) dor mochitest failure in test_inspector_getOffsetParent.html
Backed out changeset c9be65ad95f6 (bug 1345119)
Backed out changeset 4e4817e5b6d4 (bug 1345119)
Backed out changeset 6a01debcc43c (bug 1345119)
Backed out changeset 2c6f67f420d0 (bug 1345119)
Backed out changeset ba020c15393d (bug 1345119)
2017-03-24 15:01:47 +08:00
Gabriel Luong 06f7801997 Bug 1345119 - Part 5: Fix eslint errors in unit tests. r=me 2017-03-23 16:13:33 -04:00
Stanford Lockhart a62beb9141 Bug 1345119 - Part 4: Test test_inspector_getOffsetParent for new actor methods. r=pbro
MozReview-Commit-ID: AqSOEdEZKIy
2017-03-21 21:59:22 -03:00
Stanford Lockhart 62dca58cd5 Bug 1345119 - Part 3: Display offset parent of absolutely positioned node in box model. r=gl
MozReview-Commit-ID: 102vRTuIhEh
2017-03-17 23:07:06 -03:00
Stanford Lockhart c14b867866 Bug 1345119 - Part 2: Server side for retrieving offset parent of DOM node. r=pbro
MozReview-Commit-ID: I51NHlxv6Mp
2017-03-17 23:05:27 -03:00
Sebastian Hengst 4fe41935d8 Backed out changeset 9c1ee3920ea3 (bug 1345119) 2017-03-23 22:00:26 +01:00
Sebastian Hengst 4effb09bd2 Backed out changeset 14ff5693848f (bug 1345119) 2017-03-23 22:00:22 +01:00