WebKit-https.git
11 years ago Rubber-stamped by Kenneth Rohde Christiansen.
abecsi@webkit.org [Thu, 11 Feb 2010 09:26:07 +0000 (09:26 +0000)]
Rubber-stamped by Kenneth Rohde Christiansen.

    [Qt] Update expected results for the following tests after r54646 because of ImageData support.

    * platform/qt/fast/dom/Window/window-properties-expected.txt:
    * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
    * platform/qt/fast/dom/prototype-inheritance-expected.txt:
    * platform/qt/fast/js/global-constructors-expected.txt:

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

11 years ago2010-02-11 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 11 Feb 2010 08:34:10 +0000 (08:34 +0000)]
2010-02-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        Step attribute support for date&time types.
        https://bugs.webkit.org/show_bug.cgi?id=30847

        Add tests for ValidityState.stepMismatch, stepUp() and stepDown()
        for date, datetime, datetime-local, month, time, week types.
        Update valueAsDate and valueAsNumber tests for a string representation
        change.

        * fast/forms/ValidityState-stepMismatch-expected.txt: Added.
        * fast/forms/ValidityState-stepMismatch.html: Added.
        * fast/forms/input-stepup-stepdown-expected.txt: Added.
        * fast/forms/input-stepup-stepdown.html: Added.
        * fast/forms/input-valueasdate-datetime-expected.txt:
        * fast/forms/input-valueasdate-time-expected.txt:
        * fast/forms/input-valueasnumber-datetime-expected.txt:
        * fast/forms/input-valueasnumber-datetimelocal-expected.txt:
        * fast/forms/input-valueasnumber-time-expected.txt:
        * fast/forms/script-tests/ValidityState-stepMismatch.js: Added.
        * fast/forms/script-tests/input-stepup-stepdown.js: Added.
        * fast/forms/script-tests/input-valueasdate-datetime.js:
        * fast/forms/script-tests/input-valueasnumber-datetime.js:

2010-02-11  Kent Tamura  <tkent@chromium.org>

        Reviewed by Darin Adler.

        Step attribute support for date&time types.
        https://bugs.webkit.org/show_bug.cgi?id=30847

        - Add implementation for ValidityState.stepMismatch, stepUp() and
          stepDown() for date, datetime, datetime-local, month, time, week types.
        - Fix string representation of DateComponents.

        Tests: fast/forms/ValidityState-stepMismatch.html
               fast/forms/input-stepup-stepdown.html

        * html/HTMLInputElement.cpp:
          - Change monthDefaultMaximum so that DateComponents::m_year doesn't overflow.
        (WebCore::HTMLInputElement::stepBase):
        (WebCore::HTMLInputElement::stepMismatch):
        (WebCore::HTMLInputElement::getStepParameters):
        (WebCore::HTMLInputElement::getAllowedValueStep):
        (WebCore::HTMLInputElement::applyStep):
          Renamed from applyStepForNumberOrRange(), and add support for other types.
        (WebCore::HTMLInputElement::stepUp): Rename applyStepForNumberOrRange().
        (WebCore::HTMLInputElement::stepDown): Rename applyStepForNumberOrRange().
        (WebCore::HTMLInputElement::setValueAsDate): Use setDateValue().
        (WebCore::HTMLInputElement::setDateValue):
          A helper function to make the best representation of DateComponents.
        (WebCore::HTMLInputElement::setValueAsNumber):  Use setDateValue().
        * html/HTMLInputElement.h:

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

11 years ago2010-02-10 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 11 Feb 2010 08:30:34 +0000 (08:30 +0000)]
2010-02-10  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        postMessage does not send ImageData
        https://bugs.webkit.org/show_bug.cgi?id=34825

        Add test for postMessage passing ImageData

        Update a few other tests to cover the fact that ImageData's constructor
        is now available on the window object.

        * fast/dom/Window/window-postmessage-clone-expected.txt:
        * fast/dom/Window/window-postmessage-clone.html:
        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * fast/dom/prototype-inheritance-2-expected.txt:
        * fast/dom/prototype-inheritance-expected.txt:
        * fast/js/global-constructors-expected.txt:
2010-02-10  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        postMessage does not send ImageData
        https://bugs.webkit.org/show_bug.cgi?id=34825

        Implement serialisation of ImageData, and for testing reasons
        expose the ImageData constructor (which should already have
        been exposed).

        * bindings/js/SerializedScriptValue.cpp:
        (WebCore::SerializedImageData::create):
        (WebCore::SerializedImageData::width):
        (WebCore::SerializedImageData::height):
        (WebCore::SerializedImageData::data):
        (WebCore::SerializedImageData::SerializedImageData):
        (WebCore::SerializedScriptValueData::SerializedScriptValueData):
        (WebCore::SharedSerializedData::asImageData):
        (WebCore::SerializingTreeWalker::convertIfTerminal):
        (WebCore::DeserializingTreeWalker::convertIfTerminal):
        (WebCore::TeardownTreeWalker::convertIfTerminal):
        * bindings/js/SerializedScriptValue.h:
        (WebCore::SerializedScriptValueData::):
        (WebCore::SerializedScriptValueData::asImageData):
        * html/canvas/CanvasPixelArray.h:
        (WebCore::CanvasPixelArray::data):
        * page/DOMWindow.idl:

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

11 years ago2010-02-10 Adam Barth <abarth@webkit.org>
eric@webkit.org [Thu, 11 Feb 2010 07:32:08 +0000 (07:32 +0000)]
2010-02-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Address last round of review comments on r53607
        https://bugs.webkit.org/show_bug.cgi?id=33940

        Mostly renaming and cleaning up.

        * css/CSSImportRule.cpp:
        (WebCore::CSSImportRule::insertedIntoParent):
        * css/CSSStyleSheet.h:
        (WebCore::CSSStyleSheet::create):
        (WebCore::CSSStyleSheet::createInline):
        * css/StyleBase.cpp:
        (WebCore::StyleBase::baseURL):
        * css/StyleSheet.cpp:
        (WebCore::StyleSheet::StyleSheet):
        * css/StyleSheet.h:
        (WebCore::StyleSheet::href):
        (WebCore::StyleSheet::setFinalURL):
        (WebCore::StyleSheet::finalURL):
        * dom/Document.cpp:
        (WebCore::Document::updateBaseURL):
        * dom/ProcessingInstruction.cpp:
        (WebCore::ProcessingInstruction::checkStyleSheet):
        * xml/XSLImportRule.cpp:
        (WebCore::XSLImportRule::loadSheet):
        * xml/XSLStyleSheet.h:
        (WebCore::XSLStyleSheet::create):
        (WebCore::XSLStyleSheet::createInline):
        * xml/XSLStyleSheetLibxslt.cpp:
        (WebCore::XSLStyleSheet::XSLStyleSheet):
        (WebCore::XSLStyleSheet::parseString):
        (WebCore::XSLStyleSheet::loadChildSheets):
        * xml/XSLStyleSheetQt.cpp:
        (WebCore::XSLStyleSheet::XSLStyleSheet):

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

11 years ago2010-02-10 Noam Rosenthal <noam.rosenthal@nokia.com>
eric@webkit.org [Thu, 11 Feb 2010 07:14:33 +0000 (07:14 +0000)]
2010-02-10  Noam Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] GraphicsLayer: somtimes the item flickers at the end of an animation
        This is because we try to delete the animation when finished: that is
        unnecessary. WebCore manages the animation's lifecycle and makes sure
        to call the right function when the animation can be deleted.

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

        No new tests.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQt::addAnimation): No need to delete here
        (WebCore::GraphicsLayerQt::removeAnimationsForProperty): deleteLater

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

11 years ago[wx] Build fix for wxMac/Cocoa.
kevino@webkit.org [Thu, 11 Feb 2010 06:51:40 +0000 (06:51 +0000)]
[wx] Build fix for wxMac/Cocoa.

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

11 years agoREGRESSION(24929): PDF page doesn't load in background tab
jhoneycutt@apple.com [Thu, 11 Feb 2010 06:27:06 +0000 (06:27 +0000)]
REGRESSION(24929): PDF page doesn't load in background tab

Reviewed by Dan Bernstein.

* plugins/PluginView.cpp:
(WebCore::PluginView::startOrAddToUnstartedList):
Only delay loading of the plug-in if we'll kick off our own load of the
plug-in data later, in start().

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

11 years agoCrash in WebKit!WebCore::RenderTextControlSingleLine::createInnerTextStyle doing...
enrica@apple.com [Thu, 11 Feb 2010 03:58:44 +0000 (03:58 +0000)]
Crash in WebKit!WebCore::RenderTextControlSingleLine::createInnerTextStyle doing anything in Safari after sitting on a page with 3D site
<rdar://problem/7557201>
https://bugs.webkit.org/show_bug.cgi?id=34823

Reviewed by Simon Fraser.

No tests added because the code is exercised by the existing tests.

The root cause was the fact that we were not releasing a reference that was held by CA.
In debug builds we had an assert in the destructor of WKCACFLayer.

* platform/graphics/win/GraphicsLayerCACF.cpp:
(WebCore::GraphicsLayerCACF::~GraphicsLayerCACF):

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

11 years ago2010-02-10 James Hawkins <jhawkins@chromium.org>
eric@webkit.org [Thu, 11 Feb 2010 03:47:38 +0000 (03:47 +0000)]
2010-02-10  James Hawkins  <jhawkins@chromium.org>

        Reviewed by Eric Seidel.

        [Chromium] Remove code from SuggestionsPopup that was removed in a
        previous revision of AutocompletePopup and accidentally added back in
        the refactoring.

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

        * src/AutoFillPopupMenuClient.cpp:
        * src/AutoFillPopupMenuClient.h: Added property svn:eol-style.
        * src/SuggestionsPopupMenuClient.cpp:
        (WebKit::SuggestionsPopupMenuClient::popupDidHide):
        (WebKit::SuggestionsPopupMenuClient::setTextFromItem):
        (WebKit::SuggestionsPopupMenuClient::initialize):
        * src/SuggestionsPopupMenuClient.h:

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

11 years ago2010-02-10 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Thu, 11 Feb 2010 03:30:59 +0000 (03:30 +0000)]
2010-02-10  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Typedef DragImageRef
        https://bugs.webkit.org/show_bug.cgi?id=34791

        Use IImage* as it is the BREW's image type.

        * platform/DragImage.h:

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

11 years agoWebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=34185 REGRESSION:
bdakin@apple.com [Thu, 11 Feb 2010 03:04:38 +0000 (03:04 +0000)]
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=34185 REGRESSION:
Mask not invalidating

Reviewed by Simon Fraser and Darin Adler.

SVGMaskElement is the only class that keeps a HashMap of canvas
resources rather than just a pointer to a resource. This
patch makes SVGMaskElement invalidate all of its resources in the
HashMap instead of just one.

* svg/SVGMaskElement.cpp:
(WebCore::SVGMaskElement::svgAttributeChanged):
(WebCore::SVGMaskElement::childrenChanged):
(WebCore::SVGMaskElement::invalidateCanvasResources):
* svg/SVGMaskElement.h:
* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::invalidateResourcesInAncestorChain):
(WebCore::SVGStyledElement::invalidateCanvasResources):
* svg/SVGStyledElement.h:

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=34185 REGRESSION:
Mask not invalidating

Reviewed by Simon Fraser and Darin Adler.

* platform/mac/svg/custom/mask-invalidation-expected.checksum: Added.
* platform/mac/svg/custom/mask-invalidation-expected.png: Added.
* platform/mac/svg/custom/mask-invalidation-expected.txt: Added.
* svg/custom/mask-invalidation.svg: Added.

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

11 years ago2010-02-10 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Thu, 11 Feb 2010 02:46:59 +0000 (02:46 +0000)]
2010-02-10  Stephan Aßmus  <superstippi@gmx.de>

        Reviewed by David Levin.

        Fixes to rect conversion and image rendering on Haiku
        https://bugs.webkit.org/show_bug.cgi?id=34684

        Covered by existing tests.

        The changes to the rect conversions are indeed correct. In Haiku (to stay
        compatibly with BeOS), a BRect specifies the left/top and bottom/right pixel
        *indices*, even though the values are floating point. So a rectangle covering
        just one pixel would be specified as BRect(0, 0, 0, 0). In WebCore and other
        frame works, such rectangles would be expressed as 0, 0, 1, 1. In WebCore, the
        width and height of rectangles refer to the distance between pixels, while on
        Haiku, a one pixel rect has indeed a width and height of 0, as confusing as
        that may be.

        The part of the patch that affects
        WebCore/platform/graphics/haiku/ImageHaiku.cpp also implements the drawing
        methods more correctly. Image observers are notified, and pattern drawing takes
        the "phase" into account which makes scrolled backgrounds render correctly.
        Transformations are still not supported, since the Haiku drawing backend itself
        does not yet support them.

        Use OwnPtr when creating the BBitmap to avoid future leaks with early returns.

        Convert the bitmap data to non pre-multiplied until Haiku supports drawing
        pre-multiplied bitmaps.

        * platform/graphics/haiku/FloatRectHaiku.cpp: Fixed conversion
        * platform/graphics/haiku/ImageHaiku.cpp:
        (WebCore::BitmapImage::draw): Fixed placement, notify observers
        (WebCore::Image::drawPattern): Implemented using "phase" to fix scrolling, notify observers
        * platform/graphics/haiku/IntRectHaiku.cpp: Fixed conversion
        * platform/image-decoders/haiku/ImageDecoderHaiku.cpp: Fixed conversion

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

11 years ago2010-02-10 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 11 Feb 2010 02:05:07 +0000 (02:05 +0000)]
2010-02-10  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by David Levin.

        Clean up unused member var and initialization in Document
        https://bugs.webkit.org/show_bug.cgi?id=34820

        Remove unused m_secureForms member variable in Document.

        * dom/Document.cpp:
        (WebCore::Document::Document):
        * dom/Document.h:

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

