WebKit-https.git
9 years ago2010-08-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Wed, 18 Aug 2010 17:47:30 +0000 (17:47 +0000)]
2010-08-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] WebBackForwardList's new_with_web_view should not be public
        https://bugs.webkit.org/show_bug.cgi?id=43802

        Deprecate the constructor. The introspection annotation has been
        fixed in a previous commit.

        * webkit/webkitwebbackforwardlist.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65615 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-13 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 18 Aug 2010 17:34:51 +0000 (17:34 +0000)]
2010-08-13  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Darin Adler.

        add ability to test order-of-magnitude in layout tests
        https://bugs.webkit.org/show_bug.cgi?id=43997

        Uses the R^2 value to determine likelihood the performance
        is linear and then logs the x and y axis appropriately to determine
        log n and n^2 cases. These are all estimates though, so we try
        up to three times if we don't get the correct expected result.

        In practice, with the tests below, we almost always get the correct
        result, but sometimes the O(1) tests get registered as O(n) or indeterminate.

        * perf/array-binary-search-expected.txt: Added.
        * perf/array-binary-search.html: Added.
        * perf/array-nested-loop-expected.txt: Added.
        * perf/array-nested-loop.html: Added.
        * perf/array-push-pop-expected.txt: Added.
        * perf/array-push-pop.html: Added.
        * perf/array-reverse-expected.txt: Added.
        * perf/array-reverse.html: Added.
        * perf/object-keys-expected.txt: Added.
        * perf/object-keys.html: Added.
        * perf/set-attribute-expected.txt: Added.
        * perf/set-attribute.html: Added.
        * perf/typing-at-end-of-line-expected.txt: Added.
        * perf/typing-at-end-of-line.html: Added.
        * resources/magnitude-perf.js: Added.
        (Magnitude.description):
        (Magnitude._log):
        (Magnitude._debug):
        (Magnitude.run):
        (Magnitude._run):
        (Magnitude._rSquared):
        (Magnitude._logIterationInfo):
        (Magnitude._bigOGuess):
        (Magnitude._runIteration):
        (Magnitude):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65614 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Wed, 18 Aug 2010 17:28:11 +0000 (17:28 +0000)]
2010-08-18  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Darin Adler.

        CanvasStyle method naming cleanup
        https://bugs.webkit.org/show_bug.cgi?id=44184

        Renamed the various create() overloads to reflect what they're
        constructing the CanvasStyle from.

        The unused CanvasStyle::create(grayLevel) and accompanying constructor
        were removed.

        Also renamed the isEquivalentColor overloads to isEquivalent{RGBA,CMYKA}

        * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
        (WebCore::toHTMLCanvasStyle):
        * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
        (WebCore::toCanvasStyle):
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::State::State):
        (WebCore::CanvasRenderingContext2D::setStrokeColor):
        (WebCore::CanvasRenderingContext2D::setFillColor):
        * html/canvas/CanvasStyle.cpp:
        (WebCore::CanvasStyle::createFromString):
        (WebCore::CanvasStyle::createFromStringWithOverrideAlpha):
        (WebCore::CanvasStyle::createFromGradient):
        (WebCore::CanvasStyle::createFromPattern):
        (WebCore::CanvasStyle::isEquivalentRGBA):
        (WebCore::CanvasStyle::isEquivalentCMYKA):
        * html/canvas/CanvasStyle.h:
        (WebCore::CanvasStyle::createFromRGBA):
        (WebCore::CanvasStyle::createFromGrayLevelWithAlpha):
        (WebCore::CanvasStyle::createFromRGBAChannels):
        (WebCore::CanvasStyle::createFromCMYKAChannels):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65613 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Implement Maemo5 local rendering NPAPI extension. See
girish@forwardbias.in [Wed, 18 Aug 2010 16:52:32 +0000 (16:52 +0000)]
[Qt] Implement Maemo5 local rendering NPAPI extension. See
https://wiki.mozilla.org/Plugins:NokiaMaemoImageSurface for details.

With the local rendering extension, Flash will paint into a 16-bit surface.
For wmode=transparent, Flash expects the surface to contain the contents
beneath it. As it is tricky to implement the content propagation across all
graphics systems, transparent Flash is not supported. We just fill the surface
with white and wmode=transparent behaves the same as wmode=opaque with a white
background.

Reviewed by Kenneth Rohde Christiansen.

https://bugs.webkit.org/show_bug.cgi?id=44043

* WebCore.pro:
* plugins/PluginView.cpp:
(WebCore::PluginView::setValue):
(WebCore::PluginView::PluginView):
* plugins/PluginView.h:
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::updatePluginWidget):
(WebCore::PluginView::paintUsingImageSurfaceExtension):
(WebCore::PluginView::paint):
(WebCore::PluginView::platformGetValueStatic):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65612 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 18 Aug 2010 16:09:12 +0000 (16:09 +0000)]
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65603.
        http://trac.webkit.org/changeset/65603
        https://bugs.webkit.org/show_bug.cgi?id=44179

        4 tests crash on Qt bot (Requested by Ossy on #webkit).

        * WebCore.pro:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::handlePendingPermissionNotifiers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65611 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Wed, 18 Aug 2010 16:02:33 +0000 (16:02 +0000)]
2010-08-18  Ryuan Choi  <ryuan.choi@samsung.com>

        Unreviewed.  Attempted build fix for EFL

        [EFL]REGRESSION(65530) need to fix build break
        https://bugs.webkit.org/show_bug.cgi?id=44154

        * CMakeListsEfl.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65610 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 18 Aug 2010 15:30:11 +0000 (15:30 +0000)]
2010-08-18  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed qt build fix.

        * WebCore.pri:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65609 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-16 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 18 Aug 2010 14:36:58 +0000 (14:36 +0000)]
2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js with generated one.
        New command-line flag was added to combine-javascript-resources.
        It specifies the location of generated scripts.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * combine-javascript-resources:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/InspectorBackendStub.js: Removed.
        * inspector/front-end/WebKit.qrc:

2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js with generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: inspector tests for GTK were added to Skip list.
        They should be enabled later.
        Bug for GTK https://bugs.webkit.org/show_bug.cgi?id=43977
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * platform/gtk/Skipped:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js with generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebKit.gyp:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js with generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65608 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Andrey Kosyakov <caseq@chromium.org>
commit-queue@webkit.org [Wed, 18 Aug 2010 14:18:51 +0000 (14:18 +0000)]
2010-08-18  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: extension panels do not occupy entire panel client area.
        https://bugs.webkit.org/show_bug.cgi?id=44167

        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onCreatePanel):
        (WebInspector.ExtensionServer.prototype._createClientIframe):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65607 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Pavel Podivilov <podivilov@chromium.org>
yurys@chromium.org [Wed, 18 Aug 2010 13:27:26 +0000 (13:27 +0000)]
2010-08-18  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: inspector tests should be frontend-driven

        * http/tests/inspector/inspector-test2.js: Added.
        (initializeInspectorTest):
        (initializeInspectorTest.):
        ():
        (completeTest):
        (dumpArray):
        (dumpObject):
        (output):
        (didEvaluateForTestInFrontend):
        * inspector/debugger-breakpoints-not-activated-on-reload-expected.txt:
        * inspector/debugger-breakpoints-not-activated-on-reload.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65606 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Wed, 18 Aug 2010 13:20:51 +0000 (13:20 +0000)]
2010-08-18  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Use SVGPathParser logic to traverse states of a Path
        https://bugs.webkit.org/show_bug.cgi?id=44009

        Move the getPathSegAtLength logic from SVGPathSegList into a new SVGPathConsumer
        class: SVGPathTraversalStateBuilder.
        This allows us to get a SVGPathSeg at a given length for SVGPathByteStreams and SVGPathSegLists.
        It is also possible to use unaltered SVG path data, instead of just normalized path data.
        This is the final preparation to provide normalized and unaltered SVGPathSegLists
        on SVGPathElement.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * svg/SVGAllInOne.cpp:
        * svg/SVGPathBuilder.h:
        (WebCore::SVGPathBuilder::nextPathSegment):
        (WebCore::SVGPathBuilder::quitEarlier):
        * svg/SVGPathByteStreamBuilder.h:
        (WebCore::SVGPathByteStreamBuilder::nextPathSegment):
        (WebCore::SVGPathByteStreamBuilder::quitEarlier):
        * svg/SVGPathConsumer.h:
        * svg/SVGPathElement.cpp:
        (WebCore::SVGPathElement::getPathSegAtLength):
        * svg/SVGPathElement.h:
        * svg/SVGPathElement.idl:
        * svg/SVGPathParser.cpp:
        (WebCore::SVGPathParser::parsePathDataFromSource):
        * svg/SVGPathParserFactory.cpp:
        (WebCore::globalSVGPathTraversalStateBuilder):
        (WebCore::SVGPathParserFactory::getSVGPathSegAtLengthFromSVGPathSegList):
        * svg/SVGPathParserFactory.h:
        * svg/SVGPathSegList.cpp:
        * svg/SVGPathSegList.h:
        * svg/SVGPathSegListBuilder.h:
        (WebCore::SVGPathSegListBuilder::nextPathSegment):
        (WebCore::SVGPathSegListBuilder::quitEarlier):
        * svg/SVGPathStringBuilder.h:
        (WebCore::SVGPathStringBuilder::nextPathSegment):
        (WebCore::SVGPathStringBuilder::quitEarlier):
        * svg/SVGPathTraversalStateBuilder.cpp: Added. New Consumer for SVGPathParser.
        (WebCore::SVGPathTraversalStateBuilder::SVGPathTraversalStateBuilder):
        (WebCore::SVGPathTraversalStateBuilder::moveTo):
        (WebCore::SVGPathTraversalStateBuilder::lineTo):
        (WebCore::SVGPathTraversalStateBuilder::curveToCubic):
        (WebCore::SVGPathTraversalStateBuilder::closePath):
        (WebCore::SVGPathTraversalStateBuilder::setDesiredLength):
        (WebCore::SVGPathTraversalStateBuilder::quitEarlier):
        (WebCore::SVGPathTraversalStateBuilder::nextPathSegment):
        (WebCore::SVGPathTraversalStateBuilder::pathSegmentIndex):
        * svg/SVGPathTraversalStateBuilder.h: Added.
        (WebCore::SVGPathTraversalStateBuilder::setCurrentTraversalState):
        (WebCore::SVGPathTraversalStateBuilder::cleanup):
        (WebCore::SVGPathTraversalStateBuilder::lineToHorizontal):
        (WebCore::SVGPathTraversalStateBuilder::lineToVertical):
        (WebCore::SVGPathTraversalStateBuilder::curveToCubicSmooth):
        (WebCore::SVGPathTraversalStateBuilder::curveToQuadratic):
        (WebCore::SVGPathTraversalStateBuilder::curveToQuadraticSmooth):
        (WebCore::SVGPathTraversalStateBuilder::arcTo):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65605 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
