[Webkit-unassigned] [Bug 154095] New: Web Inspector: Improve display of Native Constructors with extra properties
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 10 16:17:27 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=154095
Bug ID: 154095
Summary: Web Inspector: Improve display of Native Constructors
with extra properties
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: bburg at apple.com, cdumez at apple.com, graouts at webkit.org,
joepeck at webkit.org, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
* SUMMARY
Improve display of Native Constructors with extra properties.
* STEPS TO REPRODUCE
1. js> URL
2. js> Promise
=> Both of these show "function Foo() { [native code] }". Expected to see more like:
- URL.createObjectURL, URL.revokeObjectURL
- Promise.race, Promise.all, Promise.reject, etc.
Using dir(URL) or dir(Promise) you get to see the extra properties and their signatures. But that may be non-obvious.
* NOTES
- ObjectTreePropertyTreeElement.js checks if parentDescription.endsWith("Constructor"), which is no longer the case for generated bindings after bug 154038:
<https://webkit.org/b/154038> [Web IDL] interface objects should be Function objects
- we should keep this code in for iOS 9 and earlier backend compatibility
- We still behave correctly for dir(Promise), etc. But it might be nice to surface that information earlier.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160211/813f8877/attachment.html>
More information about the webkit-unassigned
mailing list