1. 06 Aug, 2009 40 commits
    • barraclough@apple.com's avatar
      2009-08-06 Gavin Barraclough <barraclough@apple.com> · 2e342af4
      barraclough@apple.com authored
              Reviewed by Oliver Hunt.
      
              Make get_by_id/put_by_id/method_check/call defer optimization using a data flag rather than a code modification.
              ( https://bugs.webkit.org/show_bug.cgi?id=27635 )
      
              This improves performance of ENABLE(ASSEMBLER_WX_EXCLUSIVE) builds by 2-2.5%, reducing the overhead to about 2.5%.
              (No performance impact with ASSEMBLER_WX_EXCLUSIVE disabled).
      
              * bytecode/CodeBlock.cpp:
              (JSC::printStructureStubInfo):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * bytecode/CodeBlock.h:
              (JSC::):
              (JSC::CallLinkInfo::seenOnce):
              (JSC::CallLinkInfo::setSeen):
              (JSC::MethodCallLinkInfo::seenOnce):
              (JSC::MethodCallLinkInfo::setSeen):
                  - Change a pointer in CallLinkInfo/MethodCallLinkInfo to use a PtrAndFlags, use a flag to track when an op has been executed once.
      
              * bytecode/StructureStubInfo.cpp:
              (JSC::StructureStubInfo::deref):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * bytecode/StructureStubInfo.h:
              (JSC::StructureStubInfo::StructureStubInfo):
              (JSC::StructureStubInfo::initGetByIdSelf):
              (JSC::StructureStubInfo::initGetByIdProto):
              (JSC::StructureStubInfo::initGetByIdChain):
              (JSC::StructureStubInfo::initGetByIdSelfList):
              (JSC::StructureStubInfo::initGetByIdProtoList):
              (JSC::StructureStubInfo::initPutByIdTransition):
              (JSC::StructureStubInfo::initPutByIdReplace):
              (JSC::StructureStubInfo::seenOnce):
              (JSC::StructureStubInfo::setSeen):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID, add a flag to track when an op has been executed once.
      
              * bytecompiler/BytecodeGenerator.cpp:
              (JSC::BytecodeGenerator::emitGetById):
              (JSC::BytecodeGenerator::emitPutById):
                  - Make StructureStubInfo store the type as an integer, rather than an OpcodeID.
      
              * jit/JIT.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              (JSC::JIT::unlinkCall):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JIT.h:
              (JSC::JIT::compileCTIMachineTrampolines):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JITCall.cpp:
              (JSC::JIT::compileOpCallSlowCase):
                  - Remove the "don't lazy link" stage of calls.
      
              * jit/JITStubs.cpp:
              (JSC::JITThunks::JITThunks):
              (JSC::JITThunks::tryCachePutByID):
              (JSC::JITThunks::tryCacheGetByID):
              (JSC::JITStubs::DEFINE_STUB_FUNCTION):
              (JSC::JITStubs::getPolymorphicAccessStructureListSlot):
                  - Remove the "don't lazy link" stage of calls, and the "_second" stage of get_by_id/put_by_id/method_check.
      
              * jit/JITStubs.h:
              (JSC::JITThunks::ctiStringLengthTrampoline):
              (JSC::JITStubs::):
                  - Remove the "don't lazy link" stage of calls, and the "_second" stage of get_by_id/put_by_id/method_check.
      
              * wtf/PtrAndFlags.h:
              (WTF::PtrAndFlags::PtrAndFlags):
              (WTF::PtrAndFlags::operator!):
              (WTF::PtrAndFlags::operator->):
                  - Add ! and -> operators, add constuctor with pointer argument.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e342af4
    • cfleizach@apple.com's avatar
      2009-08-06 Chris Fleizach <cfleizach@apple.com> · 92d485ea
      cfleizach@apple.com authored
              Reviewed by Eric Seidel.
      
              Bug 27956 - AX: roleValue should be cached for performance
              https://bugs.webkit.org/show_bug.cgi?id=27956
      
              Caches the role value of an accessibility object instead of calculating it everytime.
              The changes gained a 5% speedup using VoiceOver to navigate a webpage.
      
              * accessibility/AXObjectCache.cpp:
              (WebCore::AXObjectCache::handleAriaRoleChanged):
      
              Use generic role setter instead of specific ARIA role setter.
      
              * accessibility/AccessibilityObject.cpp:
              (WebCore::AccessibilityObject::AccessibilityObject):
              * accessibility/AccessibilityObject.h:
              (WebCore::AccessibilityObject::headingLevel):
      
              Make headingLevel into instance method so that it can *safely* be called in the constructor.
      
              (WebCore::AccessibilityObject::setRoleValue):
              (WebCore::AccessibilityObject::roleValue):
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::AccessibilityRenderObject):
              (WebCore::AccessibilityRenderObject::headingLevel):
              (WebCore::AccessibilityRenderObject::intValue):
              (WebCore::AccessibilityRenderObject::updateAccessibilityRole):
              (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
              * accessibility/AccessibilityRenderObject.h:
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              (AXAttributeStringSetHeadingLevel):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92d485ea
    • abarth@webkit.org's avatar
      2009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 5cd67bb8
      abarth@webkit.org authored
              Reviewed by Adam Barth.
      
              Allow custom memory allocation control for Noncopyable class
              https://bugs.webkit.org/show_bug.cgi?id=27879
      
              Several classes which inherited from Noncopyable are instantiated by
              operator new, so Noncopyable class has been inherited from FastAllocBase.
      
              * wtf/Noncopyable.h:
      
      2009-08-06  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Adam Barth.
      
              Change Noncopyable inheriting to public
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Since Noncopyable is inherited from FastAllocBase, Noncopyable's
              inheriting has been changed to public.
      
              * platform/graphics/wince/GraphicsContextWince.cpp:
      
      2009-08-06  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Adam Barth.
      
              Change Noncopyable inheriting to public
              http://bugs.webkit.org/show_bug.cgi?id=27879
      
              Since Noncopyable is inherited from FastAllocBase,
              Noncopyable's inheriting has been changed to public.
      
              * COMPropertyBag.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5cd67bb8
    • mrowe@apple.com's avatar
      Add explicit dependencies for our build verification scripts to ensure that... · 8b92c678
      mrowe@apple.com authored
      Add explicit dependencies for our build verification scripts to ensure that they always run after linking has completed.
      
      Rubber-stamped by Sam Weinig.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8b92c678
    • simon.fraser@apple.com's avatar
      2009-08-06 Simon Fraser <simon.fraser@apple.com> · 5d6b0b81
      simon.fraser@apple.com authored
              Make the test a little more sloppy to try to fix sporadic failures on Windows.
      
              * animations/play-state.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6b0b81
    • simon.fraser@apple.com's avatar
      2009-08-05 Simon Fraser <simon.fraser@apple.com> · 17e0fffc
      simon.fraser@apple.com authored
              Reviewed by Darin Adler.
      
              Implement the matchMedium method on the Media interface described in the CSSOM View Module.
              https://bugs.webkit.org/show_bug.cgi?id=22495
      
              Add a new Media interface, obtainable via the AbstractView, that can
              evaluate queries via its matchesMedium() method.
      
              Test: fast/media/matchmedium-query-api.html
      
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
              Add Media.* files to the build.
      
              * css/Media.cpp: Added.
              (WebCore::Media::Media):
              (WebCore::Media::type):
              (WebCore::Media::matchMedium):
              * css/Media.h: Added.
              (WebCore::Media::create):
              (WebCore::Media::document):
              * css/Media.idl: Added.
              Media::matchMedium() uses a MediaQueryEvaluator() to test the query.
      
              * page/AbstractView.idl:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::media):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              Add a readonly attribute for Media.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17e0fffc
    • darin@apple.com's avatar
      2009-08-06 Darin Adler <darin@apple.com> · 74ffa0d8
      darin@apple.com authored
              Reviewed by Mark Rowe.
      
              * fast/dom/gc-9-expected.txt: Generated new results.
              * fast/dom/gc-9.html: Turned off tests that are unpredictable based
              on what happens during garbage collection. These do represent bugs,
              so we want to turn them back on again once the bugs are fixed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74ffa0d8
    • pkasting@chromium.org's avatar
      2009-08-06 Peter Kasting <pkasting@google.com> · a8242150
      pkasting@chromium.org authored
              Reviewed by Adam Barth.
      
              https://bugs.webkit.org/show_bug.cgi?id=27323
              Strip line endings at all points auto-version.sh reads data, not just
              the one I happened to run into.
      
              * win/tools/scripts/auto-version.sh:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8242150
    • pkasting@chromium.org's avatar
      2009-08-06 Peter Kasting <pkasting@google.com> · 9154c7d7
      pkasting@chromium.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=28025
              Add a test for .ico decoding.
      
              * fast/images/icon-decoding.html: Added.
              * fast/images/resources/1bit.ico: Added.
              * fast/images/resources/2entries.ico: Added.
              * fast/images/resources/32bit.ico: Added.
              * fast/images/resources/8bit.ico: Added.
              * platform/mac/fast/images/icon-decoding-expected.checksum: Added.
              * platform/mac/fast/images/icon-decoding-expected.png: Added.
              * platform/mac/fast/images/icon-decoding-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9154c7d7
    • andersca@apple.com's avatar
      2009-08-06 Anders Carlsson <andersca@apple.com> · eb65e638
      andersca@apple.com authored
              Reviewed by Darin Adler and Dan Bernstein.
      
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::hasHTMLView):
              Always return true when we're in viewless mode.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb65e638
    • abarth@webkit.org's avatar
      2009-08-06 Michelangelo De Simone <micdesim@gmail.com> · bfb58fa6
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=27455
              Test suite for form controls' custom validation message.
      
              * fast/dom/domListEnumeration-expected.txt: Corrected
              * fast/dom/resources/domListEnumeration.js: Corrected
              * fast/forms/ValidityState-customError-001-expected.txt: Added.
              * fast/forms/ValidityState-customError-001.html: Added.
              * fast/forms/ValidityState-customError-002-expected.txt: Added.
              * fast/forms/ValidityState-customError-002.html: Added.
              * fast/forms/ValidityState-customError-003-expected.txt: Added.
              * fast/forms/ValidityState-customError-003.html: Added.
              * fast/forms/ValidityState-customError-004-expected.txt: Added.
              * fast/forms/ValidityState-customError-004.html: Added.
      
      2009-08-06  Michelangelo De Simone  <micdesim@gmail.com>
      
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=27455
              Support for a custom validation message in ValidityState and related
              form controls.
              http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#dom-cva-setcustomvalidity
      
              Tests: fast/forms/ValidityState-customError-001.html
                     fast/forms/ValidityState-customError-002.html
                     fast/forms/ValidityState-customError-003.html
                     fast/forms/ValidityState-customError-004.html
      
              * html/HTMLButtonElement.idl: setCustomValidity DOM method
              * html/HTMLFieldSetElement.idl: ditto
              * html/HTMLFormControlElement.cpp:
              (WebCore::HTMLFormControlElement::setCustomValidity): ditto
              * html/HTMLFormControlElement.h:
              (WebCore::HTMLFormControlElement::valueMissing): moved down
              * html/HTMLInputElement.idl: ditto
              * html/HTMLSelectElement.idl: ditto
              * html/HTMLTextAreaElement.idl:
              * html/ValidityState.h:
              (WebCore::ValidityState::setCustomErrorMessage): method to set custom
              validation message
              (WebCore::ValidityState::customError): validation flag
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfb58fa6
    • mrowe@apple.com's avatar
      Bring a little order to our otherwise out of control lives. · 6ef481d8
      mrowe@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ef481d8
    • mrowe@apple.com's avatar
      Stop copying .idl files in to the framework resources directory. · 30028e75
      mrowe@apple.com authored
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46867 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30028e75
    • andersca@apple.com's avatar
      2009-08-06 Anders Carlsson <andersca@apple.com> · 28142d89
      andersca@apple.com authored
              Remove WebGraphicsExtras.h include.
              
              * Plugins/WebNetscapePluginView.mm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28142d89
    • mrowe@apple.com's avatar
      Fix the build some more. · bee07cb3
      mrowe@apple.com authored
      Add JSWebSocket.cpp and JSWebSocket.h to the Xcode project, and move the WebSocket-related
      files and groups in to the appropriate locations.
      
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bee07cb3
    • mrowe@apple.com's avatar
      Build fix. · fb957182
      mrowe@apple.com authored
      Don't attempt to build a file that Anders just deleted.
      
      * WebKit.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb957182
    • jorlow@chromium.org's avatar
      2009-08-06 Fumitoshi Ukai <ukai@chromium.org> · 82124c0b
      jorlow@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              Add WebSocket.idl
              https://bugs.webkit.org/show_bug.cgi?id=27209
      
              Add WebSocket.idl in WebCore/websockets/.
              Add build systems only for GNUmakefile.am and WebCore.xcodeproj now.
              Other build systems will be updated once the code is functional.
      
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSWebSocketConstructor.cpp: Added.
              * bindings/js/JSWebSocketConstructor.h: Added.
              * bindings/js/JSWebSocketCustom.cpp: Added.
              * websockets/WebSocket.cpp: Added.
              * websockets/WebSocket.h: Added.
              * websockets/WebSocket.idl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82124c0b
    • andersca@apple.com's avatar
      2009-08-06 Anders Carlsson <andersca@apple.com> · 237c0e0b
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Remove WebGraphicsExtras, it is no longer used.
      
              * Misc/WebGraphicsExtras.c: Removed.
              * Misc/WebGraphicsExtras.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      237c0e0b
    • simon.fraser@apple.com's avatar
      2009-08-06 Simon Fraser <simon.fraser@apple.com> · 6259029f
      simon.fraser@apple.com authored
              Fix a test in http/tests/media that was missed in the earlier 'media' rename.
      
              * http/tests/media/video-play-stall.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6259029f
    • rniwa@webkit.org's avatar
      2009-08-06 Ryosuke Niwa <rniwa@webkit.org> · b3015e41
      rniwa@webkit.org authored
              Reviewed by Eric Seidel.
      
              LayoutTests/editing/execCommand/boldSelection.html must be a dumpAsText test
              https://bugs.webkit.org/show_bug.cgi?id=28055
      
              This patch converts boldSelection.html to a dumpAsText and adds description on what it tests.
              Namely, it tests bolding the first 21 letters  of a sentence.
              Since bolding must be done by adding b tag instead of a style span, we print innerHTML of the result.
      
              * editing/execCommand/boldSelection-expected.txt: Added.
              * editing/execCommand/boldSelection.html:
              * platform/mac/editing/execCommand/boldSelection-expected.checksum: Removed.
              * platform/mac/editing/execCommand/boldSelection-expected.png: Removed.
              * platform/mac/editing/execCommand/boldSelection-expected.txt: Removed.
              * platform/qt/editing/execCommand/boldSelection-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3015e41
    • jianli@chromium.org's avatar
      2009-08-06 Jian Li <jianli@chromium.org> · 8210b86e
      jianli@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Style cleaning for WorkerContextExecutionProxy.
              https://bugs.webkit.org/show_bug.cgi?id=27997
      
              Cleanup WorkerContextExecutioonProxy related files to follow
              WebKit coding styles after all V8 binding codes are upstreamed.
              1) Lower-case the first letter of remaining functins in class
                 WorkerContextExecutionProxy. Update the V8 code generator
                 and all other references accordingly.
              2) Integrate getConstructor from WorkerContextExecutionProxy
                 to V8DOMWrapper.
              3) Other misc changes, like removing trailing whitespaces and
                 sorting the include files.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScheduledAction.cpp:
              (WebCore::ScheduledAction::execute):
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::getConstructorForContext):
              (WebCore::V8DOMWrapper::convertToV8Object):
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8WorkerContextEventListener.cpp:
              (WebCore::V8WorkerContextEventListener::~V8WorkerContextEventListener):
              (WebCore::V8WorkerContextEventListener::handleEvent):
              (WebCore::V8WorkerContextEventListener::reportError):
              (WebCore::V8WorkerContextEventListener::getReceiverObject):
              * bindings/v8/V8WorkerContextObjectEventListener.cpp:
              (WebCore::weakObjectEventListenerCallback):
              * bindings/v8/WorkerContextExecutionProxy.cpp:
              (WebCore::handleConsoleMessage):
              (WebCore::WorkerContextExecutionProxy::dispose):
              (WebCore::WorkerContextExecutionProxy::initContextIfNeeded):
              (WebCore::WorkerContextExecutionProxy::convertToV8Object):
              (WebCore::WorkerContextExecutionProxy::convertEventToV8Object):
              (WebCore::WorkerContextExecutionProxy::convertEventTargetToV8Object):
              (WebCore::WorkerContextExecutionProxy::convertWorkerContextToV8Object):
              (WebCore::WorkerContextExecutionProxy::toV8):
              (WebCore::WorkerContextExecutionProxy::forgetV8EventObject):
              (WebCore::WorkerContextExecutionProxy::removeEventListener):
              * bindings/v8/WorkerContextExecutionProxy.h:
              (WebCore::WorkerContextExecutionProxy::context):
              (WebCore::WorkerContextExecutionProxy::convertToV8Object):
              * bindings/v8/custom/V8WorkerContextCustom.cpp:
              (WebCore::ACCESSOR_GETTER):
              (WebCore::CALLBACK_FUNC_DECL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8210b86e
    • simon.fraser@apple.com's avatar
      2009-08-06 Simon Fraser <simon.fraser@apple.com> · 354bc8b4
      simon.fraser@apple.com authored
              Rubber-stamped by Dan Bernstein.
      
              Move a video test from fast/media to media/, since fast/media is all about
              CSS media queries.
      
              * media/video-controls-with-mutation-event-handler-expected.txt: Renamed from LayoutTests/fast/media/video-controls-with-mutation-event-handler-expected.txt.
              * media/video-controls-with-mutation-event-handler.html: Renamed from LayoutTests/fast/media/video-controls-with-mutation-event-handler.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      354bc8b4
    • simon.fraser@apple.com's avatar
      2009-08-06 Simon Fraser <simon.fraser@apple.com> · 83b0e21b
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              https://bugs.webkit.org/show_bug.cgi?id=28056
              Change media tests to not use a variable in global scope with the name
              'media', to avoid conflict with window.media.
      
              * media/audio-constructor-autobuffer-expected.txt:
              * media/audio-constructor-autobuffer.html:
              * media/audio-constructor-src.html:
              * media/audio-constructor.html:
              * media/audio-data-url-expected.txt:
              * media/audio-data-url.html:
              * media/audio-mpeg-supported-expected.txt:
              * media/audio-mpeg-supported.html:
              * media/media-load-event-expected.txt:
              * media/media-load-event.html:
              * media/video-can-play-type.html:
              * media/video-loop-expected.txt:
              * media/video-loop.html:
              * media/video-seek-past-end-paused-expected.txt:
              * media/video-seek-past-end-paused.html:
              * media/video-seek-past-end-playing-expected.txt:
              * media/video-seek-past-end-playing.html:
              * media/video-source-media.html:
              * media/video-source-type-params.html:
              * media/video-source-type.html:
              * media/video-source.html:
              * media/video-src-invalid-remove.html:
              * media/video-src-plus-source-expected.txt:
              * media/video-src-plus-source.html:
              * media/video-src-source.html:
              * media/video-src.html:
              * media/video-test.js:
              (findMediaElement):
              (waitForEvent):
              (waitForEventAndTest):
              (relativeURL):
              * media/video-timeupdate-during-playback.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83b0e21b
    • abarth@webkit.org's avatar
      2009-08-06 Eric Seidel <eric@webkit.org> · e78f2575
      abarth@webkit.org authored
              No review, only changing make-js-test-wrappers.
      
              Fix make-js-test-wrappers to ignore a few more js tests
              with custom templates.
      
              * Scripts/make-js-test-wrappers:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e78f2575
    • eric@webkit.org's avatar
      2009-08-06 Eric Seidel <eric@webkit.org> · 3c5c52b7
      eric@webkit.org authored
              No review, only changing make-js-test-wrappers.
      
              Fix make-js-test-wrappers to ignore a few more js tests
              with custom templates.
      
              * Scripts/make-js-test-wrappers:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c5c52b7
    • abarth@webkit.org's avatar
      2009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 018f29b6
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Allow custom memory allocation control for JavaScriptCore's PolymorphicAccessStructureList struct
              https://bugs.webkit.org/show_bug.cgi?id=27877
      
              Inherits PolymorphicAccessStructureList struct from FastAllocBase because it has been instantiated by
              'new' in JavaScriptCore/jit/JITStubs.cpp:1229.
      
              * bytecode/Instruction.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018f29b6
    • bfulgham@webkit.org's avatar
      2009-08-06 Brent Fulgham <bfulgham@webkit.org> · 7b9d89a3
      bfulgham@webkit.org authored
              Rubber-stamped by Adam Barth.
      
              Update my blog's address.
      
              * config.ini:  Update Blog address.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b9d89a3
    • atwilson@chromium.org's avatar
      2009-08-06 Drew Wilson <atwilson@google.com> · f11015fb
      atwilson@chromium.org authored
              Reviewed by David Levin.
      
              Refactored worker tests to share code with shared worker versions. Shared worker tests are currently disabled by default.
      
              Worker layout tests should be refactored to enable testing SharedWorkers also.
              https://bugs.webkit.org/show_bug.cgi?id=27963
      
              * fast/workers/resources/shared-worker-common.js:
              (onconnect):
              (gc):
              (handleMessage):
              * fast/workers/resources/shared-worker-create-common.js: Added.
              (createWorker.worker.port.onmessage):
              (createWorker.worker.postMessage):
              (createWorker):
              * fast/workers/resources/worker-context-gc.js: Added.
              (log):
              (worker.onmessage):
              * fast/workers/resources/worker-create-common.js: Added.
              (createWorker):
              * fast/workers/resources/worker-location.js: Added.
              (log):
              (gc):
              (worker.onmessage):
              * fast/workers/resources/worker-navigator.js: Added.
              (log):
              (worker.onmessage):
              * fast/workers/resources/worker-replace-global-constructor.js:
              * fast/workers/resources/worker-replace-self.js: Added.
              (log):
              (worker.onmessage):
              * fast/workers/shared-worker-context-gc-expected.txt: Added.
              * fast/workers/shared-worker-context-gc.html-disabled: Added.
              * fast/workers/shared-worker-location-expected.txt: Added.
              * fast/workers/shared-worker-location.html-disabled: Added.
              * fast/workers/shared-worker-navigator-expected.txt: Added.
              * fast/workers/shared-worker-navigator.html-disabled: Added.
              * fast/workers/shared-worker-replace-global-constructor.html-disabled:
              * fast/workers/shared-worker-replace-self-expected.txt: Added.
              * fast/workers/shared-worker-replace-self.html-disabled: Added.
              * fast/workers/worker-context-gc.html:
              * fast/workers/worker-location.html:
              * fast/workers/worker-navigator.html:
              * fast/workers/worker-replace-global-constructor.html:
              * fast/workers/worker-replace-self.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f11015fb
    • darin@apple.com's avatar
      2009-08-06 Darin Adler <darin@apple.com> · 79e4c8d1
      darin@apple.com authored
              Fix Mac Leopard debug build.
      
              * platform/text/StringImpl.cpp:
              (WebCore::equalIgnoringCase): Removed meaningless assertion; an unsigned
              is always >= 0 and checking causes a warning in the newer versions of gcc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79e4c8d1
    • abarth@webkit.org's avatar
      WebCore: · cd71ebe0
      abarth@webkit.org authored
      2009-08-06  Adam Barth  <abarth@webkit.org>
      
              Unreview rollout.
      
              Revert 46840 because it broke the reliability tests.
      
              * bindings/v8/ScheduledAction.cpp:
              (WebCore::ScheduledAction::ScheduledAction):
              (WebCore::ScheduledAction::execute):
              * bindings/v8/ScheduledAction.h:
              (WebCore::ScheduledAction::ScheduledAction):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8Custom::WindowSetTimeoutImpl):
              * bindings/v8/custom/V8WorkerContextCustom.cpp:
              (WebCore::SetTimeoutOrInterval):
      
      LayoutTests:
      
      2009-08-06  Adam Barth  <abarth@webkit.org>
      
              Unreviewed rollout.
      
              Revert 46840 because it broke the reliability tests.
      
              * http/tests/security/isolatedWorld/window-setTimeout-function-expected.txt: Removed.
              * http/tests/security/isolatedWorld/window-setTimeout-function.html: Removed.
              * http/tests/security/isolatedWorld/window-setTimeout-string-expected.txt: Removed.
              * http/tests/security/isolatedWorld/window-setTimeout-string.html: Removed.
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd71ebe0
    • abarth@webkit.org's avatar
      2009-08-06 Adam Barth <abarth@webkit.org> · 1e0d1bdc
      abarth@webkit.org authored
              Unreviewed rollout.
      
              Revert 46840 in preparation to revert 46838, which broke the reliability tests.
      
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::updateDocumentWrapperCache):
              (WebCore::V8Proxy::initContextIfNeeded):
              (WebCore::V8Proxy::mainWorldContext):
              * bindings/v8/V8Proxy.h:
              (WebCore::V8Proxy::context):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e0d1bdc
    • pfeldman@chromium.org's avatar
      2009-08-06 Pavel Feldman <pfeldman@chromium.org> · 3f8a63f3
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              WebInspector: move style-related utilities into InjectedScript.
      
              http://bugs.webkit.org/show_bug.cgi?id=27939
      
              * inspector/front-end/DOMAgent.js:
              (WebInspector.CSSStyleDeclaration):
              (WebInspector.CSSStyleDeclaration.prototype.isPropertyImplicit):
              (WebInspector.CSSStyleDeclaration.prototype.styleTextWithShorthands):
              (WebInspector.CSSStyleDeclaration.prototype.getLonghandProperties):
              (WebInspector.CSSStyleDeclaration.prototype.getShorthandPriority):
              * inspector/front-end/InjectedScript.js:
              (InjectedScript.applyStyleText):
              (InjectedScript.toggleStyleEnabled):
              (InjectedScript._serializeStyle):
              (InjectedScript._getUniqueStyleProperties):
              (InjectedScript._getLonghandProperties):
              (InjectedScript._getShorthandPriority):
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylesSidebarPane.prototype._update):
              (WebInspector.StylePropertiesSection.prototype.isPropertyOverloaded):
              (WebInspector.StylePropertiesSection.prototype.onpopulate):
              (WebInspector.StylePropertyTreeElement.prototype.get priority):
              (WebInspector.StylePropertyTreeElement.prototype.get value):
              (WebInspector.StylePropertyTreeElement.prototype):
              * inspector/front-end/utilities.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f8a63f3
    • hausmann@webkit.org's avatar
      2009-08-06 Simon Hausmann <simon.hausmann@nokia.com> · cd4b0808
      hausmann@webkit.org authored
              Unreviewed build fix, add #ifdef guards around
              inclusions of shared worker specific files.
      
              * bindings/js/JSEventTarget.cpp:
              * bindings/js/JSWorkerContextBase.cpp:
              * bindings/js/WorkerScriptController.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd4b0808
    • hausmann@webkit.org's avatar
      2009-08-06 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 0569916d
      hausmann@webkit.org authored
              Reviewed by Darin Adler.
      
              cssgrammar.cpp fails to compile with RVCT compiler
              https://bugs.webkit.org/show_bug.cgi?id=27952
      
              * css/CSSGrammar.y: Do not convert to String to get rid of the stray
              memory allocation
      
              * platform/text/StringImpl.cpp:
              (WebCore::equalIgnoringCase):
              * platform/text/StringImpl.h:
              (WebCore::equalIgnoringCase): Add charactersEqualIgnoringCase
                function that works with a character pointer and length
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0569916d
    • atwilson@chromium.org's avatar
      WebCore: · 5790d733
      atwilson@chromium.org authored
      2009-08-01  Drew Wilson  <atwilson@google.com>
      
              Reviewed by NOBODY (OOPS!).
      
              Created first working implementation of SharedWorkers (execution only, no sharing).
              https://bugs.webkit.org/show_bug.cgi?id=27927
      
              Added initial implementations of SharedWorkerThread and SharedWorkerContext.
              No v8 bindings yet.
      
              * DerivedSources.cpp:
              Added shared worker files.
              * DerivedSources.make:
              Added shared worker files.
              * GNUmakefile.am:
              Added shared worker files.
              * WebCore.gypi:
              Added shared worker files.
              * WebCore.pro:
              Added shared worker files.
              * WebCore.vcproj/WebCore.vcproj:
              Added shared worker files.
              * WebCore.xcodeproj/project.pbxproj:
              Added shared worker files.
              * bindings/js/JSEventTarget.cpp:
              (WebCore::toJS):
              Added code to convert from EventTarget to correct JS class.
              (WebCore::toEventTarget):
              Added code to cast from JS object to appropriate EventTarget impl class.
              * bindings/js/JSSharedWorkerConstructor.cpp:
              (WebCore::JSSharedWorkerConstructor::JSSharedWorkerConstructor):
              (WebCore::constructSharedWorker):
              Tweaked the constructor code to pass in the lexical global object like normal workers.
              * bindings/js/JSSharedWorkerContextCustom.cpp: Added.
              (WebCore::JSSharedWorkerContext::mark):
              Custom marking of the onconnect handler.
              * bindings/js/JSWorkerContextBase.cpp:
              (WebCore::toJSSharedWorkerContext):
              (WebCore::toJSWorkerContext):
              Added proper conversion to the correct WorkerContext derived class.
              * bindings/js/JSWorkerContextBase.h:
              * bindings/js/WorkerScriptController.cpp:
              (WebCore::WorkerScriptController::initScript):
              Updated WorkerScriptController to create the correct type of binding object (JSSharedWorkerContext vs JSDedicatedWorkerContext)
              * bindings/scripts/CodeGeneratorV8.pm:
              Added support for SharedWorkerContext.
              * bindings/v8/DOMObjectsInclude.h:
              Added shared worker bindings files.
              * dom/EventNames.h:
              Added connect event.
              * dom/EventTarget.cpp:
              (WebCore::EventTarget::toSharedWorkerContext):
              Added API for casting to new derived class (SharedWorkerContext).
              * dom/EventTarget.h:
              * workers/AbstractWorker.cpp:
              (WebCore::AbstractWorker::resolveURL):
              Moved code that resolves/validates URLs to base class so it can be shared between dedicated/shared workers.
              * workers/AbstractWorker.h:
              * workers/DedicatedWorkerContext.cpp:
              (WebCore::DedicatedWorkerContext::logException):
              Refactored exception handling code - moved onerror handling to base class.
              * workers/DedicatedWorkerContext.h:
              (WebCore::DedicatedWorkerContext::isDedicatedWorkerContext):
              * workers/SharedWorker.cpp:
              (WebCore::SharedWorker::SharedWorker):
              Changed constructor to fire up worker thread.
              * workers/SharedWorker.h:
              * workers/SharedWorkerContext.cpp: Added.
              (WebCore::SharedWorkerContext::SharedWorkerContext):
              (WebCore::SharedWorkerContext::~SharedWorkerContext):
              (WebCore::SharedWorkerContext::logException):
              (WebCore::SharedWorkerContext::addMessage):
              Placeholder methods until we add support for sending exceptions/messages to console.
              (WebCore::SharedWorkerContext::dispatchConnect):
              (WebCore::SharedWorkerContext::thread):
              * workers/SharedWorkerContext.h: Added.
              (WebCore::SharedWorkerContext::create):
              (WebCore::SharedWorkerContext::isSharedWorkerContext):
              (WebCore::SharedWorkerContext::toSharedWorkerContext):
              (WebCore::SharedWorkerContext::setOnconnect):
              (WebCore::SharedWorkerContext::onconnect):
              (WebCore::SharedWorkerContext::name):
              * workers/SharedWorkerContext.idl: Added.
              * workers/SharedWorkerRepository.h: Added.
              (WebCore::SharedWorkerRepository::~SharedWorkerRepository):
              * workers/DefaultSharedWorkerRepository.cpp: Added.
              Implementation of core singleton class that will be used to implement sharing.
              (WebCore::SharedWorkerProxy::setThread):
              Proxy object used to handle resource loading for a given shared worker.
              (WebCore::SharedWorkerProxy::postTaskToLoader):
              (WebCore::SharedWorkerProxy::postTaskForModeToWorkerContext):
              Placeholder routines until we implement loading.
              (WebCore::SharedWorkerConnectTask::create):
              Creates a task to fire off a connect event on the worker thread.
              (WebCore::SharedWorkerConnectTask::SharedWorkerConnectTask):
              (WebCore::SharedWorkerConnectTask::performTask):
              (WebCore::SharedWorkerLoader::SharedWorkerLoader):
              Added helper object to load the initial script for the worker.
              (WebCore::SharedWorkerLoader::load):
              (WebCore::SharedWorkerLoader::notifyFinished):
              (WebCore::SharedWorkerRepository::instance):
              (WebCore::DefaultSharedWorkerRepository::instance):
              (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
              Fires off the worker thread once the script is loaded.
              (WebCore::SharedWorkerRepository::connect):
              (WebCore::DefaultSharedWorkerRepository::DefaultSharedWorkerRepository):
              (WebCore::DefaultSharedWorkerRepository::~DefaultSharedWorkerRepository):
              * workers/DefaultSharedWorkerRepository.h: Added.
              * workers/SharedWorkerThread.cpp: Added.
              (WebCore::SharedWorkerThread::create):
              (WebCore::SharedWorkerThread::SharedWorkerThread):
              (WebCore::SharedWorkerThread::~SharedWorkerThread):
              (WebCore::SharedWorkerThread::createWorkerContext):
              * workers/SharedWorkerThread.h: Added.
              * workers/Worker.cpp:
              (WebCore::Worker::Worker):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::reportException):
              * workers/WorkerContext.h:
              (WebCore::WorkerContext::isSharedWorkerContext):
              (WebCore::WorkerContext::isDedicatedWorkerContext):
              Added APIs to determine the type of a given context.
      
      LayoutTests:
      
      2009-08-05  Drew Wilson  <atwilson@google.com>
      
              Reviewed by NOBODY (OOPS!).
      
              SharedWorkers should instantiate a thread and a SharedWorkerContext
              https://bugs.webkit.org/show_bug.cgi?id=27927
      
              Added disabled tests for SharedWorker minimal functionality.
      
              Began refactoring of dedicated worker tests to allow sharing test cases between shared and dedicated worker (will continue in another patch).
      
              * fast/workers/resources/shared-worker-common.js: Added.
              * fast/workers/resources/shared-worker-script-error.js: Added.
              * fast/workers/resources/worker-replace-global-constructor.js: Moved common code into shared .js file.
              * fast/workers/shared-worker-constructor.html-disabled:
              * fast/workers/shared-worker-gc-expected.txt: Added.
              * fast/workers/shared-worker-gc.html-disabled: Added.
              * fast/workers/shared-worker-load-error-expected.txt: Added.
              * fast/workers/shared-worker-load-error.html-disabled: Added.
              * fast/workers/shared-worker-replace-global-constructor-expected.txt: Added.
              * fast/workers/shared-worker-replace-global-constructor.html-disabled: Added.
              * fast/workers/shared-worker-script-error-expected.txt: Added.
              * fast/workers/shared-worker-script-error.html-disabled: Added.
              * fast/workers/shared-worker-simple-expected.txt: Added.
              * fast/workers/shared-worker-simple.html-disabled: Added.
              * fast/workers/worker-replace-global-constructor.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5790d733
    • cmarrin@apple.com's avatar
      Added ENABLE_3D_CANVAS flag to build, default to off · 068009f0
      cmarrin@apple.com authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      068009f0
    • hausmann@webkit.org's avatar
      2009-08-06 Andras Becsi <becsi.andras@stud.u-szeged.hu> · 16e235ff
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] windowsKeyCodeForKeyEvent fix
      
              Fix windowsKeyCodeForKeyEvent to determine wheter the event comes from the keypad.
      
              * platform/qt/PlatformKeyboardEventQt.cpp:
              (WebCore::windowsKeyCodeForKeyEvent):
              (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16e235ff
    • staikos@webkit.org's avatar
      2009-08-06 George Staikos <george.staikos@torchmobile.com> · 21d5742d
      staikos@webkit.org authored
              Rubber-stamped by Ariya Hidayat.
      
              Remove the dead wince/ directory that should never have gone in.
      
              * svg/graphics/wince: Removed.
              * svg/graphics/wince/SVGResourceFilterWince.cpp: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21d5742d
    • pfeldman@chromium.org's avatar
      2009-08-06 Pavel Feldman <pfeldman@chromium.org> · 54be7d71
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              WebInspector: Extract style editing into a separate file that is
              going to be loaded in page context.
      
              https://bugs.webkit.org/show_bug.cgi?id=27939
      
              * inspector/front-end/InjectedScript.js: Added.
              (InjectedScript.applyStyleText):
              (InjectedScript.setStyleText):
              (InjectedScript.toggleStyleEnabled):
              (InjectedScript.setStyleRule):
              * inspector/front-end/StylesSidebarPane.js:
              (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted.callback):
              (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted):
              (WebInspector.StylePropertyTreeElement.prototype.):
              (WebInspector.StylePropertyTreeElement.prototype):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54be7d71
    • abarth@webkit.org's avatar
      2009-08-06 Adam Barth <abarth@webkit.org> · bc9c0016
      abarth@webkit.org authored
              Reviewed by David Levin.
      
              [V8] Remove bug-bait V8Proxy::context()
              https://bugs.webkit.org/show_bug.cgi?id=27826
      
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::updateDocumentWrapperCache):
              (WebCore::V8Proxy::initContextIfNeeded):
              (WebCore::V8Proxy::mainWorldContext):
              * bindings/v8/V8Proxy.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc9c0016