hamaji@chromium.org [Wed, 18 Aug 2010 13:09:28 +0000 (13:09 +0000)]
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65238.
        http://trac.webkit.org/changeset/65238
        https://bugs.webkit.org/show_bug.cgi?id=44168

        Check if clobbering chromium bot fixes the layout test
        failures (Requested by hamaji on #webkit).

        * public/WebFrameClient.h:
        (WebKit::WebFrameClient::frameDetached):
        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::detachedFromParent3):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65604 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
commit-queue@webkit.org [Wed, 18 Aug 2010 12:36:33 +0000 (12:36 +0000)]
2010-08-18  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        [Qt] Request for permission before starting Geolocation service
        https://bugs.webkit.org/show_bug.cgi?id=42027

        Handles starting location acquisition when request is granted for ports using
        "!CLIENT_BASED_GEOLOCATION and PREEMPT_GEOLOCATION_PERMISSION" policy
        Only Qt port as of today uses the above combination. Enable
        PREEMPT_GEOLOCATION_PERMISSION for qt port.

        Below tests cover these changes on platform using PREEMPT_GEOLOCATION_PERMISSION
        - fast/dom/Geolocation/delayed-permission-allowed.html
        - fast/dom/Geolocation/delayed-permission-denied.html
        - fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html
        - fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html

        * WebCore.pro:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::handlePendingPermissionNotifiers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65603 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Yuta Kitamura <yutak@chromium.org>
morrita@google.com [Wed, 18 Aug 2010 12:25:33 +0000 (12:25 +0000)]
2010-08-18  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed, test expectation update.

        Remove duplicate expectation.

        Update Chromium test expectations
        https://bugs.webkit.org/show_bug.cgi?id=44162

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65602 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Zoltan Horvath <zoltan@webkit.org>
zoltan@webkit.org [Wed, 18 Aug 2010 12:15:23 +0000 (12:15 +0000)]
2010-08-18  Zoltan Horvath  <zoltan@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Forwards QtWebProcess' stdout, stderr onto the UI process
        https://bugs.webkit.org/show_bug.cgi?id=44159

        For debugging purposes forwards stdout and stderr of QtWebProcess onto the UI process.

        * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
        (WebKit::ProcessLauncherHelper::launch):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65601 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix hang when saving crash logs on Windows
aroben@apple.com [Wed, 18 Aug 2010 11:42:45 +0000 (11:42 +0000)]
Fix hang when saving crash logs on Windows

