Closed
Bug 1526394
Opened 5 years ago
Closed 5 years ago
Treat self-hosted builtins the same as native functions in the debugger
Categories
(Core :: JavaScript Engine, enhancement, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla68
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(1 file, 1 obsolete file)
6.54 KB,
patch
|
anba
:
review+
|
Details | Diff | Splinter Review |
- Return
undefined
instead ofnull
in the script getter.- That way self-hosted getters are treated as safe-getters in DevTools.
- I have an experimental patch to change
get TypedArray.prototype.byteLength
to a self-hosted getter which requires this change to avoid an xpc test suite failure.
- Don't expose the environment in the environment getter.
Assignee | ||
Comment 1•5 years ago
|
||
Changes the JSFunction::isInterpreted()
calls to also test for self-hosted builtins.
Drive-by fix:
- Refer to "asm.js" instead of "wasm" to make a comment less confusing.
Attachment #9042552 -
Flags: review?(jimb)
Comment 2•5 years ago
|
||
Comment on attachment 9042552 [details] [diff] [review] bug1526394.patch Review of attachment 9042552 [details] [diff] [review]: ----------------------------------------------------------------- Stealing this review. Looks great.
Attachment #9042552 -
Flags: review?(jimb) → review+
Updated•5 years ago
|
Priority: -- → P1
Comment 3•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:anba, could you have a look please?
Flags: needinfo?(andrebargull)
Assignee | ||
Comment 4•5 years ago
|
||
Updated patch to apply cleanly on inbound and to fix a devtools test, which expected to be able to retrieve the parameter names of self-hosted functions. Carrying r+.
Attachment #9042552 -
Attachment is obsolete: true
Flags: needinfo?(andrebargull)
Attachment #9053704 -
Flags: review+
Assignee | ||
Comment 5•5 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=239a7bb65ac0c328fe38a4952ec9d43fcaeccef6
Keywords: checkin-needed
Pushed by dvarga@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9b8e1b1b70f3
Treat self-hosted functions the same as non-interpreted functions in Debugger code. r=jorendorff
Keywords: checkin-needed
Comment 7•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Comment 8•5 years ago
|
||
https://hg.mozilla.org/projects/ash/rev/9b8e1b1b70f326cc8170b3a26c4321e360632a2d Bug 1526394: Treat self-hosted functions the same as non-interpreted functions in Debugger code. r=jorendorff
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•