Bug 170917 - Web Inspector: Scope chain sidebar has data that can't be displayed
Summary: Web Inspector: Scope chain sidebar has data that can't be displayed
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-17 14:42 PDT by Saam Barati
Modified: 2017-04-17 14:45 PDT (History)
1 user (show)

See Also:


Attachments
screenshot (110.79 KB, image/png)
2017-04-17 14:42 PDT, Saam Barati
no flags Details
screenshot 2 (115.04 KB, image/png)
2017-04-17 14:42 PDT, Saam Barati
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2017-04-17 14:42:24 PDT
Created attachment 307301 [details]
screenshot

See attached images. I'm running this program in STP 27

```
if (typeof console !== undefined)
    print = console.log.bind(console);

function foo(proto) {
    class A extends proto { };
    print(A.__proto__ === proto);
    return A.__proto__;
}
foo(function(){});
function f(){ return 20; }
f.prototype.hello = "world";
let p = new Proxy(f, {});
let x = foo(p);
print(x  === f);
```

And breaking on the `let p = ...` line.
Comment 1 Saam Barati 2017-04-17 14:42:37 PDT
Created attachment 307302 [details]
screenshot 2
Comment 2 Saam Barati 2017-04-17 14:45:46 PDT
To clarify a bit:
I think it'd be nice if there were a way to show the cutoff text that didn't involve expanding the size of the sidebar. Perhaps we could do a sideways scroll.