* Scripts/old-run-webkit-tests:
(setUpWindowsCrashLogSaving):
(END):
Pass -s to regtool so it will write the Auto value as a string instead
of as a number. This was causing a "do you want to debug?" dialog to
appear.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65600 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Yuta Kitamura <yutak@chromium.org>
morrita@google.com [Wed, 18 Aug 2010 10:44:09 +0000 (10:44 +0000)]
2010-08-18  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed. test expectation update.

        Update Chromium test expectations.
        https://bugs.webkit.org/show_bug.cgi?id=44162

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65599 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Wed, 18 Aug 2010 10:35:25 +0000 (10:35 +0000)]
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65595.
        http://trac.webkit.org/changeset/65595
        https://bugs.webkit.org/show_bug.cgi?id=44161

        qt build failed (Requested by loislo on #webkit).

        * GNUmakefile.am:
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65595.
        http://trac.webkit.org/changeset/65595
        https://bugs.webkit.org/show_bug.cgi?id=44161

        qt build failed (Requested by loislo on #webkit).

        * platform/gtk/Skipped:
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65595.
        http://trac.webkit.org/changeset/65595
        https://bugs.webkit.org/show_bug.cgi?id=44161

        qt build failed (Requested by loislo on #webkit).

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/copyInspectorFiles.cmd:
        * WebCore.xcodeproj/project.pbxproj:
        * combine-javascript-resources:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/InspectorBackendStub.js: Added.
        (WebInspector.InspectorBackendStub):
        (WebInspector.InspectorBackendStub.prototype._registerDelegate):
        (WebInspector.InspectorBackendStub.prototype.sendMessageToBackend):
        * inspector/front-end/InspectorBackendStub.qrc: Removed.
        * inspector/front-end/WebKit.qrc:
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65595.
        http://trac.webkit.org/changeset/65595
        https://bugs.webkit.org/show_bug.cgi?id=44161

        qt build failed (Requested by loislo on #webkit).

        * WebKit.gyp:
2010-08-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65595.
        http://trac.webkit.org/changeset/65595
        https://bugs.webkit.org/show_bug.cgi?id=44161

        qt build failed (Requested by loislo on #webkit).

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65598 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 18 Aug 2010 10:09:12 +0000 (10:09 +0000)]
2010-08-18  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: make objectId of string type instead of object.
        https://bugs.webkit.org/show_bug.cgi?id=44160

        * WebCore.xcodeproj/project.pbxproj:
        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor.):
        * inspector/front-end/InjectedScriptAccess.js:
        (get InjectedScriptAccess.getForObjectId):
        * inspector/front-end/RemoteObject.js:
        (WebInspector.RemoteObject.prototype.getProperties):
        (WebInspector.RemoteObject.prototype.setPropertyValue):
        (WebInspector.RemoteObject.prototype.pushNodeToFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65597 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 18 Aug 2010 10:02:47 +0000 (10:02 +0000)]
2010-08-18  Gabor Loki  <loki@webkit.org>

        Reviewed by Gavin Barraclough.

        The JITStackFrame is wrong using Thumb-2 JIT with JSVALUE32_64
        https://bugs.webkit.org/show_bug.cgi?id=43897

        A 64 bits wide member in a structure is aligned to 8 bytes on ARM by
        default, but this is not taken into account in the offset defines of
        JITStackFrame.

        * jit/JITStubs.cpp:
        * jit/JITStubs.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65596 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-16 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 18 Aug 2010 10:00:06 +0000 (10:00 +0000)]
2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        New command-line flag was added to combine-javascript-resources.
        It specifies the location of generated scripts.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * combine-javascript-resources:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/InspectorBackendStub.js: Removed.
        * inspector/front-end/WebKit.qrc:

2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: inspector tests for GTK were added to Skip list.
        They should be enabled later.
        Bug for GTK https://bugs.webkit.org/show_bug.cgi?id=43977
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * platform/gtk/Skipped:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebKit.gyp:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65595 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 18 Aug 2010 09:37:58 +0000 (09:37 +0000)]
2010-08-17  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Chromium DevTools: Support runtime property name/value pairs
        instead of feature names as navigation state.
        https://bugs.webkit.org/show_bug.cgi?id=44054

        * public/WebDevToolsAgent.h:
        * public/WebDevToolsAgentClient.h:
        (WebKit::WebDevToolsAgentClient::runtimePropertyChanged):
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::setRuntimeProperty):
        (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
        * src/WebDevToolsAgentImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65594 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRename UString::substr to substringSharingImpl, add to WTF::String.
barraclough@apple.com [Wed, 18 Aug 2010 08:56:49 +0000 (08:56 +0000)]
Rename UString::substr to substringSharingImpl, add to WTF::String.
Now WTF::String can do everything that JSC::UString can do!

Rubber stamped by Sam Weinig.

* JavaScriptCore.exp:
* bytecode/CodeBlock.cpp:
(JSC::escapeQuotes):
* bytecompiler/NodesCodegen.cpp:
(JSC::substitute):
* parser/SourceProvider.h:
(JSC::UStringSourceProvider::getRange):
* runtime/FunctionPrototype.cpp:
(JSC::insertSemicolonIfNeeded):
* runtime/JSGlobalObjectFunctions.cpp:
(JSC::parseInt):
* runtime/JSONObject.cpp:
(JSC::gap):
(JSC::Stringifier::indent):
(JSC::Stringifier::unindent):
* runtime/JSString.cpp:
(JSC::JSString::replaceCharacter):
* runtime/NumberPrototype.cpp:
(JSC::numberProtoFuncToFixed):
(JSC::numberProtoFuncToPrecision):
* runtime/StringPrototype.cpp:
(JSC::stringProtoFuncReplace):
(JSC::trimString):
* runtime/UString.cpp:
(JSC::UString::substringSharingImpl):
* runtime/UString.h:
* wtf/text/WTFString.cpp:
(WTF::String::substringSharingImpl):
* wtf/text/WTFString.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65593 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
barraclough@apple.com [Wed, 18 Aug 2010 08:44:12 +0000 (08:44 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* JavaScriptCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65592 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Wed, 18 Aug 2010 08:42:40 +0000 (08:42 +0000)]
2010-08-18  Shinichiro Hamaji  <hamaji@chromium.org>

        Reviewed by Dimitri Glazkov.

        Printer font is different from screen font
        https://bugs.webkit.org/show_bug.cgi?id=43340

        Not testable because PNG output in layoutTestController.setPrinting
        for chromium isn't implemented yet.

        * platform/graphics/FontDescription.h: Use screen font even for printing on Mac Chromium
        (WebCore::FontDescription::setUsePrinterFont):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65591 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebCore: Fix displaying problem of feTurbulence.
zherczeg@webkit.org [Wed, 18 Aug 2010 08:38:37 +0000 (08:38 +0000)]
WebCore: Fix displaying problem of feTurbulence.
https://bugs.webkit.org/show_bug.cgi?id=44111

Patch by Renata Hodovan <reni@inf.u-szeged.hu> on 2010-08-18
Reviewed by Dirk Schulze.

Change the order of calculating turbulenceFunctionResult
and clamping it. Furthermore remove the unnecessary rounding of m_seed.
Add a new test for checking the change of seed's value.

Test: svg/W3C-SVG-1.1/filters-turb-02-f.svg

* svg/graphics/filters/SVGFETurbulence.cpp:
(WebCore::FETurbulence::initPaint):
(WebCore::FETurbulence::calculateTurbulenceValueForPoint):
(WebCore::FETurbulence::apply):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=44111

Patch by Renata Hodovan <reni@inf.u-szeged.hu> on 2010-08-18
Reviewed by Dirk Schulze.

Update expected result of test svg/W3C-SVG-1.1/filters-turb-01-f.svg and
add a new test for checking the change of the seed value.

* platform/mac/svg/W3C-SVG-1.1/filters-turb-01-f-expected.checksum:
* platform/mac/svg/W3C-SVG-1.1/filters-turb-01-f-expected.png:
* platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
* platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
* platform/mac/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
* svg/W3C-SVG-1.1/filters-turb-02-f.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65590 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWindows build fix.
barraclough@apple.com [Wed, 18 Aug 2010 08:16:53 +0000 (08:16 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* JavaScriptCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65589 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoBug 44146 - Remove toDouble/toUInt32 methods from UString.
barraclough@apple.com [Wed, 18 Aug 2010 07:41:22 +0000 (07:41 +0000)]
Bug 44146 - Remove toDouble/toUInt32 methods from UString.

Reviewed by Sam Weinig.

JavaScriptCore:

These methods all implement JavaScript language specific behaviour, and as such
are not suited to being on a generic string object.  They are also inefficient
and incorrectly used, refactor & cleanup.  Uses of these methods really divide
out into two cases.

ToNumber:
Uses of toDouble from JSString and from parseFloat are implementing ecma's
ToNumber conversion from strings (see ecma-262 9.3.1), so UString::toDouble
should largely just be moved out to a global jsToNumber function.  ToNumber is
capable of recognizing either decimal or hexadecimal numbers, but parseFloat
should only recognize decimal values.  This is currently handled by testing for
hexadecimal before calling toDouble, which should unnecessary - instead we can
just split out the two parts to the grammar into separate functions. Also,
strtod recognizes a set of literals (nan, inf, and infinity - all with any
capitalization) - which are not defined by any of the specs we are implementing.
To handle this we need to perform additional work in toDouble to convert the
unsupported cases of infinities back to NaNs.  Instead we should simply remove
support for this literals from strtod.  This should provide a more desirable
behaviour for all clients of strtod.

Indexed properties:
Uses of the toStrictUInt32 methods are were all converting property names to
indices, and all uses of toUInt32 were incorrect; in all cases we should have
been calling toUInt32.  This error results in some incorrect behaviour in the
DOM (accessing property "0 " of a NodeList should fail; it currently does not).
Move this method onto Identifier (our canonical property name), and make it
always perform a strict conversion. Add a layout test to check NodeList does
convert indexed property names correctly.

* JavaScriptCore.exp:
* runtime/Arguments.cpp:
(JSC::Arguments::getOwnPropertySlot):
(JSC::Arguments::getOwnPropertyDescriptor):
(JSC::Arguments::put):
(JSC::Arguments::deleteProperty):
* runtime/Identifier.cpp:
(JSC::Identifier::toUInt32):
* runtime/Identifier.h:
(JSC::Identifier::toUInt32):
* runtime/JSArray.cpp:
(JSC::JSArray::getOwnPropertySlot):
(JSC::JSArray::getOwnPropertyDescriptor):
(JSC::JSArray::put):
(JSC::JSArray::deleteProperty):
* runtime/JSArray.h:
(JSC::Identifier::toArrayIndex):
* runtime/JSByteArray.cpp:
(JSC::JSByteArray::getOwnPropertySlot):
(JSC::JSByteArray::getOwnPropertyDescriptor):
(JSC::JSByteArray::put):
* runtime/JSGlobalObjectFunctions.cpp:
(JSC::isInfinity):
(JSC::jsHexIntegerLiteral):
(JSC::jsStrDecimalLiteral):
(JSC::jsToNumber):
(JSC::parseFloat):
* runtime/JSGlobalObjectFunctions.h:
* runtime/JSString.cpp:
(JSC::JSString::getPrimitiveNumber):
(JSC::JSString::toNumber):
(JSC::JSString::getStringPropertyDescriptor):
* runtime/JSString.h:
(JSC::JSString::getStringPropertySlot):
* runtime/ObjectPrototype.cpp:
(JSC::ObjectPrototype::put):
* runtime/StringObject.cpp:
(JSC::StringObject::deleteProperty):
* runtime/UString.cpp:
* runtime/UString.h:
* wtf/dtoa.cpp:
(WTF::strtod):

WebCore:

These methods all implement JavaScript language specific behaviour, and as such
are not suited to being on a generic string object.  They are also inefficient
and incorrectly used, refactor & cleanup.  Uses of these methods really divide
out into two cases.

ToNumber:
Uses of toDouble from JSString and from parseFloat are implementing ecma's
ToNumber conversion from strings (see ecma-262 9.3.1), so UString::toDouble
should largely just be moved out to a global jsToNumber function.  ToNumber is
capable of recognizing either decimal or hexadecimal numbers, but parseFloat
should only recognize decimal values.  This is currently handled by testing for
hexadecimal before calling toDouble, which should unnecessary - instead we can
just split out the two parts to the grammar into separate functions. Also,
strtod recognizes a set of literals (nan, inf, and infinity - all with any
capitalization) - which are not defined by any of the specs we are implementing.
To handle this we need to perform additional work in toDouble to convert the
unsupported cases of infinities back to NaNs.  Instead we should simply remove
support for this literals from strtod.  This should provide a more desirable
behaviour for all clients of strtod.

Indexed properties:
Uses of the toStrictUInt32 methods are were all converting property names to
indices, and all uses of toUInt32 were incorrect; in all cases we should have
been calling toUInt32.  This error results in some incorrect behaviour in the
DOM (accessing property "0 " of a NodeList should fail; it currently does not).
Move this method onto Identifier (our canonical property name), and make it
always perform a strict conversion. Add a layout test to check NodeList does
convert indexed property names correctly.

Test: fast/dom/NodeList/nodelist-item-with-index.html

* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::getOwnPropertySlot):
(WebCore::JSDOMWindow::getOwnPropertyDescriptor):
* bindings/js/JSHTMLAllCollectionCustom.cpp:
(WebCore::callHTMLAllCollection):
(WebCore::JSHTMLAllCollection::item):
* bindings/js/JSHTMLCollectionCustom.cpp:
(WebCore::callHTMLCollection):
(WebCore::JSHTMLCollection::item):
* bindings/js/JSNodeListCustom.cpp:
(WebCore::callNodeList):
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/runtime_array.cpp:
(JSC::RuntimeArray::getOwnPropertySlot):
(JSC::RuntimeArray::getOwnPropertyDescriptor):
(JSC::RuntimeArray::put):

LayoutTests:

Test that indexing into nodelists works correctly, particularly
wrt indices passed as strings that contain whitespace.

* fast/dom/NodeList/nodelist-item-with-index-expected.txt: Added.
* fast/dom/NodeList/nodelist-item-with-index.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65588 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-18 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 18 Aug 2010 07:37:56 +0000 (07:37 +0000)]
2010-08-18  Adam Barth  <abarth@webkit.org>

        Reviewed by Adele Peterson.

        Null dereference in DOMSelection::deleteFromDocument
        https://bugs.webkit.org/show_bug.cgi?id=44153

        deleteFromDocument checks selection->isNone() before calling
        selection->selection().toNormalizedRange(), but toNormalizedRange()
        notes that it needs to updateLayout(), which can make the selection
        isNone() again.  In that case, we crash on a NULL pointer in
        deleteFromDocument.  I don't know how to trigger that situation in a
        test, but cross_fuzz was able to hit it, so we should fix it.

        * page/DOMSelection.cpp:
        (WebCore::DOMSelection::deleteFromDocument):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65587 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoReviewed by Antonio Gomes.
girish@forwardbias.in [Wed, 18 Aug 2010 03:53:08 +0000 (03:53 +0000)]
Reviewed by Antonio Gomes.

[Qt] On Maemo5, there is no libgdk-x11-2.0.so symlink. Look for
libgdk-x11-2.0.so.0 instead on X11 and Maemo5.

https://bugs.webkit.org/show_bug.cgi?id=44043

* plugins/qt/PluginViewQt.cpp:
(WebCore::getPluginDisplay):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65586 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 18 Aug 2010 03:08:03 +0000 (03:08 +0000)]
2010-08-17  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        Fix the builds when HAVE_GSETTINGS is defined.

        * webkit/webkitprivate.cpp:
        (isSchemaAvailable):
        (inspectorGSettings):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65585 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Wed, 18 Aug 2010 01:55:42 +0000 (01:55 +0000)]
2010-08-17  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Daniel Bates.

        REGRESSION(53060): http/tests/security/xssAuditor/malformed-HTML.html timed out on Qt Linux Release Bot
        https://bugs.webkit.org/show_bug.cgi?id=33460

        Enable http/tests/security/xssAuditor/malformed-HTML.html
        tested with qt-4.7 and qt-4.6.

        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65584 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Wed, 18 Aug 2010 01:38:54 +0000 (01:38 +0000)]
2010-08-17  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by Ariya Hidayat.

        Enable http/tests/security/cross-frame-access-name-getter.html

        [Qt] http/tests/security/cross-frame-access-name-getter.html timed out
        https://bugs.webkit.org/show_bug.cgi?id=38540

        Test works with qt-4.7 and qt-4.6.

        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65583 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Wed, 18 Aug 2010 01:37:11 +0000 (01:37 +0000)]
2010-08-17  Victor Wang  <victorw@chromium.org>

        Unreviewed. Fixed chromium incremental test json upload.
        Quote builder name and test results server in url.

        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65582 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Wed, 18 Aug 2010 01:22:05 +0000 (01:22 +0000)]
2010-08-17  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] [Symbian] Consistently use Q_OS_SYMBIAN to guard all Symbian platform dependencies
        https://bugs.webkit.org/show_bug.cgi?id=44124

        Q_WS_S60 is not defined for Symbian^4 devices as Q_WS_S60 used to guard
        Avkon UI framework dependencies. Use Q_OS_SYMBIAN everywhere to mark
        Symbian dependencies.

        * WebCoreSupport/QtFallbackWebPopup.cpp:
        (WebCore::QtFallbackWebPopup::populate):
2010-08-17  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] [Symbian] Consistently use Q_OS_SYMBIAN to guard all Symbian platform dependencies
        https://bugs.webkit.org/show_bug.cgi?id=44124

        Q_WS_S60 is not defined for Symbian^4 devices as Q_WS_S60 used to guard
        Avkon UI framework dependencies. Use Q_OS_SYMBIAN everywhere to mark
        Symbian dependencies.

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::DumpRenderTree::open):
        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::init):
        (LauncherWindow::toggleFullScreenMode):
        (LauncherWindow::showFPS):
        (LauncherWindow::updateFPS):
        * QtTestBrowser/launcherwindow.h:
        (WindowOptions::WindowOptions):
        * QtTestBrowser/mainwindow.cpp:
        (MainWindow::buildUI):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65581 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Remove unused ContextShadowParameter class in GraphicsContextQt