11 years ago2010-02-10 Dirk Pranke <dpranke@chromium.org>
eric@webkit.org [Thu, 11 Feb 2010 01:50:45 +0000 (01:50 +0000)]
2010-02-10  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        Fix various minor bugs keeping run-chromium-webkit-tests from actually
        working on the linux and win ports of Chromium.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
        * Scripts/webkitpy/layout_tests/port/__init__.py:
        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_win.py:
        * Scripts/webkitpy/layout_tests/port/http_server.py:
        * Scripts/webkitpy/layout_tests/port/websocket_server.py:

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

11 years ago2010-02-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 11 Feb 2010 01:24:04 +0000 (01:24 +0000)]
2010-02-10  Eric Seidel  <eric@webkit.org>

        Reviewed by David Levin.

        run-chromium-webkit-tests --platform=mac-leopard crashes when using a custom build directory
        https://bugs.webkit.org/show_bug.cgi?id=34817

        This doesn't fix the root cause of us not
        correctly failing when support binaries are missing.
        This only causes the DumpRenderTree binary not to be
        missing in the custom build directory case.
        Later patches will make us correctly fail fast when
        support binaries (like DumpRenderTree or ImageDiff) are missing.

        * Scripts/webkit-build-directory: Added.
         - Need a way to re-use the perl logic for finding build directories in non-perl scripts.
        * Scripts/webkitpy/layout_tests/port/base.py: Add a FIXME.
        * Scripts/webkitpy/layout_tests/port/mac.py:
         - Call webkit-build-directory to find the build directory instead of assuming "WebKitBuild"
        * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Add FIXMEs.

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

11 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Thu, 11 Feb 2010 01:22:52 +0000 (01:22 +0000)]
Reviewed by Kevin Ollivier.

[wx] Add Windows complex text support and Mac support for containsCharacters.

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

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

11 years ago2010-02-10 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Thu, 11 Feb 2010 00:54:40 +0000 (00:54 +0000)]
2010-02-10  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Eric Seidel.

        [BREWMP] Add dummy Frame::dragImageForSelection
        https://bugs.webkit.org/show_bug.cgi?id=34792

        Add FrameBrew.cpp which contains a dummy implementation of
        Frame::dragImageForSelection.

        * page/brew/FrameBrew.cpp: Added.
        (WebCore::Frame::dragImageForSelection):

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

11 years ago[wx] Build fixes. Move drawPattern implementation to the Image class like other platf...
kevino@webkit.org [Thu, 11 Feb 2010 00:24:48 +0000 (00:24 +0000)]
[wx] Build fixes. Move drawPattern implementation to the Image class like other platforms have it, and add a stub for a new LayoutTestController method.

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

11 years ago Added CA_PRINT_TREE functionality to WKCACFLayer implementation
cmarrin@apple.com [Thu, 11 Feb 2010 00:11:24 +0000 (00:11 +0000)]
    Added CA_PRINT_TREE functionality to WKCACFLayer implementation
        https://bugs.webkit.org/show_bug.cgi?id=34779

        I've tried to duplicate the look of the output on Mac, but
        it's not quite the same. It shows all the useful information though.
        It is enabled by setting the environment variable CA_PRINT_TREE=1

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

11 years ago2010-02-10 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Thu, 11 Feb 2010 00:08:31 +0000 (00:08 +0000)]
2010-02-10  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Change V8DOMWrapper::lookupDOMWrapper() and configureTemplate()
        to not use V8ClassIndex.

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

        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/v8/V8Binding.cpp:
        * bindings/v8/V8Binding.h:
        * bindings/v8/V8DOMWindowShell.cpp:
        * bindings/v8/V8DOMWrapper.cpp:
        * bindings/v8/V8DOMWrapper.h:
        * bindings/v8/V8Proxy.cpp:
        * bindings/v8/WorkerContextExecutionProxy.cpp:
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        * bindings/v8/custom/V8LocationCustom.cpp:
        * bindings/v8/custom/V8MessageEventCustom.cpp:

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

11 years agoUnreviewed. Roll out r54626, because it broke GTK and Win build.
ossy@webkit.org [Thu, 11 Feb 2010 00:05:31 +0000 (00:05 +0000)]
Unreviewed. Roll out r54626, because it broke GTK and Win build.
https://bugs.webkit.org/show_bug.cgi?id=32717

WebKitTools:

* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetDefaultsToConsistentValues):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:

LayoutTests:

* platform/mac/Skipped:
* platform/mac/fast/frames/flattening: Removed.
* platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Removed.
* platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt: Removed.
* platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Removed.
* platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Removed.
* platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Removed.

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

11 years ago2010-02-10 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 10 Feb 2010 23:30:46 +0000 (23:30 +0000)]
2010-02-10  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        [V8] Handle the possibility that ScheduledAction::execute() may
        retrieve a null V8Proxy* even if not in a WorkerContext (e.g., if
        JS was disallowed).

        * bindings/v8/ScheduledAction.cpp:
        (WebCore::ScheduledAction::execute):

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

11 years ago2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
eric@webkit.org [Wed, 10 Feb 2010 23:23:06 +0000 (23:23 +0000)]
2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Support frameset flattening
        https://bugs.webkit.org/show_bug.cgi?id=32717

        Add expected results of the FrameSet Flattening tests.

        * platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added.
        * platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added.
        * platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added.
        * platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added.
        * platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added.
        * platform/mac/Skipped:
2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Support frameset flattening
        https://bugs.webkit.org/show_bug.cgi?id=32717

        Add FrameSet Flattening support to Mac DRT.

        * DumpRenderTree/LayoutTestController.cpp:
        (setFrameSetFlatteningEnabledCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::setFrameSetFlatteningEnabled):

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

11 years ago2010-02-10 Kenneth Russell <kbr@google.com>
eric@webkit.org [Wed, 10 Feb 2010 23:04:56 +0000 (23:04 +0000)]
2010-02-10  Kenneth Russell  <kbr@google.com>

        Reviewed by Oliver Hunt.

        Remove automatic viewport resizing
        https://bugs.webkit.org/show_bug.cgi?id=34766

        Removed automatic viewport resizing per conclusions on the WebGL
        mailing list. Added test verifying new behavior and updated a
        couple of previous tests failing after this change.

        * fast/canvas/webgl/gl-get-calls-expected.txt:
        * fast/canvas/webgl/gl-get-calls.html:
        * fast/canvas/webgl/texImage2DImageDataTest.html:
        * fast/canvas/webgl/viewport-unchanged-upon-resize-expected.txt: Added.
        * fast/canvas/webgl/viewport-unchanged-upon-resize.html: Added.
2010-02-10  Kenneth Russell  <kbr@google.com>

        Reviewed by Oliver Hunt.

        Remove automatic viewport resizing
        https://bugs.webkit.org/show_bug.cgi?id=34766

        Removed automatic viewport resizing per conclusions on the WebGL
        mailing list. Added test verifying new behavior and updated a
        couple of previous tests failing after this change.

        Test: fast/canvas/webgl/viewport-unchanged-upon-resize.html

        * platform/graphics/mac/GraphicsContext3DMac.cpp:
        (WebCore::GraphicsContext3D::reshape):
2010-02-10  Kenneth Russell  <kbr@google.com>

        Reviewed by Oliver Hunt.

        Remove automatic viewport resizing
        https://bugs.webkit.org/show_bug.cgi?id=34766

        Removed automatic viewport resizing per conclusions on the WebGL
        mailing list. Added test verifying new behavior and updated a
        couple of previous tests failing after this change.

        * src/GraphicsContext3D.cpp:
        (WebCore::GraphicsContext3DInternal::reshape):

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

11 years ago2010-02-10 Ariya Hidayat <ariya.hidayat@gmail.com>
ariya@webkit.org [Wed, 10 Feb 2010 22:37:05 +0000 (22:37 +0000)]
2010-02-10  Ariya Hidayat  <ariya.hidayat@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Implement image interpolation quality.

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

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
        (WebCore::GraphicsContext::setImageInterpolationQuality):
        (WebCore::GraphicsContext::imageInterpolationQuality):

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

11 years ago2010-02-10 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 10 Feb 2010 22:01:03 +0000 (22:01 +0000)]
2010-02-10  Eric Seidel  <eric@webkit.org>

        No review, Mac build fix.

        Crash in Flash at http://www.cctv.com/
        https://bugs.webkit.org/show_bug.cgi?id=34673

        * plugins/PluginViewNone.cpp:
        (WebCore::PluginView::getValueStatic):

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

11 years agoWebCore
kov@webkit.org [Wed, 10 Feb 2010 21:26:31 +0000 (21:26 +0000)]
WebCore

2010-02-10  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Xan Lopez.

        [GTK] Hits assertion on history back, with page cache enabled, in specific conditions
        https://bugs.webkit.org/show_bug.cgi?id=34773

        When unsetting the adjustments from a ScrollView, also disconnect
        them from the Scrollbars.

        Test: fast/frames/frame-crash-with-page-cache.html

        * platform/gtk/ScrollViewGtk.cpp:
        (WebCore::ScrollView::setGtkAdjustments):
        * platform/gtk/ScrollbarGtk.cpp:
        (ScrollbarGtk::~ScrollbarGtk):
        (ScrollbarGtk::detachAdjustment):
        * platform/gtk/ScrollbarGtk.h:

LayoutTests

2010-02-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Hits assertion on history back, with page cache enabled, in specific conditions
        https://bugs.webkit.org/show_bug.cgi?id=34773

        * fast/frames/frame-crash-with-page-cache.html: Added.
        * fast/frames/resources/cached-page-1.html: Added.
        * fast/frames/resources/cached-page-2.html: Added.
        * fast/frames/resources/cached-page-3.html: Added.
        * fast/frames/resources/cached-page-iframe.html: Added.

WebKit/gtk

2010-02-09  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Xan Lopez.

        [GTK] Hits assertion on history back, with page cache enabled, in specific conditions
        https://bugs.webkit.org/show_bug.cgi?id=34773

        Make sure cached frames have their scrollbars disconnected from
        the WebView's adjustments.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::savePlatformDataToCachedFrame):

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

11 years ago Addressing issues found by style bot.
ap@apple.com [Wed, 10 Feb 2010 21:18:50 +0000 (21:18 +0000)]
    Addressing issues found by style bot.

        * wtf/ValueCheck.h: Renamed header guard to match final file name.

        * wtf/Vector.h: (WTF::::checkConsistency): Remove braces around a one-line clause.

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

11 years ago Reviewed by Geoffrey Garen.
ap@apple.com [Wed, 10 Feb 2010 21:14:24 +0000 (21:14 +0000)]
    Reviewed by Geoffrey Garen.

        https://bugs.webkit.org/show_bug.cgi?id=34490
        WebCore::ImageEventSender::dispatchPendingEvents() crashes in certain conditions

        Test: fast/images/destroyed-image-load-event.html

        * ForwardingHeaders/wtf/ValueCheck.h: Added.

        * loader/ImageLoader.cpp:
        (WTF::ValueCheck): Special case value check for ImageLoader - it's allocated inside elements,
        so check the owner instead.
        (WebCore::ImageEventSender::hasPendingEvents): Added a debugging aid for ImageLoader destructor.
        (WebCore::ImageLoader::~ImageLoader): Assert that we're not going to leave dangling pointers
        in ImageEventSender.
        (WebCore::ImageLoader::setImage): Cancel events that could be dispatched for the previous
        image. The only client using this method that I could find was DeleteButton, which doesn't
        care about load events for the new image, so I didn't add any code for firing those.
        (WebCore::ImageLoader::setLoadingImage): This method only existed to confuse readers -
        there wasn't any meaningful code shared (callers just undid most assignments made there).
        Merged the logic into callers.
        (WebCore::ImageLoader::updateFromElement): We're forgetting the old image, so forget its
        old events, too.
        (WebCore::ImageLoader::notifyFinished): This can be called from setImage(), in which case
        no one is going to dispatch the event "soon". So, don't queue it.
        (WebCore::ImageEventSender::dispatchPendingEvents): Call checkConsistency(). This didn't
        help catch this particuar bug, but seems like a useful check anyway.

        * loader/ImageLoader.h: Removed setLoadingImage().

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

11 years agoMac build fix. Unreviewed.
jhoneycutt@apple.com [Wed, 10 Feb 2010 21:08:17 +0000 (21:08 +0000)]
Mac build fix. Unreviewed.

* WebCore.xcodeproj/project.pbxproj:
Add PluginViewNone.cpp to the Mac project.

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

11 years agoOptimize ImageBuffer::toDataURL's CG implementation
aroben@apple.com [Wed, 10 Feb 2010 21:05:55 +0000 (21:05 +0000)]
Optimize ImageBuffer::toDataURL's CG implementation

There was some unused code that could have been removed in r31830 when
this function was changed not to flip the CG image anymore.

Fixes <http://webkit.org/b/34808> ImageBuffer::toDataURL allocates
unnecessary memory under CoreGraphics

Reviewed by Sam Weinig.

* platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::toDataURL): Don't allocate an unused CGImageRef
and buffer, and switch to the new overload of base64Encode that
doesn't require us to copy all the image data into a Vector first.

* platform/text/Base64.cpp:
(WebCore::base64Encode):
* platform/text/Base64.h:
Added an overload that takes a raw data pointer and length, just like
we have for base64Decode. The overload that takes a Vector as input
just calls through to the new overload.

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

11 years agoComplete the fix for <rdar://problem/7577604> Drag and Drop: background elements...
mitz@apple.com [Wed, 10 Feb 2010 21:02:40 +0000 (21:02 +0000)]
Complete the fix for <rdar://problem/7577604> Drag and Drop: background elements are bleeding through
https://bugs.webkit.org/show_bug.cgi?id=34546

Reviewed by Dave Hyatt.

* manual-tests/drag-image-table-part-decorations.html:
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paint): Don’t paint collapsed borders if this object shouldn’t
paint within the current painting root.

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

11 years ago<rdar://problem/7436875> Crash in Flash when visiting
jhoneycutt@apple.com [Wed, 10 Feb 2010 20:18:29 +0000 (20:18 +0000)]
<rdar://problem/7436875> Crash in Flash when visiting
http://www.cctv.com/default.shtml (WER ID 819298200) [watson 2502260]

Reviewed by Darin Adler.

WebCore:

Test: platform/win/plugins/plugin-delayed-destroy.html

