Commit Graph

1221 Commits

Author SHA1 Message Date
Boris Zbarsky
97828fce1d Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Ishigaki
abd61e92e8 Bug 1339895 - Improve error message for unexpected token. r=arai 2017-11-02 13:15:27 +09:00
Mike Park
caef5991cb Bug 1412278 - Fix CSS shapes editing for shapes in iframes where points are outside the frame. r=gl
MozReview-Commit-ID: 8hO5GqJncMS

--HG--
extra : rebase_source : 1df9c44ffe780af963040f3a7c907b6bebcb1e08
2017-11-02 16:07:38 -04:00
Mike Park
4ad079896b Bug 1282721 - Add unit tests for shapes highlighter translate/scale for all shapes. r=pbro
MozReview-Commit-ID: JJg0zFtvi9s

--HG--
extra : rebase_source : ec44826d7cc58a6df797a340912644ff6f9ed222
2017-10-12 15:54:45 -04:00
Mike Park
f5bef41c46 Bug 1282721 - Add transform mode to shapes highlighter with translation/scaling for all shapes. r=pbro
MozReview-Commit-ID: HhWY1pT7Mqu

--HG--
extra : rebase_source : 4c4eb2b4a14abc7bfa8d106562c7274ab75a7f4d
2017-10-10 14:05:50 -04:00
Gabriel Luong
f32b543415 Bug 1412555 - Update canvas position on scroll in the css grid highlighter. r=pbro 2017-11-02 09:46:30 -04:00
Adrian Wielgosik
7712fbf84c Bug 1412538 - Optimize discovery of React listeners in inspector. r=miker
MozReview-Commit-ID: 6k9weYdzRLW

--HG--
extra : rebase_source : a088c9a9d974c933811334de2415a90dce9e890e
2017-10-28 18:42:07 +02:00
Mark Banner
e5c84c43e2 Bug 1411368 - Automatically fix space-unary-ops issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: 5VJZgNjOuX9

--HG--
extra : rebase_source : 0c0b5ae58ef677ba49333e71333fb1bcd896e895
2017-10-26 13:14:13 +01:00
Mark Banner
00b488c118 Bug 1411368 - Automatically fix padded-blocks issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: 7GvGbTjz0pe

--HG--
extra : rebase_source : 964c8372b792b26c4d86b2cafc640e0df7998681
2017-10-26 12:27:04 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Rofael Aleezada
626c4563b7 Bug 818634 - Remove support for Date.prototype.toLocaleFormat. r=gandalf, r=anba 2017-10-18 21:51:32 -05:00
Gabriel Luong
294c5fd86d Bug 1409970 - Part 2: Adds an initial FlexboxHighlighter boilerplate. r=pbro 2017-10-24 22:04:10 -04:00
Gabriel Luong
8b103875f0 Bug 1409970 - Part 1: Refactor the canvas position utility code to a separate file. r=pbro 2017-10-24 22:03:59 -04:00
Julian Descottes
c987281ee8 Bug 1171482 - throttle new-mutations events in inspector actor;r=bgrins
MozReview-Commit-ID: KaXW7UeNQny

--HG--
extra : rebase_source : 2b0308a141c1f5d0a6b0e8889c0968a146274308
extra : source : c40f41e3f68393a8d1aff7c231986bee035edcff
2017-10-09 13:20:25 +02:00
Gabriel Luong
6e7d4d688b Bug 1409968 - Follow up: Add a semicolon to fix eslint error. r=me 2017-10-19 15:43:59 -04:00
Gabriel Luong
1d950732d8 Bug 1409968 - Implement FlexboxActor for fetching all flexbox containers. r=pbro 2017-10-19 15:24:57 -04:00
Ryan VanderMeulen
9c3824dc0c Merge m-c to autoland. a=merge 2017-10-18 21:02:15 -04:00
Mike Park
c304a07e7a Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. r=gl
MozReview-Commit-ID: 3J4J6vM96sj
2017-10-13 13:19:50 -04:00
Mark Banner
d4ad271c61 Bug 1230373 - Fix an issue with eslint-plugin-mozilla not detecting the global scope properly when arrow functions are used. r=mossop
MozReview-Commit-ID: IOCM8Fjl0xQ

--HG--
extra : rebase_source : 63face219569f50bdfb00bcd7384f334ec6113c2
2017-10-16 15:08:26 +01:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Dragana Damjanovic
ea3c619848 Bug 1384679 - Fix timing for TFO. r=mcmanus r=honza 2017-10-17 15:28:33 +02:00
Tom Tromey
a13df2c4ac Bug 833747 - recognize "debugger eval" as eval source; r=jlast
isEvalSource was missing one introduction type, so evaluating
  function(){...}
  //# sourceURL=blah
