1. 13 Jul, 2010 40 commits
    • barraclough@apple.com's avatar
      Bug 42207 - Clean up interface to compile executables, always check for exceptions · 40b4ad33
      barraclough@apple.com authored
      Reviewed by Oliver Hunt.
      
      Presently interface to compile executable is inconsistent between eval/program and
      function code, and is error prone in allowing a caller to byte compile without JIT
      compiling an executable (we rely on all executables with codeblocks having JIT code).
      Unify on an interface where all compilation is performed by a single compile (with
      ForCall|ForConstruct variants) method, and make all clients check for errors.
      
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::unwindCallFrame):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::executeCall):
      (JSC::Interpreter::executeConstruct):
      (JSC::Interpreter::prepareForRepeatCall):
      (JSC::Interpreter::privateExecute):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * parser/Parser.h:
      (JSC::Parser::isFunctionBodyNode):
      (JSC::Parser::parse):
      * runtime/ArrayPrototype.cpp:
      (JSC::isNumericCompareFunction):
      * runtime/ExceptionHelpers.cpp:
      (JSC::createStackOverflowError):
      * runtime/ExceptionHelpers.h:
      * runtime/Executable.cpp:
      (JSC::EvalExecutable::compileInternal):
      (JSC::ProgramExecutable::checkSyntax):
      (JSC::ProgramExecutable::compileInternal):
      (JSC::FunctionExecutable::compileForCallInternal):
      (JSC::FunctionExecutable::compileForConstructInternal):
      (JSC::FunctionExecutable::reparseExceptionInfo):
      (JSC::EvalExecutable::reparseExceptionInfo):
      (JSC::FunctionExecutable::fromGlobalCode):
      * runtime/Executable.h:
      (JSC::EvalExecutable::compile):
      (JSC::EvalExecutable::generatedBytecode):
      (JSC::EvalExecutable::generatedJITCode):
      (JSC::ProgramExecutable::compile):
      (JSC::ProgramExecutable::generatedBytecode):
      (JSC::ProgramExecutable::generatedJITCode):
      (JSC::FunctionExecutable::generatedBytecode):
      (JSC::FunctionExecutable::compileForCall):
      (JSC::FunctionExecutable::compileForConstruct):
      (JSC::FunctionExecutable::generatedJITCodeForConstructWithArityCheck):
      * runtime/FunctionConstructor.cpp:
      (JSC::constructFunction):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::argumentsGetter):
      * runtime/JSGlobalData.h:
      (JSC::JSGlobalData::canUseJIT):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40b4ad33
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 59f8b820
      simon.fraser@apple.com authored
              Build fix: fix WebCore exports by editing the .in file, rather than the generated file.
      
              * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59f8b820
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · d663a855
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=42216
              ResourceRequest::doUpdateResourceRequest() crashes if client denied request
      
              This is covered by many regression tests with patch for bug 42201 applied (because it makes
              us also use this code path for sync requests, and those currently have more strict limitations).
      
              * platform/network/cf/ResourceRequestCFNet.cpp:
              (WebCore::ResourceRequest::doUpdateResourceRequest): Added a null check.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d663a855
    • eric@webkit.org's avatar
      2010-07-13 Eric Seidel <eric@webkit.org> · f7e6145e
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Make our end tag in-foreign-content mode spec bug workarounds more closely match minefield
              https://bugs.webkit.org/show_bug.cgi?id=42187
      
              * html5lib/runner-expected-html5.txt:
      2010-07-13  Eric Seidel  <eric@webkit.org>
      
              Reviewed by Adam Barth.
      
              Make our end tag in-foreign-content mode spec bug workarounds more closely match minefield
              https://bugs.webkit.org/show_bug.cgi?id=42187
      
              I do not expect these work-arounds to be permanent.  Hixie has promised to
              addresses the feedback to the parser sections of HTML5 soon.
              I added these hacks to make our hacks more-closely match Minefield's hacks
              and thus have us "pass" a few more html5lib runner tests.
      
              We now pass all of the html5lib foreign content tests
              (thus we'll likely need to write more).
      
              Tested by html5lib/runner.html
      
              * html/HTMLElementStack.cpp:
              (WebCore::HTMLElementStack::contains):
              * html/HTMLElementStack.h:
              * html/HTMLTreeBuilder.cpp:
              (WebCore::HTMLTreeBuilder::processEndTag):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7e6145e
    • simon.fraser@apple.com's avatar
      2010-07-13 Simon Fraser <simon.fraser@apple.com> · 1df2d10b
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              <rdar://problem/8186963> Expose RenderLayer hierarchy via Obj-C for debugging.
      
              Add a WebRenderLayer class that reflects the RenderLayer tree into a hierarchy
              of Objective-C objects suitable for display in an outline view.
      
              * WebKit.exp: Export the WebRenderLayer Objective-C class.
              * WebView/WebRenderLayer.h: Added.
              * WebView/WebRenderLayer.mm: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1df2d10b
    • commit-queue@webkit.org's avatar
      2010-07-13 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> · 772f0294
      commit-queue@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Separate CoreFoundation specific tests in JSC's testapi.c
      
              testapi.c depends on the Core Foundation.
              https://bugs.webkit.org/show_bug.cgi?id=40058
      
              * WebKit.pro: enable compilation of JSC C API test.
      2010-07-13  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
      
              Reviewed by Oliver Hunt.
      
              testapi.c depends on the Core Foundation.
              https://bugs.webkit.org/show_bug.cgi?id=40058
      
              Separate CoreFoundation specific tests in JSC's testapi.c. Enabling it
              to compile in Qt environments.
      
              All tests should work except for the JSStringCreateWithCharacters() function,
              because its tests depend on Core Foundation specific functions.
      
              * API/tests/testapi.c:
              (testJSStringRefCF): moved CoreFoundation specific tests to this function.
              (main): The moves plus some minor tweaks.
              * testapi.pro: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      772f0294
    • ajwong@chromium.org's avatar
      Unreviewed, updating test expectatins. · 37af94bd
      ajwong@chromium.org authored
      [chromium] Adding more test expectations to bring chromium build
      green.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37af94bd
    • bweinstein@apple.com's avatar
      Sputnik tests aren't running on Windows · d3b983a5
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42208
              
      Reviewed by Steve Falkenburg.
      
      We should run the Sputnik tests on Windows, by unskipping fast/js/Sputnik, and adding Windows
      specific test results. There are 6 tests that needs Windows specific results. 3 of them are
      progressions (Unicode_510/S7.6_A3.2.html, Unicode_510/S7.6_A5.3_T1.html, Unicode_510/S7.6_A5.3_T2.html)
      and the others are failures that are being tracked by https://bugs.webkit.org/show_bug.cgi?id=42209.
      
      * platform/win/Skipped: Remove fast/js/sputnik from the Skipped list.
      * platform/win/fast/js/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators/11.5.3_Applying_the_percent_Operator/S11.5.3_A4_T6-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Conformance/15_Native_Objects/15.4_Array/15.4.4/15.4.4.12_Array_prototype_splice/S15.4.4.12_A2.1_T3-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.1-expected.txt: Added failing result.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A3.2-expected.txt: Added progression.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T1-expected.txt: Added progression.
      * platform/win/fast/js/sputnik/Unicode/Unicode_510/S7.6_A5.3_T2-expected.txt: Added progression.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3b983a5
    • tonyg@chromium.org's avatar
      2010-07-12 Tony Gentilcore <tonyg@chromium.org> · d79693f7
      tonyg@chromium.org authored
              Reviewed by Darin Fisher.
      
              Wire network times from ResourceLoadTiming to performance.timing
              https://bugs.webkit.org/show_bug.cgi?id=41824
      
              Expectations set to fail because --web-timing disabled by default.
      
              * fast/dom/script-tests/webtiming.js:
              (checkTimingBeforeLoad):
              (checkWebTimingOnLoad):
              (checkWebTimingAfterLoad):
              * fast/dom/webtiming-expected.txt:
      2010-07-12  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Wire network times from ResourceLoadTiming to performance.timing
              https://bugs.webkit.org/show_bug.cgi?id=41824
      
              * page/Timing.cpp:
              (WebCore::Timing::domainLookupStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-domain-lookupstart
              (WebCore::Timing::domainLookupEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-domain-lookupend
              (WebCore::Timing::connectStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-connect-start
              (WebCore::Timing::connectEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-connect-end
              (WebCore::Timing::requestStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-request-start
              (WebCore::Timing::requestEnd): http://dev.w3.org/2006/webapi/WebTiming/#nt-request-end
              (WebCore::Timing::responseStart): http://dev.w3.org/2006/webapi/WebTiming/#nt-response-start
              (WebCore::Timing::resourceLoadTiming):
              * page/Timing.h:
              * page/Timing.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d79693f7
    • commit-queue@webkit.org's avatar
      2010-07-13 Chris Guillory <chris.guillory@google.com> · 9f400002
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Fix adoptRef usage violation in WebAccessibilityCacheImpl.cpp.
              https://bugs.webkit.org/show_bug.cgi?id=42092
      
              * src/WebAccessibilityCacheImpl.cpp:
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::create):
              (WebKit::WebAccessibilityCacheImpl::WeakHandle::WeakHandle):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f400002
    • andersca@apple.com's avatar
      Add support for URL frame loading using NPN_GetURLNotify · a053ab17
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=42192
      
      Reviewed by Sam Weinig.
      
      WebCore:
      
      * WebCore.exp.in:
      Export ResourceRequestBase::setHTTPMethod and ResourceRequestBase::setURL.
      
      WebKit2:
      
      * WebProcess/Plugins/DummyPlugin.cpp:
      (WebKit::DummyPlugin::frameDidFinishLoading):
      (WebKit::DummyPlugin::frameDidFail):
      * WebProcess/Plugins/DummyPlugin.h:
      Add empty stubs.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      Implement NPN_GetURLNotify and have it call NetscapePlugin::loadURL.
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::NetscapePlugin):
      Initialize m_nextRequestID to 0.
      
      (WebKit::NetscapePlugin::loadURL):
      Ask the plug-in controller to load the URL.
      
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      Add empty stubs for now.
      
      * WebProcess/Plugins/Plugin.h:
      Add new member functions for frame load notifications.
      
      * WebProcess/Plugins/PluginController.h:
      Add loadURL.
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::URLRequest::URLRequest):
      Add class that represents an URL request.
      
      (WebKit::PluginView::PluginView):
      Initialize m_pendingURLRequestsTimer.
      
      (WebKit::PluginView::~PluginView):
      Unset all active load listeners.
      
      (WebKit::PluginView::pendingURLRequestsTimerFired):
      Take the first request in the queue and process it.
      
      (WebKit::PluginView::performURLRequest):
      Call performFrameLoadURLRequest if necessary.
      
      (WebKit::PluginView::performFrameLoadURLRequest):
      Find a frame to load the request in. If a frame doesn't exist try to create a new frame.
      
      (WebKit::PluginView::loadURL):
      Create a URLRequest and add it to the queue.
      
      (WebKit::PluginView::didFinishLoad):
      Get the pending frame load request and call Plugin::frameDidFinishLoading.
      
      (WebKit::PluginView::didFailLoad):
      Get the pending frame load request and call Plugin::frameDidFail.
      
      * WebProcess/Plugins/PluginView.h:
      Inherit from WebFrame::LoadListener.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidFailLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad):
      (WebKit::WebFrameLoaderClient::didFinishLoad):
      Call the WebFrame's load listener if needed.
      
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::WebFrame):
      Initialize m_loadListener to 0.
      
      * WebProcess/WebPage/WebFrame.h:
      Add a LoadListener class that the plug-in view can use to track frame loads.
      
      (WebKit::WebFrame::LoadListener::~LoadListener):
      (WebKit::WebFrame::setLoadListener):
      (WebKit::WebFrame::loadListener):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a053ab17
    • diegohcg@webkit.org's avatar
      2010-07-13 Diego Gonzalez <diegohcg@webkit.org> · 9707b1a0
      diegohcg@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] [WebKit2] Hook up navigation actions
              https://bugs.webkit.org/show_bug.cgi?id=42183
      
              Make Back, Forward, Stop and Reload being enable/disabled according
              page loading.
      
              * UIProcess/API/qt/ClientImpl.cpp:
              (qt_wk_didStartProvisionalLoadForFrame):
              (qt_wk_didCommitLoadForFrame):
              (qt_wk_didFinishLoadForFrame):
              (qt_wk_didFailLoadWithErrorForFrame):
              * UIProcess/API/qt/qwkpage.cpp:
              (QWKPagePrivate::updateAction):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9707b1a0
    • zmo@google.com's avatar
      2010-07-04 Zhenyao Mo <zmo@google.com> · 2d85c6d7
      zmo@google.com authored
              Reviewed by Darin Fisher.
      
              Need to track texture completeness
              https://bugs.webkit.org/show_bug.cgi?id=41381
      
              Test: fast/canvas/webgl/texture-complete.html
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::WebGLRenderingContext): Init max texture level.
              (WebCore::WebGLRenderingContext::bindTexture): Pass max texture level to setTarget().
              (WebCore::WebGLRenderingContext::copyTexImage2D): Cache full texture info rather than partial.
              (WebCore::WebGLRenderingContext::generateMipmap): Ditto.
              (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
              (WebCore::WebGLRenderingContext::validateTexFuncParameters): Also validate level.
              * html/canvas/WebGLRenderingContext.h: Add max texture level.
              * html/canvas/WebGLTexture.cpp: Update the class to fully cache texture information and track NPOT and COMPLETE states.
              (WebCore::WebGLTexture::WebGLTexture):
              (WebCore::WebGLTexture::setTarget): Check whether the texture is initialized or has been deleted.
              (WebCore::WebGLTexture::setParameteri): Ditto.
              (WebCore::WebGLTexture::setParameterf): Ditto.
              (WebCore::WebGLTexture::setLevelInfo): Set texture info.
              (WebCore::WebGLTexture::generateMipmapLevelInfo): Generate texture info for all levels after generateMipmaps() is called.
              (WebCore::WebGLTexture::getInternalFormat): Return internal format on texture face 0 level 0.
              (WebCore::WebGLTexture::isNPOT): Check whether the texture is initialized or has been deleted.
              (WebCore::WebGLTexture::needToUseBlackTexture): Ditto.
              (WebCore::WebGLTexture::_deleteObject):
              (WebCore::WebGLTexture::mapTargetToIndex): Map target to index.
              (WebCore::WebGLTexture::canGenerateMipmaps): Check whether Mipmaps can be generated.
              (WebCore::WebGLTexture::computeLevelCount): Compute texture level count from width/height.
              (WebCore::WebGLTexture::update): Update NPOT/COMPLETE states.
              * html/canvas/WebGLTexture.h: Ditto.
              (WebCore::WebGLTexture::LevelInfo::LevelInfo): Add data structure to fully cache texture info.
              (WebCore::WebGLTexture::LevelInfo::setInfo): Set information.
      2010-07-04  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Fisher.
      
              Need to track texture completeness
              https://bugs.webkit.org/show_bug.cgi?id=41381
      
              * fast/canvas/webgl/texture-complete-expected.txt: Added.
              * fast/canvas/webgl/texture-complete.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d85c6d7
    • andreas.kling@nokia.com's avatar
      2010-07-13 Andreas Kling <andreas.kling@nokia.com> · 31e11a63
      andreas.kling@nokia.com authored
              Reviewed by Darin Adler.
      
              Canvas: drawImage() with wrong 'image' argument type should always throw TypeError
              https://bugs.webkit.org/show_bug.cgi?id=42160
      
              Updated 2d.drawImage.wrongtype.html from http://dvcs.w3.org/hg/html/
              and unskipped it.
      
              * canvas/philip/tests/2d.drawImage.wrongtype-expected.txt:
              * canvas/philip/tests/2d.drawImage.wrongtype.html:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
      2010-07-13  Andreas Kling  <andreas.kling@nokia.com>
      
              Reviewed by Darin Adler.
      
              Canvas: drawImage() with wrong 'image' argument type should always throw TypeError
              https://bugs.webkit.org/show_bug.cgi?id=42160
      
              Test: canvas/philip/tests/2d.drawImage.wrongtype.html
      
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              (WebCore::JSCanvasRenderingContext2D::drawImage): Throw TypeError instead of
              TYPE_MISMATCH_ERR if 'image' argument is not an image, canvas or video element.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31e11a63
    • andersca@apple.com's avatar
      Make all NPN_ functions static. · 0bee29b4
      andersca@apple.com authored
      Reviewed by Adam Roben.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bee29b4
    • kbr@google.com's avatar
      2010-07-13 Kenneth Russell <kbr@google.com> · 79ee1296
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Fold most WebGL script-tests into .html files
              https://bugs.webkit.org/show_bug.cgi?id=42204
      
              For each WebGL script-test layout test which has a corresponding
              copy in the Khronos repository, folded the .js into the .html. This
              will make it easier to synchronize these tests between repositories.
      
              * fast/canvas/webgl/error-reporting.html:
              * fast/canvas/webgl/get-active-test.html:
              * fast/canvas/webgl/gl-object-get-calls.html:
              * fast/canvas/webgl/incorrect-context-object-behaviour.html:
              * fast/canvas/webgl/index-validation.html:
              * fast/canvas/webgl/null-object-behaviour.html:
              * fast/canvas/webgl/null-uniform-location.html:
              * fast/canvas/webgl/script-tests/error-reporting.js: Removed.
              * fast/canvas/webgl/script-tests/get-active-test.js: Removed.
              * fast/canvas/webgl/script-tests/gl-object-get-calls.js: Removed.
              * fast/canvas/webgl/script-tests/incorrect-context-object-behaviour.js: Removed.
              * fast/canvas/webgl/script-tests/index-validation.js: Removed.
              * fast/canvas/webgl/script-tests/null-object-behaviour.js: Removed.
              * fast/canvas/webgl/script-tests/null-uniform-location.js: Removed.
              * fast/canvas/webgl/script-tests/uniform-location.js: Removed.
              * fast/canvas/webgl/uniform-location.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79ee1296
    • kbr@google.com's avatar
      2010-07-13 Kenneth Russell <kbr@google.com> · 4da4ca77
      kbr@google.com authored
              Reviewed by Darin Fisher.
      
              Rename bug-zzzzz.html WebGL tests
              https://bugs.webkit.org/show_bug.cgi?id=42200
      
              Per changes already made to Khronos copy of tests, renamed:
                bug-31889.html to array-buffer-crash.html
                bug-32364.html to tex-image-and-uniform-binding-bugs.html
                bug-32692.html to index-validation-verifies-too-many-indices.html
                bug-32888.html to texture-transparent-pixels-initialized.html
      
              Deleted bug-32456.html because it is now redundant; its
              functionality is already in array-unit-tests.html.
      
              * fast/canvas/webgl/array-buffer-crash-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-31889-expected.txt.
              * fast/canvas/webgl/array-buffer-crash.html: Copied from LayoutTests/fast/canvas/webgl/bug-31889.html.
              * fast/canvas/webgl/bug-31889-expected.txt: Removed.
              * fast/canvas/webgl/bug-31889.html: Removed.
              * fast/canvas/webgl/bug-32364-expected.txt: Removed.
              * fast/canvas/webgl/bug-32364.html: Removed.
              * fast/canvas/webgl/bug-32456-expected.txt: Removed.
              * fast/canvas/webgl/bug-32456.html: Removed.
              * fast/canvas/webgl/bug-32692-expected.txt: Removed.
              * fast/canvas/webgl/bug-32692.html: Removed.
              * fast/canvas/webgl/bug-32888-expected.txt: Removed.
              * fast/canvas/webgl/bug-32888.html: Removed.
              * fast/canvas/webgl/index-validation-verifies-too-many-indices-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32692-expected.txt.
              * fast/canvas/webgl/index-validation-verifies-too-many-indices.html: Copied from LayoutTests/fast/canvas/webgl/bug-32692.html.
              * fast/canvas/webgl/tex-image-and-uniform-binding-bugs-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32364-expected.txt.
              * fast/canvas/webgl/tex-image-and-uniform-binding-bugs.html: Copied from LayoutTests/fast/canvas/webgl/bug-32364.html.
              * fast/canvas/webgl/texture-transparent-pixels-initialized-expected.txt: Copied from LayoutTests/fast/canvas/webgl/bug-32888-expected.txt.
              * fast/canvas/webgl/texture-transparent-pixels-initialized.html: Copied from LayoutTests/fast/canvas/webgl/bug-32888.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4da4ca77
    • ajwong@chromium.org's avatar
      Unreviewed, build fix. · 07d5c182
      ajwong@chromium.org authored
      Updating chromium test expectations to keep pace with regressions and
      baselines.
      
      * platform/chromium-linux/svg/custom/text-rotated-gradient-expected.checksum:
      * platform/chromium-linux/svg/custom/text-rotated-gradient-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d5c182
    • mjs@apple.com's avatar
      2010-07-13 Maciej Stachowiak <mjs@apple.com> · b66e1951
      mjs@apple.com authored
              Reviewed by Anders Carlsson.
      
              Skip various layout tests for WebKit2 due to missing WK or DRT features
              https://bugs.webkit.org/show_bug.cgi?id=42198
      
              * platform/mac-wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b66e1951
    • barraclough@apple.com's avatar
      Bug 42182 - Change how numeric compare functions are detected · b467c4c6
      barraclough@apple.com authored
      Reviewed by Oliver Hunt.
      
      JavaScriptCore: 
      
      There are three problems with the current mechanism:
        * It requires that a function executable be bytecode compiled without
          being JIT generated (in order to copy the bytecode from the numeric
          compare function).  This is a problem since we have an invariant when
          running with the JIT that functions are never bytecode compiled without
          also being JIT generated (after checking the codeblock we assume the
          function has JIT code).  To help maintain this invariant 
        * This implementation will prevent us from experimenting with alternate
          compilation paths which do not compile via bytecode.
        * It doesn't work.  Functions passing more than two arguments will match
          if they are comparing their last two arguments, not the first two.
          Generally the mapping back from bytecode to semantics may be more
          complex then initially expected.
      
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::generate):
      (JSC::BytecodeGenerator::setIsNumericCompareFunction):
      (JSC::BytecodeGenerator::argumentNumberFor):
      * bytecompiler/BytecodeGenerator.h:
      * bytecompiler/NodesCodegen.cpp:
      (JSC::BlockNode::singleStatement):
      (JSC::FunctionBodyNode::emitBytecode):
      * parser/Nodes.h:
      (JSC::ExpressionNode::isSubtract):
      (JSC::BinaryOpNode::lhs):
      (JSC::BinaryOpNode::rhs):
      (JSC::SubNode::isSubtract):
      (JSC::ReturnNode::value):
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      * runtime/JSGlobalData.h:
      
      LayoutTests: 
      
      Test case.
      
      * fast/js/array-sort-numericCompare-expected.txt: Added.
      * fast/js/array-sort-numericCompare.html: Added.
      * fast/js/script-tests/array-sort-numericCompare.js: Added.
      (doSort):
      (dontSort):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b467c4c6
    • aa@chromium.org's avatar
      2010-07-13 Aaron Boodman <aa@chromium.org> · 968aabd4
      aa@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Don't reset per-document user style caches when user styles are updated in
              Chromium.
      
              https://bugs.webkit.org/show_bug.cgi?id=42003
      
              * page/PageGroup.cpp:
              (WebCore::PageGroup::addUserStyleSheetToWorld):
              (WebCore::PageGroup::removeUserStyleSheetFromWorld):
              (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
              (WebCore::PageGroup::removeAllUserContent):
              (WebCore::PageGroup::resetUserStyleCacheInAllFrames):
              * page/PageGroup.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      968aabd4
    • ajwong@chromium.org's avatar
      Unreviewed, build fix. · f88c1d42
      ajwong@chromium.org authored
      [chromium] The comparision between signed/unsigned breaks the chromium
      mac build.
      
      * src/AutoFillPopupMenuClient.cpp:
      (WebKit::AutoFillPopupMenuClient::getSuggestion):
      (WebKit::AutoFillPopupMenuClient::getLabel):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f88c1d42
    • commit-queue@webkit.org's avatar
      2010-07-13 Rafael Antognolli <antognolli@profusion.mobi> · a774f0ef
      commit-queue@webkit.org authored
              Reviewed by Antonio Gomes.
      
              This commit implements an API for configuring a path to the cookie
              file in the Mozilla "cookies.txt" format, and functions to deal with it
              in a more EFL like API.
      
              [EFL] Add API for dealing with cookies in EFL port.
              https://bugs.webkit.org/show_bug.cgi?id=41770
      
              * CMakeListsEfl.txt:
              * efl/ewk/EWebKit.h:
              * efl/ewk/ewk_cookies.cpp: Added.
              (ewk_cookies_file_set): Set a path to the file storing cookies.
              (ewk_cookies_clear): Clear all the cookies from the current cookie jar.
              (ewk_cookies_get_all): Get all the cookies from the current cookie jar.
              (ewk_cookies_cookie_del): Delete a specific cookie from the cookie jar.
              (ewk_cookies_cookie_free): Free memory used by a cookie.
              (ewk_cookies_policy_set): Set which acceptance policy will be used.
              (ewk_cookies_policy_get): Get current acceptance policy being used.
              * efl/ewk/ewk_cookies.h: Added.
              (_Ewk_Cookie::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a774f0ef
    • sullivan@apple.com's avatar
      Written by Simon Fraser, reviewed by me. · 6c1a2a93
      sullivan@apple.com authored
      Cleaner fix for previous check-in.
      
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      Use std::max<int> for int-casting brevity.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c1a2a93
    • eric.carlson@apple.com's avatar
      2010-07-13 Eric Carlson <eric.carlson@apple.com> · 7c8489a9
      eric.carlson@apple.com authored
              Reviewed by Dan Bernstein.
      
              On Leopard, media element can't handle audio/mp4 MIME type in source tag
              https://bugs.webkit.org/show_bug.cgi?id=29326
      
              Test: media/media-can-play-mpeg-audio.html
      
              * platform/MIMETypeRegistry.cpp:
              (WebCore::TypeExtensionPair::): Add "audio/mp4", "m4a" to mappings table.
      
      2010-07-13  Eric Carlson  <eric.carlson@apple.com>
      
              Reviewed by Dan Bernstein.
      
              On Leopard, media element can't handle audio/mp4 MIME type in source tag
              https://bugs.webkit.org/show_bug.cgi?id=29326
              
              Rename media-can-play-mp3 to media-can-play-mpeg-audio and add "audio/mp4" and "audio/aac" tests.
      
              * media/media-can-play-mp3-expected.txt: Removed.
              * media/media-can-play-mp3.html: Removed.
              * media/media-can-play-mpeg-audio-expected.txt: Copied from LayoutTests/media/media-can-play-mp3-expected.txt.
              * media/media-can-play-mpeg-audio.html: Copied from LayoutTests/media/media-can-play-mp3.html.
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c8489a9
    • sullivan@apple.com's avatar
      Fixed signed/unsigned problem that led to bogus contents in the array · 41d84300
      sullivan@apple.com authored
      returned by WKBackForwardListCopyBackListWithLimit().
      
      Reviewed by Sam Weinig.
      
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      Cast m_current and limit to signed values in std::max call.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41d84300
    • oliver@apple.com's avatar
      2010-07-12 Oliver Hunt <oliver@apple.com> · 7709952d
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              REGRESSION: Crash at JSC::JIT::privateCompile(JSC::MacroAssemblerCodePtr*)
              https://bugs.webkit.org/show_bug.cgi?id=41763
      
              There are two parts to this patch, the first is to fix the actual
              problem.  When calling copyStringWithoutBOMs on a string we know
              to contain BOMs we return a value indicating that there are no
              BOMs.
      
              The second part of this fix is simply to harden the path that
              led to a crash when parsing failed.
      
              * jit/JITOpcodes.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              * jit/JITOpcodes32_64.cpp:
              (JSC::JIT::privateCompileCTIMachineTrampolines):
              * jit/JITStubs.cpp:
              (JSC::DEFINE_STUB_FUNCTION):
                 Harden compilation stubs against parser failure.
              * parser/Lexer.cpp:
              (JSC::Lexer::sourceCode):
                 Add assertions to ensure that subranges into a source provider
                 are always actually braces.  Hopefully this should catch similar
                 failures in future.  These assertions fire on existing tests
                 without this fix.
              * runtime/Executable.h:
              (JSC::FunctionExecutable::tryJitCodeForCall):
              (JSC::FunctionExecutable::tryJitCodeForConstruct):
              * wtf/text/StringImpl.h:
              (WebCore::StringImpl::copyStringWithoutBOMs):
                 Make copyStringWithBOMs do the right thing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7709952d
    • commit-queue@webkit.org's avatar
      2010-07-13 Scott Violet <sky@chromium.org> · 1ca52c49
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              [Chromium] Makes pressing tab accept the currently selected item in a popup.
              https://bugs.webkit.org/show_bug.cgi?id=42172
      
              * WebCore/platform/chromium/PopupMenuChromium.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ca52c49
    • wsiegrist@apple.com's avatar
      2010-07-13 William Siegrist <wsiegrist@apple.com> · 2f8b999b
      wsiegrist@apple.com authored
      Add Test Results link to buildbot master home page.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f8b999b
    • robert@webkit.org's avatar
      2010-07-13 Robert Hogan <robert@webkit.org> · 28b3fb97
      robert@webkit.org authored
              [Gtk] Skip http/tests/uppercase-mime-type.html on Gtk
      
              Unreviewed.
      
              The test now requires dumpResourceResponseMIMETypes(), which Gtk
              does not yet support.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28b3fb97
    • commit-queue@webkit.org's avatar
      2010-07-13 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> · 07fa9ad7
      commit-queue@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Introduce QScriptValueIterator.
      
              The QScriptValueIterator class permits to iterate over a QScriptValue's properties.
      
              [Qt] QtScript should provide an API for enumerating a JS object's properties
              https://bugs.webkit.org/show_bug.cgi?id=41680
      
              * api/QtScript.pro:
              * api/qscriptvalueiterator.cpp: Added.
              (QScriptValueIterator::QScriptValueIterator):
              (QScriptValueIterator::~QScriptValueIterator):
              (QScriptValueIterator::hasNext):
              (QScriptValueIterator::next):
              (QScriptValueIterator::hasPrevious):
              (QScriptValueIterator::previous):
              (QScriptValueIterator::toFront):
              (QScriptValueIterator::toBack):
              (QScriptValueIterator::name):
              (QScriptValueIterator::scriptName):
              (QScriptValueIterator::value):
              (QScriptValueIterator::setValue):
              (QScriptValueIterator::remove):
              (QScriptValueIterator::flags):
              (QScriptValueIterator::operator=):
              * api/qscriptvalueiterator.h: Added.
              * api/qscriptvalueiterator_p.h: Added.
              (QScriptValueIteratorPrivate::QScriptValueIteratorPrivate):
              (QScriptValueIteratorPrivate::~QScriptValueIteratorPrivate):
              (QScriptValueIteratorPrivate::hasNext):
              (QScriptValueIteratorPrivate::next):
              (QScriptValueIteratorPrivate::hasPrevious):
              (QScriptValueIteratorPrivate::previous):
              (QScriptValueIteratorPrivate::name):
              (QScriptValueIteratorPrivate::scriptName):
              (QScriptValueIteratorPrivate::value):
              (QScriptValueIteratorPrivate::setValue):
              (QScriptValueIteratorPrivate::remove):
              (QScriptValueIteratorPrivate::toFront):
              (QScriptValueIteratorPrivate::toBack):
              (QScriptValueIteratorPrivate::flags):
              (QScriptValueIteratorPrivate::isValid):
              (QScriptValueIteratorPrivate::engine):
              * tests/qscriptvalueiterator/qscriptvalueiterator.pro: Added.
              * tests/qscriptvalueiterator/tst_qscriptvalueiterator.cpp: Added.
              (tst_QScriptValueIterator::tst_QScriptValueIterator):
              (tst_QScriptValueIterator::~tst_QScriptValueIterator):
              (tst_QScriptValueIterator::iterateForward_data):
              (tst_QScriptValueIterator::iterateForward):
              (tst_QScriptValueIterator::iterateBackward_data):
              (tst_QScriptValueIterator::iterateBackward):
              (tst_QScriptValueIterator::iterateArray_data):
              (tst_QScriptValueIterator::iterateArray):
              (tst_QScriptValueIterator::iterateBackAndForth):
              (tst_QScriptValueIterator::setValue):
              (tst_QScriptValueIterator::remove):
              (tst_QScriptValueIterator::removeMixed):
              (tst_QScriptValueIterator::removeUndeletable):
              (tst_QScriptValueIterator::iterateString):
              (tst_QScriptValueIterator::assignObjectToIterator):
              * tests/tests.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07fa9ad7
    • tonyg@chromium.org's avatar
      ChangeLog · 46763431
      tonyg@chromium.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46763431
    • tonyg@chromium.org's avatar
      2010-07-13 Martin Robinson <mrobinson@igalia.com> · a785f9c1
      tonyg@chromium.org authored
              Unreviewed.
      
              Fix two baselines from my previous commit.
      
              * platform/gtk/svg/custom/relative-sized-inner-svg-expected.txt:
              * platform/gtk/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.txt:
      2010-07-13  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Implement performance.timing.fetchStart
              https://bugs.webkit.org/show_bug.cgi?id=41816
      
              See: http://dev.w3.org/2006/webapi/WebTiming/#nt-fetch-start
      
              * loader/MainResourceLoader.cpp:
              (WebCore::MainResourceLoader::willSendRequest): Record the fetchStart time for each request for the main resource. This means it is called for each server redirect, overwritting the previous value. In https://bugs.webkit.org/show_bug.cgi?id=42018, this will be modified such that if a previous value exists, it is stored as the redirect time.
              * loader/FrameLoaderTypes.h:
              (WebCore::FrameLoadTimeline::FrameLoadTimeline):
              * page/Timing.cpp:
              (WebCore::Timing::fetchStart):
              * page/Timing.h:
              * page/Timing.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a785f9c1
    • commit-queue@webkit.org's avatar
      2010-07-13 Satish Sampath <satish@chromium.org> · a29e92fe
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Speech input plumbing in webcore
              https://bugs.webkit.org/show_bug.cgi?id=41518
      
              Adds the following:
              - a SpeechInput class to be used by the speech enabled HTML elements
              - a SpeechInputListener interface to be implemented by the speech enabled HTML elements
              - a SpeechInputClient interface (defined in WebCore, implemented by WebKit) for WebCore to call into WebKit.
                This is available as a member of WebCore::Page, set by the platforms which support speech input.
              - a SpeechInputClientListener interface for WebCore to receive events from WebKit
      
              No new tests, the relevant LayoutTestController bindings will be added in a subsequent patch.
      
              * Android.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * page/Page.cpp:
              (WebCore::Page::Page):
              * page/Page.h: Added SpeechInputClient member variable and associated methods.
              (WebCore::Page::setSpeechInputClient):
              (WebCore::Page::speechInputClient):
              * page/SpeechInput.cpp: Added new class to provide speech API services to HTML elements.
              (WebCore::SpeechInput::SpeechInput):
              (WebCore::SpeechInput::recordingComplete):
              (WebCore::SpeechInput::setRecognitionResult):
              (WebCore::SpeechInput::startRecognition):
              * page/SpeechInput.h: Added.
              (WebCore::SpeechInput::~SpeechInput):
              (WebCore::SpeechInput::client):
              * page/SpeechInputListener.h: Added.
              (WebCore::SpeechInputListener::~SpeechInputListener):
              * page/SpeechInputClient.h: Added new interface implemented by WebKit to bubble up speech API requests to the embedder.
              (WebCore::SpeechInputClient::~SpeechInputClient):
              * page/SpeechInputClientListener.h: Added.
              (WebCore::SpeechInputClientListener::~SpeechInputClientListener):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a29e92fe
    • robert@webkit.org's avatar
      2010-07-13 Richard Moore <rich@kde.org>, Robert Hogan <robert@webkit.org> · a700582f
      robert@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] MIME handling in qtwebkit network layer case-sensitivity
      
              https://bugs.webkit.org/show_bug.cgi?id=28654
      
              Modify existing test uppercase-mime-type.html to test for the
              lower-casing explicitly.
      
              * http/tests/mime/uppercase-mime-type-expected.txt:
              * http/tests/mime/uppercase-mime-type.html:
      2010-07-13  Richard Moore <rich@kde.org>, Robert Hogan  <robert@webkit.org>
      
              Reviewed by Simon Hausmann.
      
              [Qt] MIME handling in qtwebkit network layer case-sensitivity
      
              https://bugs.webkit.org/show_bug.cgi?id=28654
      
              Like other platforms, Qt needs to convert MIME types to lower case
              so they will be handled by WebCore.
      
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a700582f
    • loki@webkit.org's avatar
      Fix the constant encoding in data transfer instructions on ARM · e5c430ef
      loki@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=42166
      
      Reviewed by Gavin Barraclough.
      
      The getImm function is designed to produce modified immediate constant
      for data processing instructions. It should not be used to encode
      any constant for data transfer. In the current situation there is no
      way to use any immediate constant for data transfer. So, the moveImm
      function is the desired method to pass the offset value to the data
      transfer instructions.
      
      Reported by Jacob Bramley.
      
      * assembler/ARMAssembler.cpp:
      (JSC::ARMAssembler::dataTransfer32):
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::call32):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5c430ef
    • sfalken@apple.com's avatar
      2010-07-13 Steve Falkenburg <sfalken@apple.com> · 24917c86
      sfalken@apple.com authored
              Reviewed by Ada Chan.
      
              Fix missing resources causing layout test failures
              https://bugs.webkit.org/show_bug.cgi?id=42179
              
              Quick fix to get the layout tests going again.
              I'll work on getting resource.h from WebKit into a cross-project
              propagated header after this lands.
      
              * win/WebKit2.rc:
              * win/resource.h: Copied from WebKit/win/WebKit.vcproj/resource.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24917c86
    • jamesr@google.com's avatar
      2010-07-13 James Robinson <jamesr@chromium.org> · ba1a3272
      jamesr@google.com authored
              Reviewed by Simon Fraser.
      
              REGRESSION(55056) debug builds ASSERT falsely on pages with animations
              https://bugs.webkit.org/show_bug.cgi?id=42175
      
              Revision 55065 added some repaint box precomputation and some debug ASSERT()ions
              to ensure the precomputed values were valid.  However, if animations are enabled and
              not hardware accelerated, the repaint box dimensions become time-dependent and the
              ASSERT()s can trigger.  This can make it impossible to interactively debug pages
              like google maps.
      
              https://bugs.webkit.org/show_bug.cgi?id=37048 is another example of an assertion
              failing due to time dependent animation values.
      
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba1a3272
    • alex@webkit.org's avatar
      2010-07-13 Alejandro G. Castro <alex@igalia.com> · 9ea289ec
      alex@webkit.org authored
              Reviewed by Gustavo Noronha.
      
              This file is generated, we do not need to upload it to the
              repository.
      
              * webkit.pot: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ea289ec
    • zmo@google.com's avatar
      2010-07-10 Zhenyao Mo <zmo@google.com> · 2a21bb3a
      zmo@google.com authored
              Reviewed by Darin Fisher.
      
              Implement bufferData and bufferSubData with ArrayBuffer as input
              https://bugs.webkit.org/show_bug.cgi?id=41884
      
              * src/GraphicsContext3D.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
              (WebCore::GraphicsContext3DInternal::bufferData):
              (WebCore::GraphicsContext3DInternal::bufferSubData):
      2010-07-10  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Fisher.
      
              Implement bufferData and bufferSubData with ArrayBuffer as input
              https://bugs.webkit.org/show_bug.cgi?id=41884
      
              Test: fast/canvas/webgl/buffer-data-array-buffer.html
      
              * html/canvas/WebGLBuffer.cpp: Implement associateBufferData & associateBufferSubData with ArrayBuffer as input.
              (WebCore::WebGLBuffer::associateBufferData):
              (WebCore::WebGLBuffer::associateBufferSubData):
              * html/canvas/WebGLBuffer.h: Ditto.
              * html/canvas/WebGLRenderingContext.cpp: Implement bufferData and bufferSubData with ArrayBuffer as input.
              (WebCore::WebGLRenderingContext::bufferData):
              (WebCore::WebGLRenderingContext::bufferSubData):
              * html/canvas/WebGLRenderingContext.h: Ditto.
              * html/canvas/WebGLRenderingContext.idl: Ditto.
              * platform/graphics/GraphicsContext3D.h: Ditto.
              * platform/graphics/mac/GraphicsContext3DMac.mm: Ditto.
              (WebCore::GraphicsContext3D::bufferData):
              (WebCore::GraphicsContext3D::bufferSubData):
      2010-07-10  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Darin Fisher.
      
              Implement bufferData and bufferSubData with ArrayBuffer as input
              https://bugs.webkit.org/show_bug.cgi?id=41884
      
              * fast/canvas/webgl/buffer-data-array-buffer-expected.txt: Added.
              * fast/canvas/webgl/buffer-data-array-buffer.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a21bb3a