WebKit-https.git
9 years ago2011-05-26 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Thu, 26 May 2011 16:13:10 +0000 (16:13 +0000)]
2011-05-26  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        Dynamically created <animate> elements do not animate upon document insertion as they should
        https://bugs.webkit.org/show_bug.cgi?id=20028

        Tests: svg/animations/animate-insert-begin.html
               svg/animations/animate-insert-no-begin.html

        Move animation initializing and rescheduling to insertedIntoDocument. This way animate elements
        dynamicaly inserted into the document using js start as well.

        * svg/animation/SVGSMILElement.cpp:
        (WebCore::SVGSMILElement::insertedIntoDocument):
        * svg/animation/SVGSMILElement.h:
2011-05-26  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        Dynamically created <animate> elements do not animate upon document insertion as they should
        https://bugs.webkit.org/show_bug.cgi?id=20028

        Add tests for dynamically inserting <animate>.

        * svg/animations/animate-insert-begin-expected.txt: Added.
        * svg/animations/animate-insert-begin.html: Added.
        * svg/animations/animate-insert-no-begin-expected.txt: Added.
        * svg/animations/animate-insert-no-begin.html: Added.
        * svg/animations/script-tests/animate-insert-begin.js: Added.
        (sample1):
        (sample2):
        (executeTest):
        * svg/animations/script-tests/animate-insert-no-begin.js: Added.
        (sample1):
        (sample2):
        (executeTest):

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

9 years ago2011-05-26 Chang Shu <cshu@webkit.org>
chang.shu@nokia.com [Thu, 26 May 2011 16:08:43 +0000 (16:08 +0000)]
2011-05-26  Chang Shu  <cshu@webkit.org>

        Unreviewed.

        [Qt] http/tests/websocket/tests/reload-crash.html fails intermittently with time out
        https://bugs.webkit.org/show_bug.cgi?id=50152

        Unskip the test case as it's not reproducible. Will watch the buildbot results.

        * platform/qt/Skipped: Unskip http/tests/websocket/tests/reload-crash.html

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

9 years ago2011-05-26 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Thu, 26 May 2011 16:05:43 +0000 (16:05 +0000)]
2011-05-26  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        JSC DOM bindings: ExecState::argumentCount() is size_t, not int.
        https://bugs.webkit.org/show_bug.cgi?id=61530

        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/test/JS/JSTestObj.cpp:
        (WebCore::jsTestObjPrototypeFunctionOptionsObject):
        (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndOptionalArg):
        (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
        (WebCore::jsTestObjPrototypeFunctionMethodWithOptionalArg):
        (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndOptionalArg):
        (WebCore::jsTestObjPrototypeFunctionMethodWithNonOptionalArgAndTwoOptionalArgs):
        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
        (WebCore::jsTestObjPrototypeFunctionClassMethodWithOptional):

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

9 years ago2011-05-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 26 May 2011 15:56:47 +0000 (15:56 +0000)]
2011-05-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Adam Roben.

        Some repeating linear gradients look wrong
        https://bugs.webkit.org/show_bug.cgi?id=61371

        Test: fast/gradients/css3-repeating-linear-gradients2.html

        Fix incorrect stop duplication code when filling forwards a repeating
        gradient. The "if (srcStopOrdinal < originalNumStops - 1)" test was wrong
        because srcStopOrdinal had been adjusted for stops added by start-filling,
        but originalNumStops had not. Fix by considering srcStopOrdinal as an index
        into the original stops, so comparing it with originalNumStops remains valid.

        * css/CSSGradientValue.cpp:
        (WebCore::CSSGradientValue::addStops):

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

9 years ago2011-05-26 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 15:54:54 +0000 (15:54 +0000)]
2011-05-26  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: In network panel, show transfer size in a first line of resource row.
        https://bugs.webkit.org/show_bug.cgi?id=61354

        * English.lproj/localizedStrings.js:
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._createTable):
        (WebInspector.NetworkDataGridNode.prototype._refreshSizeCell):

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

9 years ago2011-05-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Thu, 26 May 2011 15:34:48 +0000 (15:34 +0000)]
2011-05-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Always antialias borders, outlines and rules when scaling
        https://bugs.webkit.org/show_bug.cgi?id=61502

        r84273 changed the behavior of drawLineForBoxSide() to never antialias by default.
        This actually disabled antialiasing in some circumstances where it used to be enabled,
        for example collapsed table border drawing.

        Fix by allowing antialiasing for collapsed table borders, column rules and span
        outlines when the context is scaled.

        Test: fast/borders/border-antialiasing.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::paintColumnRules):
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::paintOutline):
        (WebCore::RenderInline::paintOutlineForLine):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::paintCollapsedBorder):

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

9 years ago[Chromium] Unreviewed. Mark inspector/profiler/cpu-profiler-profiling.html as flaky...
mnaganov@chromium.org [Thu, 26 May 2011 15:01:44 +0000 (15:01 +0000)]
[Chromium] Unreviewed. Mark inspector/profiler/cpu-profiler-profiling.html as flaky on Linux

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

9 years ago[Qt][WK2] Update expected files after r87320.
ossy@webkit.org [Thu, 26 May 2011 14:54:04 +0000 (14:54 +0000)]
[Qt][WK2] Update expected files after r87320.

* platform/qt-wk2/Skipped:
* platform/qt-wk2/fast/dom/Window/window-properties-expected.txt: Added.
* platform/qt-wk2/fast/dom/Window/window-property-descriptors-expected.txt: Added.

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

9 years ago2011-05-26 Qi Zhang <qi.2.zhang@nokia.com>
qi.2.zhang@nokia.com [Thu, 26 May 2011 14:35:13 +0000 (14:35 +0000)]
2011-05-26  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Remove test cases related to layoutTestController.dumpBackForwardList from qt-wk2/Skipped
        https://bugs.webkit.org/show_bug.cgi?id=61462

        WebKitTestRunner already support layoutTestController.dumpBackForwardList from r70723.

        * platform/qt-wk2/Skipped:

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

9 years ago2011-05-26 Vsevolod Vlasov <vsevik@chromium.org>
yurys@chromium.org [Thu, 26 May 2011 14:28:04 +0000 (14:28 +0000)]
2011-05-26  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Use different SourceFrame instances for ResourcesPanel and NetworkPanel
        https://bugs.webkit.org/show_bug.cgi?id=59193

        * inspector/debugger/source-frame.html:
2011-05-26  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Use different SourceFrame instances for ResourcesPanel and NetworkPanel
        https://bugs.webkit.org/show_bug.cgi?id=59193

        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView):
        (WebInspector.NetworkItemView._contentViewForResource):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._refreshResource):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.get messages):
        (WebInspector.Resource.prototype.addMessage):
        (WebInspector.Resource.prototype.set errors):
        (WebInspector.Resource.prototype.set warnings):
        (WebInspector.Resource.prototype.clearErrorsAndWarnings):
        * inspector/front-end/ResourceTreeModel.js:
        (WebInspector.ResourceTreeModel.prototype._consoleMessageAdded):
        * inspector/front-end/ResourceView.js:
        (WebInspector.ResourceView.hasTextContent):
        (WebInspector.ResourceView.nonSourceViewForResource):
        (WebInspector.ResourceSourceFrame):
        (WebInspector.ResourceSourceFrame.mimeTypeForResource):
        (WebInspector.ResourceSourceFrame.prototype.requestContent):
        (WebInspector.ResourceSourceFrame.prototype.suggestedFileName):
        (WebInspector.EditableResourceSourceFrame):
        (WebInspector.EditableResourceSourceFrame.prototype.doubleClick):
        (WebInspector.EditableResourceSourceFrame.prototype.editContent):
        (WebInspector.EditableResourceSourceFrame.prototype.cancelEditing):
        (WebInspector.EditableResourceSourceFrame.prototype.afterTextChanged):
        (WebInspector.EditableResourceSourceFrame.prototype._clearIncrementalUpdateTimer):
        (WebInspector.ResourceRevisionSourceFrame):
        (WebInspector.ResourceRevisionSourceFrame.prototype.requestContent):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.showResource):
        (WebInspector.ResourcesPanel.prototype._showResourceView):
        (WebInspector.ResourcesPanel.prototype._resourceViewForResource):
        (WebInspector.ResourcesPanel.prototype._showRevisionView):
        (WebInspector.ResourcesPanel.prototype._sourceViewForRevision):
        (WebInspector.ResourcesPanel.prototype.searchCanceled):
        (WebInspector.ResourcesPanel.prototype._findTreeElementForRevision):
        (WebInspector.ResourcesPanel.prototype._findTreeElementForRevision.getParent):
        (WebInspector.FrameResourceTreeElement):
        (WebInspector.FrameResourceTreeElement.prototype.onattach):
        (WebInspector.FrameResourceTreeElement.prototype._updateErrorsAndWarningsBubbles):
        (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsCleared):
        (WebInspector.FrameResourceTreeElement.prototype._errorsWarningsMessageAdded):
        (WebInspector.FrameResourceTreeElement.prototype._appendRevision):
        (WebInspector.FrameResourceTreeElement.prototype.sourceView):
        (WebInspector.FrameResourceTreeElement.prototype._createSourceView):
        (WebInspector.FrameResourceTreeElement.prototype._recreateSourceView):
        (WebInspector.ResourceRevisionTreeElement):
        (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
        (WebInspector.ResourceRevisionTreeElement.prototype.sourceView):

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

9 years ago2011-05-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 May 2011 14:01:38 +0000 (14:01 +0000)]
2011-05-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip flaky test on GTK.

        [GTK] http/tests/eventsource/workers/eventsource-simple.html is flaky crash
        https://bugs.webkit.org/show_bug.cgi?id=61523

        * platform/gtk/Skipped:

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

9 years ago2011-05-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 May 2011 13:28:11 +0000 (13:28 +0000)]
2011-05-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for new tests.

        * platform/gtk/fast/box-shadow/scaled-box-shadow-expected.txt: Added.
        * platform/gtk/fast/css/box-shadow-and-border-radius-expected.txt: Added.
        * platform/gtk/fast/html/details-add-details-child-2-expected.txt: Added.
        * platform/gtk/fast/html/details-replace-summary-child-expected.txt: Added.
        * platform/gtk/fast/html/details-replace-text-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added.

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

9 years agoDon't assume that builds finish in the order they were started
aroben@apple.com [Thu, 26 May 2011 13:20:00 +0000 (13:20 +0000)]
Don't assume that builds finish in the order they were started

Fixes <http://webkit.org/b/61464> TestFailures page shows failures from a not-most-recent
build when one slave is taking a long time to finish a build

Reviewed by Antti Koivisto.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.getMostRecentCompletedBuildNumber): Don't assume that all builds that are
newer than the oldest in-progress build are also themselves in progress. Just check whether
each build is actually in progress (as signified by its presence in the currentBuilds set).

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

9 years ago[Chromium] Unreviewed test expectations update. Mark 3 tests as flaky
mnaganov@chromium.org [Thu, 26 May 2011 12:54:31 +0000 (12:54 +0000)]
[Chromium] Unreviewed test expectations update. Mark 3 tests as flaky

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

9 years agoCorrectly detect cases where only a single test failed/crashed/timed out
aroben@apple.com [Thu, 26 May 2011 12:48:19 +0000 (12:48 +0000)]
Correctly detect cases where only a single test failed/crashed/timed out

Fixes <http://webkit.org/b/61463> TestFailures page doesn't show testers with only a single
failing test

Reviewed by Darin Adler.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.getNumberOfFailingTests): Don't require "test cases" to be plural. It
will be singular when only a single test fails/crashes/times out.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
(ViewController.prototype._displayTesters): Only pluralize "test" when more than one test
failed/crashed/timed out.

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

9 years agoWindows build fix after r87346
aroben@apple.com [Thu, 26 May 2011 12:45:52 +0000 (12:45 +0000)]
Windows build fix after r87346

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Fixed up exports to match
reality.

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

9 years ago2011-05-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 May 2011 12:20:01 +0000 (12:20 +0000)]
2011-05-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, rollout of r87373 and r87375. Those commits were
        mistaken. I'll properly land the baselines later on.

        * platform/gtk/fast/box-shadow/scaled-box-shadow-actual.txt: Removed.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-diffs.txt: Removed.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-expectted.txt: Removed.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-pretty-diff.html.txt: Removed.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-stderr.txt: Removed.
        * platform/gtk/fast/css/box-shadow-and-border-radius-actual.txt: Removed.
        * platform/gtk/fast/css/box-shadow-and-border-radius-diffs.txt: Removed.
        * platform/gtk/fast/css/box-shadow-and-border-radius-expected.txt: Removed.
        * platform/gtk/fast/css/box-shadow-and-border-radius-pretty-diff.html.txt: Removed.
        * platform/gtk/fast/html/details-add-details-child-2-actual.txt: Removed.
        * platform/gtk/fast/html/details-add-details-child-2-diffs.txt: Removed.
        * platform/gtk/fast/html/details-add-details-child-2-expected.txt: Removed.
        * platform/gtk/fast/html/details-add-details-child-2-pretty-diff.html.txt: Removed.
        * platform/gtk/fast/html/details-replace-summary-child-actual.txt: Removed.
        * platform/gtk/fast/html/details-replace-summary-child-diffs.txt: Removed.
        * platform/gtk/fast/html/details-replace-summary-child-expected.txt: Removed.
        * platform/gtk/fast/html/details-replace-summary-child-pretty-diff.html.txt: Removed.
        * platform/gtk/fast/html/details-replace-text-actual.txt: Removed.
        * platform/gtk/fast/html/details-replace-text-diffs.txt: Removed.
        * platform/gtk/fast/html/details-replace-text-expected.txt: Removed.
        * platform/gtk/fast/html/details-replace-text-pretty-diff.html.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-actual.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-diffs.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-pretty-diff.html.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-actual.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-diffs.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Removed.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-pretty-diff.html.txt: Removed.

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