ariya@webkit.org [Wed, 18 Aug 2010 01:20:58 +0000 (01:20 +0000)]
[Qt] Remove unused ContextShadowParameter class in GraphicsContextQt
https://bugs.webkit.org/show_bug.cgi?id=44142

Patch by Ariya Hidayat <ariya@sencha.com> on 2010-08-17
Reviewed by Antonio Gomes.

The class is not needed anymore after r65425.
We know have dedicated ContextShadow in its own file.

* platform/graphics/qt/GraphicsContextQt.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65580 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd NetworkingContext to avoid layer violations
darin@apple.com [Wed, 18 Aug 2010 01:01:40 +0000 (01:01 +0000)]
Add NetworkingContext to avoid layer violations
https://bugs.webkit.org/show_bug.cgi?id=42292

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2010-08-17
Reviewed by Darin Adler.

Preparation: Just add the files to the build system.

.:

* GNUmakefile.am: Added new files.

WebCore:

* GNUmakefile.am: Added new files.
* WebCore.gypi: Ditto.
* WebCore.pro: Ditto.
* WebCore.vcproj/WebCore.vcproj: Ditto.
* WebCore.xcodeproj/project.pbxproj: Ditto.

* loader/FrameNetworkingContext.h: Added.
* platform/network/NetworkingContext.h: Added.
Placeholders with tentative code that might be changed when landing
the rest of it.

WebKit:

* WebKit.xcodeproj/project.pbxproj: Added new files.

WebKit/chromium:

* WebKit.gyp: Added new files.
* src/FrameNetworkingContextImpl.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.

WebKit/gtk:

* WebCoreSupport/FrameNetworkingContextGtk.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.

WebKit/mac:

* WebCoreSupport/WebFrameNetworkingContext.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.
* WebCoreSupport/WebFrameNetworkingContext.mm: Added.
Empty placeholder for now.

WebKit/qt:

* WebCoreSupport/FrameNetworkingContextQt.cpp: Added.
Empty placeholder for now.
* WebCoreSupport/FrameNetworkingContextQt.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.

WebKit/win:

* WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
Empty placeholder for now.
* WebCoreSupport/WebFrameNetworkingContext.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.
* WebKit.vcproj/WebKit.vcproj: Added new files.

WebKit2:

* WebKit2.xcodeproj/project.pbxproj: Added new files.
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.h: Added.
Placeholder with tentative code that might be changed when landing
the rest of it.
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm: Added.
Empty placeholder for now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65579 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 18 Aug 2010 00:59:47 +0000 (00:59 +0000)]
2010-08-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by David Levin.

        new-run-webkit-tests: remove --show-sources option

        --show-sources is pretty much obsolete with --trace everything, so
        I'm removing it.

        Also rename a couple of methods in the TestTextDiff class to make their
        intended visibility (private) more obvious.

        https://bugs.webkit.org/show_bug.cgi?id=44143

        * Scripts/webkitpy/layout_tests/layout_package/printing.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
        * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
        * Scripts/webkitpy/layout_tests/test_types/text_diff.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65578 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 18 Aug 2010 00:55:30 +0000 (00:55 +0000)]
2010-08-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by David Levin.

        remove --fuzzy-image-diff in new-run-webkit-tests (it doesn't work)

        This code bit-rotted at some point more than a year ago, and nobody seems
        to miss it. old-run-webkit-tests has a --tolerance flag that new-run-webkit-tests
        should support instead, making this flag unnecessary anyway.

        https://bugs.webkit.org/show_bug.cgi?id=44141

        * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65577 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdding a MathML Demo and screenshot.
bdakin@apple.com [Wed, 18 Aug 2010 00:41:35 +0000 (00:41 +0000)]
Adding a MathML Demo and screenshot.

Rubber-stamped by Adele.

* blog-files/riemann-screenshot.png: Added.
* demos/mathml: Added.
* demos/mathml/MathMLDemo.xhtml: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65576 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Mihai Parparita <mihaip@chromium.org>
commit-queue@webkit.org [Tue, 17 Aug 2010 23:57:42 +0000 (23:57 +0000)]
2010-08-17  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Dimitri Glazkov.

        transitions/change-values-during-transition.html fails intermittently
        https://bugs.webkit.org/show_bug.cgi?id=28461

        Make test less flaky during high CPU usage by changing the expectation
        from a hardcoded value to an interpolated one based on when the timeout
        actually fires. Made the test much more reliable when running with
        --iterations=100 while maxing out the CPU on my machine with a
        background process.

        * transitions/change-values-during-transition.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65575 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Tue, 17 Aug 2010 23:56:24 +0000 (23:56 +0000)]
2010-08-17  Victor Wang  <victorw@chromium.org>

        Reviewed by Ojan Vafai.

        Update json results generator to have incremental json including
        results for tests that pass in current run but failed before.

        https://bugs.webkit.org/show_bug.cgi?id=44119

        * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
        * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65574 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Mihai Parparita <mihaip@chromium.org>
commit-queue@webkit.org [Tue, 17 Aug 2010 23:40:00 +0000 (23:40 +0000)]
2010-08-17  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        Back button after Google search result click broken
        https://bugs.webkit.org/show_bug.cgi?id=44086

        Added a reduced test case of Google search result click behavior,
        renamed gesture-before-onload-target.html to redirect-target.html
        since it's useful for this test too.

        * fast/history/gesture-before-onload-form-submit-expected.txt:
        * fast/history/gesture-before-onload-form-submit.html:
        * fast/history/gesture-before-onload-location-href-expected.txt:
        * fast/history/gesture-before-onload-location-href.html:
        * fast/history/redirect-via-iframe-expected.txt: Added.
        * fast/history/redirect-via-iframe.html: Added.
        * fast/history/resources/iframe-redirect.html: Added.
        * fast/history/resources/redirect-target.html: Renamed from LayoutTests/fast/history/resources/gesture-before-onload-target.html.
2010-08-17  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Fisher.

        Back button after Google search result click broken
        https://bugs.webkit.org/show_bug.cgi?id=44086

        Test: fast/history/redirect-via-iframe.html

        isLoadingInAPISense doesn't quite map to onload (it also returns true
        if frames are loading, even after the parent frame has fired its onload
        handler). Instead, add a flag for the onload event being fired, and
        use that.

        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::DocumentLoader):
        * loader/DocumentLoader.h:
        (WebCore::DocumentLoader::handledOnloadEvents):
        (WebCore::DocumentLoader::wasOnloadHandled):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::handledOnloadEvents):
        * loader/RedirectScheduler.cpp:
        (WebCore::RedirectScheduler::mustLockBackForwardList):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65573 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 17 Aug 2010 23:11:25 +0000 (23:11 +0000)]
2010-08-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        fix test-webkitpy, add easy way to find a checkout root

        test-webkitpy currently doesn't work right if run from someplace other
        than the checkout root, and it spews a bunch of debug logging because
        the deduplicate_tests tests contaminates the test environment.

        This patch cleans up the deduplicate_tests unit tests, and creates
        two new methods in scm.py: find_checkout_root() and default_scm(),
        both of which use a single algorithm for guessing what checkout root
        to use if you aren't explicitly told one from a path.

        https://bugs.webkit.org/show_bug.cgi?id=44001

        * Scripts/deduplicate-tests:
        * Scripts/webkitpy/common/checkout/scm.py:
        * Scripts/webkitpy/common/checkout/scm_unittest.py:
        * Scripts/webkitpy/layout_tests/deduplicate_tests.py:
        * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py:
        * Scripts/webkitpy/tool/main.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65572 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoBug 44099 - REGRESSION(r65468): Crashes in StringImpl::find
barraclough@apple.com [Tue, 17 Aug 2010 23:05:50 +0000 (23:05 +0000)]
Bug 44099 - REGRESSION(r65468): Crashes in StringImpl::find

Reviewed by Sam Weinig.

Bug 44080 introuduced a couple of cases in which array bounds could be overrun.
One of these was fixed in r65493, this patch fixes the other and address the
concerns voiced in comment #6 by restructuring the loops to remove the code
dupliction without introducing an additional if check.

* wtf/text/StringImpl.cpp:
(WTF::StringImpl::find):
(WTF::StringImpl::findIgnoringCase):
(WTF::StringImpl::reverseFind):
(WTF::StringImpl::reverseFindIgnoringCase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65571 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Steve Block <steveblock@google.com>
steveblock@google.com [Tue, 17 Aug 2010 23:05:42 +0000 (23:05 +0000)]
2010-08-17  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Geolocation clearWatch() needs to protect against invalid IDs
        https://bugs.webkit.org/show_bug.cgi?id=44096

        * fast/dom/Geolocation/clear-watch-invalid-id-crash-expected.txt: Added.
        * fast/dom/Geolocation/clear-watch-invalid-id-crash.html: Added.
        * fast/dom/Geolocation/script-tests/clear-watch-invalid-id-crash.js: Added.
        * fast/dom/Geolocation/script-tests/notimer-after-unload.js:
        (document.body.onload):
2010-08-17  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        Geolocation clearWatch() needs to protect against invalid IDs
        https://bugs.webkit.org/show_bug.cgi?id=44096

        If the ID passed to clearWatch() is invalid, we early-out.

        Test: fast/dom/Geolocation/clear-watch-invalid-id-crash.html

        * page/Geolocation.cpp:
        (WebCore::Geolocation::Watchers::set):
        (WebCore::Geolocation::Watchers::remove):
        (WebCore::Geolocation::watchPosition):
        (WebCore::Geolocation::clearWatch):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65570 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 17 Aug 2010 23:00:15 +0000 (23:00 +0000)]
2010-08-17  Stephen White  <senorblanco@chromium.org>

        Reviewed by David Levin.

        Allow non-Skia ports to compile with ENABLE(ACCELERATED_2D_CANVAS).
        https://bugs.webkit.org/show_bug.cgi?id=44130

        No tests; if it compiles, it's good.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
        Fix a warning (treated as error).
        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setGraphicsContext3D):
        (WebCore::GraphicsContext::syncSoftwareCanvas):
        * platform/graphics/GraphicsContext.h:
        Make setGraphicsContext3D() and syncSoftwareCanvas() stubbed out,
        but still present in non-Skia ports.  This allows Chrome Mac to
        compile with ENABLE(ACCELERATED_2D_CANVAS) (although it isn't hooked
        up yet, it should at least compile).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65569 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Tue, 17 Aug 2010 22:46:32 +0000 (22:46 +0000)]
