• abarth@webkit.org's avatar
    Moving ScriptExecutionContext to the front of the argument list for · 88b63614
    abarth@webkit.org authored
    IDL constructors that use ConstructorWith=ScriptExecutionContext.
    https://bugs.webkit.org/show_bug.cgi?id=69799
    
    Patch by Anna Cavender <annacc@chromium.org> on 2011-10-12
    Reviewed by Adam Barth.
    
    Tests:
    - http/tests/eventsource/* (for EventSource)
    - fast/filesystem/* (for Worker)
    
    * bindings/js/JSEventSourceCustom.cpp:
    (WebCore::JSEventSourceConstructor::constructJSEventSource):
    * bindings/js/JSWorkerCustom.cpp:
    (WebCore::JSWorkerConstructor::constructJSWorker):
    * bindings/scripts/CodeGeneratorV8.pm:
    (GenerateConstructorCallback):
    * bindings/scripts/test/V8/V8TestInterface.cpp:
    (WebCore::V8TestInterface::constructorCallback):
    * page/EventSource.cpp:
    (WebCore::EventSource::create):
    * page/EventSource.h:
    * workers/Worker.cpp:
    (WebCore::Worker::create):
    * workers/Worker.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    88b63614
EventSource.h 4.31 KB