9 years agoUnreviewed. Rename .html files from r87374 to .html.txt to avoid confusion with tests
mnaganov@chromium.org [Thu, 26 May 2011 12:09:59 +0000 (12:09 +0000)]
Unreviewed. Rename .html files from r87374 to .html.txt to avoid confusion with tests

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

9 years ago2011-05-26 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Thu, 26 May 2011 11:46:48 +0000 (11:46 +0000)]
2011-05-26  Andreas Kling  <kling@webkit.org>

        Reviewed by Darin Adler.

        JSC DOM bindings: Use isUndefinedOrNull() instead of (isNull() || isUndefined()).
        https://bugs.webkit.org/show_bug.cgi?id=61472

        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/test/JS/JSTestObj.cpp: Rebaselined.
        (WebCore::jsTestObjPrototypeFunctionMethodWithCallbackAndOptionalArg):
        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):

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

9 years ago2011-05-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 May 2011 10:53:20 +0000 (10:53 +0000)]
2011-05-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK baselines for new tests.

        * platform/gtk/fast/box-shadow/scaled-box-shadow-actual.txt: Added.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-diffs.txt: Added.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-expected.txt: Added.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-pretty-diff.html: Added.
        * platform/gtk/fast/box-shadow/scaled-box-shadow-stderr.txt: Added.
        * platform/gtk/fast/css/box-shadow-and-border-radius-actual.txt: Added.
        * platform/gtk/fast/css/box-shadow-and-border-radius-diffs.txt: Added.
        * platform/gtk/fast/css/box-shadow-and-border-radius-expected.txt: Added.
        * platform/gtk/fast/css/box-shadow-and-border-radius-pretty-diff.html: Added.
        * platform/gtk/fast/html/details-add-details-child-2-actual.txt: Added.
        * platform/gtk/fast/html/details-add-details-child-2-diffs.txt: Added.
        * platform/gtk/fast/html/details-add-details-child-2-expected.txt: Added.
        * platform/gtk/fast/html/details-add-details-child-2-pretty-diff.html: Added.
        * platform/gtk/fast/html/details-replace-summary-child-actual.txt: Added.
        * platform/gtk/fast/html/details-replace-summary-child-diffs.txt: Added.
        * platform/gtk/fast/html/details-replace-summary-child-expected.txt: Added.
        * platform/gtk/fast/html/details-replace-summary-child-pretty-diff.html: Added.
        * platform/gtk/fast/html/details-replace-text-actual.txt: Added.
        * platform/gtk/fast/html/details-replace-text-diffs.txt: Added.
        * platform/gtk/fast/html/details-replace-text-expected.txt: Added.
        * platform/gtk/fast/html/details-replace-text-pretty-diff.html: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-actual.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-diffs.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/filters-felem-01-b-pretty-diff.html: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-actual.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-diffs.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added.
        * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-14-f-pretty-diff.html: Added.

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

9 years ago2011-05-26 Keishi Hattori <keishi@webkit.org>
keishi@webkit.org [Thu, 26 May 2011 09:58:25 +0000 (09:58 +0000)]
2011-05-26  Keishi Hattori  <keishi@webkit.org>

        Reviewed by Kent Tamura.

        Add <input type=color> appearance.
        https://bugs.webkit.org/show_bug.cgi?id=61275

        * fast/forms/color/input-appearance-color.html: Added. Tests appearance of input type=color.
        * platform/chromium/test_expectations.txt: Expect FAIL for fast/forms/color
        * platform/mac/fast/forms/color/input-appearance-color-expected.png: Added.
        * platform/mac/fast/forms/color/input-appearance-color-expected.txt: Added.
2011-05-26  Keishi Hattori  <keishi@webkit.org>

        Reviewed by Kent Tamura.

        Add <input type=color> appearance.
        https://bugs.webkit.org/show_bug.cgi?id=61275

        Test: fast/forms/color/input-appearance-color.html

        * css/html.css:
        (input[type="color"]): Adds square-button appearance.
        (input[type="color"]::-webkit-color-swatch-wrapper):
        (input[type="color"]::-webkit-color-swatch):
        (input[type="color"][list]): Adds menulist appearance.
        (input[type="color"][list]::-webkit-color-swatch-wrapper):
        (input[type="color"][list]::-webkit-color-swatch):
        * html/ColorInputType.cpp:
        (WebCore::ColorInputType::createShadowSubtree): Creates -webkit-color-swatch inside -webkit-color-swatch-wrapper.
        (WebCore::ColorInputType::updateColorSwatch): Updates background color of shadowColorSwatch.
        (WebCore::ColorInputType::valueChanged): Calls updateColorSwatch.
        (WebCore::ColorInputType::shadowColorSwatch): Gets shadowColorSwatch element.
        * html/ColorInputType.h:
        (WebCore::ColorInputType::ColorInputType): Changed to inherit InputType.

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

9 years ago2011-05-26 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 26 May 2011 09:10:51 +0000 (09:10 +0000)]
2011-05-26  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix a bug that <input type="number"> dispatches two blurs when tabbing
        from an invalid number
        https://bugs.webkit.org/show_bug.cgi?id=59071

        * fast/forms/input-number-blur-twice-expected.txt: Added.
        * fast/forms/input-number-blur-twice.html: Added.
2011-05-26  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix a bug that <input type="number"> dispatches two blurs when tabbing
        from an invalid number
        https://bugs.webkit.org/show_bug.cgi?id=59071

        NumberInputType::handleBlurEvent() dispatched an extra focus event
        and an extra blur event because
        SelectionController::textWillBeReplaced() called by
        RenderTextControlSingleLine::updateFromElement() focuses a node
        with the selection.

        In order to avoid this problem,
         - Introduce Node::willBlur()
           It is called before any state changes by a blur event.
         - Call RenderTextControlSingleLine::updateFromElement() in willBlur()
           It avoids extra focus/blur events because Document::m_focusedNode is
           still the number input during willBlur().

        Test: fast/forms/input-number-blur-twice.html

        * dom/Document.cpp:
        (WebCore::Document::setFocusedNode): Calls Node::beforeBlueEvent().
        * dom/Node.cpp:
        (WebCore::Node::willBlur):
          Default empty implementation of willBlur().
        * dom/Node.h: Declare willBlur().
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::willBlur):
          Added.  It just calls InputType::willBlur().
        (WebCore::HTMLInputElement::handleBlurEvent):
          Removed InputType::handleBlurEvent() call.
        * html/HTMLInputElement.h: Declare willBlur().
        * html/InputType.cpp:
        (WebCore::InputType::willBlur): Default empty implementation.
        (WebCore::InputType::handleBlurEvent): Removed.
        * html/InputType.h: Declare willBlur(), remove handleBlurEvent().
        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::willBlur):
          Move the code in handleBlurEvent() here.
        * html/NumberInputType.h: Declare willBlur().

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

