Ignore:
Timestamp:
Sep 23, 2017, 4:01:02 AM (8 years ago)
Author:
[email protected]
Message:

test262: $.agent became $262.agent in test262 update
https://bugs.webkit.org/show_bug.cgi?id=177407

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2017-09-23
Reviewed by Yusuke Suzuki.

JSTests:

  • test262.yaml:

~320 tests pass now that we correctly make $262 available.

Source/JavaScriptCore:

  • jsc.cpp:

(GlobalObject::finishCreation):
Alias $ and $262 for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r221878 r222424  
    14421442        JSObject* dollar = JSFinalObject::create(vm, plainObjectStructure);
    14431443        putDirect(vm, Identifier::fromString(globalExec(), "$"), dollar);
     1444        putDirect(vm, Identifier::fromString(globalExec(), "$262"), dollar);
    14441445       
    14451446        addFunction(vm, dollar, "createRealm", functionDollarCreateRealm, 0);
Note: See TracChangeset for help on using the changeset viewer.