Bug 402169 - Document which built-in types are treated as dynamic
Summary: Document which built-in types are treated as dynamic
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VJET (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Justin Early CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-01 12:38 EST by Justin Early CLA
Modified: 2017-04-11 15:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Early CLA 2013-03-01 12:38:54 EST
Document what does dynamic type mean to vjet and what types are currently dynamic. Provide examples and wiki page. 

What it means to vjet?

VJET treats types defined with vjojs as frozen by default you have to add the vjetdoc dynamic to get vjet to be more forgiving about undefined methods/fields which are not defined in the protos object literal or props object literal. 

Dynamic types include:

Window
ActiveXObject
External
HTMLDocument
HTMLElement
HTMLFormElement
Node
NodeList
Event
EventTarget
Undefined

Other built in types are treated as static types and accessing any property which doesn’t exist either is a bug or a dynamic extension. You can provide vjet instructions about legitimate extensions to any type using type extensions.