9 years ago2011-05-25 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 26 May 2011 08:48:09 +0000 (08:48 +0000)]
2011-05-25  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        IndexedDB: Support LevelDB transactions.
        https://bugs.webkit.org/show_bug.cgi?id=61270

        Introduce LevelDBTransaction, which implements in-memory transaction
        support on top of LevelDB, and hook this up for IndexedDB to use.

        This is all covered by existing tests.

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/leveldb/LevelDBDatabase.cpp:
        (WebCore::LevelDBDatabase::open):
        (WebCore::LevelDBDatabase::put):
        (WebCore::LevelDBDatabase::remove):
        (WebCore::LevelDBDatabase::write):
        (WebCore::IteratorImpl::IteratorImpl):
        (WebCore::IteratorImpl::isValid):
        (WebCore::IteratorImpl::seekToLast):
        (WebCore::IteratorImpl::seek):
        (WebCore::IteratorImpl::next):
        (WebCore::IteratorImpl::prev):
        (WebCore::IteratorImpl::key):
        (WebCore::IteratorImpl::value):
        (WebCore::LevelDBDatabase::createIterator):
        (WebCore::LevelDBDatabase::comparator):
        * platform/leveldb/LevelDBDatabase.h:
        * platform/leveldb/LevelDBIterator.h:
        (WebCore::LevelDBIterator::~LevelDBIterator):
        * platform/leveldb/LevelDBTransaction.cpp: Added.
        (WebCore::LevelDBTransaction::create):
        (WebCore::LevelDBTransaction::LevelDBTransaction):
        (WebCore::LevelDBTransaction::clearTree):
        (WebCore::LevelDBTransaction::~LevelDBTransaction):
        (WebCore::makeVector):
        (WebCore::LevelDBTransaction::set):
        (WebCore::LevelDBTransaction::put):
        (WebCore::LevelDBTransaction::remove):
        (WebCore::LevelDBTransaction::get):
        (WebCore::LevelDBTransaction::commit):
        (WebCore::LevelDBTransaction::rollback):
        (WebCore::LevelDBTransaction::createIterator):
        (WebCore::LevelDBTransaction::TreeIterator::create):
        (WebCore::LevelDBTransaction::TreeIterator::isValid):
        (WebCore::LevelDBTransaction::TreeIterator::seekToLast):
        (WebCore::LevelDBTransaction::TreeIterator::seek):
        (WebCore::LevelDBTransaction::TreeIterator::next):
        (WebCore::LevelDBTransaction::TreeIterator::prev):
        (WebCore::LevelDBTransaction::TreeIterator::key):
        (WebCore::LevelDBTransaction::TreeIterator::value):
        (WebCore::LevelDBTransaction::TreeIterator::isDeleted):
        (WebCore::LevelDBTransaction::TreeIterator::reset):
        (WebCore::LevelDBTransaction::TreeIterator::~TreeIterator):
        (WebCore::LevelDBTransaction::TreeIterator::TreeIterator):
        (WebCore::LevelDBTransaction::TransactionIterator::create):
        (WebCore::LevelDBTransaction::TransactionIterator::TransactionIterator):
        (WebCore::LevelDBTransaction::TransactionIterator::isValid):
        (WebCore::LevelDBTransaction::TransactionIterator::seekToLast):
        (WebCore::LevelDBTransaction::TransactionIterator::seek):
        (WebCore::LevelDBTransaction::TransactionIterator::next):
        (WebCore::LevelDBTransaction::TransactionIterator::prev):
        (WebCore::LevelDBTransaction::TransactionIterator::key):
        (WebCore::LevelDBTransaction::TransactionIterator::value):
        (WebCore::LevelDBTransaction::TransactionIterator::handleConflictsAndDeletes):
        (WebCore::LevelDBTransaction::TransactionIterator::setCurrentIteratorToSmallestKey):
        (WebCore::LevelDBTransaction::TransactionIterator::setCurrentIteratorToLargestKey):
        (WebCore::LevelDBTransaction::registerIterator):
        (WebCore::LevelDBTransaction::unregisterIterator):
        (WebCore::LevelDBTransaction::resetIterators):
        * platform/leveldb/LevelDBTransaction.h: Added.
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::get_less):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::set_less):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::get_greater):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::set_greater):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::get_balance_factor):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::set_balance_factor):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::compare_key_key):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::compare_key_node):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::compare_node_node):
        (WebCore::LevelDBTransaction::AVLTreeAbstractor::null):
        (WebCore::LevelDBTransaction::TransactionIterator::~TransactionIterator):
        * platform/leveldb/LevelDBWriteBatch.cpp:
        (WebCore::LevelDBWriteBatch::create):
        (WebCore::LevelDBWriteBatch::LevelDBWriteBatch):
        (WebCore::LevelDBWriteBatch::~LevelDBWriteBatch):
        (WebCore::makeSlice):
        (WebCore::LevelDBWriteBatch::put):
        (WebCore::LevelDBWriteBatch::remove):
        (WebCore::LevelDBWriteBatch::clear):
        * storage/IDBLevelDBBackingStore.cpp:
        (WebCore::getInt):
        (WebCore::putInt):
        (WebCore::getString):
        (WebCore::putString):
        (WebCore::getNewObjectStoreId):
        (WebCore::IDBLevelDBBackingStore::createObjectStore):
        (WebCore::deleteRange):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
        (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
        (WebCore::getNewVersionNumber):
        (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::clearObjectStore):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
        (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
        (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
        (WebCore::getNewIndexId):
        (WebCore::IDBLevelDBBackingStore::createIndex):
        (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
        (WebCore::findGreatestKeyLessThan):
        (WebCore::versionExists):
        (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
        (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
        (WebCore::findLastIndexKeyEqualTo):
        (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexCursor):
        (WebCore::IDBLevelDBBackingStore::createTransaction):
        (WebCore::IDBLevelDBBackingStore::Transaction::create):
        (WebCore::IDBLevelDBBackingStore::Transaction::Transaction):
        (WebCore::IDBLevelDBBackingStore::Transaction::begin):
        (WebCore::IDBLevelDBBackingStore::Transaction::commit):
        (WebCore::IDBLevelDBBackingStore::Transaction::rollback):
        * storage/IDBLevelDBBackingStore.h:
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::abort):

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

9 years ago2011-05-26 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Thu, 26 May 2011 08:08:32 +0000 (08:08 +0000)]
2011-05-26  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        ASSERT(isMainThread()) when using single threaded jsc executable
        https://bugs.webkit.org/show_bug.cgi?id=60846

        Remove the ASSERT since we do not have the concept of MainThread in JSC.

        * wtf/CryptographicallyRandomNumber.cpp:
        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomNumber):
        (WTF::ARC4Stream::ARC4RandomNumberGenerator::randomValues):

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

9 years ago2011-05-26 Shane Stephens <shanestephens@google.com>
commit-queue@webkit.org [Thu, 26 May 2011 07:59:44 +0000 (07:59 +0000)]
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        * transforms/2d/set-transform-and-top-expected.txt: Added.
        * transforms/2d/set-transform-and-top.html: Added.
2011-05-26  Shane Stephens  <shanestephens@google.com>

        Reviewed by James Robinson.

        REGRESSION (r81992): layout triggered by position update fails to apply when transform is updated at same time
        https://bugs.webkit.org/show_bug.cgi?id=60689

        Test: transforms/2d/set-transform-and-top.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::simplifiedLayout):

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

9 years ago2011-05-26 Tom Hudson <tomhudson@google.com>
commit-queue@webkit.org [Thu, 26 May 2011 07:44:43 +0000 (07:44 +0000)]
2011-05-26  Tom Hudson  <tomhudson@google.com>

        Reviewed by Tony Chang.

        Add flags to Chromium ImageDiff to write image comparison metrics on
        stdout.
        https://bugs.webkit.org/show_bug.cgi?id=60569

        * DumpRenderTree/chromium/ImageDiff.cpp:
        (Image::createFromStdin): Fix spelling.
        (maxOf3): New function to do 3-way maximum.
        (getRedComponent): Extract red component from ABGR packed encoding.
        (getGreenComponent): Extract green component from ABGR packed encoding.
        (getBlueComponent): Extract blue component from ABGR packed encoding.
        (weightedPercentageDifferent): Determine % of pixels different in two
        images multiplied by intensity difference of each pixel.
        (printHelp): Document new arguments.
        (compareImages): Parameterize.
        (untestedCompareImages): Parameterize.
        (diffImages): Parameterize; write results on stdout if requested.
        (main): Parse new arguments.

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

9 years ago2011-05-26 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Thu, 26 May 2011 07:15:36 +0000 (07:15 +0000)]
2011-05-26  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        drag-not-loaded-image.html test crashes when WebKit is built with debug option
        https://bugs.webkit.org/show_bug.cgi?id=61480

        Checks if image has content before starting to drag.

        * page/DragController.cpp:
        (WebCore::DragController::startDrag):

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

9 years ago2011-05-26 Alok Priyadarshi <alokp@chromium.org>
alokp@chromium.org [Thu, 26 May 2011 07:01:06 +0000 (07:01 +0000)]
2011-05-26  Alok Priyadarshi  <alokp@chromium.org>

        Reviewed by James Robinson.

        [chromium] Cannot create stencil render-buffer for accelerated drawing on desktop GL
        https://bugs.webkit.org/show_bug.cgi?id=61444

        Used DEPTH24_STENCIL8 format for stencil buffer instead of STENCIL_INDEX8.
        Packed depth-stencil buffer is the most common format supported by graphics cards.
        It is not very robust to rely on just one format being supported,
        so long term the task of creating FBO should be delegated to SKIA,
        which has necessary code to iterate through all possible formats.

        * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp:
        (WebCore::LayerTextureUpdaterSkPicture::deleteFrameBuffer):
        (WebCore::LayerTextureUpdaterSkPicture::createFrameBuffer):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=61506
barraclough@apple.com [Thu, 26 May 2011 06:58:55 +0000 (06:58 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=61506

Reviewed by Sam Weinig.

Move the silent spill/fill methods in the DFG JIT to the JITCodeGenerator
so that they are available to the SpeculativeJIT.

* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::silentSpillGPR):
(JSC::DFG::JITCodeGenerator::silentSpillFPR):
(JSC::DFG::JITCodeGenerator::silentFillGPR):
(JSC::DFG::JITCodeGenerator::silentFillFPR):
(JSC::DFG::JITCodeGenerator::silentSpillAllRegisters):
(JSC::DFG::JITCodeGenerator::silentFillAllRegisters):
* dfg/DFGNonSpeculativeJIT.h:

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

9 years ago2011-05-25 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Thu, 26 May 2011 06:48:12 +0000 (06:48 +0000)]
2011-05-25  Jer Noble  <jer.noble@apple.com>

        Reviewed by Dan Bernstein.

        30 second rewind button dysfunctional viewing trailers fullscreen.
        https://bugs.webkit.org/show_bug.cgi?id=61505

        Add support for painting MediaReturnToRealtimeButton, as well as hide and show
        the correct default video control buttons when entering full-screen mode.

        * css/fullscreenQuickTime.css:
        (video:-webkit-full-screen::-webkit-media-controls-return-to-realtime-button):
        * html/shadow/MediaControlRootElement.cpp:
        (WebCore::MediaControlRootElement::enteredFullscreen): Show the "Back 30s" and
            "Return to Realtime" buttons for Live Streams in full-screen mode.
        (WebCore::MediaControlRootElement::exitedFullscreen): Reset the styles of
            all the buttons affected by enteredFullscreen().
        * rendering/RenderMediaControls.cpp:
        (WebCore::RenderMediaControls::paintMediaControlsPart): Add support for
            MediaReturnToRealtimeButton.
2011-05-25  Jer Noble  <jer.noble@apple.com>

        Reviewed by Dan Bernstein.

        30 second rewind button dysfunctional viewing trailers fullscreen.
        https://bugs.webkit.org/show_bug.cgi?id=61505

        Updated WKSI Libraries with new images for Backward buttons in default
        video controls.

        * libWebKitSystemInterfaceLeopard.a:
        * libWebKitSystemInterfaceSnowLeopard.a:

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

9 years ago2011-05-25 Luke Macpherson <macpherson@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 06:46:18 +0000 (06:46 +0000)]
2011-05-25  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Dimitri Glazkov.

        Implement various CSS font properties in CSSStyleApplyProperty.
        https://bugs.webkit.org/show_bug.cgi?id=60603

        No new tests - refactoring only.

        * css/CSSStyleApplyProperty.cpp:
        (WebCore::ApplyPropertyFont):
        Added templated class to handle font properties
        (WebCore::ApplyPropertyFontWeight):
        Added class to handle font weight calculation
        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
        Instantiate ApplyPropertyFont/ApplyPropertyFontWeight for appropriate properties.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        Remove properties that are now implemented in CSSStyleApplyProperty
        * css/CSSStyleSelector.h:
        (WebCore::CSSStyleSelector::fontDescription):
        Added getter for m_style->fontDescription()
        (WebCore::CSSStyleSelector::parentFontDescription):
        Added getter for m_parentStyle->fontDescription()
        (WebCore::CSSStyleSelector::setFontDescription):
        Added setter for m_style->setFontDescription() that automatically sets m_fontDirty

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

9 years ago2011-05-25 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Thu, 26 May 2011 06:20:35 +0000 (06:20 +0000)]
2011-05-25  James Simonsen  <simonjam@chromium.org>

        Reviewed by Adam Barth.

        Add site-specific hack for zipcar.com with old versions of requirejs.
        https://bugs.webkit.org/show_bug.cgi?id=61321

        Old versions of requirejs (< 0.15.0) try to load scripts in parallel but execute them in
        order. This used to work in webkit by setting a bogus script type (script/cache), then
        changing the type to a valid one when they wanted to execute it. This hack translates the
        behavior into the new API (by disabling forceAsync).

        * html/HTMLScriptElement.cpp:
        (WebCore::needsOldRequirejsQuirk): Added.
        (WebCore::HTMLScriptElement::insertedIntoDocument):
        If hack is needed, set a proper script type so script loads.
        If script isn't async, disable forceAsync so script executes in order.

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

9 years ago2011-05-25 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Thu, 26 May 2011 06:15:19 +0000 (06:15 +0000)]
2011-05-25  Andreas Kling  <kling@webkit.org>

        Reviewed by David Levin.

        Rebaseline run-bindings-tests.
        https://bugs.webkit.org/show_bug.cgi?id=61469

        * bindings/scripts/test/JS/:
        * bindings/scripts/test/V8/:

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

9 years agoAn attempt to revive Windows bots.
barraclough@apple.com [Thu, 26 May 2011 05:32:18 +0000 (05:32 +0000)]
An attempt to revive Windows bots.

Patch by Ryosuke Niwa <rniwa@webkit.org> on 2011-05-25
* runtime/RegExp.cpp:
* runtime/RegExp.h:

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

9 years ago2011-05-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 26 May 2011 05:19:25 +0000 (05:19 +0000)]
2011-05-25  Ryosuke Niwa  <rniwa@webkit.org>

        An attempt to revive Windows bots.

        * runtime/RegExp.cpp:
        * runtime/RegExp.h:

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

9 years ago2011-05-25 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Thu, 26 May 2011 04:16:36 +0000 (04:16 +0000)]
2011-05-25  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Antonio Gomes.

        [Qt] REGRESSION(r87298) Skip drag-not-loaded-image.html failing test
        https://bugs.webkit.org/show_bug.cgi?id=61465

        Skip drag-not-loaded-image.html layout test from Qt. see bug 31332

        * platform/qt/Skipped:

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

9 years agoBug 61501 - Unify AbstractMacroAssembler::differenceBetween methods.
barraclough@apple.com [Thu, 26 May 2011 04:12:41 +0000 (04:12 +0000)]
Bug 61501 - Unify AbstractMacroAssembler::differenceBetween methods.

Reviewed by Sam Weinig.

* assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::Call::Call):
(JSC::AbstractMacroAssembler::Call::fromTailJump):
(JSC::AbstractMacroAssembler::Jump::Jump):
(JSC::AbstractMacroAssembler::Jump::link):
(JSC::AbstractMacroAssembler::Jump::linkTo):
(JSC::AbstractMacroAssembler::Jump::isSet):
(JSC::AbstractMacroAssembler::differenceBetween):
(JSC::AbstractMacroAssembler::linkJump):
(JSC::AbstractMacroAssembler::getLinkerCallReturnOffset):
* assembler/LinkBuffer.h:
(JSC::LinkBuffer::link):
(JSC::LinkBuffer::locationOf):
(JSC::LinkBuffer::locationOfNearCall):
(JSC::LinkBuffer::returnAddressOffset):
* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::linkCall):
* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::linkCall):
* assembler/MacroAssemblerMIPS.h:
(JSC::MacroAssemblerMIPS::linkCall):
* assembler/MacroAssemblerSH4.cpp:
(JSC::MacroAssemblerSH4::linkCall):
* assembler/MacroAssemblerX86.h:
(JSC::MacroAssemblerX86::linkCall):
* assembler/MacroAssemblerX86_64.h:
(JSC::MacroAssemblerX86_64::linkCall):

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=61500
barraclough@apple.com [Thu, 26 May 2011 04:05:42 +0000 (04:05 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=61500
Add JSObject::offsetOfPropertyStorage

Reviewed by Sam Weinig.

* jit/JITPropertyAccess.cpp:
(JSC::JIT::compileGetDirectOffset):
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emit_op_put_by_id):
(JSC::JIT::compilePutDirectOffset):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emit_op_put_by_id):
(JSC::JIT::compilePutDirectOffset):
(JSC::JIT::compileGetDirectOffset):
* runtime/JSObject.h:
(JSC::JSObject::offsetOfPropertyStorage):

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

9 years ago2011-05-25 Steve Lacey <sjl@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 03:50:11 +0000 (03:50 +0000)]
2011-05-25  Steve Lacey  <sjl@chromium.org>

        Reviewed by Eric Carlson.

        Rebaseline media tests after moving media controls to flexbox layout.

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

        * platform/chromium-mac/fast/layers/video-layer-expected.txt:
        * platform/chromium-mac/media/audio-controls-rendering-expected.txt:
        * platform/chromium-mac/media/audio-repaint-expected.txt:
        * platform/chromium-mac/media/controls-after-reload-expected.txt:
        * platform/chromium-mac/media/controls-strict-expected.txt:
        * platform/chromium-mac/media/controls-styling-expected.txt:
        * platform/chromium-mac/media/controls-without-preload-expected.txt:
        * platform/chromium-mac/media/video-controls-rendering-expected.txt:
        * platform/chromium-mac/media/video-display-toggle-expected.txt:
        * platform/chromium-mac/media/video-empty-source-expected.txt:
        * platform/chromium-mac/media/video-no-audio-expected.txt:
        * platform/chromium-mac/media/video-volume-slider-expected.txt:
        * platform/chromium-win/fast/layers/video-layer-expected.txt:
        * platform/chromium-win/media/audio-controls-rendering-expected.txt:
        * platform/chromium-win/media/audio-repaint-expected.txt:
        * platform/chromium-win/media/controls-after-reload-expected.txt:
        * platform/chromium-win/media/controls-strict-expected.txt:
        * platform/chromium-win/media/controls-styling-expected.txt:
        * platform/chromium-win/media/controls-without-preload-expected.txt:
        * platform/chromium-win/media/video-controls-rendering-expected.txt:
        * platform/chromium-win/media/video-display-toggle-expected.txt:
        * platform/chromium-win/media/video-empty-source-expected.txt:
        * platform/chromium-win/media/video-no-audio-expected.txt:
        * platform/chromium-win/media/video-volume-slider-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-25 Gregg Tavares <gman@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 03:32:07 +0000 (03:32 +0000)]
