Bug 95682

Summary: Web Inspector: [WebGL] Make the injected __resourceObject property non-enumerable
Product: WebKit Reporter: Andrey Adaikin <aandrey>
Component: Web Inspector (Deprecated)Assignee: Andrey Adaikin <aandrey>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Andrey Adaikin
Reported 2012-09-03 05:42:15 PDT
Make the injected auxiliary property __resourceObject non-enumerable to hide it from for..in iterations.
Attachments
Patch (4.50 KB, patch)
2012-09-03 05:47 PDT, Andrey Adaikin
no flags
Andrey Adaikin
Comment 1 2012-09-03 05:47:21 PDT
Pavel Feldman
Comment 2 2012-09-03 05:54:20 PDT
Comment on attachment 161906 [details] Patch Is there a test?
Andrey Adaikin
Comment 3 2012-09-03 06:04:14 PDT
I don't think we need to test that Object.defineProperty does what the specs says. Otherwise, plz suggest a test case.
WebKit Review Bot
Comment 4 2012-09-03 09:09:30 PDT
Comment on attachment 161906 [details] Patch Clearing flags on attachment: 161906 Committed r127426: <http://trac.webkit.org/changeset/127426>
WebKit Review Bot
Comment 5 2012-09-03 09:09:34 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.