Commit Graph

1196 Commits

Author SHA1 Message Date
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
J. Ryan Stinnett
ac9fd81122 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 : 1925070349e322aeff8673effe49079ea8c57530
2017-09-27 16:53:23 -05:00
Matthew Noorenberghe
37cbd1c5a0 Bug 1401343 - Expose a 'tabs' getter in the child-process actor. r=jryans,ochameau
MozReview-Commit-ID: U5xB35kBv8

--HG--
extra : rebase_source : 8b966b825b798f2206d803c7d3154bc288cdedb6
2017-09-28 11:28:26 -07:00
Wes Kocher
acf8913934 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Eugen Sawin
124c810008 Bug 1401002 - [1.1] Don't override chrome window type with default argument value. r=tromey 2017-09-26 23:08:25 +02:00
Oriol Brufau
a5ca4b08cf Bug 1394559 - Better handling of inaccessible objects in the console. r=jimb 2017-09-22 11:54:00 -04:00
Wes Kocher
47b3660c80 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8wTTCUkrY2i
2017-09-25 16:43:51 -07:00
Alexandre Poirot
b4a4015145 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy

--HG--
extra : rebase_source : 31c638ef35d60368d676d855310cdfd26aa86428
2017-09-25 16:04:26 +02:00
Oriol Brufau
f7588f7e26 Bug 1395276 - Make $ and $$ console commands throw errors created in the debuggee global. r=jimb 2017-08-30 11:50:00 -04:00
Oriol Brufau
42ea1ccf9b Bug 1391274 - Add a Symbol object previewer to the console. r=nchevobbe
MozReview-Commit-ID: EDMep3IePZ3

--HG--
extra : rebase_source : eb70151281aff5d4ad7e04c8e5287aa5ebfa739d
2017-09-20 12:32:03 +02:00
abhinav
247e470a2d Bug 1379442 - Fix styling of nodeinfobar on RTL sites by setting writing-mode/direction to 'initial'. r=pbro
MozReview-Commit-ID: 3fg7F80CXWe

--HG--
extra : rebase_source : e2edeeaf076fa8a4505dd6993540fe138763d2df
2017-09-20 09:04:30 +05:30
Andrew Halberstadt
7527e600f0 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
Tom Tromey
ca76254683 Bug 1385337 - add MDN learn more link to source map errors; r=bgrins
MozReview-Commit-ID: 185sNVSJIrz

--HG--
extra : rebase_source : 1b6b29117d06cb1f7e8a8d5fab9f876cc3852c6a
2017-09-15 14:15:10 -06:00
Alexandre Poirot
3fd18d75b4 Bug 1386535 - Remove all DevTools shims used to support legacy add-ons. r=jryans
MozReview-Commit-ID: GemkTPQHl0L

--HG--
extra : rebase_source : 7c66a883230a2de9cbbd6a66fee1c10e69a43f04
2017-09-26 10:56:53 +02:00
Sebastian Hengst
33ee80a6b2 merge mozilla-central to autoland. r=merge a=merge 2017-09-15 11:08:55 +02:00
Sebastian Hengst
09dd8ba13f merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ee605ac050c0532521f96bdeda5ef20fb0099519
2017-09-15 00:18:43 +02:00
Sebastian Hengst
71720207e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Shane Caraveo
85604b0c2b Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
MozReview-Commit-ID: HjLLa9vx2UW

--HG--
extra : rebase_source : d37088f31931a74ef2c40dc510794ebc5f4931ab
2017-09-14 15:12:45 -07:00
Nicolas B. Pierron
da04d0a20e Bug 1397432 - Index documentation of JSMSG_INCOMPATIBLE_PROTO/METHOD. r=fscholz 2017-09-14 12:02:37 +00:00
Tom Tromey
fb5b36f794 Bug 1330383 - fetch original style sheet text using TYPE_OTHER; r=gl
Using TYPE_INTERNAL_STYLESHEET here is incorrect because we're not
necessarily fetching style sheets -- just some text.  This may run
afoul of X-Content-Type-Options.

MozReview-Commit-ID: HB7YfWwq6CI

--HG--
extra : rebase_source : 6c69fd4bd075d9d53026798d731edc3423f4474d
2017-09-13 13:36:50 -06:00
Tom Tromey
08bb12fa4c Bug 1399171 - remove remaining references to style editor actor; r=jryans
Remove the last remaining references to the now-removed style editor
actor.

MozReview-Commit-ID: Kl5YJ5JR4vS

--HG--
extra : rebase_source : 5db2f7a53d865ee9b4099733d3916667f257d024
2017-09-12 10:01:14 -06:00
Tom Tromey
78f67a858a Bug 1388497 - apply source maps to CSS warnings in the console; r=bgrins
MozReview-Commit-ID: 8ObL0uwENrM

--HG--
extra : rebase_source : ae9376ca9df6da9db775c1148cfca0b867109628
2017-08-15 14:32:56 -06:00
Luca Greco
2952493fed Bug 1396634 - Speed up the content scripts globals retrieval from the tab actor. r=ochameau
MozReview-Commit-ID: HA5GlenrSNm

--HG--
extra : rebase_source : 681a537313fc11b45efce2e37629dc0faddb308f
2017-09-05 15:42:53 +02:00
ZER0
f24fe84fb5 Bug 1377879 - adjusted areValuesDifferent calculation for quads; r=pbro
The previous calculation was actually wrong, the `delta` is calculated between
logical pixels.
The previous calculation allowed half pixel movement to be ignored: with "fluid"
elements, a slow window resizing was making this half pixel stack each time.

MozReview-Commit-ID: nhDSpbg6RT

--HG--
extra : rebase_source : 9b368b110c66880730a28d4a5c07f14e52d92e4e
2017-09-12 02:24:35 +02:00
Sebastian Hengst
ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Kris Maglione
e3f6c844ae Bug 1391707: Follow-up: Skip idle in more places that incorrectly expect strict timing. r=me CLOSED TREE
MozReview-Commit-ID: BbMB5qk4F4e
2017-09-11 21:26:04 -07:00