2011-05-25  Gregg Tavares  <gman@chromium.org>

        Reviewed by Kenneth Russell.

        Add 'noExtensions' option to Web/GraphicsContext3D attributes.
        https://bugs.webkit.org/show_bug.cgi?id=61460

        * Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
        * Source/WebCore/platform/graphics/GraphicsContext3D.h:
        * Source/WebKit/chromium/public/WebGraphicsContext3D.h:
        * Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp:

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

9 years ago2011-05-25 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Thu, 26 May 2011 03:13:31 +0000 (03:13 +0000)]
2011-05-25  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch itemBoundingBoxRect to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=60789

        Changing itemBoundingBoxRect to use an IntPoint representing the offset
        to be added tot he box rect instead of a pair of ints.

        No new tests since this is just refactoring.

        * accessibility/AccessibilityListBox.cpp:
        (WebCore::AccessibilityListBox::elementAccessibilityHitTest):
        * accessibility/AccessibilityListBoxOption.cpp:
        (WebCore::AccessibilityListBoxOption::elementRect):
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::itemBoundingBoxRect):
        (WebCore::RenderListBox::addFocusRingRects):
        (WebCore::RenderListBox::paintItemForeground):
        (WebCore::RenderListBox::paintItemBackground):
        (WebCore::RenderListBox::nodeAtPoint):
        * rendering/RenderListBox.h:

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

9 years ago2011-05-24 MORITA Hajime <morrita@google.com>
morrita@google.com [Thu, 26 May 2011 02:31:38 +0000 (02:31 +0000)]
2011-05-24  MORITA Hajime  <morrita@google.com>

        RenderText with empty text is not created inside ShadowContentElement
        https://bugs.webkit.org/show_bug.cgi?id=61111

        - Added tests that capture the probelem.
        - Updated expectations that were wrong.

        * fast/html/details-replace-summary-child.html: Added.
        * fast/html/details-replace-text.html: Added.
        * platform/gtk/fast/html/details-no-summary4-expected.txt:
        * platform/gtk/fast/html/details-open-javascript-expected.txt:
        * platform/gtk/fast/html/details-open4-expected.txt:
        * platform/mac/fast/html/details-add-details-child-2-expected.txt:
        * platform/mac/fast/html/details-no-summary4-expected.txt:
        * platform/mac/fast/html/details-open-javascript-expected.txt:
        * platform/mac/fast/html/details-open4-expected.txt:
        * platform/mac/fast/html/details-replace-summary-child-expected.png: Added.
        * platform/mac/fast/html/details-replace-summary-child-expected.txt: Added.
        * platform/mac/fast/html/details-replace-text-expected.png: Added.
        * platform/mac/fast/html/details-replace-text-expected.txt: Added.
        * platform/qt/fast/html/details-no-summary4-expected.txt:
        * platform/qt/fast/html/details-open-javascript-expected.txt:
        * platform/qt/fast/html/details-open4-expected.txt:
2011-05-24  MORITA Hajime  <morrita@google.com>

        Reviewed by Dimitri Glazkov.

        RenderText with empty text is not created inside ShadowContentElement
        https://bugs.webkit.org/show_bug.cgi?id=61111

        - Changed Text::rendererIsNeeded() to be shadow-aware.
        - previousRenderer(), nextRenderer() and parentRenderer() on NodeRenderingContext is now
          safe even if it's used with an attached node, which was originally used only during attach().
          We need this change because these APIs are called inside CharacterData::updateRenderer() callstack.

        Tests: fast/html/details-replace-summary-child.html
               fast/html/details-replace-text.html

        * dom/NodeRenderingContext.cpp:
        (WebCore::NodeRenderingContext::NodeRenderingContext):
        (WebCore::NodeRenderingContext::nextRenderer):
        (WebCore::NodeRenderingContext::previousRenderer):
        (WebCore::NodeRenderingContext::parentRenderer):
        (WebCore::NodeRenderingContext::shouldCreateRenderer):
        * dom/NodeRenderingContext.h:
        (WebCore::NodeRenderingContext::parentNodeForRenderingAndStyle):
        * dom/Text.cpp:
        (WebCore::Text::rendererIsNeeded):

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Thu, 26 May 2011 01:58:06 +0000 (01:58 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Add Win/CRASH expectation for new crashy plugin test,
        reported as http://crbug.com/83994.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Thu, 26 May 2011 01:50:55 +0000 (01:50 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Temporarily ignore MHTML test failures on Windows
        while we dig into it in http://crbug.com/83833.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>
qi.2.zhang@nokia.com [Thu, 26 May 2011 01:48:25 +0000 (01:48 +0000)]
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Simon Hausmann.

        WebKitTestRunner needs layoutTestController.setPrivateBrowsingEnabled
        https://bugs.webkit.org/show_bug.cgi?id=42697

        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Simon Hausmann.

        WebKitTestRunner needs layoutTestController.setPrivateBrowsingEnabled
        https://bugs.webkit.org/show_bug.cgi?id=42697

        Implemented layoutTestController.setPrivateBrowsingEnabled for WebKitTestRunner.

        * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
        (WKBundleSetPrivateBrowsingEnabled):
        * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
        * WebProcess/InjectedBundle/InjectedBundle.cpp:
        (WebKit::InjectedBundle::setPrivateBrowsingEnabled):
        * WebProcess/InjectedBundle/InjectedBundle.h:
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Simon Hausmann.

        WebKitTestRunner needs layoutTestController.setPrivateBrowsingEnabled
        https://bugs.webkit.org/show_bug.cgi?id=42697

        Implemented layoutTestController.setPrivateBrowsingEnabled for WebKitTestRunner.

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
        (WTR::InjectedBundle::beginTesting):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
        (WTR::LayoutTestController::setPrivateBrowsingEnabled):
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:

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

9 years ago2011-05-25 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 01:30:27 +0000 (01:30 +0000)]
2011-05-25  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Tony Chang.

        Rename ScrollbarOverlayUtilitiesMac to ScrollbarOverlayUtilitiesChromiumMac
        https://bugs.webkit.org/show_bug.cgi?id=61401

        ScrollbarOverlayUtilitiesMac.mm was being excluded from the WebCore project. Fix was to make sure the file name ended with ChromiumMac.

        * WebCore.gypi:
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.h: Copied from Source/WebCore/platform/chromium/ScrollbarOverlayUtilitiesMac.h.
        * platform/chromium/ScrollbarOverlayUtilitiesChromiumMac.mm: Copied from Source/WebCore/platform/chromium/ScrollbarOverlayUtilitiesMac.mm.
        * platform/chromium/ScrollbarOverlayUtilitiesMac.h: Removed.
        * platform/chromium/ScrollbarOverlayUtilitiesMac.mm: Removed.

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

9 years ago2011-05-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 26 May 2011 01:12:46 +0000 (01:12 +0000)]
2011-05-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Make RegExp GC allocated
        https://bugs.webkit.org/show_bug.cgi?id=61490

        Make RegExp GC allocated.  Basically mechanical change to replace
        most use of [Pass]RefPtr<RegExp> with RegExp* or WriteBarrier<RegExp>
        where actual ownership happens.

        Made the RegExpCache use Strong<> references currently to avoid any
        changes in behaviour.

        * JavaScriptCore.exp:
        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::visitAggregate):
        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::addRegExp):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::addRegExp):
        (JSC::BytecodeGenerator::emitNewRegExp):
        * bytecompiler/BytecodeGenerator.h:
        * runtime/JSCell.h:
        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::JSGlobalData):
        (JSC::JSGlobalData::clearBuiltinStructures):
        (JSC::JSGlobalData::addRegExpToTrace):
        * runtime/JSGlobalData.h:
        * runtime/JSGlobalObject.cpp:
        (JSC::JSGlobalObject::reset):
        * runtime/RegExp.cpp:
        (JSC::RegExp::RegExp):
        (JSC::RegExp::create):
        (JSC::RegExp::invalidateCode):
        * runtime/RegExp.h:
        (JSC::RegExp::createStructure):
        * runtime/RegExpCache.cpp:
        (JSC::RegExpCache::lookupOrCreate):
        (JSC::RegExpCache::create):
        * runtime/RegExpCache.h:
        * runtime/RegExpConstructor.cpp:
        (JSC::constructRegExp):
        * runtime/RegExpObject.cpp:
        (JSC::RegExpObject::RegExpObject):
        (JSC::RegExpObject::visitChildren):
        * runtime/RegExpObject.h:
        (JSC::RegExpObject::setRegExp):
        (JSC::RegExpObject::RegExpObjectData::RegExpObjectData):
        * runtime/RegExpPrototype.cpp:
        (JSC::RegExpPrototype::RegExpPrototype):
        (JSC::regExpProtoFuncCompile):
        * runtime/RegExpPrototype.h:
        * runtime/StringPrototype.cpp:
        (JSC::stringProtoFuncMatch):
        (JSC::stringProtoFuncSearch):
2011-05-25  James Robinson  <jamesr@chromium.org>

        Reviewed by Geoffrey Garen

        CachedResource overhead size calculation ignores the actual size of the URL
        https://bugs.webkit.org/show_bug.cgi?id=61481

        CachedResource::overheadSize is used to determine the size of an entry in the memory cache to know when to evict
        it.  When the resource is a large data: URL, for example representing image or audio data, the URL size itself
        can be significant.

        This patch uses an estimate of actual number of bytes used by the URL that is valid for ASCII urls and close for
        other types of strings instead of a fixed number.

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::overheadSize):

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

9 years agoRevert last change, something weird happened when I went to land.
oliver@apple.com [Thu, 26 May 2011 01:08:57 +0000 (01:08 +0000)]
Revert last change, something weird happened when I went to land.

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

9 years ago2011-05-25 James Robinson <jamesr@chromium.org>
jamesr@google.com [Thu, 26 May 2011 01:07:57 +0000 (01:07 +0000)]
2011-05-25  James Robinson  <jamesr@chromium.org>

        Reviewed by Geoffrey Garen

        CachedResource overhead size calculation ignores the actual size of the URL
        https://bugs.webkit.org/show_bug.cgi?id=61481

        CachedResource::overheadSize is used to determine the size of an entry in the memory cache to know when to evict
        it.  When the resource is a large data: URL, for example representing image or audio data, the URL size itself
        can be significant.

        This patch uses an estimate of actual number of bytes used by the URL that is valid for ASCII urls and close for
        other types of strings instead of a fixed number.

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::overheadSize):

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

9 years ago2011-05-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 26 May 2011 01:01:16 +0000 (01:01 +0000)]
2011-05-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Make RegExp GC allocated
        https://bugs.webkit.org/show_bug.cgi?id=61490

        Make RegExp GC allocated.  Basically mechanical change to replace
        most use of [Pass]RefPtr<RegExp> with RegExp* or WriteBarrier<RegExp>
        where actual ownership happens.

        Made the RegExpCache use Strong<> references currently to avoid any
        changes in behaviour.

        * JavaScriptCore.exp:
        * bytecode/CodeBlock.cpp:
        (JSC::CodeBlock::visitAggregate):
        * bytecode/CodeBlock.h:
        (JSC::CodeBlock::addRegExp):
        * bytecompiler/BytecodeGenerator.cpp:
        (JSC::BytecodeGenerator::addRegExp):
        (JSC::BytecodeGenerator::emitNewRegExp):
        * bytecompiler/BytecodeGenerator.h:
        * runtime/JSCell.h:
        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::JSGlobalData):
        (JSC::JSGlobalData::clearBuiltinStructures):
        (JSC::JSGlobalData::addRegExpToTrace):
        * runtime/JSGlobalData.h:
        * runtime/JSGlobalObject.cpp:
        (JSC::JSGlobalObject::reset):
        * runtime/RegExp.cpp:
        (JSC::RegExp::RegExp):
        (JSC::RegExp::create):
        (JSC::RegExp::invalidateCode):
        * runtime/RegExp.h:
        (JSC::RegExp::createStructure):
        * runtime/RegExpCache.cpp:
        (JSC::RegExpCache::lookupOrCreate):
        (JSC::RegExpCache::create):
        * runtime/RegExpCache.h:
        * runtime/RegExpConstructor.cpp:
        (JSC::constructRegExp):
        * runtime/RegExpObject.cpp:
        (JSC::RegExpObject::RegExpObject):
        (JSC::RegExpObject::visitChildren):
        * runtime/RegExpObject.h:
        (JSC::RegExpObject::setRegExp):
        (JSC::RegExpObject::RegExpObjectData::RegExpObjectData):
        * runtime/RegExpPrototype.cpp:
        (JSC::RegExpPrototype::RegExpPrototype):
        (JSC::regExpProtoFuncCompile):
        * runtime/RegExpPrototype.h:
        * runtime/StringPrototype.cpp:
        (JSC::stringProtoFuncMatch):
        (JSC::stringProtoFuncSearch):
