HomeSort by relevance Sort by last modified time
    Searched refs:GlobalPropertyInfo (Results 1 - 3 of 3) sorted by null

  /external/webkit/WebCore/bindings/js/
JSDOMWindowBase.cpp 56 GlobalPropertyInfo staticGlobals[] = {
57 GlobalPropertyInfo(Identifier(globalExec(), "document"), jsNull(), DontDelete | ReadOnly),
58 GlobalPropertyInfo(Identifier(globalExec(), "window"), d()->shell, DontDelete | ReadOnly)
61 addStaticGlobals(staticGlobals, sizeof(staticGlobals) / sizeof(GlobalPropertyInfo));
  /external/webkit/JavaScriptCore/runtime/
JSGlobalObject.h 277 struct GlobalPropertyInfo {
278 GlobalPropertyInfo(const Identifier& i, JSValue v, unsigned a)
289 void addStaticGlobals(GlobalPropertyInfo*, int count);
317 inline void JSGlobalObject::addStaticGlobals(GlobalPropertyInfo* globals, int count)
327 GlobalPropertyInfo& global = globals[i];
JSGlobalObject.cpp 320 GlobalPropertyInfo staticGlobals[] = {
321 GlobalPropertyInfo(Identifier(exec, "Math"), new (exec) MathObject(exec, MathObject::createStructure(d()->objectPrototype)), DontEnum | DontDelete),
322 GlobalPropertyInfo(Identifier(exec, "NaN"), jsNaN(exec), DontEnum | DontDelete),
323 GlobalPropertyInfo(Identifier(exec, "Infinity"), jsNumber(exec, Inf), DontEnum | DontDelete),
324 GlobalPropertyInfo(Identifier(exec, "undefined"), jsUndefined(), DontEnum | DontDelete),
325 GlobalPropertyInfo(Identifier(exec, "JSON"), new (exec) JSONObject(JSONObject::createStructure(d()->objectPrototype)), DontEnum | DontDelete)
328 addStaticGlobals(staticGlobals, sizeof(staticGlobals) / sizeof(GlobalPropertyInfo));

Completed in 58 milliseconds