in the console would fail -- but wrapping the whole thing in
eval("...") would work.

MozReview-Commit-ID: 13oRnbs1eyF

--HG--
extra : rebase_source : d2360bd3698f4ce20064397aab075d29449dfdcd
2017-09-18 12:23:43 -06:00
Cameron McCormack
8f935136a2 Bug 1408322 - Remove inDOMUtils.cssPropertyIsValid() and use CSS.supports() instead. r=jryans
MozReview-Commit-ID: HNYVb31PZus

--HG--
extra : rebase_source : 8419a14bc21e9cf7f405a2c3091e5dc7d1676da1
2017-10-17 13:00:42 +08:00
Oriol Brufau
d43e9a7123 Bug 1281875 - Allow console to inspect logged cross-origin functions r=nchevobbe
MozReview-Commit-ID: AtLUHvExZa8

--HG--
extra : rebase_source : 7c34e6da16a1b64dfe99bcfaea0fe79a3cf17b2a
2017-10-15 14:56:24 +02:00
Tom Tromey
aec735d6be Bug 1179820 - Remove source map handling from stylesheets actor; r=gl
MozReview-Commit-ID: 88Sw3TSx5yL

--HG--
extra : rebase_source : 802c54aece7174c5449d29b2c3a8fbef9826f15e
2017-09-29 10:00:36 -06:00
Hiroyuki Ikezoe
a70fdbfb6e Bug 1399314 - Introdue CssLogic.getCSSStyleRules to get style rules for ::before and ::after pseudo elements handy. r=bgrins
For pseudo elements, inIDOMUtils.getCSSStyleRules needs to take the parent
element of the pseudo element and pseudo name. This new function wraps
inIDOMUtils.getCSSStyleRules so that we can get style rules for pseudo elements
handy.

MozReview-Commit-ID: LRQBdiizoL7

--HG--
extra : rebase_source : ca409443da52d25630f52052aabf508ee79a6bd1
2017-10-13 07:19:54 +09:00
Hiroyuki Ikezoe
9b8c1dff66 Bug 1399314 - Move getBindingElementAndPseudo into shared/inspector/css-logic.js. r=ochameau
MozReview-Commit-ID: 4Ka61REglh

--HG--
extra : rebase_source : a48319dd7614ae79cdda1ba1b06d1558cc371fe4
2017-10-13 07:19:54 +09:00
Oriol Brufau
b8394ce023 Bug 1407026 - Fix CPOW class mistake in the console. r=nchevobbe
MozReview-Commit-ID: 3Mk2kclTReX

--HG--
extra : rebase_source : a52bdf1d1c56f53f6723fe5465958adb81e0cc35
2017-10-10 22:37:29 +02:00
Mike Park
b6fc5f9b30 Bug 1383870 - CSS shapes highlighter incorrectly handles mouse events on elements in iframe. r=gl
MozReview-Commit-ID: HAHop7hSPxs
2017-07-25 10:33:51 -04:00
Phil Ringnalda
79008a0604 Backed out changeset 3f196fc740be (bug 1383870) for browser_inspector_highlighter-cssshape_05.js timeouts
MozReview-Commit-ID: 8w7bSd23fIt
2017-10-10 22:09:03 -07:00
Mike Park
613b021bcb Bug 1383870 - CSS shapes highlighter incorrectly handles mouse events on elements in iframe. r=gl
MozReview-Commit-ID: HAHop7hSPxs
2017-07-25 10:33:51 -04:00
Peter Van der Beken
c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Oriol Brufau
d34d21b241 Bug 1406660 - Remove all wrappers when checking if a getter is safe. r=jimb
MozReview-Commit-ID: KcTGDuwqFYu

--HG--
extra : rebase_source : c4441999986423cc9330e1084e80681795617003
2017-10-07 18:27:29 +02:00
Oriol Brufau
0f3ca74c8f Bug 1406182 - Obtain the length of typed arrays in a safe way. r=nchevobbe
MozReview-Commit-ID: ItlYZowJw7x

--HG--
extra : rebase_source : 8f955eae2e9ae44647b43c980a35bbb1f9ca8a0a
2017-10-07 16:55:26 +02:00
Sebastian Hengst
b834f0d177 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7Ez95T2ivfR
2017-10-07 10:37:39 +02:00
Ben Kelly
8dcca5ed38 Bug 1191943 P4 Make webconsole.js compare messages against navigationStart when determining if service worker messages should be shown. r=bgrins 2017-10-06 09:04:55 -07:00
Oriol Brufau
c06b45beac Bug 1406085 - Only consider array indices to be indexed properties. r=nchevobbe
MozReview-Commit-ID: AEH4BeFunxh