2010-08-17  Victor Wang  <victorw@chromium.org>

        Reviewed by Ojan Vafai.

        Add support to the test results server for downloading json that
        contains test list only.

        This is for json results generator to generate incremental json
        results so that it includes results not only for tests failed in
        current run, but also tests failed before.

        Also set the results type to "N" (no data) instead of "P" (pass)
        if test results cannot be found in incremental json file.

        https://bugs.webkit.org/show_bug.cgi?id=44117

        * TestResultServer/handlers/testfilehandler.py:
        * TestResultServer/model/jsonresults.py:
        * TestResultServer/model/jsonresults_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65567 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoWebCore: Navigating back/forward during a modal dialog causes a crash when the modal...
beidson@apple.com [Tue, 17 Aug 2010 22:44:33 +0000 (22:44 +0000)]
WebCore: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
<rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131

Reviewed by Sam Weinig.

No new tests. (Especially since DRT doesn't spin inner run loops at all, it would be a significant
effort to give it the ability to perform the back/forward navigation in the background to reproduce
this bug)

Manual tests in place of layout tests:
* manual-tests/back-forward-during-alert-1.html: Added.
* manual-tests/back-forward-during-alert-2.html: Added.

* page/Page.cpp:
(WebCore::Page::goToItem):

WebKit: Remove developmentRegion from the project file as it shouldn't have been checked in.

Reviewed by Sam Weinig.

* WebKit.xcodeproj/project.pbxproj:

WebKit/mac: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
<rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131

Reviewed by Sam Weinig.

* WebView/WebView.mm:
(-[WebView canGoBack]): Return false if loads are deferred.
(-[WebView canGoForward]): Ditto.

WebKit/win: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
<rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131

Reviewed by Sam Weinig.

* WebView.cpp:
(WebView::canGoBack): Return false if loads are deferred.
(WebView::canGoForward): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65566 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Tue, 17 Aug 2010 22:36:15 +0000 (22:36 +0000)]
2010-08-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Add XMLHttpRequest Logging Tests
        https://bugs.webkit.org/show_bug.cgi?id=44092

        * http/tests/inspector/console-xhr-logging-expected.txt: Added.
        * http/tests/inspector/console-xhr-logging.html: Added.
        * http/tests/inspector/resources/xhr-exists.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65565 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Tue, 17 Aug 2010 22:33:57 +0000 (22:33 +0000)]
2010-08-17  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        selectionStart clobbered if textarea isn't focused
        https://bugs.webkit.org/show_bug.cgi?id=43814

        * fast/forms/text-control-select-blurred-expected.txt: Added.
        * fast/forms/text-control-select-blurred.html: Added.
2010-08-17  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        selectionStart clobbered if textarea isn't focused
        https://bugs.webkit.org/show_bug.cgi?id=43814

        If a text control is blurred, setting selectionStart/end should use
        the cached selection value, which is currently stored on the form
        control element.

        Test: fast/forms/text-control-select-blurred.html

        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::setSelectionStart):
        (WebCore::RenderTextControl::setSelectionEnd):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65564 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMessagePort.close() crashes if the owning context was destroyed.
dimich@chromium.org [Tue, 17 Aug 2010 22:29:42 +0000 (22:29 +0000)]
MessagePort.close() crashes if the owning context was destroyed.
https://bugs.webkit.org/show_bug.cgi?id=43140

Reviewed by David Levin.

WebCore:

Test: fast/events/message-port-context-destroyed.html

* dom/MessagePort.cpp:
(WebCore::MessagePort::postMessage):
(WebCore::MessagePort::start):
(WebCore::MessagePort::close):
(WebCore::MessagePort::contextDestroyed):
Use isEntangled() method to gate various operations on MessagePort. This method also takes into account m_closed bit.

* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::stopActiveDOMObjects):
(WebCore::ScriptExecutionContext::closeMessagePorts):
* dom/ScriptExecutionContext.h:
Add closeMessagePorts() method that closes message ports at the same moments when other ActiveDOMObjects are stopped.

LayoutTests:

* fast/events/message-port-context-destroyed-expected.txt: Added.
* fast/events/message-port-context-destroyed.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65563 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUnreviewed. Build fix.
hclam@chromium.org [Tue, 17 Aug 2010 22:22:49 +0000 (22:22 +0000)]
Unreviewed. Build fix.

Submitted for Victoria Kirst <vrk@google.com>.

Rebaseline straggler Mac UI video regressions.
Fixing test expectations to match output from r65215 bug fix.

https://bugs.webkit.org/show_bug.cgi?id=44134

* platform/chromium-mac/fast/layers/video-layer-expected.checksum:
* platform/chromium-mac/fast/layers/video-layer-expected.png:
* platform/chromium-mac/media/video-empty-source-expected.checksum:
* platform/chromium-mac/media/video-empty-source-expected.png:
* platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65562 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 John Gregg <johnnyg@google.com>
johnnyg@google.com [Tue, 17 Aug 2010 22:13:43 +0000 (22:13 +0000)]
2010-08-17  John Gregg  <johnnyg@google.com>

        Unreviewed, test expectations.

        Skip the filltable-*.html tests on mac and windows.  They have no expectations, so expecting
        them to FAIL is insufficient to make the bots happy.

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65561 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoUse the right path style
aroben@apple.com [Tue, 17 Aug 2010 22:10:36 +0000 (22:10 +0000)]
Use the right path style

* Scripts/old-run-webkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65560 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFix typo
aroben@apple.com [Tue, 17 Aug 2010 22:08:51 +0000 (22:08 +0000)]
Fix typo

* Scripts/old-run-webkit-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoDon't hang when running run-webkit-tests as a non-Administrator on Vista/7
aroben@apple.com [Tue, 17 Aug 2010 22:02:58 +0000 (22:02 +0000)]
Don't hang when running run-webkit-tests as a non-Administrator on Vista/7

* Scripts/old-run-webkit-tests:
(setUpWindowsCrashLogSaving): Use regtool to set NTSD as the
post-mortem debugger, rather than using NTSD itself. The latter waits
for user input when it fails to set the registry values; the former
does not.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago[Qt] Skip media/video-poster-delayed.html
vestbo@webkit.org [Tue, 17 Aug 2010 21:36:26 +0000 (21:36 +0000)]
[Qt] Skip media/video-poster-delayed.html

Reviewed by NOBODY.

The QtMultimedia backend has issues with video size hints, skip the test
until this is sorted out.

* platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65547 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoInstruct developers to (optionally) install Debugging Tools for Windows
aroben@apple.com [Tue, 17 Aug 2010 20:58:23 +0000 (20:58 +0000)]
Instruct developers to (optionally) install Debugging Tools for Windows

These tools are used by some of our scripts, so are useful for
developers to have installed.

Fixes <http://webkit.org/b/44128> webkit.org building instructions
should recommend installing Debugging Tools for Windows

Reviewed by Sam Weinig.

* building/tools.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65540 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Fady Samuel <fsamuel@chromium.org>
jamesr@google.com [Tue, 17 Aug 2010 20:57:15 +0000 (20:57 +0000)]
2010-08-17  Fady Samuel  <fsamuel@chromium.org>

        Reviewed by David Hyatt.

        Updated table cell hit testing and painting to use binary search instead of linear scan.

        Improved Table Hit Testing and Painting Performance
        https://bugs.webkit.org/show_bug.cgi?id=43933

        Tests: fast/table/simple_paint.html
               tables/hittesting/filltable-emptycells.html
               tables/hittesting/filltable-levels.html
               tables/hittesting/filltable-outline.html
               tables/hittesting/filltable-rtl.html
               tables/hittesting/filltable-stress.html

        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::paintObject): Dirty rect determined using binary search.
        (WebCore::RenderTableSection::nodeAtPoint): Cell hit determined using binary search
2010-08-17  Fady Samuel  <fsamuel@chromium.org>

        Reviewed by David Hyatt.

        Updated table cell hit testing and painting to use binary search instead of a linear scan.

        Layout tests check that hit testing of empty cells, overlapping cells,
        cells with outlines, right-to-left tables, and large
        tables all work as expected.

        Improved Table Hit Testing and Painting Performance
        https://bugs.webkit.org/show_bug.cgi?id=43933

        * fast/table/simple_paint.html: Added.
        * platform/chromium-linux/fast/table/simple_paint-expected.checksum: Added.
        * platform/chromium-linux/fast/table/simple_paint-expected.png: Added.
        * platform/chromium-linux/fast/table/simple_paint-expected.txt: Added.
        * platform/chromium-linux/tables/hittesting/filltable-emptycells-expected.txt: Added.
        * platform/chromium-linux/tables/hittesting/filltable-levels-expected.txt: Added.
        * platform/chromium-linux/tables/hittesting/filltable-outline-expected.txt: Added.
        * platform/chromium-linux/tables/hittesting/filltable-rtl-expected.txt: Added.
        * platform/chromium-linux/tables/hittesting/filltable-stress-expected.txt: Added.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/tables/hittesting/filltable-emptycells-expected.txt: Added.
        * platform/gtk/tables/hittesting/filltable-levels-expected.txt: Added.
        * platform/gtk/tables/hittesting/filltable-outline-expected.txt: Added.
        * platform/gtk/tables/hittesting/filltable-rtl-expected.txt: Added.
        * platform/gtk/tables/hittesting/filltable-stress-expected.txt: Added.
        * tables/hittesting/filltable-emptycells.html: Added.
        * tables/hittesting/filltable-levels.html: Added.
        * tables/hittesting/filltable-outline.html: Added.
        * tables/hittesting/filltable-rtl.html: Added.
        * tables/hittesting/filltable-stress.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65539 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 17 Aug 2010 20:49:50 +0000 (20:49 +0000)]
2010-08-17  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Only destroy empty anonymous block when it is columns or column span block
        in RenderBlock::removeChild.
        https://bugs.webkit.org/show_bug.cgi?id=44035

        Test: fast/block/basic/empty-anonymous-block-remove-crash.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::removeChild):
2010-08-17  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Tests that removing an empty anonymous block does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=44035

        * fast/block/basic/empty-anonymous-block-remove-crash-expected.txt: Added.
        * fast/block/basic/empty-anonymous-block-remove-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65538 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoTeach run-webkit-tests, DumpRenderTree, and WebKitTestRunner how to save crash logs...
aroben@apple.com [Tue, 17 Aug 2010 20:45:10 +0000 (20:45 +0000)]
Teach run-webkit-tests, DumpRenderTree, and WebKitTestRunner how to save crash logs on Windows

The crash logs are saved to /tmp/layout-test-results and have names
like CrashLog_02bc_2010-08-17_14-36-20-108.txt.

Unfortunately, crashes in the WebKit2 web process are recorded as
time-outs by run-webkit-tests. Fixing this is covered by
<http://webkit.org/b/44121>.

Fixes <http://webkit.org/b/37859> <rdar://problem/7883560>
DumpRenderTree should save a stack trace and/or dump file when it
crashes