2011-05-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Make RegExp GC allocated
        https://bugs.webkit.org/show_bug.cgi?id=61490

        RegExp is GC'd so we don't need the RefPtr shenanigans anymore.

        * bindings/js/SerializedScriptValue.cpp:
        (WebCore::CloneDeserializer::readTerminal):

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

9 years ago2011-05-25 Shishir Agrawal <shishir@chromium.org>
commit-queue@webkit.org [Thu, 26 May 2011 00:59:47 +0000 (00:59 +0000)]
2011-05-25  Shishir Agrawal  <shishir@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix crash in Chromium memory test.
        https://bugs.webkit.org/show_bug.cgi?id=61451

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Thu, 26 May 2011 00:52:17 +0000 (00:52 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Fix to previous update, mark drag-not-loaded-image crash as DEBUG-only.

        * platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed; Skip failing tests after r87328.
jer.noble@apple.com [Thu, 26 May 2011 00:44:16 +0000 (00:44 +0000)]
Unreviewed; Skip failing tests after r87328.

* platform/mac/Skipped:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Thu, 26 May 2011 00:27:05 +0000 (00:27 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Test expectations update.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
adamk@chromium.org [Thu, 26 May 2011 00:24:04 +0000 (00:24 +0000)]
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87333.
        http://trac.webkit.org/changeset/87333
        https://bugs.webkit.org/show_bug.cgi?id=61488

        Breaks Chromium build due to pure virtual methods. (Requested
        by aklein on #webkit).

        * public/WebWidget.h:
        * src/WebPopupMenuImpl.cpp:
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        * src/WebViewImpl.h:

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

9 years agoRevert 79703 since it broke pdf scrolling (http://crbug.com/81878) - 2011-02-15 ...
jam@chromium.org [Thu, 26 May 2011 00:04:22 +0000 (00:04 +0000)]
Revert 79703 since it broke pdf scrolling (crbug.com/81878) - 2011-02-15  Brett Wilson  <brettw@chromium.org>

        Reviewed by Darin Fisher.

        Recover the mouse capture state when we recieve a mouse event where there is no longer a button down.
        https://bugs.webkit.org/show_bug.cgi?id=54503

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleInputEvent):

TBR=brettw@chromium.org

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

9 years ago2011-05-25 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 25 May 2011 23:54:02 +0000 (23:54 +0000)]
2011-05-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dirk Schulze.

        [Cairo] Move the global alpha property from GraphicsContext to PlatformContextCairo
        https://bugs.webkit.org/show_bug.cgi?id=60185

        Remove Cairo #ifdefs from GraphicsContext.h by pushing the global alpha
        state into PlatformContextCairo. Since Cairo is the only platform that needs
        to store this, this is the proper place for it. Change the image mask stack into
        a more generic state stack that can keep track of the multiple bits of platform
        specific state and properly handle save/restore pairs.

        No new tests. This is just a code refactor.

        * platform/graphics/GraphicsContext.h: Remove Cairo #ifdefs.
        (WebCore::GraphicsContextState::GraphicsContextState): Ditto.
        * platform/graphics/cairo/ContextShadowCairo.cpp: Access global alpha from PlatformContextCairo now.
        (WebCore::ContextShadow::drawRectShadow):
        * platform/graphics/cairo/FontCairo.cpp: Ditto.
        (WebCore::Font::drawGlyphs):
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::setPlatformFill): Ditto.
        (WebCore::setPlatformStroke): Ditto.
        (WebCore::GraphicsContext::setAlpha): Ditto.
        * platform/graphics/cairo/PlatformContextCairo.cpp: Moved ImageMaskInformation class from the
        header file, since it can be private now. Abstract the image mask state and the global alpha
        in a generic State class.
        (WebCore::ImageMaskInformation::update):
        (WebCore::ImageMaskInformation::isValid):
        (WebCore::ImageMaskInformation::maskSurface):
        (WebCore::ImageMaskInformation::maskRect):
        (WebCore::PlatformContextCairo::State::State): Added.
        (WebCore::PlatformContextCairo::PlatformContextCairo): Intialize the state
        class when this class is constructed.
        (WebCore::PlatformContextCairo::restore): Now pop the last state off the state stack.
        (WebCore::PlatformContextCairo::~PlatformContextCairo): Added this so that we can forward
        declare the State class in the header.
        (WebCore::PlatformContextCairo::save): Push a new state onto the stack.
        (WebCore::PlatformContextCairo::pushImageMask): Operate on the state stack now.
        (WebCore::PlatformContextCairo::globalAlpha): Added.
        (WebCore::PlatformContextCairo::setGlobalAlpha): Added.
        (WebCore::PlatformContextCairo::drawSurfaceToContext: Call globalAlpha().
        * platform/graphics/cairo/PlatformContextCairo.h: Changed the image mask stack
        into a more generic state stack, much like PlatformContextChromium.

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

9 years ago<rdar://problem/9504058> Need some way to query user gesture state from injected...
mrowe@apple.com [Wed, 25 May 2011 23:41:07 +0000 (23:41 +0000)]
<rdar://problem/9504058> Need some way to query user gesture state from injected bundle

Reviewed by Sam Weinig.

Source/WebCore:

* WebCore.exp.in: Add an export that WebKit2 needs.

Source/WebKit2:

Add WKBundleIsProcessingUserGesture.

* WebProcess/InjectedBundle/API/c/WKBundle.cpp:
(WKBundleIsPageBoxVisible):
(WKBundleIsProcessingUserGesture):
* WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::isProcessingUserGesture):
* WebProcess/InjectedBundle/InjectedBundle.h:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Wed, 25 May 2011 23:39:48 +0000 (23:39 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Rebaseline svg tests after r87310.

        * platform/chromium-linux-x86/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
        * platform/chromium-linux-x86/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/chromium-linux-x86/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png:
        * platform/chromium-mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png:

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

9 years ago2011-05-25 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Wed, 25 May 2011 23:30:41 +0000 (23:30 +0000)]
2011-05-25  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Darin Fisher.

        Expose willStartLiveResize and willEndLiveResize in WebWidget
        https://bugs.webkit.org/show_bug.cgi?id=60518

        * public/WebWidget.h:
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::willStartLiveResize):
        (WebKit::WebPopupMenuImpl::willEndLiveResize):
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::willStartLiveResize):
        (WebKit::WebViewImpl::willEndLiveResize):
        * src/WebViewImpl.h:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Wed, 25 May 2011 23:09:56 +0000 (23:09 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Removing test_expectations for non-existent tests.

        * platform/chromium/test_expectations.txt:

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

9 years agoUreviewed; Build fix for Leopard and Snow Leopard.
jer.noble@apple.com [Wed, 25 May 2011 23:08:28 +0000 (23:08 +0000)]
Ureviewed; Build fix for Leopard and Snow Leopard.

Move _wkQTMovieResolvedURL outside of a #if check for Leopard and SL.

* WebCore.exp.in:

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

9 years ago2011-05-25 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Wed, 25 May 2011 23:05:29 +0000 (23:05 +0000)]
2011-05-25  Michael Saboff  <msaboff@apple.com>

        Reviewed by Sam Weinig.

        Cleanup of commented items from https://bugs.webkit.org/show_bug.cgi?id=61222
        https://bugs.webkit.org/show_bug.cgi?id=61478

        Cleanup of further comments after patch was landed.  Changes include
        using /2 instead of >>1, adding a blank line after class include,
        making method names start with lower case and adding clarifying
        comments.

        No new tests as the changes are stylistic and not functional.

        * loader/cache/MemoryCache.cpp:
        (WebCore::MemoryCache::pruneLiveResourcesToPercentage):
        (WebCore::MemoryCache::pruneDeadResourcesToPercentage):
        * loader/cache/MemoryCache.h:
        (WebCore::MemoryCache::pruneToPercentage):
        * platform/mac/MemoryPressureHandlerMac.mm:
        (WebCore::MemoryPressureHandler::respondToMemoryPressure):

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

9 years agoSource/WebCore: https://bugs.webkit.org/show_bug.cgi?id=61407
slewis@apple.com [Wed, 25 May 2011 23:00:45 +0000 (23:00 +0000)]
Source/WebCore: https://bugs.webkit.org/show_bug.cgi?id=61407
part of <rdar://problem/8675177>
Move Quicklook quirk down into WebCore so it can be caculated when the user
starts a reload.  Restructure the conditions so it only called when absolutely
necessary.

Reviewed by Brady Eidson.

No change in functionality so no new tests.

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::subresourceCachePolicy):
* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:
* platform/network/cf/ResourceRequest.h:
* platform/network/mac/ResourceRequestMac.mm:
(WebCore::initQuickLookResourceCachingQuirks):
(WebCore::ResourceRequest::useQuickLookResourceCachingQuirks):

Source/WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=61407
part of <rdar://problem/8675177>
Remove Quicklook pref.  Moving it enirely down into WebCore so it can
be calculated only on reloads.

Reviewed by Brady Eidson.

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

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

9 years ago2011-05-24 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Wed, 25 May 2011 22:53:23 +0000 (22:53 +0000)]
2011-05-24  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Video fails to play on Vimeo
        https://bugs.webkit.org/show_bug.cgi?id=61403

        No new tests; Covered by media/video-canvas-source.html.

        Vimeo redirects their assets from player.vimeo.com to av.vimeo.com, which is rejected
        by AVFoundation and QTKit due to our setting a ForbidCrossSiteReference option when
        creating an AVAsset or QTMovie. Instead, we should just reject local->remote and
        remote->local and make our answer to hasSingleSecurityOrigin dynamic.

        When checking whether a given request has a single security origin, use a
        SecurityOrigin to check the host, port, and scheme.

        * WebCore.exp.in:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
        (WebCore::MediaPlayerPrivateAVFoundation::assetURL): Added.
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.h:
        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
        (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): Exchange ForbidCrossSiteReference
            for ForbidRemoteReferenceToLocal and ForbidLocalReferenceToRemote
        (WebCore::MediaPlayerPrivateAVFoundationObjC::hasSingleSecurityOrigin): Check to see that the
            requested and resolved URLs have the same host and port.
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivateQTKit::commonMovieAttributes): Exchange NoCrossSiteAttribute for
            NoRemoteToLocalSiteAttribute and NoLocalToRemoteSiteAttribute.
        (WebCore::MediaPlayerPrivateQTKit::hasSingleSecurityOrigin):     Check to see that the
                requested and resolved URLs have the same host and port.
        * platform/mac/WebCoreSystemInterface.h: Added wkAVAssetResolvedURL.
        * platform/mac/WebCoreSystemInterface.mm: Ditto.
2011-05-24  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Video fails to play on Vimeo
        https://bugs.webkit.org/show_bug.cgi?id=61403

        * WebCoreSupport/WebSystemInterface.mm:
        (InitWebCoreSystemInterface): Added support for wkAVAssetResolvedURL and
            wkQTMovieResolvedURL.
2011-05-24  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Video fails to play on Vimeo
        https://bugs.webkit.org/show_bug.cgi?id=61403

        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
        (InitWebCoreSystemInterface): Added support for wkAVAssetResolvedURL and
            wkQTMovieResolvedURL.
2011-05-25  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Video fails to play on Vimeo
        https://bugs.webkit.org/show_bug.cgi?id=61403

        Added functions to retrieve the resolved URL for media types supported on
        mac.

        * WebKitSystemInterface.h:
        * WebKitSystemInterface.m:
        (WKAVAssetResolvedURL): Added.
        (WKQTMovieResolvedURL): Added.

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

9 years ago2011-05-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Wed, 25 May 2011 22:49:56 +0000 (22:49 +0000)]
2011-05-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Generate regexp code lazily
        https://bugs.webkit.org/show_bug.cgi?id=61476

        RegExp construction now simply validates the RegExp, it does
        not perform actual codegen.

        * runtime/RegExp.cpp:
        (JSC::RegExp::RegExp):
        (JSC::RegExp::recompile):
        (JSC::RegExp::compile):
        (JSC::RegExp::match):
        * runtime/RegExp.h:
        (JSC::RegExp::recompileIfNecessary):
        * runtime/RegExpConstructor.h:
        (JSC::RegExpConstructor::performMatch):
        * runtime/RegExpObject.cpp:
        (JSC::RegExpObject::match):
        * runtime/StringPrototype.cpp:
        (JSC::stringProtoFuncReplace):
        (JSC::stringProtoFuncMatch):
        (JSC::stringProtoFuncSearch):
        (JSC::stringProtoFuncSplit):

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

9 years agoUnreviewed; Update Skipped list for failing tests.
jer.noble@apple.com [Wed, 25 May 2011 22:46:51 +0000 (22:46 +0000)]
Unreviewed; Update Skipped list for failing tests.

A new full-screen test requires <video> full screen support, which does not
exist on mac-leopard.  Follow-up to r87322.