--HG--
extra : rebase_source : e61ca2d40e5026bb8e4caaeedacb5278353788c8
2017-10-05 17:03:07 +02:00
Emilio Cobos Álvarez
2c51f960e2 Bug 1396099: Insert the transition sheet for the style editor in the UA level. r=jryans
MozReview-Commit-ID: KxBVJYzYtrj
2017-10-05 20:33:13 +02:00
Alexandre Poirot
37bd611e02 Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
MozReview-Commit-ID: B5l1X4pc2Kf

--HG--
extra : rebase_source : a45e07106582c999768065cddb93c38b692adfee
2017-10-03 17:19:56 +02:00
Alexandre Poirot
b5eb40769a Bug 1399589 - Move NodeFront to its own module. r=jdescottes
MozReview-Commit-ID: EVeaFmqAmKL

--HG--
rename : devtools/shared/fronts/inspector.js => devtools/shared/fronts/node.js
extra : rebase_source : 2791e99ca8e37f4b9e0ba6bd1bb4d0bb22601781
2017-10-02 17:14:38 +02:00
Alexandre Poirot
8951f31f9f Bug 1399589 - Remove unused performance-entries actor. r=jdescottes
MozReview-Commit-ID: LaGB7vP5Pj2

--HG--
extra : rebase_source : e10f76b13e18815a1b07295f72cd8902a262e314
2017-10-03 17:57:08 +02:00
Nicolas Chevobbe
086aac9676 Bug 1403065 - Fix enumObjectProperties for exotic objects; r=bgrins,Oriol.
In the `enumProperties` function , we can pass some options to only retrieve
indexed or non indexed properties. The problem when doing this is that we were relying
on the value of a `length` property to get what's before (indexed) or after (non-indexed).
But if you have a plain object with a length property like `{length: 789}`,
and try to retrieve non-indexed properties, the function would return an empty ownProperties
object.

In this patch we make extra checks in the function to make sure we do return the expected
data to the client. A unit-test is added to ensure we don't regress.

MozReview-Commit-ID: FMCh9qnzeTT

--HG--
extra : rebase_source : 1adc606a59543ee1849a1311c5e36c1bf9eb6423
2017-09-26 12:02:20 +02:00
Nicolas Chevobbe
307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Mike Park
561fdfb8a4 Bug 1385398 - Change the appearance of CSS shapes highlighter markers. r=pbro
MozReview-Commit-ID: JO4TZ1Gsr6m

--HG--
extra : rebase_source : 6c6768ecef35180579c416775822a6960f505b2a
2017-07-28 15:28:08 -04:00
Tom Tromey
762c2f58dd Bug 1403610 - update to source-map 0.6.1; r=bgrins
Import the source-map 0.6.1 bundle.

MozReview-Commit-ID: AkVLlBJRD1l

--HG--
extra : rebase_source : 882b2ef4b2c3b2eac8733f408a4ce7a6aaa403d2
2017-09-27 09:39:44 -06:00
J. Ryan Stinnett
abb935a5b5 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir

--HG--
extra : rebase_source : 12648e919de27465f768206a15200d4d3a2d92a5
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett
efbf4624b2 Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.

MozReview-Commit-ID: 5YgpYNDwBvw

--HG--
rename : devtools/shared/touch/moz.build => devtools/server/actors/emulation/moz.build
rename : devtools/shared/touch/simulator-core.js => devtools/server/actors/emulation/touch-simulator.js
extra : rebase_source : d38f3fa09c8e187440be716e993d42c88a10da2a
2017-09-27 16:53:23 -05:00
Sebastian Hengst
87301165a8 Backed out changeset 0169ee5c78fb (bug 1305777)
--HG--
rename : devtools/server/actors/emulation/moz.build => devtools/shared/touch/moz.build
rename : devtools/server/actors/emulation/touch-simulator.js => devtools/shared/touch/simulator-core.js
2017-09-29 10:43:24 +02:00
Sebastian Hengst
dd8580f93c Backed out changeset ffb4e22a4347 (bug 1305777) 2017-09-29 10:43:19 +02:00
J. Ryan Stinnett
c179bf3be8 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir

--HG--
extra : rebase_source : 3a1386c3bd0f529cb0a9d7c8317c8d89c6538b59
2017-09-28 11:28:55 -05:00