Bug 14193

Summary: Move the Screen object out of the JS bindings
Product: WebKit Reporter: Sam Weinig <sam>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 14192    
Attachments:
Description Flags
patch ggaren: review+

Sam Weinig
Reported 2007-06-16 19:48:16 PDT
Forthcoming patch moves the Screen object out of the JS bindings code and autogenerates a wrapper instead.
Attachments
patch (77.17 KB, patch)
2007-06-16 20:12 PDT, Sam Weinig
ggaren: review+
Sam Weinig
Comment 1 2007-06-16 20:12:36 PDT
Sam Weinig
Comment 2 2007-06-16 20:16:24 PDT
One change from the old code that this patch makes is that the properties of the Screen object used to be DontEnum|ReadOnly and now are DontDelete|ReadOnly. I found no documentation or reason that the screen properties should be non-enumeratable and deletable so I changed them to be just like all the the other js objects we generate. This change is visible in the changed results of the regression tests.
Geoffrey Garen
Comment 3 2007-06-18 11:23:42 PDT
Comment on attachment 15081 [details] patch r=me Will the other platforms' projects need to change to accommodate the new file paths? Maybe you should send email to webkit-dev.
Sam Weinig
Comment 4 2007-06-18 17:21:21 PDT
Landed in r23576.
Note You need to log in before you can comment on or make changes to this bug.