Commit Graph

1183 Commits

Author SHA1 Message Date
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
Andrew McCreight
2b68b38709 Bug 1377587, part 1 - Always act like __exposedProps__ is missing. r=krizsa
This patch gently removes support for __exposedProps__ by changing
ExposedPropertiesOnly::check() to always return false, while still
failing silently in deny for some kinds of access.

The tests that I changed all involve testing the behavior with
__exposedProps__. I adjusted them to expect it to fail, or to adjust
the error message they get when they fail. That seemed better than
deleting them entirely.

Note that test_bug1065185.html had a bug, so that it never executed
the first case. I fixed that, and then fixed up the test to work when
__exposedProps__ is not supported.

This also removes various bits of the test framework that use
__exposedProps__, but don't actually need to.

MozReview-Commit-ID: 8fvkAmITmXY

--HG--
extra : rebase_source : ef7e2c55adc12511f17f3865ebb46c343875f0b3
2017-08-22 14:24:11 -07:00
Kris Maglione
80178f8d4d Bug 1391707: Part 1 - Use idle dispatch in DeferredTask. r=florian
MozReview-Commit-ID: Ktlu71aIcRZ

--HG--
extra : rebase_source : f1bd118a1d869deddb5fe9107641f848cf4165e3
2017-09-01 16:39:14 -07:00
J. Ryan Stinnett
18bbbd41b9 Bug 1397967 - Remove Style Editor support for ancient targets. r=gl
Style Editor has some ancient fronts and such to support pre-Firefox 29 targets.
This is well beyond what we attempt to support, so let's get rid of the extra
code.

MozReview-Commit-ID: 1OnGSYTyNsr

--HG--
extra : rebase_source : c60f129981a8c5e3d97de01d0d7f24cb858c0e22
2017-09-07 19:01:24 -05:00
Alexandre Poirot
bdfa9d2514 Bug 1396619 - Lazy load actor codebase related to the inspector. r=zer0
MozReview-Commit-ID: GCY1mqjoOkc

--HG--
extra : rebase_source : 2c1d4d1a573885f65c6c964b507d0f55e8c8376b
2017-09-04 17:46:26 +02:00
Tom Tromey
ad5ebc78b2 Bug 1224558 - change style editor to notice stylesheet additions; r=gl
This changes the stylesheets actor to use the tab actor's "windows"
getter to get the list of new windows.  It also changes the actor to
emit events, and changes the style editor to add new editors based on
events.

MozReview-Commit-ID: 3TkQY6XHY1I

--HG--
extra : rebase_source : 76098b08c95c7d4e7ee6bb2bd9ebae97a0c4b7ab
2017-08-15 12:46:55 -06:00
Sebastian Hengst
8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Alexandre Poirot
4a603969ef Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X

--HG--
extra : rebase_source : e4acc31da93eb8d88f5dbc075036d1130511ceee
2017-09-06 18:54:07 +02:00
Jim Blandy
1e394a1ef8 Bug 1394992 - Remove workaround for bug 1163520. r=bgrins 2017-08-29 16:41:31 -07:00
Sebastian Hengst
01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Tom Tromey
eabdd82c6a Bug 1388855 - Simplify source map URL extraction in stylesheet actor; r=gl
MozReview-Commit-ID: 3WeNugNx7M

--HG--
extra : rebase_source : 972c3faa9b2636f059043fbb3b12f7fbe922c6c4
2017-08-09 13:47:23 -06:00
Tom Tromey
959b82c809 Bug 970469 - ignore breakpoints on the current line when stepping out; r=ystartsev+600802
MozReview-Commit-ID: KTzygRac2D7

--HG--
extra : rebase_source : 923731525f7f0b264458845d54d669dfb3fd605c
2017-08-31 14:21:57 -06:00
Sebastian Hengst
a17af05f6f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Micah Tigley
48f24947d2 Bug 1383327 - Display the grid line number box shape as a directional pointer. r=zer0
MozReview-Commit-ID: DWw6dFxBKnR
2017-08-31 21:41:53 -06:00