1. 04 Mar, 2010 19 commits
    • eric@webkit.org's avatar
      2010-03-04 Fridrich Strba <fridrich.strba@bluewin.ch> · 35236ae9
      eric@webkit.org authored
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=35726
              Remove orphaned #ifdef WTF_USE_GLIB_ICU_UNICODE_HYBRID
      
              Removing orphaned #if USE.
      
              * GNUmakefile.am:
      2010-03-04  Fridrich Strba  <fridrich.strba@bluewin.ch>
      
              Reviewed by Holger Freyther.
      
              https://bugs.webkit.org/show_bug.cgi?id=35726
              Remove orphaned #ifdef WTF_USE_GLIB_ICU_UNICODE_HYBRID
      
              Removing orphaned #if USE.
      
              * platform/ThreadGlobalData.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35236ae9
    • jorlow@chromium.org's avatar
      Trottle sync requests sent to the LocalStorage background thread · e6597a77
      jorlow@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=34943
      
      Reviewed by Darin Fisher.
      
      Currently, once a second LocalStorage takes all keys/values which have
      been changed and sends them to a background thread to sync.  The problem
      is that this background thread can get overwhelmed and stop being
      responsive.  This means that if any other page tries to start using
      LocalStorage (and thus initiates the initial import) that'll block on
      all the previous syncs completing.
      
      To mitigate this, I'm adding code so that we never schedule another
      sync task when another is still running.  In order to keep the sync
      tasks from growing exponentially when they do take longer than the
      storage sync interval, I've also added a basic rate limiter.  No effort
      is made to ensure fairness/ordering of what gets synced nor is there
      any way for this rate to be changed because most normal uses of
      LocalStorage really shouldn't be hitting these types of limits anyway.
      
      The only behavioral change that's observible in JavaScript is time based
      and thus it's not practical to make new tests that aren't racy.  The
      existing layout tests cover LocalStorage pretty well, though.
      
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::StorageAreaSync):
      (WebCore::StorageAreaSync::scheduleFinalSync):
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performSync):
      * storage/StorageAreaSync.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6597a77
    • pfeldman@chromium.org's avatar
      2010-03-04 Andrey Kosyakov <caseq@chromium.org> · 3adc7312
      pfeldman@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Added support for worker instrumentation in inspector
              (display list of active workers, allow debugging of workers
              by injecting fake JS implementation)
      
              https://bugs.webkit.org/show_bug.cgi?id=35568
      
              * English.lproj/localizedStrings.js:
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::createInjectedScript):
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::createInjectedScript):
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * dom/Document.cpp:
              (WebCore::Document::inspectorController):
              * dom/Document.h:
              * dom/ScriptExecutionContext.h:
              (WebCore::ScriptExecutionContext::inspectorController):
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::InjectedScriptHost):
              (WebCore::InjectedScriptHost::injectScript):
              (WebCore::InjectedScriptHost::nextWorkerId):
              (WebCore::InjectedScriptHost::didCreateWorker):
              (WebCore::InjectedScriptHost::willDestroyWorker):
              * inspector/InjectedScriptHost.h:
              * inspector/InjectedScriptHost.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::populateScriptObjects):
              (WebCore::InspectorController::resetScriptObjects):
              (WebCore::InspectorController::didCommitLoad):
              (WebCore::InspectorController::didCreateWorker):
              (WebCore::InspectorController::willDestroyWorker):
              * inspector/InspectorController.h:
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::didCreateWorker):
              (WebCore::InspectorFrontend::willDestroyWorker):
              * inspector/InspectorFrontend.h:
              * inspector/InspectorWorkerResource.h: Added.
              (WebCore::InspectorWorkerResource::create):
              (WebCore::InspectorWorkerResource::id):
              (WebCore::InspectorWorkerResource::url):
              (WebCore::InspectorWorkerResource::isSharedWorker):
              (WebCore::InspectorWorkerResource::InspectorWorkerResource):
              * inspector/front-end/Checkbox.js: Added.
              (WebInspector.Checkbox.callbackWrapper):
              (WebInspector.Checkbox):
              (WebInspector.Checkbox.prototype.checked):
              * inspector/front-end/InjectedFakeWorker.js:
              (InjectedFakeWorker.FakeWorker):
              (InjectedFakeWorker.FakeWorker.prototype.terminate):
              (InjectedFakeWorker.FakeWorker.prototype._handleException):
              (InjectedFakeWorker.FakeWorker.prototype._importScripts):
              (InjectedFakeWorker.FakeWorker.prototype._loadScript):
              (InjectedFakeWorker.FakeWorker.prototype._expandURLAndCheckOrigin):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel):
              (WebInspector.ScriptsPanel.prototype.debuggerWasEnabled):
              (WebInspector.ScriptsPanel.prototype.debuggerWasDisabled):
              (WebInspector.ScriptsPanel.prototype.reset):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/WorkersSidebarPane.js: Added.
              (WebInspector.WorkersSidebarPane):
              (WebInspector.WorkersSidebarPane.prototype.addWorker):
              (WebInspector.WorkersSidebarPane.prototype.removeWorker):
              (WebInspector.WorkersSidebarPane.prototype.setInstrumentation):
              (WebInspector.WorkersSidebarPane.prototype.reset):
              (WebInspector.WorkersSidebarPane.prototype._onTriggerInstrument):
              (WebInspector.Worker):
              (WebInspector.didCreateWorker):
              (WebInspector.willDestroyWorker):
              * inspector/front-end/inspector.css:
              * inspector/front-end/inspector.html:
              * workers/AbstractWorker.cpp:
              (WebCore::AbstractWorker::AbstractWorker):
              (WebCore::AbstractWorker::~AbstractWorker):
              (WebCore::AbstractWorker::onDestroyWorker):
              (WebCore::AbstractWorker::contextDestroyed):
              * workers/AbstractWorker.h:
              (WebCore::AbstractWorker::id):
              * workers/SharedWorker.cpp:
              (WebCore::SharedWorker::SharedWorker):
              * workers/Worker.cpp:
              (WebCore::Worker::Worker):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3adc7312
    • hamaji@chromium.org's avatar
      2010-03-04 Shinichiro Hamaji <hamaji@chromium.org> · 6044a6e5
      hamaji@chromium.org authored
              Unreviewed. Remove a non-ASCII character introduced in the following bug.
      
              put_by_id does will incorrectly cache writes where a specific value exists, where at the point of caching the same value is being written.
              https://bugs.webkit.org/show_bug.cgi?id=35537
      
              * runtime/JSObject.h:
              (JSC::JSObject::putDirectInternal):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6044a6e5
    • jocelyn.turcotte@nokia.com's avatar
      [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic. · 28faeac4
      jocelyn.turcotte@nokia.com authored
      Reviewed by Tor Arne Vestbø.
      
      This also allows shadow builds relying only on qmake to work properly.
      
      .:
      
      * WebKit.pri:
      
      JavaScriptCore:
      
      * jsc.pro:
      * qt/api/QtScript.pro:
      * qt/tests/qscriptengine/qscriptengine.pro:
      * qt/tests/qscriptvalue/qscriptvalue.pro:
      * qt/tests/tests.pri:
      
      WebCore:
      
      * WebCore.pro:
      
      WebKit\qt:
      
      * tests/benchmarks/loading/loading.pro:
      * tests/benchmarks/painting/painting.pro:
      * tests/hybridPixmap/hybridPixmap.pro:
      * tests/qgraphicswebview/qgraphicswebview.pro:
      * tests/qwebelement/qwebelement.pro:
      * tests/qwebframe/qwebframe.pro:
      * tests/qwebhistory/qwebhistory.pro:
      * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
      * tests/qwebinspector/qwebinspector.pro:
      * tests/qwebpage/qwebpage.pro:
      * tests/qwebplugindatabase/qwebplugindatabase.pro:
      
      WebKitTools:
      
      * DumpRenderTree/qt/DumpRenderTree.pro:
      * DumpRenderTree/qt/ImageDiff.pro:
      * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      * QtLauncher/QtLauncher.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28faeac4
    • ossy@webkit.org's avatar
      Enable to use built-product-archive on Qt platform. · cc0e0691
      ossy@webkit.org authored
      Patch by Gabor Rapcsanyi <rgabor@inf.u-szeged.hu> on 2010-03-04
      Reviewed by Kenneth Rohde Christiansen.
      
      * BuildSlaveSupport/built-product-archive:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc0e0691
    • zecke@webkit.org's avatar
      [Qt] Avoid calling QFont::detach too often from FontQt · 8f71f50f
      zecke@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35569
      
      The letter- and wordspacing is inside the WebCore::Font class,
      our QFont is located in the WebCore::FontPlatformData. Everytime
      we need to use a QFont inside WebCore::Font we are calling the
      font method which gets the QFont from the WebCore::FontPlatformData
      and is applying the letter- and wordspacing. Internally this
      will attempt to detach the QFont...
      
      Avoid calling setLetterSpacing and setWordSpacing on QFont if
      the WebCore::Font has the default applied.
      
      * platform/graphics/qt/FontQt.cpp:
      (WebCore::Font::font):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f71f50f
    • apavlov@chromium.org's avatar
      2010-03-04 Alexander Pavlov <apavlov@chromium.org> · f4941ad8
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Nothing happens on navigation to resource via a link if resource tracking is disabled
              https://bugs.webkit.org/show_bug.cgi?id=35574
      
              * English.lproj/localizedStrings.js:
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.canShowSourceLine):
              (WebInspector.ResourcesPanel.prototype._toggleResourceTracking):
              * inspector/front-end/inspector.js:
              (WebInspector.documentMouseOver):
              (WebInspector.documentMouseOut):
              (WebInspector.hideBadLinkPopupIfNecessary):
              (WebInspector.documentClick.followLink):
              (WebInspector.documentClick):
              (WebInspector.showBadLinkPopup.popupOverOut):
              (WebInspector.showBadLinkPopup):
              (WebInspector.addMainEventListeners):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4941ad8
    • abecsi@webkit.org's avatar
      Rubber-stamped by Kenneth Rohde Christiansen. · 30e899c9
      abecsi@webkit.org authored
         [Qt] DRT is failing on new test introduced in r55499
         Skipping it until fix.
         https://bugs.webkit.org/show_bug.cgi?id=35729
      
         * platform/qt/Skipped: fast/events/zoom-dblclick.html skipped
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30e899c9
    • vestbo@webkit.org's avatar
      [Qt] Fix generation of forwaring headers · a65308cc
      vestbo@webkit.org authored
      Reviewed by Kenneth Rohde Christiansen.
      
      The dependencies were a bit wrong, so we ended up not generating
      forwarding headers for qwebkitversion.h and qwebkitglobal.h
      
      The forwardning headers are now the only targets depending on the
      real headers. All other targets either depend on the generated
      class headers, or the forwarding headers.
      
      * Api/DerivedSources.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a65308cc
    • eric@webkit.org's avatar
      2010-03-04 Vangelis Kokkevis <vangelis@chromium.org> · 193c5f86
      eric@webkit.org authored
              Reviewed by Oliver Hunt.
      
              Update existing test to check that getUniformLocation() returns
              null if the uniform requested is not found.
              https://bugs.webkit.org/show_bug.cgi?id=34669
      
              * fast/canvas/webgl/script-tests/uniform-location.js:
              * fast/canvas/webgl/uniform-location-expected.txt:
      2010-03-04  Vangelis Kokkevis  <vangelis@chromium.org>
      
              Reviewed by Oliver Hunt.
      
              getUniformLocation() now returns null if uniform requested
              is not found.
              https://bugs.webkit.org/show_bug.cgi?id=34669
      
              Test:LayoutTests/fast/canvas/webgl/uniform-location.html
              (added missing test)
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getUniformLocation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      193c5f86
    • eric@webkit.org's avatar
      2010-03-04 John Abd-El-Malek <jam@chromium.org> · 61ccc4b3
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Fix incorrect setup of DateExtension.
              https://bugs.webkit.org/show_bug.cgi?id=35710
      
              * fast/dom/Window/resources/slow_unload_handler1.html:
      2010-03-04  John Abd-El-Malek  <jam@chromium.org>
      
              Reviewed by Adam Barth.
      
              Fix incorrect setup of DateExtension.
              https://bugs.webkit.org/show_bug.cgi?id=35710
      
              * bindings/v8/DateExtension.cpp:
              (WebCore::DateExtension::setAllowSleep):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61ccc4b3
    • darin@chromium.org's avatar
      2010-03-04 Darin Fisher <darin@chromium.org> · 61c1222e
      darin@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Fix failing DevToolsSanityTest.TestResourceContentLength
              https://bugs.webkit.org/show_bug.cgi?id=35725
      
              http://trac.webkit.org/changeset/55466 missed one more spot
              where contentLength needed to be renamed resourceSize.
      
              * src/js/Tests.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61c1222e
    • oliver@apple.com's avatar
      2010-03-04 Oliver Hunt <oliver@apple.com> · 9cc43765
      oliver@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=35603
              SVG incorrectly allows nested <use> elements in a <use> shadow tree
      
              Simplify the handling of invalid or missing use-targets by cloning them
              to empty <g> elements rather than just allowing the <use> element to
              be copied into the shadow tree, as this violates a number of assumptions
              in the shadow tree handling code.
      
              Tests: svg/custom/use-nested-disallowed-target.svg
                     svg/custom/use-nested-missing-target-added.svg
                     svg/custom/use-nested-missing-target-removed.svg
                     svg/custom/use-nested-missing-target.svg
                     svg/custom/use-nested-notarget.svg
      
              * svg/SVGUseElement.cpp:
              (WebCore::SVGUseElement::buildPendingResource):
              (WebCore::SVGUseElement::buildShadowAndInstanceTree):
              (WebCore::SVGUseElement::expandUseElementsInShadowTree):
      
      2010-03-04  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Maciej Stachowiak.
      
              https://bugs.webkit.org/show_bug.cgi?id=35603
              SVG incorrectly allows nested <use> elements in a <use> shadow tree
      
              Add test cases for various combinations of <use> and targets that aren't present.
      
              * platform/mac/svg/custom/use-empty-reference-expected.txt: Added.
              * svg/custom/use-nested-disallowed-target-expected.txt: Added.
              * svg/custom/use-nested-disallowed-target.svg: Added.
              * svg/custom/use-nested-missing-target-added-expected.txt: Added.
              * svg/custom/use-nested-missing-target-added.svg: Added.
              * svg/custom/use-nested-missing-target-expected.txt: Added.
              * svg/custom/use-nested-missing-target-removed-expected.txt: Added.
              * svg/custom/use-nested-missing-target-removed.svg: Added.
              * svg/custom/use-nested-missing-target.svg: Added.
              * svg/custom/use-nested-notarget-expected.txt: Added.
              * svg/custom/use-nested-notarget.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cc43765
    • eric@webkit.org's avatar
      2010-03-04 Leandro Pereira <leandro@profusion.mobi> · b25a5690
      eric@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              Move Cairo-related font code from platform/graphics/gtk to
              platform/graphics/cairo, so other ports may use them.
              http://webkit.org/b/35539
      
              * GNUmakefile.am:
              * platform/graphics/cairo/FontCacheCairo.cpp: Copied from WebCore/platform/graphics/gtk/FontCacheGtk.cpp.
              * platform/graphics/cairo/FontCustomPlatformData.cpp: Copied from WebCore/platform/graphics/gtk/FontCustomPlatformData.cpp.
              * platform/graphics/cairo/FontCustomPlatformData.h: Copied from WebCore/platform/graphics/gtk/FontCustomPlatformData.h.
              * platform/graphics/cairo/FontPlatformData.h: Copied from WebCore/platform/graphics/gtk/FontPlatformData.h.
              * platform/graphics/cairo/FontPlatformDataCairo.cpp: Copied from WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp.
              * platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp: Copied from WebCore/platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp.
              * platform/graphics/cairo/SimpleFontDataCairo.cpp: Copied from WebCore/platform/graphics/gtk/SimpleFontDataGtk.cpp.
              * platform/graphics/gtk/FontCacheGtk.cpp: Removed.
              * platform/graphics/gtk/FontCustomPlatformData.cpp: Removed.
              * platform/graphics/gtk/FontCustomPlatformData.h: Removed.
              * platform/graphics/gtk/FontPlatformData.h: Removed.
              * platform/graphics/gtk/FontPlatformDataGtk.cpp: Removed.
              * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: Removed.
              * platform/graphics/gtk/SimpleFontDataGtk.cpp: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b25a5690
    • eric@webkit.org's avatar
      2010-03-04 Evan Stade <estade@chromium.org> · 6c5bb944
      eric@webkit.org authored
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=35261
              [skia] crash when attempting to render certain SVGs with Skia
      
              This test passes if it doesn't crash.
      
              * platform/mac/Skipped: Skip the test on Mac, where it crashes.
              * svg/custom/tiling-regular-hexagonal-crash-expected.txt: Added.
              * svg/custom/tiling-regular-hexagonal-crash.svg: Added.
      2010-03-04  Evan Stade  <estade@chromium.org>
      
              Reviewed by David Levin.
      
              https://bugs.webkit.org/show_bug.cgi?id=35261
              [skia] crash when attempting to render certain SVGs
      
              This fixes the crash, but the SVG still doesn't render properly.
      
              Test: svg/custom/tiling-regular-hexagonal-crash.svg
      
              * platform/graphics/skia/ImageSkia.cpp:
              (WebCore::BitmapImageSingleFrameSkia::create): don't return 0 when
              the copy fails; instead return a blank bitmap. The caller doesn't
              check for 0 before dereferencing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c5bb944
    • tony@chromium.org's avatar
      2010-03-04 Tony Chang <tony@chromium.org> · 565f2315
      tony@chromium.org authored
              Reviewed by Darin Fisher.
      
              Initialize m_isMultipartPayload in other ResourceResponse ctor.
              In r55451 (bug 35628) I added an extra bool, but only initialized
              it in one constructor.
              https://bugs.webkit.org/show_bug.cgi?id=35719
      
              * platform/network/chromium/ResourceResponse.h:
              (WebCore::ResourceResponse::ResourceResponse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      565f2315
    • eric@webkit.org's avatar
      2010-03-03 Garret Kelly <gdk@chromium.org> · cffbc445
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Adding touch event type and point type. Tested against the try bots.
              https://bugs.webkit.org/show_bug.cgi?id=35691
      
              * public/WebInputEvent.h:
              (WebKit::WebInputEvent::):
              (WebKit::WebInputEvent::isTouchEventType):
              (WebKit::WebTouchEvent::WebTouchEvent):
              * public/WebTouchPoint.h: Added.
              (WebKit::WebTouchPoint::WebTouchPoint):
              (WebKit::WebTouchPoint::):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cffbc445
    • bweinstein@apple.com's avatar
      Touch WebKit.idl to force a rebuild of Interfaces · 4064aa2b
      bweinstein@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4064aa2b
  2. 03 Mar, 2010 21 commits
    • ukai@chromium.org's avatar
      2010-03-03 Yuta Kitamura <yutak@chromium.org> · d60141d7
      ukai@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              Add a new class that stores information about Web Socket handshake request.
      
              Instances of this class contain the necessary information to send a Web Socket
              handshake request. In the future, this class will provide request information
              to the Web Inspector.
      
              WebSocketHandshake needs to provide request information
              https://bugs.webkit.org/show_bug.cgi?id=34784
      
              No new tests, since the current tests will suffice (LayoutTests/websocket/*).
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * websockets/WebSocketChannel.cpp:
              * websockets/WebSocketHandshake.cpp:
              (WebCore::WebSocketHandshake::clientHandshakeMessage):
              (WebCore::WebSocketHandshake::clientHandshakeRequest):
              * websockets/WebSocketHandshake.h:
              * websockets/WebSocketHandshakeRequest.cpp: Added.
              (WebCore::WebSocketHandshakeRequest::WebSocketHandshakeRequest):
              (WebCore::WebSocketHandshakeRequest::~WebSocketHandshakeRequest):
              (WebCore::WebSocketHandshakeRequest::addExtraHeaderField):
              (WebCore::WebSocketHandshakeRequest::headerFields):
              (WebCore::WebSocketHandshakeRequest::host):
              * websockets/WebSocketHandshakeRequest.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d60141d7
    • eric@webkit.org's avatar
      2010-03-03 Laszlo Gombos <laszlo.1.gombos@nokia.com> · f0abe7b4
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Build fix after r55452.
      
              No new tests, this is a build fix.
      
              * page/Settings.cpp:
              (WebCore::Settings::setDatabasesEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0abe7b4
    • alice.liu@apple.com's avatar
      Add a way to get an iframe's content frame · b0b564f6
      alice.liu@apple.com authored
      Reviewed by Jon Honeycutt.
      
      * DOMCoreClasses.cpp:
      (DOMElement::createInstance):
      Added case for DOMHTMLIFrameElement
      * DOMHTMLClasses.cpp:
      Adding the few DOMHTMLIFrameElement functions definitions that have 
      distinct implementations (all others just call parent implementation)
      (DOMHTMLIFrameElement::QueryInterface):
      (DOMHTMLIFrameElement::contentFrame):
      * DOMHTMLClasses.h:
      Most of these function declarations have definitions that just call the parent implementation
      (DOMHTMLIFrameElement::DOMHTMLIFrameElement):
      (DOMHTMLIFrameElement::AddRef):
      (DOMHTMLIFrameElement::Release):
      (DOMHTMLIFrameElement::throwException):
      (DOMHTMLIFrameElement::callWebScriptMethod):
      (DOMHTMLIFrameElement::evaluateWebScript):
      (DOMHTMLIFrameElement::removeWebScriptKey):
      (DOMHTMLIFrameElement::stringRepresentation):
      (DOMHTMLIFrameElement::webScriptValueAtIndex):
      (DOMHTMLIFrameElement::setWebScriptValueAtIndex):
      (DOMHTMLIFrameElement::setException):
      (DOMHTMLIFrameElement::nodeName):
      (DOMHTMLIFrameElement::nodeValue):
      (DOMHTMLIFrameElement::setNodeValue):
      (DOMHTMLIFrameElement::nodeType):
      (DOMHTMLIFrameElement::parentNode):
      (DOMHTMLIFrameElement::childNodes):
      (DOMHTMLIFrameElement::firstChild):
      (DOMHTMLIFrameElement::lastChild):
      (DOMHTMLIFrameElement::previousSibling):
      (DOMHTMLIFrameElement::nextSibling):
      (DOMHTMLIFrameElement::attributes):
      (DOMHTMLIFrameElement::ownerDocument):
      (DOMHTMLIFrameElement::insertBefore):
      (DOMHTMLIFrameElement::replaceChild):
      (DOMHTMLIFrameElement::removeChild):
      (DOMHTMLIFrameElement::appendChild):
      (DOMHTMLIFrameElement::hasChildNodes):
      (DOMHTMLIFrameElement::cloneNode):
      (DOMHTMLIFrameElement::normalize):
      (DOMHTMLIFrameElement::isSupported):
      (DOMHTMLIFrameElement::namespaceURI):
      (DOMHTMLIFrameElement::prefix):
      (DOMHTMLIFrameElement::setPrefix):
      (DOMHTMLIFrameElement::localName):
      (DOMHTMLIFrameElement::hasAttributes):
      (DOMHTMLIFrameElement::isSameNode):
      (DOMHTMLIFrameElement::isEqualNode):
      (DOMHTMLIFrameElement::textContent):
      (DOMHTMLIFrameElement::setTextContent):
      (DOMHTMLIFrameElement::tagName):
      (DOMHTMLIFrameElement::getAttribute):
      (DOMHTMLIFrameElement::setAttribute):
      (DOMHTMLIFrameElement::removeAttribute):
      (DOMHTMLIFrameElement::getAttributeNode):
      (DOMHTMLIFrameElement::setAttributeNode):
      (DOMHTMLIFrameElement::removeAttributeNode):
      (DOMHTMLIFrameElement::getElementsByTagName):
      (DOMHTMLIFrameElement::getAttributeNS):
      (DOMHTMLIFrameElement::setAttributeNS):
      (DOMHTMLIFrameElement::removeAttributeNS):
      (DOMHTMLIFrameElement::getAttributeNodeNS):
      (DOMHTMLIFrameElement::setAttributeNodeNS):
      (DOMHTMLIFrameElement::getElementsByTagNameNS):
      (DOMHTMLIFrameElement::hasAttribute):
      (DOMHTMLIFrameElement::hasAttributeNS):
      (DOMHTMLIFrameElement::focus):
      (DOMHTMLIFrameElement::blur):
      (DOMHTMLIFrameElement::idName):
      (DOMHTMLIFrameElement::setIdName):
      (DOMHTMLIFrameElement::title):
      (DOMHTMLIFrameElement::setTitle):
      (DOMHTMLIFrameElement::lang):
      (DOMHTMLIFrameElement::setLang):
      (DOMHTMLIFrameElement::dir):
      (DOMHTMLIFrameElement::setDir):
      (DOMHTMLIFrameElement::className):
      (DOMHTMLIFrameElement::setClassName):
      (DOMHTMLIFrameElement::innerHTML):
      (DOMHTMLIFrameElement::setInnerHTML):
      (DOMHTMLIFrameElement::innerText):
      (DOMHTMLIFrameElement::setInnerText):
      * Interfaces/DOMHTML.idl:
      Added IDOMHTMLIFrameElement interface
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0b564f6
    • eric@webkit.org's avatar
      2010-03-03 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> · 91d07a69
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              QScriptValue::isObject fix.
      
              Fix broken internal state evaluation from JSValue to JSNative / JSObject.
              New function was introduced which should take care about promoting
              JSValue state inside QScriptValuePrivate. It should be used instead of a
              direct JSC C API call.
      
              The bug exposed a weakness in autotest suite, as the QScriptValuePrivate
              is based on state machine with lazy state evaluation, there is a possibility
              that serial sequencial calls to the same public const function could return
              different results. The patch fix the issue.
      
              [Qt] Sometimes QScriptValue::isObject returns an incorrect value
              https://bugs.webkit.org/show_bug.cgi?id=35387
      
              * qt/api/qscriptvalue_p.h:
              (QScriptValuePrivate::isBool):
              (QScriptValuePrivate::isNumber):
              (QScriptValuePrivate::isNull):
              (QScriptValuePrivate::isString):
              (QScriptValuePrivate::isUndefined):
              (QScriptValuePrivate::isError):
              (QScriptValuePrivate::isObject):
              (QScriptValuePrivate::isFunction):
              (QScriptValuePrivate::call):
              (QScriptValuePrivate::refineJSValue):
              * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp:
              (tst_QScriptValue::initScriptValues):
              (tst_QScriptValue::isValid_makeData):
              (tst_QScriptValue::isValid_test):
              (tst_QScriptValue::isBool_makeData):
              (tst_QScriptValue::isBool_test):
              (tst_QScriptValue::isBoolean_makeData):
              (tst_QScriptValue::isBoolean_test):
              (tst_QScriptValue::isNumber_makeData):
              (tst_QScriptValue::isNumber_test):
              (tst_QScriptValue::isFunction_test):
              (tst_QScriptValue::isNull_makeData):
              (tst_QScriptValue::isNull_test):
              (tst_QScriptValue::isString_makeData):
              (tst_QScriptValue::isString_test):
              (tst_QScriptValue::isUndefined_makeData):
              (tst_QScriptValue::isUndefined_test):
              (tst_QScriptValue::isObject_makeData):
              (tst_QScriptValue::isObject_test):
              (tst_QScriptValue::toString_makeData):
              (tst_QScriptValue::toString_test):
              (tst_QScriptValue::toNumber_makeData):
              (tst_QScriptValue::toNumber_test):
              (tst_QScriptValue::toBool_makeData):
              (tst_QScriptValue::toBool_test):
              (tst_QScriptValue::toBoolean_makeData):
              (tst_QScriptValue::toBoolean_test):
              (tst_QScriptValue::toInteger_makeData):
              (tst_QScriptValue::toInteger_test):
              (tst_QScriptValue::toInt32_makeData):
              (tst_QScriptValue::toInt32_test):
              (tst_QScriptValue::toUInt32_makeData):
              (tst_QScriptValue::toUInt32_test):
              (tst_QScriptValue::toUInt16_makeData):
              (tst_QScriptValue::toUInt16_test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91d07a69
    • eric@webkit.org's avatar
      2010-03-03 Diego Gonzalez <diego.gonzalez@openbossa.org> · 70b14116
      eric@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              Make keyIdentifierForQtKeyCode return the unicode backspace value on Qt PlatformKeyboardEvent
      
              LayoutTests:
                  fast/events/key-events-in-input-text.html
                  fast/events/special-key-events-in-input-text.html
      
              [Qt] Return the unicode backspace value in keyIdentifierForQtKeyCode on Qt PlatformKeyboardEvent
              https://bugs.webkit.org/show_bug.cgi?id=35694
      
              * platform/qt/Skipped:
      2010-03-03  Diego Gonzalez  <diego.gonzalez@openbossa.org>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              Make keyIdentifierForQtKeyCode return the unicode backspace value on Qt PlatformKeyboardEvent
      
              LayoutTests:
                  fast/events/key-events-in-input-text.html
                  fast/events/special-key-events-in-input-text.html
      
              [Qt] Return the unicode backspace value in keyIdentifierForQtKeyCode on Qt PlatformKeyboardEvent
              https://bugs.webkit.org/show_bug.cgi?id=35694
      
              * platform/qt/PlatformKeyboardEventQt.cpp:
              (WebCore::keyIdentifierForQtKeyCode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70b14116
    • eric@webkit.org's avatar
      2010-03-03 Chao-ying Fu <fu@mips.com> · 19100841
      eric@webkit.org authored
              Reviewed by Gavin Barraclough.
      
              MIPS JIT Supports
              https://bugs.webkit.org/show_bug.cgi?id=30144
      
              The following changes enable MIPS YARR and YARR_JIT.
      
              * assembler/AbstractMacroAssembler.h:
              (JSC::AbstractMacroAssembler::Imm32::Imm32):
              * assembler/MIPSAssembler.h: Added.
              (JSC::MIPSRegisters::):
              (JSC::MIPSAssembler::MIPSAssembler):
              (JSC::MIPSAssembler::):
              (JSC::MIPSAssembler::JmpSrc::JmpSrc):
              (JSC::MIPSAssembler::JmpDst::JmpDst):
              (JSC::MIPSAssembler::JmpDst::isUsed):
              (JSC::MIPSAssembler::JmpDst::used):
              (JSC::MIPSAssembler::emitInst):
              (JSC::MIPSAssembler::nop):
              (JSC::MIPSAssembler::loadDelayNop):
              (JSC::MIPSAssembler::copDelayNop):
              (JSC::MIPSAssembler::move):
              (JSC::MIPSAssembler::li):
              (JSC::MIPSAssembler::lui):
              (JSC::MIPSAssembler::addiu):
              (JSC::MIPSAssembler::addu):
              (JSC::MIPSAssembler::subu):
              (JSC::MIPSAssembler::mult):
              (JSC::MIPSAssembler::mfhi):
              (JSC::MIPSAssembler::mflo):
              (JSC::MIPSAssembler::mul):
              (JSC::MIPSAssembler::andInsn):
              (JSC::MIPSAssembler::andi):
              (JSC::MIPSAssembler::nor):
              (JSC::MIPSAssembler::orInsn):
              (JSC::MIPSAssembler::ori):
              (JSC::MIPSAssembler::xorInsn):
              (JSC::MIPSAssembler::xori):
              (JSC::MIPSAssembler::slt):
              (JSC::MIPSAssembler::sltu):
              (JSC::MIPSAssembler::sltiu):
              (JSC::MIPSAssembler::sll):
              (JSC::MIPSAssembler::sllv):
              (JSC::MIPSAssembler::sra):
              (JSC::MIPSAssembler::srav):
              (JSC::MIPSAssembler::lw):
              (JSC::MIPSAssembler::lwl):
              (JSC::MIPSAssembler::lwr):
              (JSC::MIPSAssembler::lhu):
              (JSC::MIPSAssembler::sw):
              (JSC::MIPSAssembler::jr):
              (JSC::MIPSAssembler::jalr):
              (JSC::MIPSAssembler::jal):
              (JSC::MIPSAssembler::bkpt):
              (JSC::MIPSAssembler::bgez):
              (JSC::MIPSAssembler::bltz):
              (JSC::MIPSAssembler::beq):
              (JSC::MIPSAssembler::bne):
              (JSC::MIPSAssembler::bc1t):
              (JSC::MIPSAssembler::bc1f):
              (JSC::MIPSAssembler::newJmpSrc):
              (JSC::MIPSAssembler::appendJump):
              (JSC::MIPSAssembler::addd):
              (JSC::MIPSAssembler::subd):
              (JSC::MIPSAssembler::muld):
              (JSC::MIPSAssembler::lwc1):
              (JSC::MIPSAssembler::ldc1):
              (JSC::MIPSAssembler::swc1):
              (JSC::MIPSAssembler::sdc1):
              (JSC::MIPSAssembler::mtc1):
              (JSC::MIPSAssembler::mfc1):
              (JSC::MIPSAssembler::truncwd):
              (JSC::MIPSAssembler::cvtdw):
              (JSC::MIPSAssembler::ceqd):
              (JSC::MIPSAssembler::cngtd):
              (JSC::MIPSAssembler::cnged):
              (JSC::MIPSAssembler::cltd):
              (JSC::MIPSAssembler::cled):
              (JSC::MIPSAssembler::cueqd):
              (JSC::MIPSAssembler::coled):
              (JSC::MIPSAssembler::coltd):
              (JSC::MIPSAssembler::culed):
              (JSC::MIPSAssembler::cultd):
              (JSC::MIPSAssembler::label):
              (JSC::MIPSAssembler::align):
              (JSC::MIPSAssembler::getRelocatedAddress):
              (JSC::MIPSAssembler::getDifferenceBetweenLabels):
              (JSC::MIPSAssembler::size):
              (JSC::MIPSAssembler::executableCopy):
              (JSC::MIPSAssembler::getCallReturnOffset):
              (JSC::MIPSAssembler::linkJump):
              (JSC::MIPSAssembler::linkCall):
              (JSC::MIPSAssembler::linkPointer):
              (JSC::MIPSAssembler::relinkJump):
              (JSC::MIPSAssembler::relinkCall):
              (JSC::MIPSAssembler::repatchInt32):
              (JSC::MIPSAssembler::repatchPointer):
              (JSC::MIPSAssembler::repatchLoadPtrToLEA):
              (JSC::MIPSAssembler::relocateJumps):
              (JSC::MIPSAssembler::linkWithOffset):
              (JSC::MIPSAssembler::linkCallInternal):
              * assembler/MacroAssembler.h:
              * assembler/MacroAssemblerMIPS.h: Added.
              (JSC::MacroAssemblerMIPS::MacroAssemblerMIPS):
              (JSC::MacroAssemblerMIPS::):
              (JSC::MacroAssemblerMIPS::add32):
              (JSC::MacroAssemblerMIPS::and32):
              (JSC::MacroAssemblerMIPS::lshift32):
              (JSC::MacroAssemblerMIPS::mul32):
              (JSC::MacroAssemblerMIPS::not32):
              (JSC::MacroAssemblerMIPS::or32):
              (JSC::MacroAssemblerMIPS::rshift32):
              (JSC::MacroAssemblerMIPS::sub32):
              (JSC::MacroAssemblerMIPS::xor32):
              (JSC::MacroAssemblerMIPS::load32):
              (JSC::MacroAssemblerMIPS::load32WithUnalignedHalfWords):
              (JSC::MacroAssemblerMIPS::load32WithAddressOffsetPatch):
              (JSC::MacroAssemblerMIPS::loadPtrWithPatchToLEA):
              (JSC::MacroAssemblerMIPS::loadPtrWithAddressOffsetPatch):
              (JSC::MacroAssemblerMIPS::load16):
              (JSC::MacroAssemblerMIPS::store32WithAddressOffsetPatch):
              (JSC::MacroAssemblerMIPS::store32):
              (JSC::MacroAssemblerMIPS::supportsFloatingPoint):
              (JSC::MacroAssemblerMIPS::supportsFloatingPointTruncate):
              (JSC::MacroAssemblerMIPS::pop):
              (JSC::MacroAssemblerMIPS::push):
              (JSC::MacroAssemblerMIPS::move):
              (JSC::MacroAssemblerMIPS::swap):
              (JSC::MacroAssemblerMIPS::signExtend32ToPtr):
              (JSC::MacroAssemblerMIPS::zeroExtend32ToPtr):
              (JSC::MacroAssemblerMIPS::branch32):
              (JSC::MacroAssemblerMIPS::branch32WithUnalignedHalfWords):
              (JSC::MacroAssemblerMIPS::branch16):
              (JSC::MacroAssemblerMIPS::branchTest32):
              (JSC::MacroAssemblerMIPS::jump):
              (JSC::MacroAssemblerMIPS::branchAdd32):
              (JSC::MacroAssemblerMIPS::branchMul32):
              (JSC::MacroAssemblerMIPS::branchSub32):
              (JSC::MacroAssemblerMIPS::breakpoint):
              (JSC::MacroAssemblerMIPS::nearCall):
              (JSC::MacroAssemblerMIPS::call):
              (JSC::MacroAssemblerMIPS::ret):
              (JSC::MacroAssemblerMIPS::set32):
              (JSC::MacroAssemblerMIPS::setTest32):
              (JSC::MacroAssemblerMIPS::moveWithPatch):
              (JSC::MacroAssemblerMIPS::branchPtrWithPatch):
              (JSC::MacroAssemblerMIPS::storePtrWithPatch):
              (JSC::MacroAssemblerMIPS::tailRecursiveCall):
              (JSC::MacroAssemblerMIPS::makeTailRecursiveCall):
              (JSC::MacroAssemblerMIPS::loadDouble):
              (JSC::MacroAssemblerMIPS::storeDouble):
              (JSC::MacroAssemblerMIPS::addDouble):
              (JSC::MacroAssemblerMIPS::subDouble):
              (JSC::MacroAssemblerMIPS::mulDouble):
              (JSC::MacroAssemblerMIPS::convertInt32ToDouble):
              (JSC::MacroAssemblerMIPS::insertRelaxationWords):
              (JSC::MacroAssemblerMIPS::branchTrue):
              (JSC::MacroAssemblerMIPS::branchFalse):
              (JSC::MacroAssemblerMIPS::branchEqual):
              (JSC::MacroAssemblerMIPS::branchNotEqual):
              (JSC::MacroAssemblerMIPS::branchDouble):
              (JSC::MacroAssemblerMIPS::branchTruncateDoubleToInt32):
              (JSC::MacroAssemblerMIPS::linkCall):
              (JSC::MacroAssemblerMIPS::repatchCall):
              * jit/ExecutableAllocator.h:
              (JSC::ExecutableAllocator::cacheFlush):
              * wtf/Platform.h:
              * yarr/RegexJIT.cpp:
              (JSC::Yarr::RegexGenerator::generateEnter):
              (JSC::Yarr::RegexGenerator::generateReturn):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19100841
    • eric@webkit.org's avatar
      2010-03-03 Chad Faragher <wyck@chromium.org> · 1d30efea
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Changed the double-click framework code to pass adjusted page
              coordinates for zoomed pages.  Added a new test to expose
              mistreatment of mouse click coordinates during a double-click.
      
              https://bugs.webkit.org/show_bug.cgi?id=35690
      
              * fast/events/zoom-dblclick-expected.txt: Added.
              * fast/events/zoom-dblclick.html: Added.
      2010-03-03  Chad Faragher  <wyck@chromium.org>
      
              Reviewed by Darin Adler.
              Changed the double-click framework code to pass adjusted page
              coordinates for zoomed pages.  Added a new test to expose
              mistreatment of mouse click coordinates during a double-click.
      
              https://bugs.webkit.org/show_bug.cgi?id=35690
      
              Test: fast/events/zoom-dblclick.html
      
              * dom/Node.cpp:
              (WebCore::Node::dispatchMouseEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d30efea
    • eric@webkit.org's avatar
      2010-03-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> · 9c148d3c
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Add a missing 'm_' to class variables names.
      
              [Qt] QtLauncher is not respecting class variable names
              https://bugs.webkit.org/show_bug.cgi?id=35542
      
              * QtLauncher/main.cpp:
              (LauncherWindow::LauncherWindow):
              (LauncherWindow::init):
              (LauncherWindow::sendTouchEvent):
              (LauncherWindow::eventFilter):
              (LauncherWindow::zoomIn):
              (LauncherWindow::zoomOut):
              (LauncherWindow::resetZoom):
              (LauncherWindow::setEditable):
              (LauncherWindow::setTouchMocking):
              (LauncherWindow::initializeView):
              (LauncherWindow::createChrome):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c148d3c
    • sfalken@apple.com's avatar
      Windows build fix. · b00c935e
      sfalken@apple.com authored
      * JavaScriptCore.vcproj/jsc/jsc.vcproj:
      * JavaScriptCore.vcproj/jsc/jscCommon.vsprops:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b00c935e
    • sfalken@apple.com's avatar
      Windows build fix. · 8e4acc98
      sfalken@apple.com authored
      * JavaScriptCore.vcproj/jsc/jsc.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e4acc98
    • levin@chromium.org's avatar
      No review, rolling out r55474. · ab8390da
      levin@chromium.org authored
      The patch broke fast/frames/sandboxed-iframe-storage.html
      
      Last one (I hope).
      
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab8390da
    • dumi@chromium.org's avatar
      Making database-lock-after-reload.html a bit more robust and · 49c07970
      dumi@chromium.org authored
      cleaning up some style issues.
      
      Reviewed by Dimitri Glazkov.
      
      * storage/database-lock-after-reload.html:
      * storage/resources/database-lock-after-reload-2.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49c07970
    • ap@apple.com's avatar
      Rubber-stamped by Mark Rowe. · 7c36f065
      ap@apple.com authored
              Exclude leaks in Java that build bot complains about.
      
              * Scripts/run-webkit-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c36f065
    • levin@chromium.org's avatar
      No review, rolling out r55474. · 9aac0415
      levin@chromium.org authored
      The patch broke fast/frames/sandboxed-iframe-storage.html
      
      Unfortunately, (the webkit-patch rollout and) I missed these in r55485.
      
      WebCore:
      
      * bindings/js/JSDatabaseCallback.cpp: Removed.
      * bindings/js/JSDatabaseCallback.h: Removed.
      * bindings/v8/custom/V8DatabaseCallback.cpp: Removed.
      * bindings/v8/custom/V8DatabaseCallback.h: Removed.
      * storage/DatabaseCallback.h: Removed.
      
      LayoutTests:
      
      * storage/open-database-creation-callback-expected.txt: Removed.
      * storage/open-database-creation-callback-isolated-world-expected.txt: Removed.
      * storage/open-database-creation-callback-isolated-world.html: Removed.
      * storage/open-database-creation-callback.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aac0415
    • dumi@chromium.org's avatar
      Fix a bug that could lead to a crash. Some parts of · 3187f511
      dumi@chromium.org authored
      SQLTransaction::checkAndHandleClosedDatabase() should only be run
      when that method is invoked on the DB thread.
      
      Reviewed by Dimitri Glazkov.
      
      We cannot test this fix with a test, because the crash happens
      only when all of the following conditions are met:
      1. A database is closing.
      2. A transaction on that database is in progress.
      3. The transaction is in a state where a statement/transaction
      success/error callback needs to be invoked (so there's a task for
      this transaction pending on the main thread).
      4. The DB thread finished processing all its tasks and called
      SQLTransactionCoordinator::shutdown() before the main thread go to
      that task.
      
      The closest thing we have to a test is running
      LayoutTests/storage/database-lock-after-reload.html 1000 times in
      a row. Without the patch, the probability of a crash happening in
      one of the runs is very high. With the patch, the test should
      reliably run 1000 times in a row without a single crash.
      
      https://bugs.webkit.org/show_bug.cgi?id=35624
      
      * storage/SQLTransaction.cpp:
      (WebCore::SQLTransaction::checkAndHandleClosedDatabase):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3187f511
    • darin@chromium.org's avatar
      2010-03-03 Darin Fisher <darin@chromium.org> · c273e671
      darin@chromium.org authored
              Reviewed by Mark Rowe.
      
              Page should not care about Chromium plug-in implementation details
              https://bugs.webkit.org/show_bug.cgi?id=35623
      
              * WebCore.gypi: Compile PluginViewNone.cpp
              * page/Page.cpp:
              (WebCore::Page::privateBrowsingStateChanged): Remove conditional
              compilation for PLATFORM(CHROMIUM).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c273e671
    • levin@chromium.org's avatar
      2010-03-03 David Levin <levin@chromium.org> · fb077e5f
      levin@chromium.org authored
              No review, rolling out r55474.
              http://trac.webkit.org/changeset/55480
      
              The patch broke fast/frames/sandboxed-iframe-storage.html
      
              * Android.jscbindings.mk:
              * Android.v8bindings.mk:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * dom/Document.cpp:
              (WebCore::Document::postTask):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::openDatabase):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
              * storage/Database.cpp:
              (WebCore::Database::openDatabase):
              (WebCore::Database::Database):
              (WebCore::Database::performOpenAndVerify):
              * storage/Database.h:
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::openDatabase):
              * workers/WorkerContext.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb077e5f
    • levin@chromium.org's avatar
      2010-03-03 David Levin <levin@chromium.org> · 1bc093fb
      levin@chromium.org authored
              No review, rolling out r55480.
              http://trac.webkit.org/changeset/55480
      
              The patch broke fast/frames/sandboxed-iframe-storage.html
      
              * storage/Database.cpp:
              * storage/Database.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bc093fb
    • mrowe@apple.com's avatar
      Add virtual memory tags for TCMalloc and WebCore's purgeable buffers. · 2b0fad29
      mrowe@apple.com authored
      Reviewed by Geoff Garen.
      
      JavaScriptCore:
      
      * wtf/TCSystemAlloc.cpp:
      (TryMmap): Use the VM tag.
      * wtf/VMTags.h: Make use of VM_MEMORY_TCMALLOC and VM_MEMORY_WEBCORE_PURGEABLE_BUFFERS.
      
      WebCore:
      
      * platform/mac/PurgeableBufferMac.cpp:
      (WebCore::PurgeableBuffer::create):  Use the VM tag.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b0fad29
    • ap@apple.com's avatar
      Not reviewed. · 801ded60
      ap@apple.com authored
              Try better to fix Java tests on Tiger bot.
      
              * platform/mac-tiger/Skipped:
              * platform/mac-tiger/java/lc3/JavaArray/ToString-001-expected.txt: Removed.
              This test gets different resultson each run when it fails, so it needs to be disabled on
              Tiger.
      
              * platform/mac-tiger/java/lc3/JavaObject/JavaObjectToString-001-expected.txt: Added a
              newline I didn't get when copying actual results from buildbot.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      801ded60
    • cmarrin@apple.com's avatar