* platform/mac-leopard/Skipped:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Wed, 25 May 2011 22:03:52 +0000 (22:03 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Test expectations update, followup to r87291.

        The aforementioned change cleared out these files, when the intent
        seems to have been removal to remove them.

        * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt: Removed.
        * platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt: Removed.
        * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt: Removed.
        * platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt: Removed.

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

9 years agoREGRESSION (WebKit2): Crash in Flash on USA Today photo gallery
jhoneycutt@apple.com [Wed, 25 May 2011 21:56:21 +0000 (21:56 +0000)]
REGRESSION (WebKit2): Crash in Flash on USA Today photo gallery
https://bugs.webkit.org/show_bug.cgi?id=61428
<rdar://problem/9457006>

Reviewed by Adam Roben.

Source/WebKit2:

The crash occurs when Flash posts a message to a window that it
creates, and in processing the message, it calls NPN_Evaluate to
evaluate JavaScript that removes the plug-in from the page. Flash then
crashes when we return to Flash code.

* Platform/WorkItem.h:
(DerefWorkItem::DerefWorkItem):
Initialize m_ptr.
(DerefWorkItem::execute):
Deref the object.
(WorkItem::createDeref):
Create and return a DerefWorkItem.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::unprotectPluginFromDestruction):
If the PluginView has only one reference left, deref it asynchronously.

Tools:

The crash occurs when Flash posts a message to a window that it
creates, and in processing the message, it calls NPN_Evaluate to
evaluate JavaScript that removes the plug-in from the page. Flash then
crashes when we return to Flash code.

This test emulates that behavior.

* DumpRenderTree/TestNetscapePlugIn/win/CallJSThatDestroysPlugin.cpp: Added.
(CallJSThatDestroysPlugin::CallJSThatDestroysPlugin):
Initialize member vars.
(CallJSThatDestroysPlugin::~CallJSThatDestroysPlugin):
Remove our custom property from the message window, and destroy it.
(CallJSThatDestroysPlugin::NPP_Destroy):
Set m_isDestroyed, log that the plug-in was destroyed, and notify the
layout test controller that we're done.
(wndProc):
Get the PluginTest object, and call its runTest() function.
(CallJSThatDestroysPlugin::NPP_New):
Setup the test: register a class for the message-only window, create
it, and post a message to it to run the test.
(CallJSThatDestroysPlugin::runTest):
Execute JS that removes the plug-in from the page, and if we're not
destroyed, log a success message.

* DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
Add new test to project.

LayoutTests:

* platform/win/plugins/call-javascript-that-destroys-plugin-expected.txt: Added.
* platform/win/plugins/call-javascript-that-destroys-plugin.html: Added.

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

9 years ago2011-05-25 Andrew Scherkus <scherkus@chromium.org>
scherkus@chromium.org [Wed, 25 May 2011 21:47:39 +0000 (21:47 +0000)]
2011-05-25  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Carlson.

        Fix media element regression where ended event stopped firing after changing the src attribute.

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

        * media/media-ended-expected.txt: Added.
        * media/media-ended.html: Added.
2011-05-25  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Carlson.

        Fix media element regression where ended event stopped firing after changing the src attribute.

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

        Test: media/media-ended.html

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::prepareForLoad):

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

9 years ago2011-05-25 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Wed, 25 May 2011 21:38:31 +0000 (21:38 +0000)]
2011-05-25  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        REGRESSION: Fullscreen button on embedded Vimeo videos does nothing
        https://bugs.webkit.org/show_bug.cgi?id=61461

        * fullscreen/full-screen-iframe-legacy-expected.txt: Added.
        * fullscreen/full-screen-iframe-legacy.html: Added.
        * fullscreen/resources/legacy.html: Added.
2011-05-25  Jer Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        REGRESSION: Fullscreen button on embedded Vimeo videos does nothing
        https://bugs.webkit.org/show_bug.cgi?id=61461

        Tests: fullscreen/full-screen-iframe-legacy.html

        Allow calls from the legacy full-screen API to bypass the iframe
        "webkitallowfullscreen" requirement by adding a parameter to
        Document::webkitRequestFullScreenForElement specifying the strictness
        of that check.  Specify this new parameter everywhere that function is
        called, including in the default controls' full-screen button handler.

        * dom/Document.cpp:
        (WebCore::Document::webkitRequestFullScreenForElement):
        * dom/Document.h:
        * dom/Element.cpp:
        (WebCore::Element::requestFullScreen): Renamed from webkitRequestFullScreen.
        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::enterFullscreen):
        * html/shadow/MediaControlElements.cpp:
        (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler):

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

9 years ago2011-05-25 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 25 May 2011 21:33:15 +0000 (21:33 +0000)]
2011-05-25  Tony Chang  <tony@chromium.org>

        Reviewed by Adam Barth.

        webkitpy's NetworkTransaction shouldn't use mechanize
        https://bugs.webkit.org/show_bug.cgi?id=61450

        mechanize.HTTPError is just an alias for urllib2.HTTPError, so
        use urllib2 directly.  Re-add NetworkTransaction to
        test_results_uploader.py (reverting r87124).

        * Scripts/webkitpy/common/net/networktransaction.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py:

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

9 years ago[Qt] Missing update for expected results in LayoutTests after r87315
caio.oliveira@openbossa.org [Wed, 25 May 2011 21:31:37 +0000 (21:31 +0000)]
[Qt] Missing update for expected results in LayoutTests after r87315
https://bugs.webkit.org/show_bug.cgi?id=61467

Reviewed by Andreas Kling.

We now expose __qt_sender__ as a non-enumarated property in the
global object. Fix our expectations in relevant tests.

* platform/qt/fast/dom/Window/window-properties-expected.txt:
* platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:

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

9 years ago2011-05-25 Kulanthaivel Palanichamy <kulanthaivel@codeaurora.org>
commit-queue@webkit.org [Wed, 25 May 2011 21:29:32 +0000 (21:29 +0000)]
2011-05-25  Kulanthaivel Palanichamy  <kulanthaivel@codeaurora.org>

        Reviewed by David Hyatt.

        Selector matching doesn't update when DOM changes ("[data-a=x] #x")
        https://bugs.webkit.org/show_bug.cgi?id=60752

        Added test cases for all the attribute selector types (CSS2.1 & CSS3).

        * fast/css/attribute-selector-begin-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-begin-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-contain-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-contain-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-end-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-end-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-exact-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-exact-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-hyphen-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-hyphen-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-list-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-list-dynamic-no-elementstyle.html: Added.
        * fast/css/attribute-selector-set-dynamic-no-elementstyle-expected.txt: Added.
        * fast/css/attribute-selector-set-dynamic-no-elementstyle.html: Added.
2011-05-25  Kulanthaivel Palanichamy  <kulanthaivel@codeaurora.org>

        Reviewed by David Hyatt.

        Selector matching doesn't update when DOM changes ("[data-a=x] #x")
        https://bugs.webkit.org/show_bug.cgi?id=60752

        Currently CSSStyleSelector maintains a HashSet of attributes (m_selectorAttrs)
        which are used in CSS attribute selectors to determine the need for style
        recalculation whenever element attributes are manipulated in DOM.
        In certain conditions (element with no style, element is styled and attribute
        is not a mapped attribute, attribute is of type 'type' or read-only)
        even when attribute selector matches for an element, the attribute is not
        added to m_selectorAttrs. This results in missing style recalculations
        when a DOM element attribute is changed and is not found in m_selectorAttrs.

        Removing the above said conditions in
        CSSStyleSelector::SelectorChecker::checkOneSelector() for registering
        attributes in m_selectorAttrs will solve this issue. But this particular
        function is called numerous times which triggers adding duplicate attributes
        again and again.

        This patch follows the approach taken for collecting ids in selectors, where
        all the attributes in selectors are added to a HashSet at the time of adding
        style rules to CSSStyleSelector from StyleSheets and when
        CSSStyleSelector::hasSelectorForAttribute() is called, the attribute is
        simply looked up in this pre-populated hash set.

        Test: fast/css/attribute-selector-dynamic-no-elementstyle.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::SelectorChecker::checkSelector):
        (WebCore::CSSStyleSelector::checkSelector):
        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
        (WebCore::collectFeaturesFromSelector):
        (WebCore::CSSStyleSelector::applyProperty):
        (WebCore::CSSStyleSelector::hasSelectorForAttribute):
        * css/CSSStyleSelector.h:

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

9 years ago2011-05-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Wed, 25 May 2011 21:23:05 +0000 (21:23 +0000)]
2011-05-25  Adam Klein  <adamk@chromium.org>

        Unreviewed. Update chromium expectations after r87307.

        * platform/chromium/test_expectations.txt: suppress, WK61470.

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

9 years ago2011-05-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 25 May 2011 20:32:37 +0000 (20:32 +0000)]
2011-05-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by James Robinson.

        CSSStyleSelector should provide a way to obtain rules from non-author stylesheets
        https://bugs.webkit.org/show_bug.cgi?id=61454

        Replaced bool and enum arguments of styleRulesForElement and pseudoStyleRulesForElement
        by one enum, and provided a way to obtain rules from UA/user stylesheets.

        * css/CSSRule.h: Removed CSSRuleFilter.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::styleRulesForElement): See above.
        (WebCore::CSSStyleSelector::pseudoStyleRulesForElement): Ditto.
        * css/CSSStyleSelector.h: Moved CSSRuleFilter here.
        * editing/markup.cpp:
        (WebCore::styleFromMatchedRulesForElement): Calls styleRulesForElement.
        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::getStylesForNode): Ditto.
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::getMatchedCSSRules): Ditto.

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

9 years ago2011-05-24 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 25 May 2011 19:37:18 +0000 (19:37 +0000)]
2011-05-24  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Geoffrey Garen.

        Removed MarkSetProperties because it was unused
        https://bugs.webkit.org/show_bug.cgi?id=61418

        * heap/MarkStack.h:
        (JSC::MarkSet::MarkSet):
        (JSC::MarkStack::append):
        * runtime/JSActivation.cpp:
        (JSC::JSActivation::visitChildren):
        * runtime/JSArray.h:
        (JSC::JSArray::visitChildrenDirect):
        * runtime/JSPropertyNameIterator.cpp:
        (JSC::JSPropertyNameIterator::visitChildren):
        * runtime/WriteBarrier.h:
        (JSC::MarkStack::appendValues):

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

9 years ago2011-05-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
caio.oliveira@openbossa.org [Wed, 25 May 2011 19:28:22 +0000 (19:28 +0000)]
2011-05-25  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
        https://bugs.webkit.org/show_bug.cgi?id=61343

        Create a stack to keep track of the sender objects. This is simpler than
        the similar mechanism in QObject (C++ API), that keeps a stack per-object.

        Since we do not support multiple threads, one static stack will be enough for
        handling the behavior.

        This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.

        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::qtSenderStack):
        We have one static stack of QObject*. The top of the stack contains the
        last object that emitted signal that called a JavaScript function.

        * bridge/qt/qt_instance.h:
        (JSC::Bindings::QtInstance::QtSenderStack::top):
        (JSC::Bindings::QtInstance::QtSenderStack::push):
        (JSC::Bindings::QtInstance::QtSenderStack::pop):
        Minimal functionality to manipulate the sender stack.

        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::QtConnectionObject::execute):
        Remove the previous code that modified the scope chain. Push the sender object
        to the stack before calling the JavaScript function (the "slot" in Qt-speak) and
        pop it afterwards.
2011-05-25  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
        https://bugs.webkit.org/show_bug.cgi?id=61343

        Create a '__qt_sender__' property in the global object, that returns the top of
        the qtSenderStack. This is an alternative implementation for the feature of
        providing a way for a function (acting as a Qt 'slot') discover which object
        emitted the signal that caused it to be executed.

        This reduces the coupling of the Qt bridge and JSC internal implementation. The
        patch tries to use as much JSC public API as possible.

        This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
        Instead of emitting the QWebPage::javaScriptWindowObjectCleared() directly, calls
        a QWebPagePrivate function to do it.

        * Api/qwebframe_p.h:
        * Api/qwebframe.cpp:
        (QWebFramePrivate::didClearedWindowObject):
        Before emitting the signal mentioned, adds the '__qt_sender__' to the fresh
        global object.

        (qtSenderCallback):
        Returns the JSObjectRef corresponding to the top of qtSenderStack.

        (QWebFramePrivate::addQtSenderToGlobalObject):
        Create a property with a qtSenderCallback as getter function in the global object.

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

9 years ago[Chromium] Unreviewed build fix, do not define WTF/JS_EXPORT_PRIVATE to JS_EXPORTDATA
kevino@webkit.org [Wed, 25 May 2011 19:25:50 +0000 (19:25 +0000)]
[Chromium] Unreviewed build fix, do not define WTF/JS_EXPORT_PRIVATE to JS_EXPORTDATA
until the port begins using those export macros.

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