* bridge/NP_jsobject.cpp:
(_NPN_Evaluate):
If Flash calls this to evaluate a script that destroys the PluginView,
we crash when returning to Flash code. Before evaluating the script,
call PluginView::keepAlive() to hold a ref to this instance (and release
it asynchronously).

* plugins/PluginView.cpp:
(WebCore::instanceMap):
Return a map from the NPP to the PluginView.
(WebCore::PluginView::~PluginView):
Assert that the keep alive timer is not running; remove ourselves from
the instance map.
(WebCore::PluginView::performRequest):
The parent Frame is now a RefPtr; use .get().
(WebCore::PluginView::status):
Ditto.
(WebCore::PluginView::didReceiveResponse):
Ditto.
(WebCore::PluginView::PluginView):
Add the view to the instance map.
(WebCore::PluginView::lifeSupportTimerFired):
Deref the PluginView.
(WebCore::PluginView::keepAlive):
Ref the PluginView, then start a time to release the reference
asynchronously.
(WebCore::PluginView::keepAlive):
Find the PluginView in the map, and call its keepAlive() function.

* plugins/PluginView.h:
Made m_parentFrame a RefPtr, so that it will remain valid when the
keep alive timer fires.
(WebCore::PluginView::parentFrame):
Use .get().

* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::updatePluginWidget):
Use .get().
(WebCore::PluginView::handleKeyboardEvent):
Use .get().
(WebCore::PluginView::handleMouseEvent):
Use .get().

* plugins/PluginViewNone.cpp:
(WebCore::PluginView::keepAlive):
Stubbed.

WebKitTools:

* DumpRenderTree/win/TestNetscapePlugin/main.cpp:
(executeScript):
Moved to an earlier point in the file.
(NPP_New):
If the plug-in has an onDestroy attribute, store its value.
(NPP_Destroy):
If the plug-in has code to run on destruction, run it and free it.

LayoutTests:

* platform/win/plugins/plugin-delayed-destroy-expected.txt: Added.
* platform/win/plugins/plugin-delayed-destroy.html: Added.

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

11 years ago2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
eric@webkit.org [Wed, 10 Feb 2010 19:44:08 +0000 (19:44 +0000)]
2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Support frameset flattening
        https://bugs.webkit.org/show_bug.cgi?id=32717

        Add support for enabling/disabling FrameSet Flattening on the Mac port.

        * WebCore.base.exp:
2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Support frameset flattening
        https://bugs.webkit.org/show_bug.cgi?id=32717

        Add support for enabling/disabling FrameSet Flattening on the Mac port.

        * WebView/WebPreferenceKeysPrivate.h:
        * WebView/WebPreferences.mm:
        (+[WebPreferences initialize]):
        (-[WebPreferences isFrameSetFlatteningEnabled]):
        (-[WebPreferences setFrameSetFlatteningEnabled:]):
        * WebView/WebPreferencesPrivate.h:
        * WebView/WebView.mm:
        (-[WebView _preferencesChangedNotification:]):

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

11 years ago2010-02-10 Diego Gonzalez <diego.gonzalez@openbossa.org>
eric@webkit.org [Wed, 10 Feb 2010 19:26:49 +0000 (19:26 +0000)]
2010-02-10  Diego Gonzalez  <diego.gonzalez@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
        to make Qt DRT able to get page number.

        LayoutTests:
            printing/page-break-always.html
            printing/pageNumerForElementById.html
            printing/css2.1/page-break-before-000.html
            printing/css2.1/page-break-after-000.html
            printing/css2.1/page-break-after-004.html
            printing/css2.1/page-break-before-001.html
            printing/css2.1/page-break-after-001.html
            printing/css2.1/page-break-after-002.html
            printing/css2.1/page-break-before-002.html
            printing/css2.1/page-break-inside-000.html

        [Qt] Make possible Qt DRT get a page number for element by ID
        https://bugs.webkit.org/show_bug.cgi?id=34777

        * platform/qt/Skipped:
2010-02-10  Diego Gonzalez  <diego.gonzalez@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
        to make Qt DRT able to get page number.

        LayoutTests:
            printing/page-break-always.html
            printing/pageNumerForElementById.html
            printing/css2.1/page-break-before-000.html
            printing/css2.1/page-break-after-000.html
            printing/css2.1/page-break-after-004.html
            printing/css2.1/page-break-before-001.html
            printing/css2.1/page-break-after-001.html
            printing/css2.1/page-break-after-002.html
            printing/css2.1/page-break-before-002.html
            printing/css2.1/page-break-inside-000.html

        [Qt] Make possible Qt DRT get a page number for element by ID
        https://bugs.webkit.org/show_bug.cgi?id=34777

        * Api/qwebframe.cpp:
        (qt_drt_pageNumberForElementById):
2010-02-10  Diego Gonzalez  <diego.gonzalez@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
        to make Qt DRT able to get page number.

        LayoutTests:
            printing/page-break-always.html
            printing/pageNumerForElementById.html
            printing/css2.1/page-break-before-000.html
            printing/css2.1/page-break-after-000.html
            printing/css2.1/page-break-after-004.html
            printing/css2.1/page-break-before-001.html
            printing/css2.1/page-break-after-001.html
            printing/css2.1/page-break-after-002.html
            printing/css2.1/page-break-before-002.html
            printing/css2.1/page-break-inside-000.html

        [Qt] Make possible Qt DRT get a page number for element by ID
        https://bugs.webkit.org/show_bug.cgi?id=34777

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::pageNumberForElementById):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

11 years agoTouch WebKit.idl to force a rebuild
bweinstein@apple.com [Wed, 10 Feb 2010 18:48:08 +0000 (18:48 +0000)]
Touch WebKit.idl to force a rebuild

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

11 years agoCommitted the wrong file, had some local changes trying to fix the build
bweinstein@apple.com [Wed, 10 Feb 2010 18:47:52 +0000 (18:47 +0000)]
Committed the wrong file, had some local changes trying to fix the build

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

11 years agoTouch WebKit.idl to force a rebuild of Interfaces
bweinstein@apple.com [Wed, 10 Feb 2010 18:46:26 +0000 (18:46 +0000)]
Touch WebKit.idl to force a rebuild of Interfaces

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

11 years agoAdd some details to the change log I just committed. (Sorry for not being more clear.)
jorlow@chromium.org [Wed, 10 Feb 2010 18:37:13 +0000 (18:37 +0000)]
Add some details to the change log I just committed.  (Sorry for not being more clear.)

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

11 years agoRevert 54599
jorlow@chromium.org [Wed, 10 Feb 2010 18:29:31 +0000 (18:29 +0000)]
Revert 54599

WebCore:

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype._insertChild):
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.prototype.updateModifiedNodes):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype.revealAndSelectNode):
(WebInspector.ElementsTreeElement):
(WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
(WebInspector.ElementsTreeElement.prototype._updateChildren):
():
* inspector/front-end/inspector.css:

LayoutTests:

* inspector/elements-panel-limited-children-expected.txt: Removed.
* inspector/elements-panel-limited-children.html: Removed.
* platform/qt/Skipped:

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

11 years ago2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
eric@webkit.org [Wed, 10 Feb 2010 18:11:38 +0000 (18:11 +0000)]
2010-02-10  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Support frameset flattening
        https://bugs.webkit.org/show_bug.cgi?id=32717

        Add support for enabling/disabling FrameSet Flattening on the Windows port.

        * Interfaces/IWebPreferencesPrivate.idl:
        * WebPreferenceKeysPrivate.h:
        * WebPreferences.cpp:
        (WebPreferences::initializeDefaultSettings):
        (WebPreferences::isFrameSetFlatteningEnabled):
        (WebPreferences::setFrameSetFlatteningEnabled):
        * WebPreferences.h:
        * WebView.cpp:
        (WebView::notifyPreferencesChanged):

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

11 years ago2010-02-10 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Wed, 10 Feb 2010 17:55:12 +0000 (17:55 +0000)]
2010-02-10  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Fix QScriptValue::toBool.

        Fix ECMA compliance in the QScriptValue for values like 0, NaN and
        empty strings.

        [Qt] QScriptValue::toBool problem
        https://bugs.webkit.org/show_bug.cgi?id=34793

        * qt/api/qscriptvalue_p.h:
        (QScriptValuePrivate::toBool):
        * qt/tests/qscriptvalue/tst_qscriptvalue.h:
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp:
        (tst_QScriptValue::toBool_initData):
        (tst_QScriptValue::toBool_makeData):
        (tst_QScriptValue::toBool_test):
        (tst_QScriptValue::toBoolean_initData):
        (tst_QScriptValue::toBoolean_makeData):
        (tst_QScriptValue::toBoolean_test):

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

11 years agoRemove unnecessary #include of shfolder.h
aroben@apple.com [Wed, 10 Feb 2010 16:51:02 +0000 (16:51 +0000)]
Remove unnecessary #include of shfolder.h

shfolder.h has been deprecated in newer versions of the Windows SDK.

Fixes <http://webkit.org/b/34803> WebPreferences.cpp fails to compile
under VS2010 RC due to #include of shfolder.h.

Reviewed by Darin Adler.

* WebPreferences.cpp: Removed #include.

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

11 years agoFix bad paths in WebCore.vcproj
aroben@apple.com [Wed, 10 Feb 2010 16:50:50 +0000 (16:50 +0000)]
Fix bad paths in WebCore.vcproj

These were harmless in VS2005, but cause project conversion errors in
VS2010 RC.

Fixes <http://webkit.org/b/34801>.

Reviewed by Dan Bernstein.

* WebCore.vcproj/WebCore.vcproj: Removed leading "." from paths to
JSHTMLFrameSetElement.{cpp,h}.

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

11 years agoNot reviewed (build fix).
jchaffraix@webkit.org [Wed, 10 Feb 2010 16:36:37 +0000 (16:36 +0000)]
Not reviewed (build fix).

* platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::getLastResortFallbackFont): Return a
SimpleFontData here.

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

11 years agoBug 23287 - Avoid using FontPlatformData outside the FontCache
jchaffraix@webkit.org [Wed, 10 Feb 2010 16:28:27 +0000 (16:28 +0000)]
Bug 23287 -  Avoid using FontPlatformData outside the FontCache

Patch by Julien Chaffraix <jchaffraix@pleyo.com> on 2010-02-10
Reviewed by Eric Seidel.

No functional change, only refactored the code using FontPlatformData to use SimpleFontData.

This change leaves the class FontCached as it needs some thoughts and more refactoring.

* css/CSSFontFaceSource.cpp:
(WebCore::CSSFontFaceSource::getFontData): Call getCachedFontData with the 2 parameters directly.
* css/CSSFontSelector.cpp:
(WebCore::fontDataForGenericFamily): Ditto.
* platform/graphics/FontCache.cpp:
(WebCore::FontCache::getCachedFontData): This method is meant to replace getCachedFontPlatformData
that was moved in the private section of the class. It calls getCachedFontPlatformData and cache
the returned FontPlatformData if it is not null.
(WebCore::FontCache::getFontData): Updated to use the new getCachedFontData.
* platform/graphics/FontCache.h: Updated several methods to return a SimpleFontData in lieu of a
FontPlatformData. Moved some method in the private sections.

* platform/graphics/chromium/FontCacheChromiumWin.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/chromium/FontCacheLinux.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/gtk/FontCacheGtk.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/haiku/FontCacheHaiku.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/qt/FontCacheQt.cpp:
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
* platform/graphics/wince/FontCacheWince.cpp:
* platform/graphics/wx/FontCacheWx.cpp:
(WebCore::FontCache::getSimilarFontPlatformData):
(WebCore::FontCache::getLastResortFallbackFont):
Updated all the previous platform methods to return a SimpleFontData.

* platform/graphics/mac/FontCacheMac.mm:
(WebCore::FontCache::getSimilarFontPlatformData): Updated to return a SimpleFontData.
(WebCore::FontCache::getLastResortFallbackFont): Ditto. Also refactored the code
and moved a DEFINE_STATIC_LOCAL where it is needed.

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

11 years ago2010-02-10 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 10 Feb 2010 16:06:17 +0000 (16:06 +0000)]
2010-02-10  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Add test to ensure that a call to history.forward() at the top of
        a page doesn't prevent the page from loading when there is no
        forward list.

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

        * fast/history/forward-during-load-expected.txt: Added.
        * fast/history/forward-during-load.html: Added.

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

11 years ago2010-02-10 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 10 Feb 2010 15:45:40 +0000 (15:45 +0000)]
2010-02-10  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Elements Panel: Limit the number of initially loaded element children
        https://bugs.webkit.org/show_bug.cgi?id=34421

        Test: inspector/elements-panel-limited-children.html

        WebCore:
        * English.lproj/localizedStrings.js:
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMNode.prototype._insertChild):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline.prototype.createTreeElementFor):
        (WebInspector.ElementsTreeOutline.prototype.revealAndSelectNode):
        (WebInspector.ElementsTreeElement):
        (WebInspector.ElementsTreeElement.prototype.get expandedChildrenLimit):
        (WebInspector.ElementsTreeElement.prototype.set expandedChildrenLimit):
        (WebInspector.ElementsTreeElement.prototype.get expandedChildCount):
        (WebInspector.ElementsTreeElement.prototype.showChild):
        (WebInspector.ElementsTreeElement.prototype.insertChildElement):
        (WebInspector.ElementsTreeElement.prototype.moveChild):
        (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
        (WebInspector.ElementsTreeElement.prototype._updateChildren):
        (WebInspector.ElementsTreeElement.prototype.adjustCollapsedRange):
        (WebInspector.ElementsTreeElement.prototype.handleLoadAllChildren):
        ():
        * inspector/front-end/inspector.css:

        LayoutTests:
        * inspector/elements-panel-limited-children-expected.txt: Added.
        * inspector/elements-panel-limited-children.html: Added.
        * platform/qt/Skipped:

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

11 years ago2010-02-10 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 10 Feb 2010 15:22:23 +0000 (15:22 +0000)]
2010-02-10  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Chromium Win build fix. Add third_party/nss to the dependencies list on Windows.

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

        * DEPS:

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

