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

Description Andrey Adaikin 2012-09-03 05:42:15 PDT
Make the injected auxiliary property __resourceObject non-enumerable to hide it from for..in iterations.
Comment 1 Andrey Adaikin 2012-09-03 05:47:21 PDT
Created attachment 161906 [details]
Patch
Comment 2 Pavel Feldman 2012-09-03 05:54:20 PDT
Comment on attachment 161906 [details]
Patch

Is there a test?
Comment 3 Andrey Adaikin 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.
Comment 4 WebKit Review Bot 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>
Comment 5 WebKit Review Bot 2012-09-03 09:09:34 PDT
All reviewed patches have been landed.  Closing bug.