9 years ago2011-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 25 May 2011 19:23:39 +0000 (19:23 +0000)]
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87257.
        http://trac.webkit.org/changeset/87257
        https://bugs.webkit.org/show_bug.cgi?id=61457

        This broke layout tests, see bug 61431. (Requested by
        hwennborg on #webkit).

        * storage/indexeddb/migrate-basics-expected.txt: Removed.
        * storage/indexeddb/migrate-basics.html: Removed.
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87257.
        http://trac.webkit.org/changeset/87257
        https://bugs.webkit.org/show_bug.cgi?id=61457

        This broke layout tests, see bug 61431. (Requested by
        hwennborg on #webkit).

        * storage/IDBBackingStore.h:
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::IDBFactoryBackendImpl):
        (WebCore::IDBFactoryBackendImpl::open):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBFactoryBackendInterface.h:
        * storage/IDBLevelDBBackingStore.cpp:
        * storage/IDBLevelDBBackingStore.h:
        * storage/IDBSQLiteBackingStore.cpp:
        * storage/IDBSQLiteBackingStore.h:
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87257.
        http://trac.webkit.org/changeset/87257
        https://bugs.webkit.org/show_bug.cgi?id=61457

        This broke layout tests, see bug 61431. (Requested by
        hwennborg on #webkit).

        * public/WebIDBFactory.h:
        * src/AssertMatchingEnums.cpp:
        * src/IDBFactoryBackendProxy.cpp:
        * src/IDBFactoryBackendProxy.h:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactoryImpl::WebIDBFactoryImpl):
        (WebKit::WebIDBFactoryImpl::open):
        * src/WebIDBFactoryImpl.h:
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87257.
        http://trac.webkit.org/changeset/87257
        https://bugs.webkit.org/show_bug.cgi?id=61457

        This broke layout tests, see bug 61431. (Requested by
        hwennborg on #webkit).

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::clearAllDatabases):
        * DumpRenderTree/chromium/LayoutTestController.h:

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

9 years ago2011-05-25 Alexis Menard <alexis.menard@openbossa.org>
alexis.menard@openbossa.org [Wed, 25 May 2011 19:22:25 +0000 (19:22 +0000)]
2011-05-25  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Eric Carlson.

        [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
        https://bugs.webkit.org/show_bug.cgi?id=61279

        Enable the QuickTime backend for the Qt port on Mac. The patch adds the bits in WebCore
        to enable the QTKit backend of the Mac port. It can be enabled by passing DEFINES+=USE_QTKIT=1
        when calling build-webkit.

        * WebCore.pri:
        * WebCore.pro:
        * features.pri:
        * platform/KURL.h:
        * platform/SharedBuffer.h:
        * platform/cf/KURLCFNet.cpp:
        * platform/cf/SharedBufferCF.cpp:
        * platform/graphics/FloatSize.h:
        * platform/graphics/IntRect.h:
        * platform/graphics/IntSize.h:
        * platform/graphics/MediaPlayer.cpp:
        * platform/graphics/cg/FloatSizeCG.cpp:
        * platform/graphics/cg/IntRectCG.cpp:
        * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivateQTKit::createQTMovieView):
        (WebCore::MediaPlayerPrivateQTKit::createQTVideoRenderer):
        (WebCore::MediaPlayerPrivateQTKit::createQTMovieLayer):
        (WebCore::MediaPlayerPrivateQTKit::preferredRenderingMode):
        (WebCore::MediaPlayerPrivateQTKit::paint):
        (-[WebCoreMovieObserver layerHostChanged:]):
        * platform/mac/KURLMac.mm:
        * platform/mac/SharedBufferMac.mm:
        (+[WebCoreSharedBufferData initialize]):
        * platform/mac/WebCoreObjCExtras.mm:
        * platform/qt/WebCoreSystemInterface.h: Added.
        * platform/qt/WebCoreSystemInterface.mm: Added.
2011-05-25  Alexis Menard  <alexis.menard@openbossa.org>

        Reviewed by Eric Carlson.

        [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
        https://bugs.webkit.org/show_bug.cgi?id=61279

        Enable the usage of QuickTime backend for the Qt port. It can be enabled by
        passing DEFINES+=USE_QTKIT=1 when calling build-webkit.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::QWebPagePrivate):
        * QtWebKit.pro:
        * WebCoreSupport/FullScreenVideoQt.cpp:
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
        (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
        (WebCore::FullScreenVideoQt::isValid):
        * WebCoreSupport/WebSystemInterface.h: Added.
        * WebCoreSupport/WebSystemInterface.mm: Added.
        (InitWebCoreSystemInterface):

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

9 years ago2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>
qi.2.zhang@nokia.com [Wed, 25 May 2011 19:20:29 +0000 (19:20 +0000)]
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] fast/css/disabled-author-styles.html failed
        https://bugs.webkit.org/show_bug.cgi?id=61438

        Unskip test case and provide expect result files.

        * platform/qt/Skipped:
        * platform/qt/fast/css/disabled-author-styles-expected.png: Added.
        * platform/qt/fast/css/disabled-author-styles-expected.txt: Added.
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] fast/css/disabled-author-styles.html failed
        https://bugs.webkit.org/show_bug.cgi?id=61438

        Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] fast/css/disabled-author-styles.html failed
        https://bugs.webkit.org/show_bug.cgi?id=61438

        Implemented API setAuthorAndUserStylesEnabled in LayoutTestControllerQt.

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::WebPage::resetSettings):
        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::setAuthorAndUserStylesEnabled):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

9 years ago2011-05-25 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Wed, 25 May 2011 19:01:46 +0000 (19:01 +0000)]
2011-05-25  Rob Buis  <rbuis@rim.com>

        Reviewed by Eric Seidel.

        WebKit does not handle missing filter elements correctly
        https://bugs.webkit.org/show_bug.cgi?id=12569

        Updated improved pixel test result and add new SVG1.1 SE test and results.

        * platform/mac/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.png:
        * svg/W3C-SVG-1.1-SE/filters-felem-01-b.svg: Added.
2011-05-25  Rob Buis  <rbuis@rim.com>

        Reviewed by Eric Seidel.
        New test rubber-stamped by Dirk Schulze.

        WebKit does not handle missing filter elements correctly
        https://bugs.webkit.org/show_bug.cgi?id=12569

        Do not render elements that reference non-existant filters.

        Test: svg/W3C-SVG-1.1-SE/filters-felem-01-b.svg

        * rendering/svg/SVGRenderSupport.cpp:
        (WebCore::SVGRenderSupport::prepareToRenderSVGContent):

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

9 years ago2011-05-25 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 25 May 2011 18:51:27 +0000 (18:51 +0000)]
2011-05-25  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Put view-source documents in a unique origin and always allow them to run scripts. This ensures tools like
        XMLViewer work even when scripts are disabled, while still providing the protections expected when scripts are disabled.
        https://bugs.webkit.org/show_bug.cgi?id=59113

        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::canExecuteScripts): Check whether the document is viewing source, and allow scripts in that case.
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::matchUARules):
        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::setIsViewSource): Renamed from setUsesViewSourceStyles(), set's a unique security origin if we are viewing source.
        * dom/Document.h:
        (WebCore::Document::isViewSource): Renamed from usesViewSourceStyles().
        * html/HTMLViewSourceDocument.cpp:
        (WebCore::HTMLViewSourceDocument::HTMLViewSourceDocument):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::receivedFirstData):
        * xml/XMLTreeViewer.cpp:
        (WebCore::XMLTreeViewer::transformDocumentToTreeView):

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

9 years ago2011-05-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Wed, 25 May 2011 18:48:25 +0000 (18:48 +0000)]
2011-05-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Make allocations with guard pages ensure that the allocation succeeded
        https://bugs.webkit.org/show_bug.cgi?id=61453

        Add null checks, and make PageBlock's operator bool() use
        the realbase, rather than the start of usable memory.

        * wtf/OSAllocatorPosix.cpp:
        (WTF::OSAllocator::reserveAndCommit):
        * wtf/PageBlock.h:
        (WTF::PageBlock::operator bool):
        (WTF::PageBlock::PageBlock):

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

9 years ago2011-05-25 Julien Chaffraix <jchaffraix@codeaurora.org>
jchaffraix@webkit.org [Wed, 25 May 2011 18:45:56 +0000 (18:45 +0000)]
2011-05-25  Julien Chaffraix  <jchaffraix@codeaurora.org>

        Reviewed by James Robinson.

        http://philip.html5.org/tests/canvas/suite/tests/2d.composite.uncovered.fill.source-in.html fails
        https://bugs.webkit.org/show_bug.cgi?id=39027

        And:

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.source-out.html
          https://bugs.webkit.org/show_bug.cgi?id=48295

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.source-in.html
          https://bugs.webkit.org/show_bug.cgi?id=48304

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.source-out.html
        https://bugs.webkit.org/show_bug.cgi?id=48305

        * canvas/philip/tests/2d.composite.uncovered.pattern.source-in-expected.txt:
        * canvas/philip/tests/2d.composite.uncovered.pattern.source-out-expected.txt:
        Those 2 tests need a trailing line that was added as part of this change.

        * fast/canvas/canvas-composite-alpha.html: Updated the test result to match the specification.
        The changes are fairly simple:
          - Clear up the destination rectangle as it should be always transparent now (source is transparent
            outside the source rectangle).
          - Clear the composition rectangle if source or destination is transparent.
          - Fixed the test when run in the browser.
        Validated the changes against FF and Opera (IE 9 cannot render this test).

        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        Re-enable 4 tests.
2011-05-25  Julien Chaffraix  <jchaffraix@codeaurora.org>

        Reviewed by James Robinson.

        http://philip.html5.org/tests/canvas/suite/tests/2d.composite.uncovered.fill.source-in.html fails
        https://bugs.webkit.org/show_bug.cgi?id=39027

        And:

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.fill.source-out.html
          https://bugs.webkit.org/show_bug.cgi?id=48295

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.source-in.html
          https://bugs.webkit.org/show_bug.cgi?id=48304

        - Fix LayoutTests/canvas/philip/tests/2d.composite.uncovered.pattern.source-out.html
        https://bugs.webkit.org/show_bug.cgi?id=48305

        Those 4 tests have the same root cause for failing. Instead of splitting them in 2 fixes, I squashed
        them together as the fix is common.

        Based on an older work by Ariya Hidayat.

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::fill):
        (WebCore::CanvasRenderingContext2D::fillRect): Added call displayTransparencyEverywhere for those 2
        cases if we have to.

        (WebCore::CanvasRenderingContext2D::shouldDisplayTransparencyEverywhere): This method returns true if
        the spec says to display transparency everywhere. We only do so for source-in and source-out for now.
        (WebCore::CanvasRenderingContext2D::displayTransparencyEverywhere): This method implements the spec
        (which matches other browsers' behavior) and "display transparency elsewhere".

        * html/canvas/CanvasRenderingContext2D.h: Added the two previous methods.

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

9 years ago2011-05-20 Robert Hogan <robert@webkit.org>
robert@webkit.org [Wed, 25 May 2011 17:58:48 +0000 (17:58 +0000)]
2011-05-20  Robert Hogan  <robert@webkit.org>

        Reviewed by Geoffrey Garen.

        [Qt/Gtk/Chromium] Fix plugins/embed-attributes-setting.html

        Use the test netscape plugin instead of quicktime.
        Allows the test to pass on Qt/Gtk/Chromium as well as Mac.

        https://bugs.webkit.org/show_bug.cgi?id=61182
        http://code.google.com/p/chromium/issues/detail?id=15797

        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/qt/Skipped:
        * plugins/embed-attributes-setting-expected.txt:
        * plugins/embed-attributes-setting.html:

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

9 years ago<rdar://problem/9496795> REGRESSION (r86851): Plug-ins disappear when scrolled with...
mitz@apple.com [Wed, 25 May 2011 17:22:23 +0000 (17:22 +0000)]
<rdar://problem/9496795> REGRESSION (r86851): Plug-ins disappear when scrolled with non-1 page scale
https://bugs.webkit.org/show_bug.cgi?id=61448

Reviewed by Anders Carlsson.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::clipRectInWindowCoordinates): Correct for page scale
after intersecting the two rectangles.

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

9 years agoReviewed by Eric Seidel.
kevino@webkit.org [Wed, 25 May 2011 17:10:03 +0000 (17:10 +0000)]
Reviewed by Eric Seidel.

Add JS_EXPORT_PRIVATE macro for exported methods in bytecompiler headers.

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

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

9 years ago2011-05-25 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Wed, 25 May 2011 17:06:32 +0000 (17:06 +0000)]
2011-05-25  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Add IntPoint versions of IntRect::move and IntPoint::move
        https://bugs.webkit.org/show_bug.cgi?id=61390

        Adding move methods to IntRect and IntPoint that take an IntPoint
        that's acting as an offset. Since we also apply negative offsets,
        also adding a single parameter operator- for IntPoint.

        No new tests since this is refactoring.

        * page/FrameView.cpp:
        (WebCore::FrameView::invalidateScrollbarRect):
        (WebCore::FrameView::convertFromRenderer):
        (WebCore::FrameView::convertToRenderer):
        * platform/ScrollView.cpp:
        (WebCore::ScrollView::wheelEvent):
        * platform/ScrollView.h:
        (WebCore::ScrollView::convertChildToSelf):
        (WebCore::ScrollView::convertSelfToChild):
        * platform/ScrollbarThemeComposite.cpp:
        (WebCore::ScrollbarThemeComposite::invalidatePart):
        * platform/graphics/IntPoint.h:
        (WebCore::IntPoint::move):
        (WebCore::operator-):
        * platform/graphics/IntRect.h:
        (WebCore::IntRect::move):
        * platform/graphics/filters/FilterEffect.cpp:
        (WebCore::FilterEffect::requestedRegionOfInputImageData):
        * platform/graphics/gpu/Texture.cpp:
        (WebCore::Texture::updateSubRect):
        * platform/mac/WidgetMac.mm:
        (WebCore::Widget::paint):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::logicalRectToPhysicalRect):
        (WebCore::RenderBlock::selectionGaps):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::offsetFromContainer):
        (WebCore::RenderBox::computeRectForRepaint):
        (WebCore::RenderBox::localCaretRect):
        * rendering/RenderDetailsMarker.cpp:
        (WebCore::RenderDetailsMarker::paint):
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::culledInlineVisualOverflowBoundingBox):
        * rendering/RenderInputSpeech.cpp:
        (WebCore::RenderInputSpeech::paintInputFieldSpeechButton):
        * rendering/RenderLayerBacking.cpp:
        (WebCore::paintScrollbar):
        (WebCore::RenderLayerBacking::paintContents):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::paintScrollbar):
        (WebCore::RenderLayerCompositor::paintContents):
        * rendering/RenderListItem.cpp:
        (WebCore::RenderListItem::positionListMarker):
        * rendering/RenderListMarker.cpp:
        (WebCore::RenderListMarker::paint):
        * rendering/RenderTableCell.cpp:
        (WebCore::RenderTableCell::computeRectForRepaint):
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::nodeAtPoint):
        * rendering/RenderView.cpp:
        (WebCore::RenderView::repaintViewRectangle):

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