11 years ago2010-02-10 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Wed, 10 Feb 2010 15:18:24 +0000 (15:18 +0000)]
2010-02-10  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Remove several #if USE(JSC) branches. Introduce ScriptDebugServer class for
        making JavaScriptDebugServer engine-agnostic.

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

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSBindingsAllInOne.cpp:
        * bindings/js/ScriptDebugServer.cpp: Added.
        (WebCore::ScriptDebugServer::recompileAllJSFunctions):
        (WebCore::ScriptDebugServer::recompileAllJSFunctionsSoon):
        * bindings/js/ScriptDebugServer.h: Added.
        * bindings/v8/ScriptDebugServer.cpp: Added.
        (WebCore::ScriptDebugServer::recompileAllJSFunctions):
        (WebCore::ScriptDebugServer::recompileAllJSFunctionsSoon):
        * bindings/v8/ScriptDebugServer.h: Added.
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::startUserInitiatedProfiling):
        (WebCore::InspectorController::enableProfiler):
        (WebCore::InspectorController::disableProfiler):
        * page/Console.cpp:
        (WebCore::Console::profile):
        (WebCore::Console::profileEnd):

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

11 years agoUse derefIfNotNull() to work around WINSCW compiler forward declaration bug
vestbo@webkit.org [Wed, 10 Feb 2010 11:59:02 +0000 (11:59 +0000)]
Use derefIfNotNull() to work around WINSCW compiler forward declaration bug

Patch by Yongjun Zhang <yongjun.zhang@nokia.com> on 2009-10-06
Reviewed by Simon Hausmann.

The compiler bug is reported at
https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812.

The change should be reverted when the above bug is fixed in WINSCW compiler.

JObjectWrapper::ref() and deref() made public accessible to derefIfNull().

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

* bridge/jni/jsc/JavaInstanceJSC.h:
* bridge/jni/v8/JavaInstanceV8.h:

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

11 years agoGet rid of WINSCW hack for UnSpecifiedBoolType
vestbo@webkit.org [Wed, 10 Feb 2010 11:58:46 +0000 (11:58 +0000)]
Get rid of WINSCW hack for UnSpecifiedBoolType

Patch by Yongjun Zhang <yongjun.zhang@nokia.com> on 2009-10-06
Reviewed by Simon Hausmann.

Add parenthesis around (RefPtr::*UnspecifiedBoolType) to make the WINSCW
compiler work with the default UnSpecifiedBoolType() operator.

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

* wtf/RefPtr.h:

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

11 years ago2010-02-10 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 10 Feb 2010 11:14:59 +0000 (11:14 +0000)]
2010-02-10  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Rolling Chromium dependencies to match Chromium revision 38580.

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

        * DEPS:

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

11 years ago2010-02-10 Yaar Schnitman <yaar@chromium.org>
eric@webkit.org [Wed, 10 Feb 2010 10:36:40 +0000 (10:36 +0000)]
2010-02-10  Yaar Schnitman  <yaar@chromium.org>

        Reviewed by Adam Barth.

        Simplified RuntimeEnabledFeatures and corresponding v8 generated code
        https://bugs.webkit.org/show_bug.cgi?id=34667

        * WebCore.gypi:
        * bindings/generic/RuntimeEnabledFeatures.cpp: Added.
        (WebCore::RuntimeEnabledFeatures::audioEnabled):
        (WebCore::RuntimeEnabledFeatures::htmlMediaElementEnabled):
        (WebCore::RuntimeEnabledFeatures::htmlAudioElementEnabled):
        (WebCore::RuntimeEnabledFeatures::htmlVideoElementEnabled):
        (WebCore::RuntimeEnabledFeatures::mediaErrorEnabled):
        (WebCore::RuntimeEnabledFeatures::sharedWorkerEnabled):
        (WebCore::RuntimeEnabledFeatures::webSocketEnabled):
        (WebCore::RuntimeEnabledFeatures::openDatabaseEnabled):
        * bindings/generic/RuntimeEnabledFeatures.h: Added.
        (WebCore::RuntimeEnabledFeatures::setLocalStorageEnabled):
        (WebCore::RuntimeEnabledFeatures::localStorageEnabled):
        (WebCore::RuntimeEnabledFeatures::setSessionStorageEnabled):
        (WebCore::RuntimeEnabledFeatures::sessionStorageEnabled):
        (WebCore::RuntimeEnabledFeatures::setWebkitNotificationsEnabled):
        (WebCore::RuntimeEnabledFeatures::webkitNotificationsEnabled):
        (WebCore::RuntimeEnabledFeatures::setApplicationCacheEnabled):
        (WebCore::RuntimeEnabledFeatures::applicationCacheEnabled):
        (WebCore::RuntimeEnabledFeatures::setGeolocationEnabled):
        (WebCore::RuntimeEnabledFeatures::geolocationEnabled):
        (WebCore::RuntimeEnabledFeatures::setIndexedDBEnabled):
        (WebCore::RuntimeEnabledFeatures::indexedDBEnabled):
        (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
        * bindings/scripts/CodeGenerator.pm:
        * bindings/scripts/CodeGeneratorV8.pm:
        * bindings/v8/RuntimeEnabledFeatures.cpp: Removed.
        * bindings/v8/RuntimeEnabledFeatures.h: Removed.
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        * bindings/v8/custom/V8NavigatorCustom.cpp:
        * bindings/v8/custom/V8WorkerContextCustom.cpp:

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

11 years ago2010-02-10 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 10 Feb 2010 10:25:47 +0000 (10:25 +0000)]
2010-02-10  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Use v8::Debug::ProcessDebugMessages instead of executing an empty function

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

        * src/DebuggerAgent.h:
        * src/DebuggerAgentImpl.cpp:
        (WebKit::DebuggerAgentImpl::processDebugCommands):
        * src/DebuggerAgentImpl.h:
        * src/ToolsAgent.h:
        * src/WebDevToolsAgentImpl.cpp:
        * src/WebDevToolsAgentImpl.h:
        * src/js/DebuggerAgent.js:
        (devtools.DebuggerAgent.prototype.addBreakpoint):
        * src/js/DevToolsHostStub.js:
        (.RemoteDebuggerAgentStub.prototype.processDebugCommands):
        * src/js/InjectDispatch.js:
        (dispatch):
        * src/js/ProfilerAgent.js:
        (devtools.ProfilerAgent.prototype.startProfiling):
        (devtools.ProfilerAgent.prototype.stopProfiling):
        * src/js/Tests.js:

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

11 years ago2010-02-09 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 10 Feb 2010 09:56:01 +0000 (09:56 +0000)]
2010-02-09  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Add two basic categories for the Audits panel
        https://bugs.webkit.org/show_bug.cgi?id=32930

        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/AuditCategories.js: Added.
        (WebInspector.AuditCategories.PagePerformance):
        (WebInspector.AuditCategories.PagePerformance.prototype.initialize):
        (WebInspector.AuditCategories.NetworkUtilization):
        (WebInspector.AuditCategories.NetworkUtilization.prototype.initialize):
        * inspector/front-end/AuditLauncherView.js:
        (WebInspector.AuditLauncherView.prototype.updateResourceTrackingState):
        (WebInspector.AuditLauncherView.prototype._createLauncherUI):
        (WebInspector.AuditLauncherView.prototype.show):
        * inspector/front-end/AuditRules.js: Added.
        (WebInspector.AuditRules.arrayAsUL):
        (WebInspector.AuditRules.getDomainToResourcesMap):
        (WebInspector.AuditRules.evaluateInTargetWindow):
        (WebInspector.AuditRules.GzipRule):
        (WebInspector.AuditRules.GzipRule.prototype.doRun):
        (WebInspector.AuditRules.GzipRule.prototype._isCompressed):
        (WebInspector.AuditRules.GzipRule.prototype._shouldCompress):
        (WebInspector.AuditRules.CombineExternalResourcesRule):
        (WebInspector.AuditRules.CombineExternalResourcesRule.prototype.doRun):
        (WebInspector.AuditRules.CombineJsResourcesRule):
        (WebInspector.AuditRules.CombineCssResourcesRule):
        (WebInspector.AuditRules.MinimizeDnsLookupsRule):
        (WebInspector.AuditRules.MinimizeDnsLookupsRule.prototype.doRun):
        (WebInspector.AuditRules.ParallelizeDownloadRule):
        (WebInspector.AuditRules.ParallelizeDownloadRule.prototype.doRun):
        (WebInspector.AuditRules.UnusedCssRule):
        (WebInspector.AuditRules.UnusedCssRule.prototype._getUnusedStylesheetRatioMessage):
        (WebInspector.AuditRules.UnusedCssRule.prototype._getUnusedTotalRatioMessage):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.evalCallback):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.routine):
        (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
        (WebInspector.AuditRules.CacheControlRule):
        (WebInspector.AuditRules.CacheControlRule.prototype.InfoCheck.1.FailCheck.0.WarningCheck.1.SevereCheck.2.doRun):
        (WebInspector.AuditRules.CacheControlRule.prototype.handleNonCacheableResources):
        (WebInspector.AuditRules.CacheControlRule.prototype._cacheableAndNonCacheableResources):
        (WebInspector.AuditRules.CacheControlRule.prototype.execCheck):
        (WebInspector.AuditRules.CacheControlRule.prototype.freshnessLifetimeGreaterThan):
        (WebInspector.AuditRules.CacheControlRule.prototype.responseHeader):
        (WebInspector.AuditRules.CacheControlRule.prototype.hasResponseHeader):
        (WebInspector.AuditRules.CacheControlRule.prototype.isCompressible):
        (WebInspector.AuditRules.CacheControlRule.prototype.isPubliclyCacheable):
        (WebInspector.AuditRules.CacheControlRule.prototype.responseHeaderMatch):
        (WebInspector.AuditRules.CacheControlRule.prototype.hasExplicitExpiration):
        (WebInspector.AuditRules.CacheControlRule.prototype._isExplicitlyNonCacheable):
        (WebInspector.AuditRules.CacheControlRule.prototype.isCacheableResource):
        (WebInspector.AuditRules.BrowserCacheControlRule):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype.handleNonCacheableResources):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype.runChecks):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype._missingExpirationCheck):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype._varyCheck):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype._oneMonthExpirationCheck):
        (WebInspector.AuditRules.BrowserCacheControlRule.prototype._oneYearExpirationCheck):
        (WebInspector.AuditRules.ProxyCacheControlRule):
        (WebInspector.AuditRules.ProxyCacheControlRule.prototype.runChecks):
        (WebInspector.AuditRules.ProxyCacheControlRule.prototype._questionMarkCheck):
        (WebInspector.AuditRules.ProxyCacheControlRule.prototype._publicCachingCheck):
        (WebInspector.AuditRules.ProxyCacheControlRule.prototype._setCookieCacheableCheck):
        (WebInspector.AuditRules.ImageDimensionsRule):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.routine.hasDimension):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.routine.hasWidth):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.routine.hasHeight):
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.routine):
        (WebInspector.AuditRules.CssInHeadRule):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.routine.allViews):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.routine):
        (WebInspector.AuditRules.StylesScriptsOrderRule):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.routine):
        (WebInspector.AuditRules.CookieRuleBase):
        (WebInspector.AuditRules.CookieRuleBase.prototype.doRun.resultCallback):
        (WebInspector.AuditRules.CookieRuleBase.prototype.doRun):
        (WebInspector.AuditRules.CookieRuleBase.prototype.mapResourceCookies):
        (WebInspector.AuditRules.CookieRuleBase.prototype._callbackForResourceCookiePairs):
        (WebInspector.AuditRules.CookieSizeRule):
        (WebInspector.AuditRules.CookieSizeRule.prototype._average):
        (WebInspector.AuditRules.CookieSizeRule.prototype._max):
        (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies):
        (WebInspector.AuditRules.CookieSizeRule.prototype.processCookies.avgSizeSorter):
        (WebInspector.AuditRules.StaticCookielessRule):
        (WebInspector.AuditRules.StaticCookielessRule.prototype.processCookies):
        (WebInspector.AuditRules.StaticCookielessRule.prototype._collectorCallback):
        * inspector/front-end/AuditsPanel.js:
        (WebInspector.AuditsPanel.prototype._constructCategories):
        (WebInspector.AuditsPanel.prototype._reloadResources):
        (WebInspector.AuditsPanel.prototype.show):
        (WebInspector.AuditsPanel.prototype._updateLauncherViewControls):
        (WebInspector.AuditCategory):
        (WebInspector.AuditCategory.prototype.get id):
        (WebInspector.AuditCategory.prototype.get ruleCount):
        (WebInspector.AuditCategory.prototype.runRules):
        (WebInspector.AuditCategory.prototype._ensureInitialized):
        (WebInspector.AuditCategoryResult):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/audits.css:
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:
        (WebInspector.loaded):
        (WebInspector.addPanelToolbarIcon):
        (WebInspector.documentKeyDown):

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

11 years agoMake run-iexploder-tests work on Linux.
abecsi@webkit.org [Wed, 10 Feb 2010 09:51:33 +0000 (09:51 +0000)]
Make run-iexploder-tests work on Linux.
https://bugs.webkit.org/show_bug.cgi?id=34748

Reviewed by Adam Barth.

Extract the platform dependant Apache configuration checking code in httpd.pm to a separate function
called getHTTPDConfigPathForTestDirectory and use run-launcher instead of run-safari if run on Linux.

* Scripts/run-iexploder-tests:
* Scripts/webkitperl/httpd.pm:

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

11 years ago2010-02-10 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 10 Feb 2010 09:23:08 +0000 (09:23 +0000)]
2010-02-10  Tony Chang  <tony@chromium.org>

        Unreviewed, build fix for Chromium Mac take 2.

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):

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

11 years ago2010-02-10 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 10 Feb 2010 09:17:14 +0000 (09:17 +0000)]
2010-02-10  Tony Chang  <tony@chromium.org>

        Unreviewed, build fix for Chromium Mac.

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):

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