Reviewed by Sam Weinig.

* DumpRenderTree/win/DumpRenderTree.cpp:
(exceptionFilter):
(main):
* WebKitTestRunner/win/TestControllerWin.cpp:
(WTR::exceptionFilter):
(WTR::TestController::platformInitialize):
These changes set up an exception filter that prints #CRASHED to
stderr, then lets the exception propagate normally. This allows
run-webkit-tests to detect when we've crashed even when a post-mortem
debugger attaches to the process.

* Scripts/old-run-webkit-tests:
(top level): Declared some variables used by the crash-log-saving
code.
(openDumpTool): Copy _NT_SYMBOL_PATH into the clean environment so
that the post-mortem debugger has access to it.
(toCygwinPath): Added. This is the opposite of toWindowsPath.
(readFromDumpToolWithTimer): If the dump tool prints #CRASHED to
stderr, consider it a crash.
(setUpWindowsCrashLogSaving): Added. Saves the current post-mortem
debugger, then sets ntsd as the post-mortem debugger. ntsd is
configured to save a crash log and then quit automatically.
(END): Added. Restores the previous post-mortem debugger when the
script exits.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65537 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 17 Aug 2010 20:17:09 +0000 (20:17 +0000)]
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65516.
        http://trac.webkit.org/changeset/65516
        https://bugs.webkit.org/show_bug.cgi?id=44126

        broke chromium unit tests on mac and linux (Requested by
        johnny_g on #webkit).

        * WebKit.gyp:
        * src/WebFrameImpl.cpp:
        (WebKit::frameContentAsPlainText):
        * tests/RunAllTests.cpp:
        (main):
        * tests/WebFrameTest.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65536 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 John Gregg <johnnyg@google.com>
johnnyg@google.com [Tue, 17 Aug 2010 20:14:46 +0000 (20:14 +0000)]
2010-08-17  John Gregg  <johnnyg@google.com>

        Unreviewed, test expectation.

        Excluding the new geolocation multiple-requests layout tests from chromium.
        See https://bugs.webkit.org/show_bug.cgi?id=44118

        * platform/chromium/test_expectations.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65535 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 17 Aug 2010 20:07:45 +0000 (20:07 +0000)]
2010-08-17  Darin Fisher  <darin@chromium.org>

        Reviewed by Darin Adler.

        [Chromium] REGRESSION: Incorrect repaint on scrolling with position:fixed elements
        https://bugs.webkit.org/show_bug.cgi?id=42949

        This is a partial revert of http://trac.webkit.org/changeset/63907

        * page/FrameView.cpp:
        (WebCore::FrameView::scrollPositionChangedViaPlatformWidget):
        (WebCore::FrameView::scrollPositionChanged):
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::valueChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65534 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd testcase for r65514
vestbo@webkit.org [Tue, 17 Aug 2010 20:06:05 +0000 (20:06 +0000)]
Add testcase for r65514

Reviewed by Eric Carlson.

* media/video-poster-delayed-expected.txt: Added.
* media/video-poster-delayed.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65533 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Gustavo Noronha Silva <gustavo.noronha@collabora.couk>
kov@webkit.org [Tue, 17 Aug 2010 20:00:35 +0000 (20:00 +0000)]
2010-08-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.couk>

        Reviewed by Martin Robinson.

        WebBackForwardList.get_{back|forward}_list_with_limit not introspectable
        https://bugs.webkit.org/show_bug.cgi?id=43054

        * GNUmakefile.am: Give also API implementation files to the GIR
        scanner.

WebKit/gtk

2010-08-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Martin Robinson.

        WebBackForwardList.get_{back|forward}_list_with_limit not introspectable
        https://bugs.webkit.org/show_bug.cgi?id=43054

        Annotate WebKitWebBackForwardList and the function that is used to fetch it from
        the WebKitWebView. More will follow.

        * webkit/webkitwebbackforwardlist.cpp: Annotations, and small
        improvements to the docs.
        * webkit/webkitwebbackforwardlist.h: Couple empty lines missing.
        * webkit/webkitwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65532 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
senorblanco@chromium.org [Tue, 17 Aug 2010 19:51:11 +0000 (19:51 +0000)]
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65528.
        http://trac.webkit.org/changeset/65528
        https://bugs.webkit.org/show_bug.cgi?id=44123

        "Broke a bunch of canvas tests on Chrome win/linux."
        (Requested by senorblanco on #webkit).

        * platform/graphics/skia/BitmapImageSingleFrameSkia.h:
        (WebCore::BitmapImageSingleFrameSkia::BitmapImageSingleFrameSkia):
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::drawsUsingCopy):
        (WebCore::ImageBuffer::copyImage):
        (WebCore::ImageBuffer::draw):
        (WebCore::ImageBuffer::drawPattern):
        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::BitmapImageSingleFrameSkia::create):
        * platform/graphics/skia/NativeImageSkia.cpp:
        * platform/graphics/skia/NativeImageSkia.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65531 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 17 Aug 2010 19:05:02 +0000 (19:05 +0000)]
2010-08-17  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by David Hyatt.

        [Cairo] Remove unnecessary full-surface copies from ImageCairo and GraphicsContextCairo
        https://bugs.webkit.org/show_bug.cgi?id=44076

        No new tests as functionality has not changed.

        * GNUmakefile.am: Added GRefPtrCairo to the sources list.
        * platform/graphics/cairo/GRefPtrCairo.cpp: Added.
        (WTF::refGPtr): Added specializations for cairo_t and cairo_surface_t.
        (WTF::derefGPtr):
        * platform/graphics/cairo/GRefPtrCairo.h: Added.
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::createPlatformShadow): Access the image surface directly
        from the ImageBuffer instead of wrapping it in an Image.
        * platform/graphics/cairo/ImageCairo.cpp:
        (WebCore::Image::drawPattern): Create the temporary surface using cairo primitives
        instead of through the platform-independent WebCore code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65530 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 17 Aug 2010 19:00:10 +0000 (19:00 +0000)]
2010-08-17  Martin Robinson  <mrobinson@igalia.com>

        [GTK] Clean up WebCore/platform/graphics/gtk/ImageGtk.cpp
        https://bugs.webkit.org/show_bug.cgi?id=44069

        No new tests as functionality has not changed.

        * GNUmakefile.am: Add WEBKITGTK_API_VERSION_STRING definition, which
        allows WebCore to use this as well.
        * platform/graphics/gtk/ImageGtk.cpp:
        (getWebKitDataDirectory): Added this helper.
        (WebCore::Image::loadPlatformResource): Use GOwnPtr for gchar pointers and
        use the new getWebKitDataDirectory helper.
        * platform/gtk/GOwnPtrGtk.cpp: Move the GtkIconInfo template specialization to this file.
        (WTF::GtkIconInfo): Added this forward declaration.
        * platform/gtk/GOwnPtrGtk.h: Declaration for new template specialization.
2010-08-17  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Clean up WebCore/platform/graphics/gtk/ImageGtk.cpp
        https://bugs.webkit.org/show_bug.cgi?id=44069

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend): Switched to using the new WEBKITGTK_API_VERSION_STRING define.
        * webkit/webkitprivate.cpp:
        (inspectorGSettings): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65529 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 17 Aug 2010 18:55:30 +0000 (18:55 +0000)]
2010-08-17  Stephen White  <senorblanco@chromium.org>

        Reviewed by Darin Fisher.

        [CHROMIUM] Eliminate a memcpy() from the canvas.drawImage(canvas, ...) path.
        This is the Skia followup to Dave Hyatt's patch in r65449.
        https://bugs.webkit.org/show_bug.cgi?id=44115

        Covered by canvas layout tests.

        * platform/graphics/skia/BitmapImageSingleFrameSkia.h:
        Add a "copyPixels" argument to the create() static to indicate if
        the caller wants the pixels to be copied or ref'ed.
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::drawsUsingCopy):
        We don't use the always-copy path anymore, so return false.
        (WebCore::ImageBuffer::copyImage):
        Shouldn't get here anymore, so ASSERT_NOT_REACHED.
        (WebCore::ImageBuffer::draw):
        (WebCore::ImageBuffer::drawPattern):
        Create a temporary BitampImageSingleFrameSkia wrapped around the
        canvas's bitmap, and draw with it immediately.  If drawing to our own
        canvas, copy the pixels, otherwise just shallow copy.
        * platform/graphics/skia/ImageSkia.cpp:
        (WebCore::BitmapImageSingleFrameSkia::BitmapImageSingleFrameSkia):
        Make the constructor take an SkBitmap to be wrapped.
        (WebCore::BitmapImageSingleFrameSkia::create):
        Implement the "copyPixels" flag:  if true, do a deep copy, otherwise
        do a shallow copy.
        * platform/graphics/skia/NativeImageSkia.cpp:
        (WebCore::NativeImageSkia::NativeImageSkia):
        * platform/graphics/skia/NativeImageSkia.h:
        Implement a new constructor that shallow-copies the given SkBitmap.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65528 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Tue, 17 Aug 2010 18:47:41 +0000 (18:47 +0000)]
2010-08-17  Victor Wang  <victorw@chromium.org>

        Reviewed by ojan@chromium.org.

        Update test results server:
        1. Normalize test results and times after merging (prune tests where
           all runs pass or do not have data, truncate all test items to max
           number of builds)
        2. times should be int not string.
        3. when inserting a new test item, should keep old data regardless
           whether or not they have same item type with new one.

        https://bugs.webkit.org/show_bug.cgi?id=43861

        * TestResultServer/model/jsonresults.py:
        * TestResultServer/model/jsonresults_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65527 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMove BlobRegistry interface and implementation to platform/network
jianli@chromium.org [Tue, 17 Aug 2010 18:45:53 +0000 (18:45 +0000)]
Move BlobRegistry interface and implementation to platform/network
https://bugs.webkit.org/show_bug.cgi?id=44116

Reviewed by Darin Fisher.

Also move BlobData and BlobStorageData since they're part of BlobRegistry
implementation.

* Android.mk:
* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* platform/network/BlobData.cpp: Renamed from WebCore/platform/BlobData.cpp.
* platform/network/BlobData.h: Renamed from WebCore/platform/BlobData.h.
* platform/network/BlobRegistry.h: Renamed from WebCore/platform/BlobRegistry.h.
* platform/network/BlobRegistryImpl.cpp: Renamed from WebCore/html/BlobRegistryImpl.cpp.
* platform/network/BlobRegistryImpl.h: Renamed from WebCore/html/BlobRegistryImpl.h.
* platform/network/BlobStorageData.h: Renamed from WebCore/html/BlobStorageData.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65526 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Tue, 17 Aug 2010 18:43:56 +0000 (18:43 +0000)]
2010-08-17  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Path: Fast approximation of stroke bounding rects
        https://bugs.webkit.org/show_bug.cgi?id=44014

        In canvas's stroke(), use QPainterPath::controlPointRect() to calculate
        a slightly larger bounding rect in a fraction of the time.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::stroke):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoSet PluginQuirkRequiresDefaultScreenDepth for all Flash versions and not
