Commit Graph
1180 Commits
Author SHA1 Message Date
Nicolas Chevobbe ab5c268940 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
2017-09-26 12:02:20 +02:00
Nicolas Chevobbe fee723d060 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
2017-09-29 15:24:14 +02:00
Mike Park 7ea66b2000 Bug 1385398 - Change the appearance of CSS shapes highlighter markers. r=pbro
MozReview-Commit-ID: JO4TZ1Gsr6m
2017-07-28 15:28:08 -04:00
Tom Tromey 2472b4e90e Bug 1403610 - update to source-map 0.6.1; r=bgrins
Import the source-map 0.6.1 bundle.

MozReview-Commit-ID: AkVLlBJRD1l
2017-09-27 09:39:44 -06:00
J. Ryan Stinnett 2c7f079345 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett 8757662806 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
2017-09-27 16:53:23 -05:00
Sebastian Hengst d1206e92bd Backed out changeset 0169ee5c78fb (bug 1305777) 2017-09-29 10:43:24 +02:00
Sebastian Hengst bd2513957f Backed out changeset ffb4e22a4347 (bug 1305777) 2017-09-29 10:43:19 +02:00
J. Ryan Stinnett 82d5b3cfd6 Bug 1305777 - Fix ESLint issues for moved files. r=jdescottes
MozReview-Commit-ID: 6PVoLP4MFir
2017-09-28 11:28:55 -05:00
J. Ryan Stinnett 8b78b90ff8 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
2017-09-27 16:53:23 -05:00
Matthew Noorenberghe bb2d77f621 Bug 1401343 - Expose a 'tabs' getter in the child-process actor. r=jryans,ochameau
MozReview-Commit-ID: U5xB35kBv8
2017-09-28 11:28:26 -07:00
Wes Kocher 0960ec2e95 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsbKCdZU2Ui
2017-09-26 17:14:31 -07:00
Eugen Sawin 335a16283f 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 15477daeff Bug 1394559 - Better handling of inaccessible objects in the console. r=jimb 2017-09-22 11:54:00 -04:00
Wes Kocher 9fa37a57e3 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8wTTCUkrY2i
2017-09-25 16:43:51 -07:00
Alexandre Poirot 941991bcc1 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy
2017-09-25 16:04:26 +02:00
Oriol Brufau 30271434ac 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 5fd6c1effb Bug 1391274 - Add a Symbol object previewer to the console. r=nchevobbe
MozReview-Commit-ID: EDMep3IePZ3
2017-09-20 12:32:03 +02:00
abhinav 880bd24e12 Bug 1379442 - Fix styling of nodeinfobar on RTL sites by setting writing-mode/direction to 'initial'. r=pbro
MozReview-Commit-ID: 3fg7F80CXWe
2017-09-20 09:04:30 +05:30
Andrew Halberstadt 454052d2b2 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F
2017-08-22 16:56:02 -04:00
Tom Tromey aab59e7b78 Bug 1385337 - add MDN learn more link to source map errors; r=bgrins
MozReview-Commit-ID: 185sNVSJIrz
2017-09-15 14:15:10 -06:00
Alexandre Poirot fa144c59b3 Bug 1386535 - Remove all DevTools shims used to support legacy add-ons. r=jryans
MozReview-Commit-ID: GemkTPQHl0L
2017-09-26 10:56:53 +02:00
Sebastian Hengst 8f423e8e9c merge mozilla-central to autoland. r=merge a=merge 2017-09-15 11:08:55 +02:00
Sebastian Hengst f3b4b34c71 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-09-15 00:18:43 +02:00
Sebastian Hengst 7342712907 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JHeyFz4rx1v
2017-09-14 23:58:56 +02:00
Shane Caraveo 5592e73c3a Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
MozReview-Commit-ID: HjLLa9vx2UW
2017-09-14 15:12:45 -07:00
Nicolas B. Pierron c4690e85b2 Bug 1397432 - Index documentation of JSMSG_INCOMPATIBLE_PROTO/METHOD. r=fscholz 2017-09-14 12:02:37 +00:00
Tom Tromey e7420f5ceb 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
2017-09-13 13:36:50 -06:00
Tom Tromey ab9905c5c6 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
2017-09-12 10:01:14 -06:00
Tom Tromey 7d2e54a89e Bug 1388497 - apply source maps to CSS warnings in the console; r=bgrins
MozReview-Commit-ID: 8ObL0uwENrM
2017-08-15 14:32:56 -06:00
Luca Greco 0db6e1386f Bug 1396634 - Speed up the content scripts globals retrieval from the tab actor. r=ochameau
MozReview-Commit-ID: HA5GlenrSNm
2017-09-05 15:42:53 +02:00
ZER0 eab6a14929 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
2017-09-12 02:24:35 +02:00
Sebastian Hengst 3da80f316b merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Kris Maglione d7f8583c5a 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 a72d749bab 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
2017-08-22 14:24:11 -07:00
Kris Maglione a41d7f18fb Bug 1391707: Part 1 - Use idle dispatch in DeferredTask. r=florian
MozReview-Commit-ID: Ktlu71aIcRZ
2017-09-01 16:39:14 -07:00
J. Ryan Stinnett 5dced910eb 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
2017-09-07 19:01:24 -05:00
Alexandre Poirot 8bd5ef0c15 Bug 1396619 - Lazy load actor codebase related to the inspector. r=zer0
MozReview-Commit-ID: GCY1mqjoOkc
2017-09-04 17:46:26 +02:00
Tom Tromey d18e870b5c 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
2017-08-15 12:46:55 -06:00
Sebastian Hengst 1197f950f9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Alexandre Poirot 8a8fd0f3c4 Bug 1396600 - Make some efforts to lazy load properties-db. r=tromey
MozReview-Commit-ID: LGgVb5kxN7X
2017-09-06 18:54:07 +02:00
Jim Blandy 338959a779 Bug 1394992 - Remove workaround for bug 1163520. r=bgrins 2017-08-29 16:41:31 -07:00
Sebastian Hengst 1f22e7f4c1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Tom Tromey e7bbf81f65 Bug 1388855 - Simplify source map URL extraction in stylesheet actor; r=gl
MozReview-Commit-ID: 3WeNugNx7M
2017-08-09 13:47:23 -06:00
Tom Tromey ade62668e4 Bug 970469 - ignore breakpoints on the current line when stepping out; r=ystartsev+600802
MozReview-Commit-ID: KTzygRac2D7
2017-08-31 14:21:57 -06:00
Sebastian Hengst 1b94cf976e merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Micah Tigley 5a20d93b97 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
Alexandre Poirot a085009b5a Bug 1392602 - Remove module boilerplate from DevTools loader. r=jdescottes
This file is now only loaded as a JSM.
Expose symbols directly instead of putting them on `Loader` symbol.
No longer exports it as a fake 'toolkit/loader' module and always import it as JSM.

MozReview-Commit-ID: 6J3IxHpk9ct
2017-08-29 10:49:43 +02:00
Julian Descottes 09c0897077 Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu
2017-08-18 17:27:56 +02:00
Xidorn Quan bff4918748 Bug 1387905 part 2 - Use 10bit for specificity in Gecko as well. r=heycam
MozReview-Commit-ID: G5qq0FY0HQ8
2017-09-04 12:07:24 +10:00