11 years ago2010-02-10 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 10 Feb 2010 08:36:58 +0000 (08:36 +0000)]
2010-02-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Freeze sandbox attributes on creation
        https://bugs.webkit.org/show_bug.cgi?id=34184

        Test that allow-forms is frozen on document creation.

        * fast/frames/resources/sandboxed-iframe-form-dynamic-allowed.html: Added.
        * fast/frames/resources/sandboxed-iframe-form-dynamic-disallowed.html: Added.
        * fast/frames/sandboxed-iframe-forms-dynamic-expected.txt: Added.
        * fast/frames/sandboxed-iframe-forms-dynamic.html: Added.
2010-02-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        Freeze sandbox attributes on creation
        https://bugs.webkit.org/show_bug.cgi?id=34184

        This is how the spec works now.

        Test: fast/frames/sandboxed-iframe-forms-dynamic.html

        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::canExecuteScripts):
        * bindings/generic/BindingDOMWindow.h:
        (WebCore::::createWindow):
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::createWindow):
        * dom/Document.cpp:
        * dom/Document.h:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::submitForm):
        (WebCore::FrameLoader::requestObject):
        (WebCore::FrameLoader::shouldAllowNavigation):
        (WebCore::FrameLoader::updateSandboxFlags):
        * page/SecurityOrigin.cpp:
        * page/SecurityOrigin.h:

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

11 years ago2010-02-09 James Hawkins <jhawkins@chromium.org>
eric@webkit.org [Wed, 10 Feb 2010 04:48:49 +0000 (04:48 +0000)]
2010-02-09  James Hawkins  <jhawkins@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Refactor AutocompletePopupMenuClient into a base class,
        SuggestionsPopupMenuClient, and two derived classes,
        AutocompletePopupMenuClient and AutoFillPopupMenuClient.  Currently
        the behavior of suggestions popups has not changed.

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

        * WebKit.gyp:
        * public/WebView.h:
        * src/AutoFillPopupMenuClient.cpp: Added.
        * src/AutoFillPopupMenuClient.h: Added.
        * src/AutocompletePopupMenuClient.cpp:
        (WebKit::AutocompletePopupMenuClient::getSuggestionsCount):
        (WebKit::AutocompletePopupMenuClient::getSuggestion):
        (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):
        (WebKit::AutocompletePopupMenuClient::initialize):
        (WebKit::AutocompletePopupMenuClient::setSuggestions):
        * src/AutocompletePopupMenuClient.h:
        * src/SuggestionsPopupMenuClient.cpp: Added.
        * src/SuggestionsPopupMenuClient.h: Added.
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::keyEvent):
        (WebKit::WebViewImpl::autocompleteHandleKeyEvent):
        (WebKit::WebViewImpl::applyAutofillSuggestions):
        (WebKit::WebViewImpl::applyAutoFillSuggestions):
        (WebKit::WebViewImpl::applyAutocompleteSuggestions):
        * src/WebViewImpl.h:

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

11 years ago2010-02-09 Ariya Hidayat <ariya.hidayat@gmail.com>
ariya@webkit.org [Wed, 10 Feb 2010 04:23:41 +0000 (04:23 +0000)]
2010-02-09  Ariya Hidayat  <ariya.hidayat@gmail.com>

        Rubber-stamped by Kenneth Rohde Christiansen.

        [Qt] Remove old, outdated unused code block.

        * platform/graphics/qt/GraphicsContextQt.cpp:

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

11 years ago2010-02-09 Chris Guillory <ctguil@google.com>
eric@webkit.org [Wed, 10 Feb 2010 04:01:48 +0000 (04:01 +0000)]
2010-02-09  Chris Guillory  <ctguil@google.com>

        Reviewed by Darin Fisher.

        [Chromium] Notify ChromeClientChromium of state change notifications.

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

        * accessibility/chromium/AXObjectCacheChromium.cpp:
        (WebCore::toChromeClientChromium):
        (WebCore::AXObjectCache::postPlatformNotification):
        * page/chromium/ChromeClientChromium.h:
2010-02-09  Chris Guillory  <ctguil@google.com>

        Reviewed by Darin Fisher.

        [Chromium] Add function for accessibility object state change notifications.

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

        * gyp_webkit:
        * public/WebViewClient.h:
        (WebKit::WebViewClient::didChangeAccessibilityObjectState):
        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::didChangeAccessibilityObjectState):
        * src/ChromeClientImpl.h:

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

11 years ago2010-02-09 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Wed, 10 Feb 2010 03:45:20 +0000 (03:45 +0000)]
2010-02-09  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Adam Barth.

        [BREWMP] Port PlatformMouseEvent
        https://bugs.webkit.org/show_bug.cgi?id=34600

        Retrieve the event type, position, key modifiers, time stamp
        and click count from AEEEvent.

        * platform/PlatformMouseEvent.h:
        * platform/brew/PlatformMouseEventBrew.cpp: Added.
        (WebCore::PlatformMouseEvent::PlatformMouseEvent):

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

11 years ago2010-02-09 Avi Drissman <avi@chromium.org>
eric@webkit.org [Wed, 10 Feb 2010 03:25:43 +0000 (03:25 +0000)]
2010-02-09  Avi Drissman  <avi@chromium.org>

        Reviewed by Timothy Hatcher.

        [Chromium] RenderTheme does not draw focus rings on SL for checkboxes, radio buttons
        https://bugs.webkit.org/show_bug.cgi?id=34544

        Covered by layout tests when run on SL.

        * platform/chromium/ThemeChromiumMac.mm:
        (-[TCMVisibleView _focusRingVisibleRect]):
        (-[TCMVisibleView _focusRingClipAncestor]):
        (FocusIndicationFix::currentOSHasSetFocusRingStyleInBitmapBug):
        (FocusIndicationFix::swizzleFocusView):
        (FocusIndicationFix::ScopedFixer::ScopedFixer):
        (FocusIndicationFix::ScopedFixer::~ScopedFixer):
        (+[NSView TCMInterposing_focusView]):
        (WebCore::paintCheckbox):
        (WebCore::paintRadio):
        (WebCore::paintButton):

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

11 years ago2010-02-09 Anton Muhin <antonm@chromium.org>
eric@webkit.org [Wed, 10 Feb 2010 03:09:25 +0000 (03:09 +0000)]
2010-02-09  Anton Muhin  <antonm@chromium.org>

        Reviewed by Nate Chapin.

        [v8] Check if returned wrapper is empty before operating on it.
        https://bugs.webkit.org/show_bug.cgi?id=34746

        * bindings/v8/custom/V8DocumentCustom.cpp:
        (WebCore::toV8):
        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::toV8):
        * bindings/v8/custom/V8SVGDocumentCustom.cpp:
        (WebCore::toV8):

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

11 years ago2010-02-09 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Wed, 10 Feb 2010 02:53:05 +0000 (02:53 +0000)]
2010-02-09  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        New functions nullValue() and undefinedValue().

        [Qt] QScriptEngine should contain nullValue and undefinedValue methods
        https://bugs.webkit.org/show_bug.cgi?id=34749

        * qt/api/qscriptengine.cpp:
        (QScriptEngine::nullValue):
        (QScriptEngine::undefinedValue):
        * qt/api/qscriptengine.h:
        * qt/tests/qscriptengine/tst_qscriptengine.cpp:
        (tst_QScriptEngine::nullValue):
        (tst_QScriptEngine::undefinedValue):

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

11 years ago2010-02-09 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Wed, 10 Feb 2010 02:36:38 +0000 (02:36 +0000)]
2010-02-09  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Fixes for QScriptValue::toNumber().

        Fix ECMA compliance in QScriptValue for values unbound
        to a QScriptEngine.

        [Qt] QScriptValue::toNumber() is broken
        https://bugs.webkit.org/show_bug.cgi?id=34592

        * qt/api/qscriptvalue_p.h:
        (QScriptValuePrivate::toNumber):
        * qt/tests/qscriptvalue/tst_qscriptvalue.h:
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp:
        (tst_QScriptValue::toNumber_initData):
        (tst_QScriptValue::toNumber_makeData):
        (tst_QScriptValue::toNumber_test):

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

11 years ago[Qt] Unit test for window.runModalDialog
yael.aharon@nokia.com [Wed, 10 Feb 2010 02:29:28 +0000 (02:29 +0000)]
[Qt] Unit test for window.runModalDialog
https://bugs.webkit.org/show_bug.cgi?id=34755

Reviewed by Adam Barth.

* tests/qwebpage/tst_qwebpage.cpp:

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

11 years ago2010-02-09 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Wed, 10 Feb 2010 02:19:29 +0000 (02:19 +0000)]
2010-02-09  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        Fix QScriptValue::isNumber().

        The isNumber() should return 'true' if the value is in the CNumber
        state.

        [Qt] QScriptValue::isNumber() returns an incorrect value
        https://bugs.webkit.org/show_bug.cgi?id=34575

        * qt/api/qscriptvalue_p.h:
        (QScriptValuePrivate::isNumber):
        * qt/tests/qscriptvalue/tst_qscriptvalue.h:
        * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp:
        (tst_QScriptValue::isNumber_initData):
        (tst_QScriptValue::isNumber_makeData):
        (tst_QScriptValue::isNumber_test):

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

11 years ago2010-02-09 Mikhail Naganov <mnaganov@chromium.org>
eric@webkit.org [Wed, 10 Feb 2010 02:02:30 +0000 (02:02 +0000)]
2010-02-09  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
        Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
        for really enabling it in V8 bindings generation.

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

        * inspector/InjectedScriptHost.idl:
        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::currentCallFrame):
        (WebCore::InspectorBackend::getProfile):
        * inspector/InspectorBackend.h:
        * inspector/InspectorBackend.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        (WebCore::InspectorController::addProfile):
        (WebCore::InspectorController::getProfile):
        (WebCore::InspectorController::startUserInitiatedProfiling):
        (WebCore::InspectorController::stopUserInitiatedProfiling):
        (WebCore::InspectorController::enableProfiler):
        (WebCore::InspectorController::disableProfiler):
        * inspector/InspectorController.h:
        * inspector/InspectorFrontend.cpp:
        (WebCore::InspectorFrontend::pausedScript):
        (WebCore::InspectorFrontend::resumedScript):
        (WebCore::InspectorFrontend::profilerWasEnabled):
        (WebCore::InspectorFrontend::profilerWasDisabled):
        (WebCore::InspectorFrontend::didGetProfile):
        * inspector/InspectorFrontend.h:
        * page/Console.idl:
2010-02-09  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Continuing debugger and profiler unforking: narrow scope of JSC-specific ifdefs.
        Also, enable JAVASCRIPT_DEBUGGER explicitly in features, it appears to be required
        for really enabling it in V8 bindings generation.

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

        * features.gypi:

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

11 years ago2010-02-09 Andreas Kling <andreas.kling@nokia.com>
eric@webkit.org [Wed, 10 Feb 2010 01:43:58 +0000 (01:43 +0000)]
2010-02-09  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Sync with API changes in Maemo 5 kinetic scrolling

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

        This is a forward-port of http://qt.gitorious.org/+qt-developers/qt/x11-maemo/commit/08497561

        * Api/qwebview.cpp:
        (qt_sendSpontaneousEvent):
        (QWebViewKineticScroller::QWebViewKineticScroller):
        (QWebViewKineticScroller::setWidget):
        (QWebViewKineticScroller::eventFilter):
        (QWebViewKineticScroller::cancelLeftMouseButtonPress):
        (QWebViewKineticScroller::currentFrame):
        (QWebViewKineticScroller::scrollingFrameAt):
        (QWebViewKineticScroller::maximumScrollPosition):
        (QWebViewKineticScroller::scrollPosition):
        (QWebViewKineticScroller::viewportSize):
        (QWebViewKineticScroller::setScrollPosition):
        (QWebViewKineticScroller::sendEvent):
        (QWebView::QWebView):

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

11 years agoSmall refactoring to the small strings cache to allow it to be cleared
ggaren@apple.com [Wed, 10 Feb 2010 00:28:39 +0000 (00:28 +0000)]
Small refactoring to the small strings cache to allow it to be cleared
dynamically.

Reviewed by Oliver Hunt.

* runtime/SmallStrings.cpp:
(JSC::SmallStrings::SmallStrings):
(JSC::SmallStrings::clear):
* runtime/SmallStrings.h: Moved initialization code into a shared function,
and changed the constructor to call it.

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

11 years ago[Qt] Unreviewed. Roll-out r54543, because layout tests crash in debug mode.
ossy@webkit.org [Wed, 10 Feb 2010 00:14:41 +0000 (00:14 +0000)]
[Qt] Unreviewed. Roll-out r54543, because layout tests crash in debug mode.
https://bugs.webkit.org/show_bug.cgi?id=34713

WebKitTools:

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::WebPage::WebPage):
* DumpRenderTree/qt/main.cpp:
(main):

LayoutTests:

* platform/qt/Skipped:

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

11 years ago[Qt] Unreviewed trivial fix.
ossy@webkit.org [Tue, 9 Feb 2010 23:28:37 +0000 (23:28 +0000)]
[Qt] Unreviewed trivial fix.

platform/mac/svg/custom/use-on-symbol-inside-pattern-expected.txt updated
by r54560. Qt platform specific expected file should be updated too.

* platform/qt/svg/custom/use-on-symbol-inside-pattern-expected.txt: Updated.

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

11 years agoRubber Stamped by Geoff Garen.
barraclough@apple.com [Tue, 9 Feb 2010 23:26:56 +0000 (23:26 +0000)]
Rubber Stamped by Geoff Garen.

Rename StringBuilder::release && JSStringBuilder::releaseJSString
to 'build()'.

JavaScriptCore:

* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncToLocaleString):
(JSC::arrayProtoFuncJoin):
* runtime/Executable.cpp:
(JSC::FunctionExecutable::paramString):
* runtime/FunctionConstructor.cpp:
(JSC::constructFunction):
* runtime/JSGlobalObjectFunctions.cpp:
(JSC::encode):
(JSC::decode):
(JSC::globalFuncEscape):
(JSC::globalFuncUnescape):
* runtime/JSONObject.cpp:
(JSC::Stringifier::stringify):
* runtime/JSStringBuilder.h:
(JSC::JSStringBuilder::build):
* runtime/LiteralParser.cpp:
(JSC::LiteralParser::Lexer::lexString):
* runtime/NumberPrototype.cpp:
(JSC::integerPartNoExp):
(JSC::numberProtoFuncToFixed):
* runtime/StringBuilder.h:
(JSC::StringBuilder::build):