girish@forwardbias.in [Tue, 17 Aug 2010 18:39:54 +0000 (18:39 +0000)]
Set PluginQuirkRequiresDefaultScreenDepth for all Flash versions and not
just Flash 10.

Reviewed by Kenneth Rohde Christiansen.

https://bugs.webkit.org/show_bug.cgi?id=44043

* plugins/PluginPackage.cpp:
(WebCore::PluginPackage::determineQuirks):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65524 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoChange FileStream implementation to prepare for blob resource handling.
jianli@chromium.org [Tue, 17 Aug 2010 18:31:40 +0000 (18:31 +0000)]
Change FileStream implementation to prepare for blob resource handling.
https://bugs.webkit.org/show_bug.cgi?id=43985

Reviewed by David Levin.

Change FileStream to support synchronous usage only. All the asychronous
logics are moved to FileStreamProxy. Update the existing FileReader code
to adapt to this change.

* html/FileReader.cpp: Account for FileStreamProxy changes.
(WebCore::FileReader::didStart):
(WebCore::FileReader::didGetSize):
(WebCore::FileReader::didOpen):
(WebCore::FileReader::didRead):
* html/FileReader.h:
* html/FileStream.cpp: Remove m_client and make all calls synchronous only.
(WebCore::FileStream::FileStream):
(WebCore::FileStream::start):
(WebCore::FileStream::stop):
(WebCore::FileStream::getSize):
(WebCore::FileStream::openForRead):
(WebCore::FileStream::openForWrite):
(WebCore::FileStream::close):
(WebCore::FileStream::read):
(WebCore::FileStream::write):
(WebCore::FileStream::truncate):
* html/FileStream.h: Add getSize() and make all calls synchronous by adding return values.
(WebCore::FileStream::create):
* html/FileStreamClient.h: Account for FileStreamProxy changes.
(WebCore::FileStreamClient::didRead):
(WebCore::FileStreamClient::didTruncate):
(WebCore::FileStreamClient::didOpen):
* html/FileStreamProxy.cpp: All the logics to handle asynchronous calls are wrapped here.
(WebCore::FileStreamProxy::FileStreamProxy):
(WebCore::FileStreamProxy::create):
(WebCore::FileStreamProxy::fileThread):
(WebCore::didStart):
(WebCore::FileStreamProxy::startOnFileThread):
(WebCore::FileStreamProxy::stop):
(WebCore::derefProxyOnContext):
(WebCore::FileStreamProxy::stopOnFileThread):
(WebCore::didGetSize):
(WebCore::FileStreamProxy::getSize):
(WebCore::FileStreamProxy::getSizeOnFileThread):
(WebCore::didOpen):
(WebCore::FileStreamProxy::openForRead):
(WebCore::FileStreamProxy::openForReadOnFileThread):
(WebCore::FileStreamProxy::openForWrite):
(WebCore::FileStreamProxy::openForWriteOnFileThread):
(WebCore::FileStreamProxy::close):
(WebCore::FileStreamProxy::closeOnFileThread):
(WebCore::didRead):
(WebCore::FileStreamProxy::read):
(WebCore::FileStreamProxy::readOnFileThread):
(WebCore::didWrite):
(WebCore::FileStreamProxy::write):
(WebCore::FileStreamProxy::writeOnFileThread):
(WebCore::didTruncate):
(WebCore::FileStreamProxy::truncate):
(WebCore::FileStreamProxy::truncateOnFileThread):
* html/FileStreamProxy.h:
* html/FileThreadTask.h: Change all methods to return void since return value is not needed now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65523 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoAdd a few items in the WebKitTestRunner Skipped list.
weinig@apple.com [Tue, 17 Aug 2010 18:28:19 +0000 (18:28 +0000)]
Add a few items in the WebKitTestRunner Skipped list.

Rubber-stamped by Anders Carlsson.

* platform/mac-wk2/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65522 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Hui Huang <hui.2.huang@nokia.com>
laszlo.1.gombos@nokia.com [Tue, 17 Aug 2010 18:22:45 +0000 (18:22 +0000)]
2010-08-17  Hui Huang  <hui.2.huang@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Fix ARM5 compiling error in FrameLoaderClientQt.cpp
        https://bugs.webkit.org/show_bug.cgi?id=43927

        In the Symbian build chain QT_USE_FAST_OPERATOR_PLUS is defined,
        which means that the '+' will automatically be performed as the
        QStringBuilder '%'. Create a QString explicitly to make sure that
        toLocal8bit() member is available that the qPrintable Macro uses.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65521 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 17 Aug 2010 18:06:34 +0000 (18:06 +0000)]
2010-08-17  Dimitri Glazkov  <dglazkov@chromium.org>

        Returned WebCore.xcodeproj to default settings after http://trac.webkit.org/changeset/65468/trunk/WebCore/WebCore.xcodeproj/project.pbxproj.

        * WebCore.xcodeproj/project.pbxproj: Removed developmentRegion = English line.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65520 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 17 Aug 2010 18:06:14 +0000 (18:06 +0000)]
2010-08-17  Eric Seidel  <eric@webkit.org>

        Reviewed by Alexey Proskuryakov.

        sputnik S15.9.3.1_A5_T1~T6 fail when run in timezone other than Pacific Time
        https://bugs.webkit.org/show_bug.cgi?id=42625

        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T1.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T1.html.
        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T2.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T2.html.
        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T3.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T3.html.
        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T4.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T4.html.
        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T5.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T5.html.
        * fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T6.html-disabled: Renamed from LayoutTests/fast/js/sputnik/Conformance/15_Native_Objects/15.9_Date/15.9.3/S15.9.3.1_A5_T6.html.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65519 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Tue, 17 Aug 2010 18:04:50 +0000 (18:04 +0000)]
2010-08-17  Martin Robinson  <mrobinson@igalia.com>

        GTK+ Build fix for those having stable versions of GLib.

        * configure.ac: Only invoke GLIB_GSETTINGS if we have the necessary gio version.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65518 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoEliminate extra traversal of the tree when determining ability to lazy-attach a Node.
dglazkov@chromium.org [Tue, 17 Aug 2010 17:55:58 +0000 (17:55 +0000)]
Eliminate extra traversal of the tree when determining ability to lazy-attach a Node.
https://bugs.webkit.org/show_bug.cgi?id=43749

Reviewed by Eric Seidel.

Land the actual change that I intended to land in http://trac.webkit.org/changeset/65508.

Neither SVG nor inputs/counters shadow DOM are traveling down this path (they home-bake their attachment),
so the check for shadow tree existence isn't needed.
Gives a small, but consistent win in Dromaeo's DOM Modification test.

* dom/Node.h:
(WebCore::Node::canLazyAttach): Changed to always return true.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65517 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Jay Civelli <jcivelli@chromium.org>
jcivelli@chromium.org [Tue, 17 Aug 2010 17:45:48 +0000 (17:45 +0000)]
2010-08-17  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by Darin Fisher.

        Made WebFrame not report the text from hidden frames.
        (some pages contain hidden frames with garbage text that
        should not be indexed or used to detect the page's language).
        https://bugs.webkit.org/show_bug.cgi?id=39456

        * WebKit.gyp:
        * public/WebCString.h:
        (WebKit::operator<):
        * public/WebURL.h:
        (WebKit::operator<):
        * src/WebCString.cpp:
        (WebKit::WebCString::compare):
        * src/WebFrameImpl.cpp:
        (WebKit::frameContentAsPlainText):
        * tests/RunAllTests.cpp:
        (main):
        * tests/WebFrameTest.cpp: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65516 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoMoved previous link error fix to Base.xcconfig
cmarrin@apple.com [Tue, 17 Aug 2010 17:24:14 +0000 (17:24 +0000)]
Moved previous link error fix to Base.xcconfig

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65515 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoRestore intrinsic size of video elements after loading poster
vestbo@webkit.org [Tue, 17 Aug 2010 17:18:22 +0000 (17:18 +0000)]
Restore intrinsic size of video elements after loading poster

Reviewed by Eric Carlson.

The element might already have the instrinsic size of the video, in
which case we don't want to override it witht that of the image.

* rendering/RenderVideo.cpp: call updateIntrinsicSize() to restore size

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65514 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Steve Block <steveblock@google.com>
steveblock@google.com [Tue, 17 Aug 2010 17:13:22 +0000 (17:13 +0000)]
2010-08-17  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        [Qt] fast/dom/Geolocation/disconnected-frame-permission-denied.html fails
        https://bugs.webkit.org/show_bug.cgi?id=44059

        * fast/dom/Geolocation/disconnected-frame-permission-denied-expected.txt:
        * fast/dom/Geolocation/script-tests/disconnected-frame-permission-denied.js:
        (onIframeLoaded):
        ():
        * platform/chromium/test_expectations.txt:
        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65513 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years agoFixed link errors in WebCore build on Mac
cmarrin@apple.com [Tue, 17 Aug 2010 17:05:30 +0000 (17:05 +0000)]
Fixed link errors in WebCore build on Mac

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65512 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
commit-queue@webkit.org [Tue, 17 Aug 2010 16:54:23 +0000 (16:54 +0000)]
2010-08-17  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        Geolocation preemptive permissions policy is buggy
        https://bugs.webkit.org/show_bug.cgi?id=42811

        Adds cases where permission is niether denied or granted immediately and multiple
        requests are waiting.

        * fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests-expected.txt: Added.
        * fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html: Added.
        * fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests-expected.txt: Added.
        * fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html: Added.
        * fast/dom/Geolocation/script-tests/delayed-permission-allowed-for-multiple-requests.js: Added.
        (allowPermission):
        ():
        (maybeFinishTest):
        * fast/dom/Geolocation/script-tests/delayed-permission-denied-for-multiple-requests.js: Added.
        (denyPermission):
        (maybeFinishTest):
        * platform/gtk/Skipped:
        * platform/qt/Skipped:
2010-08-17  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>

        Reviewed by Steve Block.

        Geolocation preemptive permissions policy is buggy
        https://bugs.webkit.org/show_bug.cgi?id=42811

        While waiting for permission, m_startRequestPermissionNotifier was
        used to consider only one pending request. This patch implements a set
        m_pendingForPermissionNotifiers to maintain set of pending requests.
        When user grants/denies permission all listeners will be notified.
        Also fixed issue with hasZeroTimeout() where startTimerIfNeeded() has
        to start irrespective of permission state

        Tests: fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html
               fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html

        * WebCore.pro:
        * page/Geolocation.cpp:
        (WebCore::Geolocation::startRequest):
        (WebCore::Geolocation::setIsAllowed):
        (WebCore::Geolocation::startUpdating):
        (WebCore::Geolocation::handlePendingPermissionNotifiers):
        * page/Geolocation.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65511 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Kelly Norton <knorton@google.com>
knorton@google.com [Tue, 17 Aug 2010 16:27:42 +0000 (16:27 +0000)]
2010-08-17  Kelly Norton  <knorton@google.com>

        Reviewed by Pavel Feldman.

        Web Inspector: Fixes a crash in addTimelineRecord when InspectorTimelineAgent
        is enabled through WebDevToolsAgentImpl::setApuEnabled.
        https://bugs.webkit.org/show_bug.cgi?id=44105

        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-09 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Tue, 17 Aug 2010 16:18:21 +0000 (16:18 +0000)]