9 years ago2011-05-25 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Wed, 25 May 2011 17:04:47 +0000 (17:04 +0000)]
2011-05-25  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Eric Seidel.

        Switch addFocusRingRects to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=60783

        Switching addFocusRingRects to use an IntPoint representing the offset being
        applied instead of a pair of ints.

        No new tests as this is only refactoring.

        * platform/graphics/FloatSize.h:
        (WebCore::flooredIntPoint):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::addFocusRingRects):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::addFocusRingRects):
        * rendering/RenderBox.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::addFocusRingRects):
        * rendering/RenderInline.h:
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::addFocusRingRects):
        * rendering/RenderListBox.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::paintFocusRing):
        (WebCore::RenderObject::absoluteFocusRingQuads):
        * rendering/RenderObject.h:
        (WebCore::RenderObject::addFocusRingRects):
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::addFocusRingRects):
        * rendering/RenderTextControl.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::addFocusRingRects):
        * rendering/RenderTextControlSingleLine.h:
        * rendering/svg/RenderSVGContainer.cpp:
        (WebCore::RenderSVGContainer::addFocusRingRects):
        * rendering/svg/RenderSVGContainer.h:
        * rendering/svg/RenderSVGImage.cpp:
        (WebCore::RenderSVGImage::addFocusRingRects):
        * rendering/svg/RenderSVGImage.h:
        * rendering/svg/RenderSVGPath.cpp:
        (WebCore::RenderSVGPath::addFocusRingRects):
        * rendering/svg/RenderSVGPath.h:

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

9 years ago2011-05-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Wed, 25 May 2011 16:50:53 +0000 (16:50 +0000)]
2011-05-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r87229.
        http://trac.webkit.org/changeset/87229
        https://bugs.webkit.org/show_bug.cgi?id=61445

        Lots of tests crashing in
        CFNetwork!URLResponse::createFilenameFromResponseHeaders on
        Windows XP (Requested by aroben on #webkit).

        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::adopt):
        (WebCore::ResourceResponseBase::suggestedFilename):
        (WebCore::ResourceResponseBase::setSuggestedFilename):
        (WebCore::ResourceResponseBase::httpStatusText):
        (WebCore::ResourceResponseBase::setHTTPStatusText):
        (WebCore::ResourceResponseBase::httpHeaderField):
        (WebCore::ResourceResponseBase::setHTTPHeaderField):
        (WebCore::ResourceResponseBase::httpHeaderFields):
        (WebCore::ResourceResponseBase::isAttachment):
        (WebCore::ResourceResponseBase::setLastModifiedDate):
        (WebCore::ResourceResponseBase::lastModifiedDate):
        (WebCore::ResourceResponseBase::wasCached):
        (WebCore::ResourceResponseBase::connectionReused):
        (WebCore::ResourceResponseBase::setConnectionReused):
        (WebCore::ResourceResponseBase::connectionID):
        (WebCore::ResourceResponseBase::setConnectionID):
        (WebCore::ResourceResponseBase::resourceLoadTiming):
        (WebCore::ResourceResponseBase::setResourceLoadTiming):
        (WebCore::ResourceResponseBase::resourceLoadInfo):
        (WebCore::ResourceResponseBase::setResourceLoadInfo):
        * platform/network/ResourceResponseBase.h:
        * platform/network/cf/ResourceResponse.h:
        (WebCore::ResourceResponse::ResourceResponse):
        * platform/network/cf/ResourceResponseCFNet.cpp:
        (WebCore::ResourceResponse::platformLazyInit):
        * platform/network/mac/ResourceResponseMac.mm:
        (WebCore::ResourceResponse::platformLazyInit):

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

9 years ago2011-05-25 Leon Scroggins <scroggo@google.com>
commit-queue@webkit.org [Wed, 25 May 2011 16:48:03 +0000 (16:48 +0000)]
2011-05-25  Leon Scroggins  <scroggo@google.com>

        Reviewed by Steve Block.

        Update chromium expectations for more canvas fixes.
        https://bugs.webkit.org/show_bug.cgi?id=61433

        * platform/chromium/test_expectations.txt:

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

9 years agoIdentify, rather than skip, builds where run-webkit-tests exited early due to too...
aroben@apple.com [Wed, 25 May 2011 16:38:29 +0000 (16:38 +0000)]
Identify, rather than skip, builds where run-webkit-tests exited early due to too many failures

Fixes <http://webkit.org/b/61441> TestFailures page should show when run-webkit-tests
started exiting early due to too many crashes, timeouts, or failures

Reviewed by David Kilzer.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:
(Builder.prototype.getNumberOfFailingTests): Rather than returning -1 ("unknown") when
run-webkit-tests exits early due to too many failures, pass that information in another
argument to the callback.
(Builder.prototype.startFetchingBuildHistory): Updated the documentation comment to reflect
the new structure of the object passed to the callback.
(Builder.prototype._getFailingTests): Updated to expect a tooManyFailures boolean from
getNumberOfFailingTests and to pass that along to our own callbacks.
(Builder.prototype._incorporateBuildHistory): Updated to expect a tooManyFailures boolean
from _getFailingTests and to store that value in the history object.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/TestFailures.css:
(.info): Added.

* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/ViewController.js:
(ViewController.prototype._displayBuilder): Updated for change in structure to the history
object and to add a note when run-webkit-tests exited early due to too many failures.
(ViewController.prototype._displayTesters): Renamed testersAndFailureCounts to
latestBuildInfos since each entry now contains more than just the tester and failure count.
Now displays a message for testers where the latest build exited early due to too many
failures. Updated to expect a tooManyFailures boolean from getNumberOfFailingTests and to
store that value in latestBuildInfos.

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

9 years ago2011-05-25 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Wed, 25 May 2011 16:33:57 +0000 (16:33 +0000)]
2011-05-25  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Antonio Gomes.

        [Qt] QtWebKit crashes when dragging not loaded images
        https://bugs.webkit.org/show_bug.cgi?id=61314

        Checks if WebKit crashes when dragging an image not yet loaded.

        * http/tests/misc/drag-not-loaded-image-expected.txt: Added.
        * http/tests/misc/drag-not-loaded-image.html: Added.
2011-05-25  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Antonio Gomes.

        [Qt] QtWebKit crashes when dragging not loaded images
        https://bugs.webkit.org/show_bug.cgi?id=61314

        Checks if nativeImageForCurrentFrame is a valid pointer.

        Test: http/tests/misc/drag-not-loaded-image.html

        * platform/qt/DragImageQt.cpp:
        (WebCore::createDragImageFromImage):

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

9 years ago2011-05-25 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Wed, 25 May 2011 16:27:30 +0000 (16:27 +0000)]
2011-05-25  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Xan Lopez.

        [GTK] combobox and scrollbar are rendered small size at gtk+2.22.0
        https://bugs.webkit.org/show_bug.cgi?id=61436

        Fix arguments of gdk_drawable_get_size.

        No new tests, no behavior change.

        * platform/gtk/GtkVersioning.c:
        (getGdkDrawableSize):

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

9 years ago2011-05-25 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 25 May 2011 14:58:32 +0000 (14:58 +0000)]
2011-05-25  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Skipped 3 new inspector tests that time out on gtk.

        * platform/gtk/Skipped:

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

9 years ago2011-05-25 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 25 May 2011 14:20:23 +0000 (14:20 +0000)]
2011-05-25  Gabor Loki  <loki@webkit.org>

        Rubber-stamped by Csaba Osztrogon√°c.

        [Qt] Skip failed tests after r87290 and r87292 on ARM

        * platform/qt-arm/Skipped:

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

9 years ago2011-05-23 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 25 May 2011 14:02:10 +0000 (14:02 +0000)]
2011-05-23  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extreme lagging when searching for "img[src*="
        https://bugs.webkit.org/show_bug.cgi?id=61282

        No new tests, as this is a refactoring: ElementsTreeElement DOM is manipulated directly
        when built and search-highlighted, rather than through innerHTML.

        * inspector/front-end/DOMSyntaxHighlighter.js:
        (WebInspector.DOMSyntaxHighlighter):
        (WebInspector.DOMSyntaxHighlighter.prototype.createSpan):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype._hideSearchHighlights):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype.highlightSearchResults):
        (WebInspector.ElementsTreeElement.prototype.hideSearchHighlights):
        (WebInspector.ElementsTreeElement.prototype._updateSearchHighlight.updateEntryShow):
        (WebInspector.ElementsTreeElement.prototype._updateSearchHighlight.updateEntryHide):
        (WebInspector.ElementsTreeElement.prototype._updateSearchHighlight):
        (WebInspector.ElementsTreeElement.prototype._addNewAttribute):
        (WebInspector.ElementsTreeElement.prototype.updateTitle):
        (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM):
        ():
        * inspector/front-end/utilities.js:
        ():

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

9 years ago2011-05-25 Leandro Gracia Gil <leandrogracia@chromium.org>
commit-queue@webkit.org [Wed, 25 May 2011 12:34:04 +0000 (12:34 +0000)]
2011-05-25  Leandro Gracia Gil  <leandrogracia@chromium.org>

        Reviewed by Tony Gentilcore.

        Introduce HTML5 track list objects.
        https://bugs.webkit.org/show_bug.cgi?id=60184

        Introduce the TrackList, MultipleTrackList and ExclusiveTrackList objects
        for their use in the MediaStream API and the HTML Media Element.
        Current spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html#tracklist

        The Media Stream API will test this feature in the bug 56587.
        More tests related to the HTML Media Element may be added later.

        * CMakeLists.txt:
        * CodeGenerators.pri:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSEventTarget.cpp:
        (WebCore::toJS):
        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventTargetToV8Object):
        * dom/DOMAllInOne.cpp:
        * dom/EventTarget.cpp:
        (WebCore::EventTarget::toTrackList):
        (WebCore::EventTarget::toMultipleTrackList):
        (WebCore::EventTarget::toExclusiveTrackList):
        * dom/EventTarget.h:
        * dom/ExclusiveTrackList.cpp: Added.
        (WebCore::ExclusiveTrackList::create):
        (WebCore::ExclusiveTrackList::ExclusiveTrackList):
        (WebCore::ExclusiveTrackList::~ExclusiveTrackList):
        (WebCore::ExclusiveTrackList::clear):
        (WebCore::ExclusiveTrackList::select):
        (WebCore::ExclusiveTrackList::toExclusiveTrackList):
        * dom/ExclusiveTrackList.h: Added.
        (WebCore::ExclusiveTrackList::selectedIndex):
        * dom/ExclusiveTrackList.idl: Added.
        * dom/MultipleTrackList.cpp: Added.
        (WebCore::MultipleTrackList::create):
        (WebCore::MultipleTrackList::MultipleTrackList):
        (WebCore::MultipleTrackList::~MultipleTrackList):
        (WebCore::MultipleTrackList::clear):
        (WebCore::MultipleTrackList::isEnabled):
        (WebCore::MultipleTrackList::enable):
        (WebCore::MultipleTrackList::disable):
        (WebCore::MultipleTrackList::toMultipleTrackList):
        * dom/MultipleTrackList.h: Added.
        * dom/MultipleTrackList.idl: Added.
        * dom/TrackList.cpp: Added.
        (WebCore::Track::create):
        (WebCore::Track::Track):
        (WebCore::TrackList::create):
        (WebCore::TrackList::TrackList):
        (WebCore::TrackList::~TrackList):
        (WebCore::TrackList::length):
        (WebCore::TrackList::checkIndex):
        (WebCore::TrackList::getID):
        (WebCore::TrackList::getKind):
        (WebCore::TrackList::getLabel):
        (WebCore::TrackList::getLanguage):
        (WebCore::TrackList::clear):
        (WebCore::TrackList::postChangeEvent):
        (WebCore::TrackList::dispatchChangeEvent):
        (WebCore::TrackList::toTrackList):
        (WebCore::TrackList::scriptExecutionContext):
        (WebCore::TrackList::eventTargetData):
        (WebCore::TrackList::ensureEventTargetData):
        * dom/TrackList.h: Added.
        (WebCore::Track::id):
        (WebCore::Track::kind):
        (WebCore::Track::label):
        (WebCore::Track::language):
        (WebCore::TrackList::DispatchTask::create):
        (WebCore::TrackList::DispatchTask::performTask):
        (WebCore::TrackList::DispatchTask::DispatchTask):
        (WebCore::TrackList::refEventTarget):
        (WebCore::TrackList::derefEventTarget):
        * dom/TrackList.idl: Added.

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