WebCore:

* bindings/js/ScriptString.h:
(WebCore::ScriptString::operator+=):

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

11 years ago[Qt] fast/events/multiline-link-arrow-navigation.html introduced in r54566, but our
ossy@webkit.org [Tue, 9 Feb 2010 22:58:56 +0000 (22:58 +0000)]
[Qt] fast/events/multiline-link-arrow-navigation.html introduced in r54566, but our
LayoutTestController::overridePreference() does not support the 'WebKitEnableCaretBrowsing' preference now.

* platform/qt/Skipped: fast/events/multiline-link-arrow-navigation.html skipped.

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

11 years agoRubber-stamped by Kenneth Rohde Christiansen.
ossy@webkit.org [Tue, 9 Feb 2010 22:48:38 +0000 (22:48 +0000)]
Rubber-stamped by Kenneth Rohde Christiansen.

[Qt] window.showModalDialog implemented by r54550. Some tests pass now, so expected files updated.
(We need some new platform specific expected file, because this feature works only on Qt port now.)
https://bugs.webkit.org/show_bug.cgi?id=25585

* platform/qt/fast/dom/Window/window-function-frame-getter-precedence-expected.txt: Copied from LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt.
* platform/qt/fast/dom/Window/window-function-name-getter-precedence-expected.txt: Copied from LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt.
* platform/qt/fast/dom/Window/window-lookup-precedence-expected.txt: Copied from LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt.
* platform/qt/fast/dom/Window/window-properties-expected.txt: Updated.
* platform/qt/fast/dom/prototype-inheritance-expected.txt: Updated.
* platform/qt/http/tests/security/cross-frame-access-call-expected.txt: Copied from LayoutTests/http/tests/security/cross-frame-access-call-expected.txt.
 -  cross-frame-access-call-expected.txt might be a false expected file, it needs more investigation.
* platform/qt/http/tests/security/cross-frame-access-get-expected.txt: Copied from LayoutTests/http/tests/security/cross-frame-access-get-expected.txt.

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

11 years ago<rdar://problem/7400160> Netscape plug-ins are not instantiated on property access...
mitz@apple.com [Tue, 9 Feb 2010 22:23:24 +0000 (22:23 +0000)]
<rdar://problem/7400160> Netscape plug-ins are not instantiated on property access if there are pending stylesheets
https://bugs.webkit.org/show_bug.cgi?id=34776

Reviewed by Anders Carlsson.

WebCore:

Tests: plugins/instance-available-before-stylesheets-loaded-object.html
       plugins/instance-available-before-stylesheets-loaded.html

* html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::renderWidgetForJSBindings): Call
updateLayoutIgnorePendingStylesheets() before checking for a renderer.
* html/HTMLObjectElement.cpp:
(WebCore::HTMLObjectElement::renderWidgetForJSBindings): Ditto.

LayoutTests:

* plugins/instance-available-before-stylesheets-loaded-expected.txt: Added.
* plugins/instance-available-before-stylesheets-loaded-object-expected.txt: Added.
* plugins/instance-available-before-stylesheets-loaded-object.html: Added.
* plugins/instance-available-before-stylesheets-loaded.html: Added.

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

11 years agoProblems navigating by caret in links whose text wraps onto
alex@webkit.org [Tue, 9 Feb 2010 20:51:04 +0000 (20:51 +0000)]
Problems navigating by caret in links whose text wraps onto
subsequent lines.
https://bugs.webkit.org/show_bug.cgi?id=25676

Reviewed by Darin Adler.

WebCore:

We should not search ahead if we are not in the last element.

* dom/Position.cpp:

LayoutTests:

Added tests showing the problem.

* fast/events/multiline-link-arrow-navigation.html
* fast/events/multiline-link-arrow-navigation-expected.txt

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

11 years ago[chromium] Add the chromium interface to support Blob.slice.
jianli@chromium.org [Tue, 9 Feb 2010 20:50:12 +0000 (20:50 +0000)]
[chromium] Add the chromium interface to support Blob.slice.
https://bugs.webkit.org/show_bug.cgi?id=34652

Reviewed by Darin Fisher.

* WebKit.gyp:
* public/WebFileInfo.h: Added.
* public/WebHTTPBody.h:
* src/WebHTTPBody.cpp:
(WebKit::WebHTTPBody::elementAt):
(WebKit::WebHTTPBody::appendFile):

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

11 years ago2010-02-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Tue, 9 Feb 2010 20:46:59 +0000 (20:46 +0000)]
2010-02-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        More optimization for AffineTransform with SVG
        https://bugs.webkit.org/show_bug.cgi?id=34774

        Some optimizations to safe unnecessary summations and multiplications.
        Optimize AffineTransform to handle an identity or translation matrix
        more efficient.
        Added translationRight to avoid multiplications of matrices as much as
        possible.

        No tests added, no change of functionality.

        * platform/graphics/transforms/AffineTransform.cpp:
        (WebCore::AffineTransform::inverse):
        (WebCore::AffineTransform::translate):
        (WebCore::AffineTransform::translateRight):
        * platform/graphics/transforms/AffineTransform.h:
        * rendering/RenderForeignObject.cpp:
        (WebCore::RenderForeignObject::translationForAttributes):
        (WebCore::RenderForeignObject::localToParentTransform):
        * rendering/RenderForeignObject.h:
        * rendering/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::localToBorderBoxTransform):
        (WebCore::RenderSVGRoot::localToRepaintContainerTransform):
        (WebCore::RenderSVGRoot::localToParentTransform):
        * rendering/RenderSVGViewportContainer.cpp:
        (WebCore::RenderSVGViewportContainer::localToParentTransform):
        * rendering/SVGRootInlineBox.cpp:
        (WebCore::applyTextLengthCorrectionToTextChunk):

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

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=34772
sullivan@apple.com [Tue, 9 Feb 2010 20:06:17 +0000 (20:06 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=34772
Overzealous new assertion in URStringImpl::adopt()

Reviewed by Adam Barth.

* runtime/UStringImpl.h:
(JSC::UStringImpl::adopt):
Only assert that vector.data() is non-zero if vector.size() is non-zero.

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

11 years ago Reviewed by Anders Carlsson.
ap@apple.com [Tue, 9 Feb 2010 20:05:47 +0000 (20:05 +0000)]
    Reviewed by Anders Carlsson.

        https://bugs.webkit.org/show_bug.cgi?id=34771
        A stray mouse moved event is sent to plug-ins after mouse exit

        * WebCoreSupport/WebFrameLoaderClient.mm: (NetscapePluginWidget::handleEvent): A mouseout
        DOM event is dispatched while handling NSMouseMoved - but we shouldn't be sending a
        mouse moved event to plug-ins at this point.

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

11 years ago2010-02-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Tue, 9 Feb 2010 18:48:35 +0000 (18:48 +0000)]
2010-02-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Set GtkAdjustments on our FrameView when loading a page in the PageCache
        https://bugs.webkit.org/show_bug.cgi?id=34754

        Test that lower, and upper bounds are kept when goibg back with
        page cache enabled, and disabled. Page cache behaviour is still a
        bit broken (see FIXME).

        * tests/testwebview.c:
        (server_callback):
        (map_event_cb):
        (do_test_webkit_web_view_adjustments):
        (test_webkit_web_view_adjustments):
        (main):

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

11 years ago2010-02-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Tue, 9 Feb 2010 18:33:23 +0000 (18:33 +0000)]
2010-02-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG patterns with some scale patternTransform are not displayed correctly for small elements
        https://bugs.webkit.org/show_bug.cgi?id=25484

        SVG Pattern size was clipped to the size of the target, if the pattern is bigger than the target. This
        causes problems, if the patternTransform scales the pattern. This patch deletes the clipping.

        Tests: svg/custom/pattern-excessive-malloc.svg
               svg/custom/pattern-size-bigger-than-target-size.svg
               svg/custom/pattern-skew-transformed.svg

        * svg/SVGPatternElement.cpp:
        (WebCore::SVGPatternElement::buildPattern):

2010-02-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG patterns with some scale patternTransform are not displayed correctly for small elements
        https://bugs.webkit.org/show_bug.cgi?id=25484

        The old DRT results gave back a pattern size of 1x1. That was not very useful.
        The new reuslts are much more useful.

        * platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * platform/mac/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * platform/mac/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
        * platform/mac/svg/batik/paints/patternRegions-expected.txt:
        * platform/mac/svg/custom/deep-dynamic-updates-expected.txt:
        * platform/mac/svg/custom/js-late-pattern-and-object-creation-expected.txt:
        * platform/mac/svg/custom/js-late-pattern-creation-expected.txt:
        * platform/mac/svg/custom/js-update-pattern-child-expected.txt:
        * platform/mac/svg/custom/js-update-pattern-expected.txt:
        * platform/mac/svg/custom/pattern-cycle-detection-expected.txt:
        * platform/mac/svg/custom/pattern-deep-referencing-expected.txt:
        * platform/mac/svg/custom/pattern-excessive-malloc-expected.checksum: Added.
        * platform/mac/svg/custom/pattern-excessive-malloc-expected.png: Added.
        * platform/mac/svg/custom/pattern-excessive-malloc-expected.txt: Added.
        * platform/mac/svg/custom/pattern-in-defs-expected.txt:
        * platform/mac/svg/custom/pattern-size-bigger-than-target-size-expected.checksum: Added.
        * platform/mac/svg/custom/pattern-size-bigger-than-target-size-expected.png: Added.
        * platform/mac/svg/custom/pattern-size-bigger-than-target-size-expected.txt: Added.
        * platform/mac/svg/custom/pattern-skew-transformed-expected.checksum: Added.
        * platform/mac/svg/custom/pattern-skew-transformed-expected.png: Added.
        * platform/mac/svg/custom/pattern-skew-transformed-expected.txt: Added.
        * platform/mac/svg/custom/pattern-with-transformation-expected.txt:
        * platform/mac/svg/custom/pattern-y-offset-expected.txt:
        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
        * platform/mac/svg/custom/stroked-pattern-expected.txt:
        * platform/mac/svg/custom/transformedMaskFails-expected.png:
        * platform/mac/svg/custom/use-on-symbol-inside-pattern-expected.txt:
        * svg/custom/pattern-excessive-malloc.svg: Added.
        * svg/custom/pattern-size-bigger-than-target-size.svg: Added.
        * svg/custom/pattern-skew-transformed.svg: Added.

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

11 years ago2010-02-09 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 9 Feb 2010 18:22:55 +0000 (18:22 +0000)]
2010-02-09  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Gustavo Noronha.

        [GTK] Set GtkAdjustments on our FrameView when loading a page in the PageCache
        https://bugs.webkit.org/show_bug.cgi?id=34754

        Set the Gtk Adjustments of the FrameViews when they are restored
        from the PageCache too. Right we only do it for the newly created
        FrameViews in transitionToCommittedForNewPage, but we it also
        needs to be done in the equilavent transition method for cached
        pages.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::postCommitFrameViewSetup):
        (WebKit::FrameLoaderClient::transitionToCommittedFromCachedFrame):
        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):

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

11 years ago2010-02-09 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Tue, 9 Feb 2010 18:22:49 +0000 (18:22 +0000)]
2010-02-09  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        Update Qt specific DRT result after AffineTransform patch.

        * platform/qt/svg/custom/use-on-symbol-inside-pattern-expected.txt:

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

11 years ago* rendering/RenderObject.cpp:
darin@apple.com [Tue, 9 Feb 2010 18:21:15 +0000 (18:21 +0000)]
* rendering/RenderObject.cpp:
(WebCore::RenderObject::styleDidChange): Fixed typo in comment.

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

11 years ago2010-02-09 MORITA Hajime <morrita@gmail.com>
zimmermann@webkit.org [Tue, 9 Feb 2010 16:53:07 +0000 (16:53 +0000)]
2010-02-09  MORITA Hajime  <morrita@gmail.com>

        Reviewed by Nikolas Zimmermann.

        SVG selection text foreground colour does not respect user settings
        https://bugs.webkit.org/show_bug.cgi?id=15997

        Add two subphases SVGTextPaintSubphaseGlyphFillSelection and
        SVGTextPaintSubphaseGlyphStrokeSelection for painting selected
        text on SVG. Selected texts are painted with style from
        getCachedPseudoStyle() instead of style().

        Tests: svg/text/selection-styles.xhtml

        * rendering/SVGCharacterLayoutInfo.h:
        (WebCore::SVGTextChunkWalker::SVGTextChunkWalker):
        (WebCore::SVGTextChunkWalker::setupFillSelection):
        (WebCore::SVGTextChunkWalker::setupStrokeSelection):
        * rendering/SVGRootInlineBox.cpp:
        (WebCore::SVGRootInlineBoxPaintWalker::mayHaveSelection):
        (WebCore::SVGRootInlineBoxPaintWalker::chunkSetupFillSelectionCallback):
        (WebCore::SVGRootInlineBoxPaintWalker::chunkSetupStrokeSelectionCallback):
        (WebCore::SVGRootInlineBoxPaintWalker::activePaintServer):
        (WebCore::SVGRootInlineBox::paint):
        (WebCore::SVGRootInlineBox::walkTextChunks):
        * rendering/SVGInlineTextBox.h:
        (WebCore::):
        Add callback hooks and its implementation for handle new
        subphases.

        * rendering/SVGInlineTextBox.cpp:
        (WebCore::SVGInlineTextBox::chunkSelectionStartEnd):
        (WebCore::SVGInlineTextBox::paintCharacters):
        Split box text into selected part and non-selected part, and use
        separate subphases to paint them.

        * svg/SVGFont.cpp:
        (WebCore::SVGTextRunWalker::walk):
        Relax ASSERT() condition to accept a part of text.

        * svg/graphics/SVGPaintServer.cpp:
        (WebCore::applyStrokeStyleToContext):
        (WebCore::SVGPaintServer::setup):
        * svg/graphics/SVGPaintServer.h:
        * svg/graphics/SVGPaintServerGradient.cpp:
        (WebCore::SVGPaintServerGradient::setup):
        * svg/graphics/SVGPaintServerGradient.h:
        * svg/graphics/SVGPaintServerPattern.cpp:
        (WebCore::SVGPaintServerPattern::setup):
        * svg/graphics/SVGPaintServerPattern.h:
        * svg/graphics/SVGPaintServerSolid.cpp:
        (WebCore::SVGPaintServerSolid::setup):
        * svg/graphics/SVGPaintServerSolid.h:
        Change setup() signature to accept RenderStyle instead of always
        using RenderObject::style().