2010-08-09  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Beginnings of IndexedDB persistance + IDBDatabase.description fleshed out
        https://bugs.webkit.org/show_bug.cgi?id=43744

        Add a layout test for IDBDatabase.description.

        * storage/indexeddb/database-description-expected.txt: Added.
        * storage/indexeddb/database-description.html: Added.
        * storage/indexeddb/script-tests/database-description.js: Added.
        (test):
        (firstSuccess):
        (secondSuccess):
        (thirdSuccess):
2010-08-11  Jeremy Orlow  <jorlow@chromium.org>

        Beginnings of IndexedDB persistance + IDBDatabase.description fleshed out
        https://bugs.webkit.org/show_bug.cgi?id=43744

        The beginnings of a SQLite backend for IndexedDB.  Right now, only persists
        meta-data for the database.  The rest is coming in future patches.  Adds
        a manual test to verify persistance.

        Test: storage/indexeddb/database-description.html
              + a manual test

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * manual-tests/indexed-database.html: Added.
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::databaseIdentifier):
        * platform/FileSystem.cpp: Added.
        (WebCore::):
        (WebCore::shouldEscapeUChar):
        (WebCore::encodeForFileName):
        * platform/FileSystem.h:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::IDBDatabase):
        * storage/IDBDatabase.h:
        (WebCore::IDBDatabase::description):
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::extractMetaData):
        (WebCore::setMetaData):
        (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
        (WebCore::IDBDatabaseBackendImpl::setDescription):
        * storage/IDBDatabaseBackendImpl.h:
        (WebCore::IDBDatabaseBackendImpl::create):
        * storage/IDBFactory.h:
        * storage/IDBFactory.idl:
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::IDBFactoryBackendImpl):
        (WebCore::IDBFactoryBackendImpl::~IDBFactoryBackendImpl):
        (WebCore::openSQLiteDatabase):
        (WebCore::createTables):
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        (WebCore::IDBFactoryBackendImpl::create):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 17 Aug 2010 16:15:17 +0000 (16:15 +0000)]
2010-08-17  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Eric Seidel.

        Eliminate extra traversal of the tree when determining ability to lazy-attach a Node.
        https://bugs.webkit.org/show_bug.cgi?id=43749

        Neither SVG nor inputs/counters shadow DOM are traveling down this path (they home-bake their attachment),
        so the check for shadow tree existence isn't needed.

        Gives a small, but consisten win in Dromaeo's DOM Modification test.

        * dom/Node.cpp: Removed canLazyAttach declaration.
        * dom/Node.h:
        (WebCore::Node::canLazyAttach): Changed to always return true.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 17 Aug 2010 15:59:46 +0000 (15:59 +0000)]
2010-08-17  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Revert r41142. Unskipped tests are still failing.

        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65507 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 17 Aug 2010 15:55:56 +0000 (15:55 +0000)]
2010-08-17  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [CRASH] Console formatting crashes after cross-domain navigation.
        https://bugs.webkit.org/show_bug.cgi?id=44103

        * http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html:
2010-08-17  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [CRASH] Console formatting crashes after cross-domain navigation.
        https://bugs.webkit.org/show_bug.cgi?id=44103

        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::injectedScriptFor):
        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::injectedScriptFor):
        * inspector/ConsoleMessage.cpp:
        (WebCore::ConsoleMessage::addToFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65506 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 17 Aug 2010 15:41:03 +0000 (15:41 +0000)]
2010-08-17  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: upstream Chromium debugger step tests
        https://bugs.webkit.org/show_bug.cgi?id=44106

        * http/tests/inspector-enabled/console-log-before-frame-navigation.html:
        * http/tests/inspector-enabled/resources/console-log-before-frame-navigation.js: Added.
        (doit.callback):
        (doit):
        (receiveMessage):
        (frontend_dumpConsoleMessages):
        * http/tests/inspector/debugger-test.js:
        (frontend_captureStackTrace):
        * inspector/debugger-step-in-expected.txt: Added.
        * inspector/debugger-step-in.html: Added.
        * inspector/debugger-step-out-expected.txt: Added.
        * inspector/debugger-step-out.html: Added.
        * inspector/debugger-step-over-expected.txt: Added.
        * inspector/debugger-step-over.html: Added.
2010-08-17  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: upstream Chromium debugger step tests
        https://bugs.webkit.org/show_bug.cgi?id=44106

        Tests: inspector/debugger-step-in.html
               inspector/debugger-step-out.html
               inspector/debugger-step-over.html

        * bindings/js/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::returnEvent): check that debugger is still attached after continue to ensure
        that current call frame is not 0.
2010-08-17  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: upstream Chromium debugger step tests
        https://bugs.webkit.org/show_bug.cgi?id=44106

        * src/js/Tests.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65505 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
commit-queue@webkit.org [Tue, 17 Aug 2010 15:35:29 +0000 (15:35 +0000)]
2010-08-17  Ademar de Souza Reis Jr  <ademar.reis@openbossa.org>

        Reviewed by David Levin.

        Trivial fix removing the self-inclusion of a couple of header files.

        Self inclusion in Document.h and RenderTheme.h
        https://bugs.webkit.org/show_bug.cgi?id=44065

        * dom/Document.h:
        * rendering/RenderTheme.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65504 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 17 Aug 2010 15:03:07 +0000 (15:03 +0000)]
2010-08-17  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [Qt] Web Inspector: inspector/debugger-pause-on-debugger-statement.html times out on Qt
        https://bugs.webkit.org/show_bug.cgi?id=41142

        * platform/qt/Skipped: the tests should pass after r65315

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Tue, 17 Aug 2010 14:54:31 +0000 (14:54 +0000)]
2010-08-17  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Move the accelerated compositing build flag to the right place
        https://bugs.webkit.org/show_bug.cgi?id=43882

        * wtf/Platform.h:
2010-08-17  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] Move the accelerated compositing build flag to the right place
        https://bugs.webkit.org/show_bug.cgi?id=43882

        No new tests: build fix.

        * WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65502 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Tue, 17 Aug 2010 14:49:31 +0000 (14:49 +0000)]
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65500.
        http://trac.webkit.org/changeset/65500
        https://bugs.webkit.org/show_bug.cgi?id=44108

        Qt bots failed to compile. (Requested by loislo on #webkit).

        * GNUmakefile.am:
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65500.
        http://trac.webkit.org/changeset/65500
        https://bugs.webkit.org/show_bug.cgi?id=44108

        Qt bots failed to compile. (Requested by loislo on #webkit).

        * platform/gtk/Skipped:
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65500.
        http://trac.webkit.org/changeset/65500
        https://bugs.webkit.org/show_bug.cgi?id=44108

        Qt bots failed to compile. (Requested by loislo on #webkit).

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/copyInspectorFiles.cmd:
        * WebCore.xcodeproj/project.pbxproj:
        * combine-javascript-resources:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/InspectorBackendStub.js: Added.
        (WebInspector.InspectorBackendStub):
        (WebInspector.InspectorBackendStub.prototype._registerDelegate):
        (WebInspector.InspectorBackendStub.prototype.sendMessageToBackend):
        * inspector/front-end/InspectorBackendStub.qrc: Removed.
        * inspector/front-end/WebKit.qrc:
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65500.
        http://trac.webkit.org/changeset/65500
        https://bugs.webkit.org/show_bug.cgi?id=44108

        Qt bots failed to compile. (Requested by loislo on #webkit).

        * WebKit.gyp:
2010-08-17  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r65500.
        http://trac.webkit.org/changeset/65500
        https://bugs.webkit.org/show_bug.cgi?id=44108

        Qt bots failed to compile. (Requested by loislo on #webkit).

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-16 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Tue, 17 Aug 2010 14:33:53 +0000 (14:33 +0000)]
2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        New command-line flag was added to combine-javascript-resources.
        It specifies the location of generated scripts.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * combine-javascript-resources:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/front-end/InspectorBackendStub.js: Removed.
        * inspector/front-end/WebKit.qrc:

2010-08-16  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * GNUmakefile.am:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: inspector tests for GTK were added to Skip list.
        They should be enabled later.
        Bug for GTK https://bugs.webkit.org/show_bug.cgi?id=43977
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * platform/gtk/Skipped:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebKit.gyp:

2010-08-17  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: replace hand written InspectorBackendStub.js by generated one.
        https://bugs.webkit.org/show_bug.cgi?id=43791

        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::openInspectorFrontend):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65500 268f45cc-cd09-0410-ab3c-d52691b4dbfc

9 years ago2010-08-17 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 17 Aug 2010 13:30:43 +0000 (13:30 +0000)]
2010-08-17  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: get rid of node and scoped object-specific ids.
        https://bugs.webkit.org/show_bug.cgi?id=44097

        * inspector/front-end/ConsoleView.js:
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
        * inspector/front-end/EventListenersSidebarPane.js:
        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor.):
        (injectedScriptConstructor):
        * inspector/front-end/InjectedScriptAccess.js:
        (InjectedScriptAccess):
        (InjectedScriptAccess.getForNode):
        (InjectedScriptAccess._installHandler.InjectedScriptAccess.prototype.methodName):
        (InjectedScriptAccess._installHandler):
        * inspector/front-end/PropertiesSidebarPane.js:
        (WebInspector.PropertiesSidebarPane.prototype.update):
        * inspector/front-end/RemoteObject.js:
        (WebInspector.RemoteObjectId):
        (WebInspector.RemoteObject.resolveNode):
        * inspector/front-end/ScriptsPanel.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65499 268f45cc-cd09-0410-ab3c-d52691b4dbfc