2010-02-09  MORITA Hajime  <morrita@gmail.com>

        Reviewed by Nikolas Zimmermann.

        SVG selection text foreground colour does not respect user settings
        https://bugs.webkit.org/show_bug.cgi?id=15997

        Add two subphases SVGTextPaintSubphaseGlyphFillSelection and
        SVGTextPaintSubphaseGlyphStrokeSelection for painting SVG text
        selection. texts are painted with style from getCachedPseudoStyle() instead of style().

        * platform/mac/svg/text/selection-styles-expected.checksum: Added.
        * platform/mac/svg/text/selection-styles-expected.png: Added.
        * platform/mac/svg/text/selection-styles-expected.txt: Added.
        * platform/mac/svg/text/text-deco-01-b-expected.checksum: Updated pixel tests to account for marginal painting differences.
        * platform/mac/svg/text/text-deco-01-b-expected.png: Ditto.
        * platform/mac/svg/text/text-path-01-b-expected.checksum: Dito.
        * platform/mac/svg/text/text-path-01-b-expected.png: Ditto.
        * platform/mac/svg/text/text-text-03-b-expected.checksum: Ditto.
        * platform/mac/svg/text/text-text-03-b-expected.png: Ditto.
        * svg/text/selection-styles.xhtml: Added.

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

11 years ago2010-02-09 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 9 Feb 2010 16:36:35 +0000 (16:36 +0000)]
2010-02-09  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Follow-up fix.

        Add missing devTools.css file.

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

        * src/js/devTools.css: Added.

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

11 years ago2010-02-09 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 9 Feb 2010 16:34:34 +0000 (16:34 +0000)]
2010-02-09  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Try to fix build problem on SnowLeopard slaves to bring them back.

        * API/JSClassRef.cpp:
        (tryCreateStringFromUTF8): Mark method as 'static inline' to suppress "warning: no previous prototype for ..."

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

11 years agoUnreviewed; added myself to committers
alex@webkit.org [Tue, 9 Feb 2010 16:27:55 +0000 (16:27 +0000)]
Unreviewed; added myself to committers

* Scripts/webkitpy/committers.py:

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

11 years ago2010-02-09 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 9 Feb 2010 16:27:28 +0000 (16:27 +0000)]
2010-02-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Upstream DevTools Images and .css files.

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

        * WebKit.gypi:
        * src/js/DevTools.css: Added.
        * src/js/Images/segmentChromium.png: Added.
        * src/js/Images/segmentHoverChromium.png: Added.
        * src/js/Images/segmentHoverEndChromium.png: Added.
        * src/js/Images/segmentSelectedChromium.png: Added.
        * src/js/Images/segmentSelectedEndChromium.png: Added.
        * src/js/Images/statusbarBackgroundChromium.png: Added.
        * src/js/Images/statusbarBottomBackgroundChromium.png: Added.
        * src/js/Images/statusbarButtonsChromium.png: Added.
        * src/js/Images/statusbarMenuButtonChromium.png: Added.
        * src/js/Images/statusbarMenuButtonSelectedChromium.png: Added.

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

11 years ago2010-02-09 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Tue, 9 Feb 2010 16:08:18 +0000 (16:08 +0000)]
2010-02-09  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        No scroll bars are displayed for standalone SVG image
        https://bugs.webkit.org/show_bug.cgi?id=11225

        Height and width defined for svg element are not honored
        https://bugs.webkit.org/show_bug.cgi?id=24033

        SVG file does not pan and has no scroll bars
        https://bugs.webkit.org/show_bug.cgi?id=24448

        Adapt to SVG 1.1 errata to change the overflow handling:
        Replace "svg { overflow: hidden }"  by "svg:not(:root) { overflow: hidden }" to allow standalone SVG documents to contain scrolllbars.
        Agreed by SVG WG to make this the default behaviour, already implemented by Opera & FireFox (partial support).

        Add new tests in svg/overflow covering all special SVG css overflow handling rules on inner/outer svg elements.

        Tests: svg/overflow/overflow-on-inner-svg-element-defaults.svg
               svg/overflow/overflow-on-inner-svg-element.svg
               svg/overflow/overflow-on-outermost-svg-element-defaults.svg
               svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1.svg
               svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2.svg
               svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3.svg
               svg/overflow/overflow-on-outermost-svg-element-in-xhtml-auto.xhtml
               svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults.xhtml
               svg/overflow/overflow-on-outermost-svg-element-in-xhtml-hidden.xhtml
               svg/overflow/overflow-on-outermost-svg-element-in-xhtml-scroll.xhtml
               svg/overflow/overflow-on-outermost-svg-element-in-xhtml-visible.xhtml

        * css/svg.css: Change default <svg> overflow rule to only apply to inner <svg> elements.
        * page/FrameView.cpp:
        (WebCore::FrameView::layout): Only apply overflow rules for non-standalone SVG documents.
        * rendering/RenderSVGRoot.cpp: Remove all calls to isOverflowHidden - it's always the case for the outermost SVG element, see spec + errata.
        (WebCore::RenderSVGRoot::paint): Always clip to initial viewport size.
        (WebCore::RenderSVGRoot::computeRectForRepaint): Ditto.
        (WebCore::RenderSVGRoot::nodeAtPoint): Simplify.
        * rendering/RenderSVGViewportContainer.cpp:
        (WebCore::RenderSVGViewportContainer::applyViewportClip): Use isOverflowHidden() instead of a manual oveflow query and clip in float precision.
        * rendering/SVGRenderSupport.cpp:
        (WebCore::SVGRenderBase::isOverflowHidden): Simplify implementation, assure the function is not called anymore for RenderSVGRoot objects.

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

11 years ago[Qt] Webkit in Qt does not have window.showModalDialog
yael.aharon@nokia.com [Tue, 9 Feb 2010 15:55:06 +0000 (15:55 +0000)]
[Qt] Webkit in Qt does not have window.showModalDialog
https://bugs.webkit.org/show_bug.cgi?id=25585

Reviewed by Kenneth Rohde Christiansen.

WebKit/qt:

Create a new eventloop when runModal() is called.
Added comemnt in QWebPage::createWindow that the application is responsible
for setting the modality of the appropriate window.

* Api/qwebpage.cpp:
* WebCoreSupport/ChromeClientQt.cpp:
* WebCoreSupport/ChromeClientQt.h:

WebKitTools:

Set the modality flag when createWindow is called with window type WebWindowDialog.

* QtLauncher/main.cpp:

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

11 years ago Unreviewed trivial warning fix.
abecsi@webkit.org [Tue, 9 Feb 2010 15:30:07 +0000 (15:30 +0000)]
Unreviewed trivial warning fix.

* Scripts/build-webkit:

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

11 years agoAdd possibility of passing parameters to build-webkit by environment variable,
abecsi@webkit.org [Tue, 9 Feb 2010 15:22:47 +0000 (15:22 +0000)]
Add possibility of passing parameters to build-webkit by environment variable,
because the buildbot slaves can't control the arguments.

Patch by Gabor Rapcsanyi <rgabor@inf.u-szeged.hu> on 2010-02-09
Reviewed by Tor Arne Vestbø.

* Scripts/build-webkit:

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

11 years ago2010-02-09 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 9 Feb 2010 15:15:08 +0000 (15:15 +0000)]
2010-02-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Upstream JavaScript part of DevTools WebKit API implementation(now
        with the added files).

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

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

11 years ago2010-02-09 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 9 Feb 2010 15:03:13 +0000 (15:03 +0000)]
2010-02-09  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Upstream JavaScript part of DevTools WebKit API implementation

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

        * WebKit.gypi: Added.
        * src/js/DebuggerAgent.js: Added.
        (devtools.DebuggerAgent):
        (devtools.DebuggerAgent.prototype.reset):
        (devtools.DebuggerAgent.prototype.initUI):
        (devtools.DebuggerAgent.prototype.resolveScriptSource.this.requestSeqToCallback_.cmd.getSequenceNumber):
        (devtools.DebuggerAgent.prototype.resolveScriptSource):
        (devtools.DebuggerAgent.prototype.pauseExecution):
        (devtools.DebuggerAgent.prototype.addBreakpoint):
        (devtools.DebuggerAgent.prototype.removeBreakpoint):
        (devtools.DebuggerAgent.prototype.updateBreakpoint):
        (devtools.DebuggerAgent.prototype.stepIntoStatement):
        (devtools.DebuggerAgent.prototype.stepOutOfFunction):
        (devtools.DebuggerAgent.prototype.stepOverStatement):
        (devtools.DebuggerAgent.prototype.resumeExecution):
        (devtools.DebuggerAgent.prototype.createExceptionMessage_):
        (devtools.DebuggerAgent.prototype.showPendingExceptionMessage_):
        (devtools.DebuggerAgent.prototype.clearExceptionMessage_):
        (devtools.DebuggerAgent.prototype.pauseOnExceptions):
        (devtools.DebuggerAgent.prototype.setPauseOnExceptions):
        (devtools.DebuggerAgent.prototype.requestEvaluate):
        (devtools.DebuggerAgent.prototype.resolveChildren):
        (devtools.DebuggerAgent.prototype.resolveScope.this.requestSeqToCallback_.cmd.getSequenceNumber):
        (devtools.DebuggerAgent.prototype.resolveScope):
        (devtools.DebuggerAgent.prototype.resolveFrameVariables_.scopeResponseHandler):
        (devtools.DebuggerAgent.prototype.resolveFrameVariables_):
        (devtools.DebuggerAgent.prototype.resolveCompletionsOnFrame):
        (devtools.DebuggerAgent.prototype.getScriptContextType):
        (devtools.DebuggerAgent.prototype.requestClearBreakpoint_):
        (devtools.DebuggerAgent.prototype.requestChangeBreakpoint_):
        (devtools.DebuggerAgent.prototype.requestBacktrace_):
        (devtools.DebuggerAgent.sendCommand_):
        (devtools.DebuggerAgent.prototype.stepCommand_):
        (devtools.DebuggerAgent.prototype.requestLookup_):
        (devtools.DebuggerAgent.prototype.setContextId_.this.requestSeqToCallback_.cmd.getSequenceNumber):
        (devtools.DebuggerAgent.prototype.setContextId_):
        (devtools.DebuggerAgent.prototype.handleDebuggerOutput_):
        (devtools.DebuggerAgent.prototype.handleBreakEvent_):
        (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
        (devtools.DebuggerAgent.prototype.handleScriptsResponse_):
        (devtools.DebuggerAgent.prototype.isScriptFromInspectedContext_):
        (devtools.DebuggerAgent.prototype.handleSetBreakpointResponse_):
        (devtools.DebuggerAgent.prototype.handleAfterCompileEvent_):
        (devtools.DebuggerAgent.prototype.addScriptInfo_):
        (devtools.DebuggerAgent.prototype.handleClearBreakpointResponse_):
        (devtools.DebuggerAgent.prototype.handleBacktraceResponse_):
        (devtools.DebuggerAgent.prototype.doHandleBacktraceResponse_):
        (devtools.DebuggerAgent.prototype.evaluateInCallFrame):
        (devtools.DebuggerAgent.prototype.invokeCallbackForResponse_):
        (devtools.DebuggerAgent.prototype.formatCallFrame_):
        (devtools.DebuggerAgent.formatObjectProperties_):
        (devtools.DebuggerAgent.propertiesToProxies_):
        (devtools.DebuggerAgent.formatObjectProxy_):
        (devtools.DebuggerAgent.webkitToV8LineNumber_):
        (devtools.DebuggerAgent.v8ToWwebkitLineNumber_):
        (devtools.ScriptInfo):
        (devtools.ScriptInfo.prototype.getLineOffset):
        (devtools.ScriptInfo.prototype.getContextType):
        (devtools.ScriptInfo.prototype.getUrl):
        (devtools.ScriptInfo.prototype.isUnresolved):
        (devtools.ScriptInfo.prototype.getBreakpointInfo):
        (devtools.ScriptInfo.prototype.addBreakpointInfo):
        (devtools.ScriptInfo.prototype.removeBreakpointInfo):
        (devtools.BreakpointInfo):
        (devtools.BreakpointInfo.prototype.getLine):
        (devtools.BreakpointInfo.prototype.getV8Id):
        (devtools.BreakpointInfo.prototype.setV8Id):
        (devtools.BreakpointInfo.prototype.markAsRemoved):
        (devtools.BreakpointInfo.prototype.isRemoved):
        (devtools.CallFrame):
        (devtools.CallFrame.prototype.evaluate_):
        (devtools.DebugCommand):
        (devtools.DebugCommand.prototype.getSequenceNumber):
        (devtools.DebugCommand.prototype.toJSONProtocol):
        (devtools.DebuggerMessage):
        (devtools.DebuggerMessage.prototype.getType):
        (devtools.DebuggerMessage.prototype.getEvent):
        (devtools.DebuggerMessage.prototype.getCommand):
        (devtools.DebuggerMessage.prototype.getRequestSeq):
        (devtools.DebuggerMessage.prototype.isRunning):
        (devtools.DebuggerMessage.prototype.isSuccess):
        (devtools.DebuggerMessage.prototype.getMessage):
        (devtools.DebuggerMessage.prototype.getBody):
        (devtools.DebuggerMessage.prototype.lookup):
        * src/js/DevTools.js: Added.
        (devtools.dispatch):
        (devtools.ToolsAgent):
        (devtools.ToolsAgent.prototype.reset):
        (devtools.ToolsAgent.prototype.evaluateJavaScript):
        (devtools.ToolsAgent.prototype.getDebuggerAgent):
        (devtools.ToolsAgent.prototype.getProfilerAgent):
        (devtools.ToolsAgent.prototype.frameNavigate_):
        (devtools.ToolsAgent.prototype.dispatchOnClient_):
        (devtools.ToolsAgent.prototype.evaluate):
        (WebInspector.setResourcesPanelEnabled):
        (debugPrint):
        (devtools):
        (WebInspector.loaded):
        ():
        (WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded):
        (WebInspector.ScriptView.prototype.didResolveScriptSource_):
        (WebInspector.UnresolvedPropertyValue):
        (WebInspector.UIString):
        (WebInspector.resourceTrackingWasEnabled):
        (WebInspector.resourceTrackingWasDisabled):
        (WebInspector.TestController.prototype.runAfterPendingDispatches):
        (WebInspector.queuesAreEmpty):
        (WebInspector.pausedScript):
        * src/js/DevToolsHostStub.js: Added.
        (.RemoteDebuggerAgentStub):
        (.RemoteDebuggerAgentStub.prototype.getContextId):
        (.RemoteProfilerAgentStub):
        (.RemoteProfilerAgentStub.prototype.getActiveProfilerModules):
        (.RemoteProfilerAgentStub.prototype.getLogLines):
        (.RemoteToolsAgentStub):
        (.RemoteToolsAgentStub.prototype.dispatchOnInjectedScript):
        (.RemoteToolsAgentStub.prototype.dispatchOnInspectorController):
        (.RemoteToolsAgentStub.prototype.executeVoidJavaScript):
        (.ProfilerStubHelper):
        (.ProfilerStubHelper.GetInstance):
        (.ProfilerStubHelper.prototype.StopProfiling):
        (.ProfilerStubHelper.prototype.StartProfiling):
        (.ProfilerStubHelper.prototype.getActiveProfilerModules):
        (.ProfilerStubHelper.prototype.getLogLines):
        (.RemoteDebuggerCommandExecutorStub):
        (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerCommand):
        (.RemoteDebuggerCommandExecutorStub.prototype.DebuggerPauseScript):
        (.RemoteDebuggerCommandExecutorStub.prototype.sendResponse_):
        (.DevToolsHostStub):
        (.DevToolsHostStub.prototype.reset):
        (.DevToolsHostStub.prototype.setting):
        (.DevToolsHostStub.prototype.setSetting):
        * src/js/HeapProfilerPanel.js: Added.
        (WebInspector.ProfilesPanel.prototype.addSnapshot):
        (WebInspector.HeapSnapshotView):
        (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
        (WebInspector.HeapSnapshotView.prototype.get profile):
        (WebInspector.HeapSnapshotView.prototype.set profile):
        (WebInspector.HeapSnapshotView.prototype.show):
        (WebInspector.HeapSnapshotView.prototype.hide):
        (WebInspector.HeapSnapshotView.prototype.resize):
        (WebInspector.HeapSnapshotView.prototype.refresh):
        (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
        (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
        (WebInspector.HeapSnapshotView.prototype.searchCanceled):
        (WebInspector.HeapSnapshotView.prototype.performSearch):
        (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
        (WebInspector.HeapSnapshotView.prototype._changeBase):
        (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
        (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
        (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
        (WebInspector.HeapSnapshotView.prototype._percentClicked):
        (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
        (WebInspector.HeapSnapshotView.prototype._sortData):
        (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
        (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
        (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
        (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
        (WebInspector.HeapSummaryCalculator):
        (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
        (WebInspector.HeapSummaryCalculator.prototype.formatValue):
        (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
        (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
        (WebInspector.HeapSummaryCountCalculator):
        (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
        (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
        (WebInspector.HeapSummarySizeCalculator):
        (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
        (WebInspector.HeapSnapshotSidebarTreeElement):
        (WebInspector.HeapSnapshotSidebarTreeElement.prototype.get mainTitle):
        (WebInspector.HeapSnapshotSidebarTreeElement.prototype.set mainTitle):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate.if):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
        (WebInspector.HeapSnapshotDataGridNode):
        (WebInspector.HeapSnapshotDataGridList):
        (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
        (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
        (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
        (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
        (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
        (WebInspector.HeapSnapshotDataGridList.propertyComparator):
        (WebInspector.HeapSnapshotDataGridRetainerNode):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
        (WebInspector.HeapSnapshotProfileType):
        (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
        (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
        (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
        (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
        (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
        (WebInspector.HeapSnapshotProfileType.prototype.createView):
        ():
        * src/js/InjectDispatch.js: Added.
        (InspectorControllerDispatcher.dispatch):
        (ApuAgentDispatcher.dispatchToApu):
        (dispatch):
        (devtools):
        * src/js/InspectorControllerImpl.js: Added.
        (devtools.InspectorBackendImpl):
        (devtools.InspectorBackendImpl.prototype.toggleNodeSearch):
        (devtools.InspectorBackendImpl.prototype.debuggerEnabled):
        (devtools.InspectorBackendImpl.prototype.profilerEnabled):
        (devtools.InspectorBackendImpl.prototype.addBreakpoint):
        (devtools.InspectorBackendImpl.prototype.removeBreakpoint):
        (devtools.InspectorBackendImpl.prototype.updateBreakpoint):
        (devtools.InspectorBackendImpl.prototype.pauseInDebugger):
        (devtools.InspectorBackendImpl.prototype.resumeDebugger):
        (devtools.InspectorBackendImpl.prototype.stepIntoStatementInDebugger):
        (devtools.InspectorBackendImpl.prototype.stepOutOfFunctionInDebugger):
        (devtools.InspectorBackendImpl.prototype.stepOverStatementInDebugger):
        (devtools.InspectorBackendImpl.prototype.setPauseOnExceptionsState):
        (devtools.InspectorBackendImpl.prototype.pauseOnExceptionsState):
        (devtools.InspectorBackendImpl.prototype.pauseOnExceptions):
        (devtools.InspectorBackendImpl.prototype.setPauseOnExceptions):
        (devtools.InspectorBackendImpl.prototype.startProfiling):
        (devtools.InspectorBackendImpl.prototype.stopProfiling):
        (devtools.InspectorBackendImpl.prototype.getProfileHeaders):
        (devtools.InspectorBackendImpl.prototype.addFullProfile):
        (devtools.InspectorBackendImpl.prototype.getProfile):
        (devtools.InspectorBackendImpl.prototype.takeHeapSnapshot):
        (devtools.InspectorBackendImpl.prototype.dispatchOnInjectedScript):
        (devtools.InspectorBackendImpl.prototype.installInspectorControllerDelegate_):
        (devtools.InspectorBackendImpl.prototype.callInspectorController_):
        * src/js/ProfilerAgent.js: Added.
        (devtools.ProfilerAgent):
        (devtools.ProfilerAgent.prototype.setupProfilerProcessorCallbacks):
        (devtools.ProfilerAgent.prototype.initializeProfiling):
        (devtools.ProfilerAgent.prototype.startProfiling):
        (devtools.ProfilerAgent.prototype.stopProfiling):
        (devtools.ProfilerAgent.prototype.didGetActiveProfilerModules_):
        (devtools.ProfilerAgent.prototype.didGetLogLines_):
        * src/js/ProfilerProcessor.js: Added.
        (devtools.profiler.WebKitViewBuilder):
        (devtools.profiler.WebKitViewBuilder.prototype.createViewNode):
        (devtools.profiler.WebKitViewNode):
        (set get devtools.profiler.WebKitViewNode.prototype.initFuncInfo_):
        (devtools.profiler.JsProfile):
        (devtools.profiler.JsProfile.prototype.skipThisFunction):
        (devtools.profiler.Processor):
        (devtools.profiler.Processor.prototype.printError):
        (devtools.profiler.Processor.prototype.skipDispatch):
        (devtools.profiler.Processor.prototype.setCallbacks):
        (devtools.profiler.Processor.prototype.setNewProfileCallback):
        (devtools.profiler.Processor.prototype.processProfiler_.switch.break):
        (devtools.profiler.Processor.prototype.processProfiler_):
        (devtools.profiler.Processor.prototype.processCodeCreation_):
        (devtools.profiler.Processor.prototype.processCodeMove_):
        (devtools.profiler.Processor.prototype.processCodeDelete_):
        (devtools.profiler.Processor.prototype.processFunctionCreation_):
        (devtools.profiler.Processor.prototype.processFunctionMove_):
        (devtools.profiler.Processor.prototype.processFunctionDelete_):
        (devtools.profiler.Processor.prototype.processTick_):
        (devtools.profiler.Processor.prototype.processTickV2_):
        (devtools.profiler.Processor.prototype.processHeapSampleBegin_):
        (devtools.profiler.Processor.prototype.processHeapSampleStats_):
        (devtools.profiler.Processor.prototype.processHeapSampleItem_):
        (devtools.profiler.Processor.prototype.processHeapJsConsItem_):
        (devtools.profiler.Processor.prototype.processHeapJsRetItem_.mergeRetainers):
        (devtools.profiler.Processor.prototype.processHeapJsRetItem_):
        (devtools.profiler.Processor.prototype.processHeapSampleEnd_):
        (devtools.profiler.Processor.prototype.createProfileForView):
        * src/js/Tests.js: Added.
        (.TestSuite):
        (.TestSuite.prototype.fail):
        (.TestSuite.prototype.assertEquals):
        (.TestSuite.prototype.assertTrue):
        (.TestSuite.prototype.assertContains):
        (.TestSuite.prototype.takeControl):
        (.TestSuite.prototype.releaseControl):
        (.TestSuite.prototype.reportOk_):
        (.TestSuite.prototype.reportFailure_):
        (.TestSuite.prototype.runTest):
        (.TestSuite.prototype.showPanel):
        (.TestSuite.prototype.addSniffer.receiver.methodName):
        (.TestSuite.prototype.addSniffer):
        (.TestSuite.prototype.testHostIsPresent):
        (.TestSuite.prototype.testElementsTreeRoot):
        (.TestSuite.prototype.testMainResource):
        (.TestSuite.prototype.testResourceContentLength.this.addSniffer.):
        (.TestSuite.prototype.testResourceHeaders):
        (.TestSuite.prototype.testCachedResourceMimeType.this.addSniffer.):
        (.TestSuite.prototype.testCachedResourceMimeType):
        (.TestSuite.prototype.testProfilerTab):
        (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
        (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.checkScriptsPanel):
        (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh):
        (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToElementsTab):
        (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.switchToScriptsTab):
        (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkScriptsPanel):
        (.TestSuite.prototype.testNoScriptDuplicatesOnPanelSwitch.checkNoDuplicates):
        (.TestSuite.prototype.testPauseOnException):
        (.TestSuite.prototype.testPauseWhenLoadingDevTools):
        (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPauseAfterDelay):
        (.TestSuite.prototype.testPauseWhenScriptIsRunning.testScriptPause):
        (.TestSuite.prototype.testPauseWhenScriptIsRunning):
        (.TestSuite.prototype.optionsToString_):
        (.TestSuite.prototype.evaluateInConsole_):
        (.TestSuite.prototype.waitForSetBreakpointResponse_):
        (.TestSuite.prototype.testEvalOnCallFrame.setBreakpointCallback):
        (.TestSuite.prototype.testEvalOnCallFrame.waitForBreakpointHit):
        (.TestSuite.prototype.testCompletionOnPause):
        (.TestSuite.prototype.testCompletionOnPause.testLocalsCompletion):
        (.TestSuite.prototype.testCompletionOnPause.testThisCompletion):
        (.TestSuite.prototype.testCompletionOnPause.testFieldCompletion):
        (.TestSuite.prototype.testCompletionOnPause.checkCompletions):
        (.TestSuite.prototype.testAutoContinueOnSyntaxError.checkScriptsList):
        (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent.test):
        (.TestSuite.prototype.testAutoContinueOnSyntaxError.waitForExceptionEvent):
        (.TestSuite.prototype._checkExecutionLine):
        (.TestSuite.prototype._scriptsAreParsed):
        (.TestSuite.prototype._waitForScriptPause):
        (.TestSuite.prototype._checkSourceFrameWhenLoaded.checkExecLine):
        (.TestSuite.prototype._checkSourceFrameWhenLoaded):
        (.TestSuite.prototype._performSteps.doNextAction):
        (.TestSuite.prototype._performSteps):
        (.TestSuite.prototype._executeCodeWhenScriptsAreParsed.executeFunctionInInspectedPage):
        (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
        (.TestSuite.prototype._waitUntilScriptsAreParsed):
        (.TestSuite.prototype._executeFunctionForStepTest):
        (.TestSuite.prototype.testStepOver):
        (.TestSuite.prototype.testStepOut):
        (.TestSuite.prototype.testStepIn):
        (.TestSuite.prototype._evaluateXpath):
        (.TestSuite.prototype._findNode):
        (.TestSuite.prototype._findText):
        (.TestSuite.prototype._nodeIterator):
        (.TestSuite.prototype._checkScopeSectionDiv):
        (.TestSuite.prototype._expandScopeSections.updateListener):
        (.TestSuite.prototype._expandScopeSections):
        (.TestSuite.prototype.testExpandScope):
        (.TestSuite.prototype.testExpandScope.examineScopes):
        (.TestSuite.prototype._findChildProperty):
        (.TestSuite.prototype._hookGetPropertiesCallback.accessor.getProperties):
        (.TestSuite.prototype._hookGetPropertiesCallback.try):
        (.TestSuite.prototype._hookGetPropertiesCallback):
        (.TestSuite.prototype.testDebugIntrinsicProperties.expandLocalScope):
        (.TestSuite.prototype.testDebugIntrinsicProperties):
        (.TestSuite.prototype.testDebugIntrinsicProperties.expandAndCheckNextProperty):
        (.TestSuite.prototype.testDebugIntrinsicProperties.checkProperty):
        (.TestSuite.createKeyEvent):
        (.TestSuite.prototype.testConsoleLog.assertNext):
        (.TestSuite.prototype.testConsoleLog):
        (.TestSuite.prototype.testEvalGlobal.initEval):
        (.TestSuite.prototype.testEvalGlobal):
        (.TestSuite.prototype.testShowStoragePanel.this.addSniffer.):
        (.TestSuite.prototype.testShowStoragePanel.this.addSniffer):
        (.uiTests.runAllTests):
        (.uiTests.runTest):

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