WebKit-https.git
11 years ago2010-11-29 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Tue, 30 Nov 2010 00:09:52 +0000 (00:09 +0000)]
2010-11-29  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
        https://bugs.webkit.org/show_bug.cgi?id=49858

        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
        - To simplify editing (editing vsprops build steps is confusing).
        - For more readable diffs.

        * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
        * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added.
        * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added.
2010-11-19  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
        https://bugs.webkit.org/show_bug.cgi?id=49858

        We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
        - To simplify editing (editing vsprops build steps is confusing).
        - For more readable diffs.

        To add a prebuild/prelink/postbuild step for a vcproj,
        Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory.
        For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located
        in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj).

        * win/tools/vsprops/common.vsprops:
        * win/tools/vsprops/release.vsprops:

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

11 years ago2010-11-29 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 29 Nov 2010 23:51:54 +0000 (23:51 +0000)]
2010-11-29  Simon Fraser  <simon.fraser@apple.com>

        Add Qt-specific result.

        * platform/qt/fast/overflow/overflow-update-transform-expected.txt: Added.

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

11 years ago[Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
tkent@chromium.org [Mon, 29 Nov 2010 23:48:30 +0000 (23:48 +0000)]
[Chromium] Add substitution parameters to WebKitClient::queryLocalizedString()
https://bugs.webkit.org/show_bug.cgi?id=50053

Reviewed by Darin Fisher.

* public/WebKitClient.h:
(WebKit::WebKitClient::queryLocalizedString): Add overload functions with
  substitution string parameters, and remove the integer parameter overload.
* src/LocalizedStrings.cpp:
(WebCore::query): Add string parameter overloads, and remove the integer parameter overload.
(WebCore::multipleFileUploadText): Call the string parameter query().
(WebCore::validationMessageTooLongText): Pass the parameters to query().
(WebCore::validationMessageRangeUnderflowText): ditto.
(WebCore::validationMessageRangeOverflowText): ditto.
(WebCore::validationMessageStepMismatchText): ditto.

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

11 years ago2010-11-29 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Mon, 29 Nov 2010 23:37:08 +0000 (23:37 +0000)]
2010-11-29  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: Request JSON-serialized heap snapshot from JS engine.
        This simplifies heap snapshots interaction and API. Instead of
        having objects representing snapshot entities, the whole snapshot
        is transferred to WebInspector and parsed there.

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

        * bindings/js/ScriptHeapSnapshot.h:
        (WebCore::ScriptHeapSnapshot::OutputStream::~OutputStream):
        (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
        (WebCore::ScriptHeapSnapshot::writeJSON):
        (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
        * bindings/v8/ScriptHeapSnapshot.cpp:
        (WebCore::ScriptHeapSnapshot::writeJSON):
        * bindings/v8/ScriptHeapSnapshot.h:
        (WebCore::ScriptHeapSnapshot::OutputStream::~OutputStream):
        * inspector/Inspector.idl:
        * inspector/InspectorProfilerAgent.cpp:
        (WebCore::InspectorProfilerAgent::getProfile):
        * inspector/front-end/HeapSnapshotView.js:
        (WebInspector.HeapSnapshotEdgesIterator):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get done):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get isElement):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get isHidden):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get name):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.next):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get node):
        (WebInspector.HeapSnapshotEdgesIterator.prototype.get nodeIndex):
        (WebInspector.HeapSnapshotEdgesIterator.prototype._getNameOrIndex):
        (WebInspector.HeapSnapshotEdgesIterator.prototype._getType):
        (WebInspector.HeapSnapshotNodeWrapper):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get edges):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get edgesCount):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get instancesCount):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get isHidden):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get name):
        (WebInspector.HeapSnapshotNodeWrapper.prototype.get selfSize):
        (WebInspector.HeapSnapshotNodeWrapper.prototype._getName):
        (WebInspector.HeapSnapshotNodeWrapper.prototype._getEdges):
        (WebInspector.HeapSnapshotNodeWrapper.prototype._getType):
        (WebInspector.HeapSnapshot):
        (WebInspector.HeapSnapshot.prototype._init):
        (WebInspector.HeapSnapshot.prototype.get rootEdges):
        (WebInspector.HeapSnapshotView.prototype.snapshotLoaded):
        (WebInspector.HeapSnapshotView.prototype._loadProfile.processLoadedSnapshot):
        (WebInspector.HeapSnapshotView.prototype._loadProfile):
        (WebInspector.HeapSnapshotView.prototype._convertSnapshot):
        (WebInspector.HeapSnapshotView.prototype._prepareProfile.mergeRetainers):
        (WebInspector.HeapSnapshotView.prototype._prepareProfile):
        (WebInspector.HeapSnapshotView.prototype._sortData):
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel):
        (WebInspector.ProfilesPanel.prototype.addHeapSnapshotChunk):
        (WebInspector.ProfilesPanel.prototype.finishHeapSnapshot):
        * inspector/front-end/inspector.js:
        (WebInspector.addHeapSnapshotChunk):
        (WebInspector.finishHeapSnapshot):

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

11 years agoImproved accuracy of command-line SunSpider.
ggaren@apple.com [Mon, 29 Nov 2010 23:35:11 +0000 (23:35 +0000)]
Improved accuracy of command-line SunSpider.

Reviewed by Gavin Barraclough.

JavaScriptCore:

* jsc.cpp:
(functionRun): Changed the "run" function to run a given test in
its own global object. Previously, all tests ran in the same global
object, which created name conflicts, and made globals from previous
tests artificially survive into later tests.

Also changed "run" to return the elapsed milliseconds when running a
given test, for slightly more accurate numbers.

(functionCheckSyntax): Ditto on returning elapsed milliseconds.

SunSpider:

* resources/sunspider-standalone-driver.js: Use the returned number of
elapsed milliseconds from "run" and "checkSyntax" instead of measuring
ourselves, for slightly more accurate numbers.

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

11 years agoShould be able to pause and resume downloads
andersca@apple.com [Mon, 29 Nov 2010 23:34:17 +0000 (23:34 +0000)]
Should be able to pause and resume downloads
https://bugs.webkit.org/show_bug.cgi?id=50185
<rdar://problem/8691135>

Reviewed by Darin Adler.

* UIProcess/API/C/WKContext.h:
Add didCancel callback.

* UIProcess/API/C/WKDownload.cpp:
(WKDownloadGetResumeData):
(WKDownloadCancel):
Call the respective DownloadProxy member functions.

* UIProcess/API/C/WKDownload.h:
* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::cancel):
Send Cancel to the WebProcess.

(WebKit::DownloadProxy::didFail):
This now takes a resumeData reference.

(WebKit::DownloadProxy::didCancel):
Set the resume data and call didCancel.

* UIProcess/Downloads/DownloadProxy.h:
(WebKit::DownloadProxy::resumeData):
Return the resume data.

* UIProcess/Downloads/DownloadProxy.messages.in:
Add DidCancel message, Add resume data to DidFail.

* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::didCancel):
Call the didCancel context client function.

* WebProcess/Downloads/Download.cpp:
(WebKit::Download::didFail):
This now takes a resume data argument as well.

(WebKit::Download::didCancel):
Send DidCancel.

* WebProcess/Downloads/DownloadManager.cpp:
(WebKit::DownloadManager::cancelDownload):
Look up the download and cancel it.

* WebProcess/Downloads/cf/DownloadCFNet.cpp:
(WebKit::Download::cancel):
Add stub.

* WebProcess/Downloads/mac/DownloadMac.mm:
(WebKit::Download::cancel):
Cancel the download.

(-[WKDownloadAsDelegate download:didFailWithError:]):
Pass the resume data along.

* WebProcess/Downloads/qt/DownloadQt.cpp:
(WebKit::Download::cancel):
Add stub.

* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::cancelDownload):
Ask the download manager to cancel the download.

* WebProcess/WebProcess.h:
* WebProcess/WebProcess.messages.in:
Add CancelDownload message.

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

11 years ago[Chromium] Unreviewed, updated expectations for a test fixed on Chromium side.
dimich@chromium.org [Mon, 29 Nov 2010 23:28:16 +0000 (23:28 +0000)]
[Chromium] Unreviewed, updated expectations for a test fixed on Chromium side.
http://code.google.com/p/chromium/issues/detail?id=61655

* platform/chromium-mac/security/block-test-no-port-expected.txt: Added.
* platform/chromium-win/security/block-test-no-port-expected.txt: Added.
* platform/chromium/test_expectations.txt:

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

11 years ago2010-11-29 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 29 Nov 2010 23:13:28 +0000 (23:13 +0000)]
2010-11-29  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        layer()->currentTransform() is stale when layout changes the box size
        https://bugs.webkit.org/show_bug.cgi?id=50175

        RenderLayer::updateTransform() is fairly expensive, so we
        have to avoid calling it from RenderBox::applyLayerTransformToRect()
        every time. This requires that we update the layer's transform
        during layout, instead of from updateLayerPositions() which is too late.

        So call updateLayerTransform() from the various layout methods
        on renderers that can be transformed, and remove it from
        updateLayerPositions().

        Test: fast/overflow/overflow-update-transform.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::layoutBlock):
        (WebCore::RenderBlock::layoutOnlyPositionedObjects):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::applyLayerTransformToRect):
        (WebCore::RenderBox::updateLayerTransform):
        * rendering/RenderBox.h:
        * rendering/RenderEmbeddedObject.cpp:
        (WebCore::RenderEmbeddedObject::layout):
        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::layoutBlock):
        * rendering/RenderIFrame.cpp:
        (WebCore::RenderIFrame::layout):
        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::updateLayerPositions):
        * rendering/RenderReplaced.cpp:
        (WebCore::RenderReplaced::layout):
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::layout):

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

11 years ago2010-11-29 Chris Rogers <crogers@google.com>
crogers@google.com [Mon, 29 Nov 2010 23:03:57 +0000 (23:03 +0000)]
2010-11-29  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Add remaining custom JSC web audio bindings
        https://bugs.webkit.org/show_bug.cgi?id=50172

        No new tests since audio API is not yet implemented.

        * bindings/js/JSAudioBufferSourceNodeCustom.cpp: Added.
        (WebCore::JSAudioBufferSourceNode::setBuffer):
        * bindings/js/JSConvolverNodeCustom.cpp: Added.
        (WebCore::JSConvolverNode::setBuffer):
        * bindings/js/JSJavaScriptAudioNodeCustom.cpp: Added.
        (WebCore::JSJavaScriptAudioNode::markChildren):
        * webaudio/AudioBufferSourceNode.idl:
        * webaudio/ConvolverNode.idl:

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

11 years ago2010-11-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 29 Nov 2010 22:48:14 +0000 (22:48 +0000)]
2010-11-29  Ojan Vafai  <ojan@chromium.org>

        [Chromium] Mark tests as failing after http://trac.webkit.org/changeset/72819.
        And rebaseline loader/reload-subresource-when-type-changes.html after
        http://trac.webkit.org/changeset/72817. The difference is that V8 logs a different
        error string.

        * platform/chromium-mac/loader/reload-subresource-when-type-changes-expected.txt: Added.
        * platform/chromium-win/loader/reload-subresource-when-type-changes-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-11-29 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 29 Nov 2010 22:45:57 +0000 (22:45 +0000)]
2010-11-29  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        * configure.ac: bump version for 1.3.7 release.

WebKit/gtk:

2010-11-29  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        * NEWS: update for 1.3.7 release.

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

11 years agoHTMLFormElement.elements doesn't include fieldsets
yael.aharon@nokia.com [Mon, 29 Nov 2010 22:44:37 +0000 (22:44 +0000)]
HTMLFormElement.elements doesn't include fieldsets
https://bugs.webkit.org/show_bug.cgi?id=48193

Reviewed by Darin Adler.

WebCore:

Add fieldset and keygen to the list of form collection elements, by making them enumeratable.
This patch does not add object element to the list. A separate bug will do that.

Test: fast/forms/form-collection-elements.html

* html/HTMLFieldSetElement.h:
(WebCore::HTMLFieldSetElement::isEnumeratable):
* html/HTMLKeygenElement.h:
(WebCore::HTMLKeygenElement::isEnumeratable):

LayoutTests:

* fast/forms/form-collection-elements-expected.txt: Added.
* fast/forms/form-collection-elements.html: Added.
* fast/forms/script-tests/form-collection-elements.js: Added.

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

11 years ago2010-11-29 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 29 Nov 2010 22:35:14 +0000 (22:35 +0000)]
2010-11-29  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Get distcheck going.

        * GNUmakefile.am:

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

11 years ago Reviewed by Darin Adler.
ap@apple.com [Mon, 29 Nov 2010 22:24:12 +0000 (22:24 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=50181
        CSS style declarations don't GC protect parents

        Test: fast/dom/StyleSheet/gc-declaration-parent-rule.html

        * bindings/js/JSCSSStyleDeclarationCustom.cpp: (WebCore::JSCSSStyleDeclaration::markChildren):
        Protect the parent rule.

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

11 years ago2010-11-29 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 29 Nov 2010 22:10:03 +0000 (22:10 +0000)]
2010-11-29  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: UI fix. In Timeline, Paint events "Location" value is displayed
        in a confusing manner. The format string should be changed from %d x %d
        pattern to (%d, %d).

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

        * English.lproj/localizedStrings.js:
        * inspector/front-end/TimelinePanel.js:
        (WebInspector.TimelinePanel.FormattedRecord.prototype._generatePopupContent):

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

11 years ago2010-11-29 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 29 Nov 2010 22:06:31 +0000 (22:06 +0000)]
2010-11-29  Darin Adler  <darin@apple.com>

        Reviewed by Andreas Kling.

        Remove a couple unneeded overflow checks
        https://bugs.webkit.org/show_bug.cgi?id=49816

        * wtf/text/CString.cpp:
        (WTF::CString::init): Use an ASSERT instead of
        an overflow check with CRASH.
2010-11-29  Darin Adler  <darin@apple.com>

        Reviewed by Andreas Kling.

        Remove a couple unneeded overflow checks
        https://bugs.webkit.org/show_bug.cgi?id=49816

        * platform/text/TextCodecUTF16.cpp:
        (WebCore::TextCodecUTF16::encode): Use an ASSERT instead of
        an overflow check with CRASH.

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

11 years ago2010-11-29 Gavin Peters <gavinp@chromium.org>
ojan@chromium.org [Mon, 29 Nov 2010 22:02:12 +0000 (22:02 +0000)]
2010-11-29  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Ojan Vafai.

        unloadable-script not testing both cases
        https://bugs.webkit.org/show_bug.cgi?id=50177

        * http/tests/misc/unloadable-script-expected.txt:
        * http/tests/misc/unloadable-script.html:

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

11 years agoWebKitSystemInterface.h piece of r72438.
mitz@apple.com [Mon, 29 Nov 2010 21:47:28 +0000 (21:47 +0000)]
WebKitSystemInterface.h piece of r72438.

Patch by Anders Carlsson <andersca@apple.com> on 2010-11-29
Reviewed by Sam Weinig and Simon Fraser.

* WebKitSystemInterface.h:

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

11 years ago2010-11-29 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 29 Nov 2010 21:43:39 +0000 (21:43 +0000)]
2010-11-29  Tony Chang  <tony@chromium.org>

        Unreviewed, disable warnings again on chromium linux

        * WebCore.gyp/WebCore.gyp:

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

11 years ago2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 21:38:39 +0000 (21:38 +0000)]
2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>

        Remove Build directory that was erroneously added in r72103.

        * Build: Removed.

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

11 years ago2010-11-29 Cosmin Truta <ctruta@chromium.org>
commit-queue@webkit.org [Mon, 29 Nov 2010 21:37:39 +0000 (21:37 +0000)]
2010-11-29  Cosmin Truta  <ctruta@chromium.org>

        Reviewed by Nikolas Zimmermann.

        getBoundingClientRect: Do not truncate the coordinates to integers
        https://bugs.webkit.org/show_bug.cgi?id=48110

        Enhanced some of the tests for getBoundingClientRect, and added zooming tests.

        * css3/zoom-coords-expected.txt: Updated.
        * css3/zoom-coords.xhtml: Wrapped the <svg> elements in a <div>,
        to avoid re-layout on zooming or resizing.
        Added a test for getBoundingClientRect on unzoomed elements.
        * fast/dom/Element/getBoundingClientRect-expected.txt: Updated.
        * fast/dom/Element/getBoundingClientRect.html: Accounted for non-integer coordinates;
        used the Ahem font for uniform results; removed the hard-coded dependencies on font metrics.
        * fast/dom/Range/getBoundingClientRect-expected.txt: Updated.
        * fast/dom/Range/getBoundingClientRect.html: Accounted for non-integer coordinates;
        used the Ahem font for uniform results; removed the hard-coded dependencies on font metrics.
        * platform/chromium-win/fast/dom/Element/getBoundingClientRect-expected.txt: Deleted.
        * platform/chromium-win/fast/dom/Range/getBoundingClientRect-expected.txt: Deleted.
        * svg/custom/getBBox-js.svg: Fixed indentation.
        * svg/custom/getBoundingClientRect.xhtml: Wrapped the <svg> elements in a <div>,
        to avoid re-layout on zooming or resizing.
        * svg/zoom/page/zoom-getBoundingClientRect-expected.txt: Added.
        * svg/zoom/page/zoom-getBoundingClientRect.xhtml: Added.
        * svg/zoom/page/zoom-zoom-coords-expected.txt: Added.
        * svg/zoom/page/zoom-zoom-coords.xhtml: Added.
        * svg/zoom/resources/testPageZoom.js: Added call to completeDynamicTest on post-zoom.
        (completeDynamicTest): Added.
2010-11-29  Cosmin Truta  <ctruta@chromium.org>

        Reviewed by Nikolas Zimmermann.

        getBoundingClientRect: Do not truncate the coordinates to integers
        https://bugs.webkit.org/show_bug.cgi?id=48110

        Remove the float-to-int coordinate conversions inside getBoundingClientRect,
        to comply with the CSSOM View Module API.

        Tests: fast/dom/Element/getBoundingClientRect.html
               fast/dom/Range/getBoundingClientRect.html
               svg/zoom/page/zoom-getBoundingClientRect.xhtml
               svg/zoom/page/zoom-zoom-coords.xhtml

        * dom/ClientRect.cpp:
        (WebCore::ClientRect::ClientRect): Added overload to allow a FloatRect argument.
        * dom/ClientRect.h:
        (WebCore::ClientRect::create): Ditto.
        * dom/Element.cpp:
        (Element::getBoundingClientRect): Removed conversion from FloatRect to IntRect.
        * dom/Range.cpp:
        (WebCore::Range::getBoundingClientRect): Ditto.
        * rendering/RenderObject.h:
        (adjustIntRectForAbsoluteZoom): Removed.
        (adjustFloatRectForAbsoluteZoom): Added.
        * rendering/style/RenderStyle.h:
        (adjustFloatForAbsoluteZoom): Added.

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

11 years ago2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 21:27:45 +0000 (21:27 +0000)]
2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Converge means of querying a parent node into one way, which is Node::parentNode.
        https://bugs.webkit.org/show_bug.cgi?id=49686

        A follow-up to r72259, which explicitly forbids further use of Node::parent by
        making it private.

        No change in behavior, so no new tests.

        * dom/Document.cpp:
        (WebCore::Document::styleForElementIgnoringPendingStylesheets): Changed to use parentNode.
        (WebCore::Document::hoveredNodeDetached): Ditto.
        (WebCore::Document::activeChainNodeDetached): Ditto.
        * dom/Node.h: Made Node::parent private.
        * page/SpatialNavigation.cpp:
        (WebCore::canBeScrolledIntoView): Changed to use parentNode.
        * xml/XSLTProcessorQt.cpp:
        (WebCore::XSLTProcessor::transformToString): Ditto.

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

11 years ago2010-11-29 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 29 Nov 2010 21:22:50 +0000 (21:22 +0000)]
2010-11-29  Tony Chang  <tony@chromium.org>

        Reviewed by James Robinson.

        [chromium] try to enable WebCore compiler warnings on linux
        https://bugs.webkit.org/show_bug.cgi?id=50168

        * WebCore.gyp/WebCore.gyp:
        * platform/graphics/chromium/FontLinux.cpp:
        (WebCore::TextRunWalker::setPadding):
        (WebCore::TextRunWalker::setGlyphXPositions):
        (WebCore::glyphIndexForXPositionInScriptRun):

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

11 years agoRobustify react-to-vsprops-changes.py against changes to its location or the location...
aroben@apple.com [Mon, 29 Nov 2010 21:09:00 +0000 (21:09 +0000)]
Robustify react-to-vsprops-changes.py against changes to its location or the location of the .vsprops files

Suggested by John Sullivan.

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
Removed file_modification_times.
(main): Use glob.glob to find the .vsprops files and assert that we found some.

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

11 years agoTouch wtf/Platform.h whenever any .vsprops file changes
aroben@apple.com [Mon, 29 Nov 2010 21:08:31 +0000 (21:08 +0000)]
Touch wtf/Platform.h whenever any .vsprops file changes

This will cause all files to be recompiled, which will make changes to
preprocessor macros (e.g., ENABLE_*) actually take effect.

Fixes <http://webkit.org/b/50167> Windows build fails when ENABLE_*
macros are changed (because not enough files are rebuilt)

Reviewed by John Sullivan.

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
(main): Touch wtf/Platform.h if it's older than any .vsprops file. Also
added some comments and logging to make it clearer what the script is
doing and why.

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

11 years agoUpdate react-to-vsprops-changes.py after r72555
aroben@apple.com [Mon, 29 Nov 2010 21:01:14 +0000 (21:01 +0000)]
Update react-to-vsprops-changes.py after r72555

.vsprops files are no longer accessed relative to $WebKitLibrariesDir.

Fixes <http://webkit.org/b/50166> REGRESSION (r72555):
react-to-vsprops-changes.py no longer works for people with a
non-default $WebKitLibrariesDir

Reviewed by John Sullivan.

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
(main): Always look in WebKitLibraries/win for .vsprops files, not in
$WebKitLibrariesDir.

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

11 years ago2010-11-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 29 Nov 2010 20:43:37 +0000 (20:43 +0000)]
2010-11-29  Ojan Vafai  <ojan@chromium.org>

        Unreviewed build fix.

        Mark tests as failing after http://trac.webkit.org/changeset/72817/
        to green chromium tree.

        * platform/chromium/test_expectations.txt:

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

11 years ago Reviewed by Darin Adler.
ap@apple.com [Mon, 29 Nov 2010 20:36:35 +0000 (20:36 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=50165
        CSS style rules don't GC protect parents

        Tests: fast/dom/StyleSheet/gc-parent-rule.html
               fast/dom/StyleSheet/gc-parent-stylesheet.html

        * bindings/js/JSCSSRuleCustom.cpp: (WebCore::JSCSSRule::markChildren): Mark parents. The code
        is super naive compared to what we have for nodes - but CSSOM has shallow hierarchies, so
        it should be OK.

        * css/CSSRule.idl: Added CustomMarkFunction.

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

11 years ago2010-11-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 29 Nov 2010 20:22:46 +0000 (20:22 +0000)]
2010-11-29  Ojan Vafai  <ojan@chromium.org>

        Unreviewed. Build fix.

        New test expectations and test_expectations update due to http://trac.webkit.org/changeset/72813/.

        * platform/chromium-mac/fast/js/regexp-overflow-expected.txt:
        * platform/chromium-win/fast/js/regexp-overflow-expected.txt:
        * platform/chromium/test_expectations.txt:

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

11 years ago2010-11-29 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Mon, 29 Nov 2010 19:45:27 +0000 (19:45 +0000)]
2010-11-29  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Web page can prevent WebKit from loading subresources on other
        pages (cache poisoning)
        https://bugs.webkit.org/show_bug.cgi?id=35404

        * http/tests/misc/unloadable-script-expected.txt: Renamed from LayoutTests/fast/loader/unloadable-script-expected.txt.
        * http/tests/misc/unloadable-script.html: Renamed from LayoutTests/fast/loader/unloadable-script.html.
        * loader/reload-subresource-when-type-changes-expected.txt: Added.
        * loader/reload-subresource-when-type-changes.html: Added.
        * loader/resources/image1.png: Added.
        * loader/resources/image2.png: Added.
        * loader/resources/reload-subresource-when-type-changes.js: Added.
2010-11-29  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Web page can prevent WebKit from loading subresources on other
        pages (cache poisoning)
        https://bugs.webkit.org/show_bug.cgi?id=35404

        Tests: http/tests/misc/unloadable-script.html
               loader/reload-subresource-when-type-changes.html

        * loader/cache/MemoryCache.cpp:
        (WebCore::MemoryCache::requestResource):

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

11 years ago2010-11-29 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Mon, 29 Nov 2010 19:44:44 +0000 (19:44 +0000)]
2010-11-29  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Adam Roben.

        [WK2] Support repeating timers
        https://bugs.webkit.org/show_bug.cgi?id=50024

        Added boolean member for TimerBase on PLATFORM(WIN)
        and PLATFORM(QT) to be able to differentiate between
        repeating and one shot operating mode. Change the confusing
        signature of TimerBase::start: use a bool for selecting
        operating mode.
        * Platform/RunLoop.h:
        (RunLoop::TimerBase::startRepeating):
        (RunLoop::TimerBase::startOneShot):
        * Platform/mac/RunLoopMac.mm:
        (RunLoop::TimerBase::start):
        * Platform/qt/RunLoopQt.cpp:
        (RunLoop::TimerBase::timerFired): Only stop the timer if it
        is not in repeating mode.
        (RunLoop::TimerBase::TimerBase):
        (RunLoop::TimerBase::start):
        * Platform/win/RunLoopWin.cpp:
        (RunLoop::TimerBase::timerFired):  Only stop the timer if it
        is not in repeating mode.
        (RunLoop::TimerBase::TimerBase):
        (RunLoop::TimerBase::start):

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

11 years agoCheck in new Windows results after r72678
aroben@apple.com [Mon, 29 Nov 2010 19:19:07 +0000 (19:19 +0000)]
Check in new Windows results after r72678

Right-clicking no longer triggers a selection in DRT on Windows, so we
don't match Mac anymore.

* platform/win/editing/selection/5109817-expected.checksum: Added.
* platform/win/editing/selection/5109817-expected.png: Added.
* platform/win/editing/selection/5109817-expected.txt: Added.
* platform/win/editing/selection/5354455-1-expected.txt: Added.

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

11 years ago2010-11-29 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 29 Nov 2010 19:08:44 +0000 (19:08 +0000)]
2010-11-29  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Crash in WebCore::CSSStyleSelector::loadPendingImages
        https://bugs.webkit.org/show_bug.cgi?id=50149

        Null-check style->boxReflect() when loading pending style images.

        Test: fast/reflections/pending-reflection-mask-crash.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::loadPendingImages):

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

11 years agoBug 48100 - YARR allows what seems like a bogus character-class range
barraclough@apple.com [Mon, 29 Nov 2010 18:52:16 +0000 (18:52 +0000)]
Bug 48100 - YARR allows what seems like a bogus character-class range

Reviewed by Sam Weinig.

JavaScriptCore:

Per ECMA-262 character classes containing character ranges containing
character classes are invalid, eg:
    /[\d-x]/
    /[x-\d]/
    /[\d-\d]/
These should throw a syntax error.

* yarr/RegexParser.h:

LayoutTests:

Add/update layout test results.

* fast/js/regexp-overflow-expected.txt:
* fast/js/regexp-ranges-and-escaped-hyphens-expected.txt:
* fast/js/script-tests/regexp-overflow.js:
* fast/js/script-tests/regexp-ranges-and-escaped-hyphens.js:
* fast/regex/invalid-range-in-class-expected.txt: Added.
* fast/regex/invalid-range-in-class.html: Added.
* fast/regex/script-tests/invalid-range-in-class.js: Added.
* fast/regex/test1-expected.txt:
* fast/regex/test4-expected.txt:
* fast/regex/testinput4:

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

11 years agoDownloads: When the web process crashes, call error callbacks for pending downloads
andersca@apple.com [Mon, 29 Nov 2010 18:46:54 +0000 (18:46 +0000)]
Downloads: When the web process crashes, call error callbacks for pending downloads
https://bugs.webkit.org/show_bug.cgi?id=50164
<rdar://problem/8691170>

Reviewed by Sam Weinig.

* UIProcess/API/C/WKContext.h:
Add processDidCrash callback.

* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::~DownloadProxy):
Assert that the web context is null.

(WebKit::DownloadProxy::processDidClose):
Call the processDidCrash callback.

(WebKit::DownloadProxy::didFinish):
(WebKit::DownloadProxy::didFail):
Call downloadFinished.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::processDidClose):
Call processDidClose on all pending downloads.

(WebKit::WebContext::downloadFinished):
Remove the download proxy from the map.

* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::processDidCrash):
Call the processDidCrash callback function.

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

11 years ago2010-11-29 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 29 Nov 2010 18:36:41 +0000 (18:36 +0000)]
2010-11-29  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: crash upon inspecting user style sheet.
        https://bugs.webkit.org/show_bug.cgi?id=50109

        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyleSheet::resourceStyleSheetText):

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

11 years ago2010-11-29 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 29 Nov 2010 18:19:18 +0000 (18:19 +0000)]
2010-11-29  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Darin Fisher.

        Web Inspector: [Chromium] Expose extension API to select a node in WebInspector
        Added WebDevToolsAgent::inspect()
        https://bugs.webkit.org/show_bug.cgi?id=49727

        * public/WebDevToolsAgent.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::inspectNode):
        * src/WebDevToolsAgentImpl.h:

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

11 years ago2010-11-29 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 29 Nov 2010 18:17:37 +0000 (18:17 +0000)]
2010-11-29  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WINCE] Implement WebCore::directoryName
        https://bugs.webkit.org/show_bug.cgi?id=50031

        Also fix handling of paths without path separator.

        * platform/wince/FileSystemWinCE.cpp:
        (WebCore::reverseFindPathSeparator):
        (WebCore::makeAllDirectories):
        (WebCore::pathGetFileName):
        (WebCore::directoryName):

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

11 years ago2010-11-29 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 29 Nov 2010 17:52:57 +0000 (17:52 +0000)]
2010-11-29  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Simplify directoryName in FileSystemWin.cpp
        https://bugs.webkit.org/show_bug.cgi?id=50028

        * platform/win/FileSystemWin.cpp:
        (WebCore::directoryName):

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

11 years ago2010-11-24 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 17:52:20 +0000 (17:52 +0000)]
2010-11-24  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r71934): Main search field at Apple tech specs does not accept typing
        https://bugs.webkit.org/show_bug.cgi?id=49868

        * fast/forms/disabled-search-input-expected.txt: Added.
        * fast/forms/disabled-search-input.html: Added.
2010-11-24  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        REGRESSION (r71934): Main search field at Apple tech specs does not accept typing
        https://bugs.webkit.org/show_bug.cgi?id=49868

        The problem here was that the inner text element of search input was first laid out as
        disabled and thus with a 0-height. This would prevent a hit test to ever reach it, even
        if it's enabled.

        Test: fast/forms/disabled-search-input.html

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::hasLineIfEmpty): Removed a check for textarea that is no longer necessary.
        * rendering/TextControlInnerElements.cpp:
        (WebCore::RenderTextControlInnerBlock::hasLineIfEmpty): Added an override to ensure that
            an empty inner text element is always one-line high.

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

11 years ago2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 17:42:25 +0000 (17:42 +0000)]
2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>

        [Chromium] Remove python_24 dependency, because it is no longer necessary.

        * DEPS: Removed python_24 dependency.

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

11 years ago2010-11-29 Vitaly Repeshko <vitalyr@chromium.org>
vitalyr@chromium.org [Mon, 29 Nov 2010 17:39:58 +0000 (17:39 +0000)]
2010-11-29  Vitaly Repeshko  <vitalyr@chromium.org>

        Unreviewed.

        [chromium] Updating test expecations.

        * platform/chromium/test_expectations.txt:

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

11 years ago2010-11-29 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Mon, 29 Nov 2010 17:23:53 +0000 (17:23 +0000)]
2010-11-29  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Null-check needed in DRT's AccessibilityUIElement::allAtributes()
        https://bugs.webkit.org/show_bug.cgi?id=50154

        Added missing checks to allAttributes().

        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
        (AccessibilityUIElement::allAttributes): Added missing checks.

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

11 years ago2010-11-29 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Mon, 29 Nov 2010 17:01:29 +0000 (17:01 +0000)]
2010-11-29  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Try fixing python test failure from commit 72802.

        * platform/mac/test_expectations.txt:

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

11 years ago2010-11-29 W. James MacLean <wjmaclean@chromium.org>
inferno@chromium.org [Mon, 29 Nov 2010 16:18:50 +0000 (16:18 +0000)]
2010-11-29  W. James MacLean  <wjmaclean@chromium.org>

       Reviewed by Dirk Schulze.

       Large input numbers cause overflow during SVG parsing, leading to crash
       https://bugs.webkit.org/show_bug.cgi?id=49546

       Values outside the range supported by float lead to Infinity() or NaN()
       during parsing, leading to subsequent crashes. Modified
       parser to verify number is in the supported range, and return false if not.

       Tests: svg/custom/svg-parse-overflow-1.html
              svg/custom/svg-parse-overflow-2.html
              svg/custom/svg-parse-overflow-3.html
              svg/custom/svg-parse-overflow-4.html
              svg/custom/svg-parse-overflow-5.html

       * svg/SVGParserUtilities.cpp:
       (WebCore::isValidRange):
       (WebCore::genericParseNumber):
2010-11-29  W. James MacLean  <wjmaclean@chromium.org>

        Reviewed by Dirk Schulze.

        Large input numbers cause overflow during SVG parsing, leading to crash
        https://bugs.webkit.org/show_bug.cgi?id=49546

        Values outside the range supported by float lead to Infinity() or NaN()
        during parsing, leading to subsequent crashes. Modified
        parser to verify number is in the supported range, and return false if not.

        * platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.png: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.txt: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.png: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.txt: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.png: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.txt: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.png: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.txt: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.checksum: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.png: Added.
        * platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.txt: Added.
        * platform/chromium/test_expectations.txt:
        * platform/mac/svg/custom/svg-parse-overflow-1-expected.checksum: Added.
        * platform/mac/svg/custom/svg-parse-overflow-1-expected.png: Added.
        * platform/mac/svg/custom/svg-parse-overflow-1-expected.txt: Added.
        * platform/mac/svg/custom/svg-parse-overflow-2-expected.checksum: Added.
        * platform/mac/svg/custom/svg-parse-overflow-2-expected.png: Added.
        * platform/mac/svg/custom/svg-parse-overflow-2-expected.txt: Added.
        * platform/mac/svg/custom/svg-parse-overflow-3-expected.checksum: Added.
        * platform/mac/svg/custom/svg-parse-overflow-3-expected.png: Added.
        * platform/mac/svg/custom/svg-parse-overflow-3-expected.txt: Added.
        * platform/mac/svg/custom/svg-parse-overflow-4-expected.checksum: Added.
        * platform/mac/svg/custom/svg-parse-overflow-4-expected.png: Added.
        * platform/mac/svg/custom/svg-parse-overflow-4-expected.txt: Added.
        * platform/mac/svg/custom/svg-parse-overflow-5-expected.checksum: Added.
        * platform/mac/svg/custom/svg-parse-overflow-5-expected.png: Added.
        * platform/mac/svg/custom/svg-parse-overflow-5-expected.txt: Added.
        * platform/mac/test_expectations.txt:
        * svg/custom/svg-parse-overflow-1.html: Added.
        * svg/custom/svg-parse-overflow-2.html: Added.
        * svg/custom/svg-parse-overflow-3.html: Added.
        * svg/custom/svg-parse-overflow-4.html: Added.
        * svg/custom/svg-parse-overflow-5.html: Added.

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

11 years ago2010-11-29 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Mon, 29 Nov 2010 16:16:07 +0000 (16:16 +0000)]
2010-11-29  Antonio Gomes  <agomes@rim.com>

        Rubber stamped by Csaba Osztrogonác.

        Clean up mac-wk2 Skipped file wrt spatial navigation tests.

        * platform/mac-wk2/Skipped:

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

11 years ago2010-11-29 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 29 Nov 2010 16:04:23 +0000 (16:04 +0000)]
2010-11-29  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: display name of an object constructor as the object's type
        https://bugs.webkit.org/show_bug.cgi?id=50063

        Name of the function that has created given object is used as the object's
        type when it's displayed in the inspector front-end(in case of V8). Before
        this change, it was always a value of the object's constructor.name property
        which is confusing in some cases(see the test).

        Removed check for jsEngine from the InjectedScript.js, all VM-specific code
        is now encapsulated on the bindings layer.

        Test: inspector/console-object-constructor-name.html

        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::createInjectedScript):
        (WebCore::JSInjectedScriptHost::constructorName):
        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        (WebCore::InjectedScriptHost::createInjectedScript):
        (WebCore::V8InjectedScriptHost::constructorNameCallback):
        * inspector/InjectedScriptHost.idl:
        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor.):

2010-11-29  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: display name of an object constructor as the object's type
        https://bugs.webkit.org/show_bug.cgi?id=50063

        * inspector/console-object-constructor-name-expected.txt: Added.
        * inspector/console-object-constructor-name.html: Added.
        * inspector/extensions-events-expected.txt:
        * platform/chromium/inspector/console-object-constructor-name-expected.txt: Added.

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

11 years ago2010-11-29 Jeremy Moskovich <jeremy@chromium.org>
jeremy@chromium.org [Mon, 29 Nov 2010 15:51:51 +0000 (15:51 +0000)]
2010-11-29  Jeremy Moskovich  <jeremy@chromium.org>

        Reviewed by Eric Seidel.

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

        Remove temporary workaround to load Gears plugin.

        * html/HTMLObjectElement.cpp:
        (WebCore::HTMLObjectElement::rendererIsNeeded):

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

11 years ago2010-11-29 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 29 Nov 2010 15:45:14 +0000 (15:45 +0000)]
2010-11-29  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping crashing test.

        [GStreamer] fast/events/tabindex-focus-blur-all.html crashes
        https://bugs.webkit.org/show_bug.cgi?id=50155

        * platform/gtk/Skipped:

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

11 years agoSpatial Navigation: Store more information in FocusCandidate
yael.aharon@nokia.com [Mon, 29 Nov 2010 15:40:24 +0000 (15:40 +0000)]
Spatial Navigation: Store more information in FocusCandidate
https://bugs.webkit.org/show_bug.cgi?id=50153

Reviewed by Antonio Gomes.

More information should be stored in FocusCandidate, to avoid
recalculating it when running the spatial navigation algorithm.

No new tests, since this is code refactoring only.

* page/FocusController.cpp:
(WebCore::updateFocusCandidateIfNeeded):
(WebCore::FocusController::findFocusCandidateInContainer):
(WebCore::FocusController::advanceFocusDirectionallyInContainer):
* page/SpatialNavigation.cpp:
(WebCore::FocusCandidate::FocusCandidate):
(WebCore::canBeScrolledIntoView):
* page/SpatialNavigation.h:
(WebCore::FocusCandidate::FocusCandidate):

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

11 years ago2010-11-29 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 15:12:39 +0000 (15:12 +0000)]
2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Use the right focusable check to avoid multiple focus/blur events being fired from inside of the shadow DOM.
        https://bugs.webkit.org/show_bug.cgi?id=49977

        * fast/events/shadow-boundary-crossing-2.html: Added a test for multiple focus events.
        * fast/events/shadow-boundary-crossing-2-expected.txt: Added new test expectation.
2010-11-29  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Use the right focusable check to avoid multiple focus/blur events being fired from inside of the shadow DOM.
        https://bugs.webkit.org/show_bug.cgi?id=49977

        * editing/SelectionController.cpp:
        (WebCore::SelectionController::setFocusedNodeIfNeeded): Added a FIXME to remove redundant code.
        * page/EventHandler.cpp:
        (WebCore::EventHandler::dispatchMouseEvent): Changed to use isMouseFocusable, which is what shadow DOM elements
            override, and added a FIXME to convert to use shadow DOM-aware traversal instead of render tree traversal.

        Test: fast/events/shadow-boundary-crossing-2.html

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

11 years agoWindows build fix after r72715
aroben@apple.com [Mon, 29 Nov 2010 15:06:03 +0000 (15:06 +0000)]
Windows build fix after r72715

* WebCore.vcproj/WebCore.vcproj: Add a missing </File> tag to fix an
XML syntax error.

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

11 years ago2010-11-29 Bernhard Bauer <bauerb@chromium.org>
commit-queue@webkit.org [Mon, 29 Nov 2010 14:47:22 +0000 (14:47 +0000)]
2010-11-29  Bernhard Bauer  <bauerb@chromium.org>

        Reviewed by Jeremy Orlow.

        Remove databaseFileName from IDBFactoryBackendImpl
        https://bugs.webkit.org/show_bug.cgi?id=50150

        No new tests, since functionality is unchanged.

        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::openSQLiteDatabase):
        * storage/IDBFactoryBackendImpl.h:
2010-11-29  Bernhard Bauer  <bauerb@chromium.org>

        Reviewed by Jeremy Orlow.

        Remove databaseFileName from WebIDBFactory
        https://bugs.webkit.org/show_bug.cgi?id=50150

        * WebKit.gyp:
        * public/WebIDBFactory.h:
        (WebKit::WebIDBFactory::open):
        * src/WebIDBFactory.cpp: Removed.

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

11 years ago2010-11-29 Philippe Normand <pnormand@igalia.com>
commit-queue@webkit.org [Mon, 29 Nov 2010 14:29:00 +0000 (14:29 +0000)]
2010-11-29  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Xan Lopez.

        [GStreamer] take video sink ownership with gst_object API
        https://bugs.webkit.org/show_bug.cgi?id=49011

        Use gst_object_ref_sink instead of g_object_ref_sink to avoid
        possible leaks.

        * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
        (WebCore::MediaPlayerPrivateGStreamer::createGSTPlayBin):

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

11 years ago2010-11-29 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 29 Nov 2010 13:28:51 +0000 (13:28 +0000)]
2010-11-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Allow pre-generation for package builds for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=50139

        Use a build variable for the generated directory path and set the
        value based on CONFIG just like for WebKit1.

        For non-package builds use a relative base path for the
        genrated directory just like for WebKit1.

        * DerivedSources.pro:
        * WebKit2.pro:
2010-11-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Allow pre-generation for package builds for WebKit2
        https://bugs.webkit.org/show_bug.cgi?id=50139

        Use a build variable for the generated directory path and set the
        value based on CONFIG just like for WebKit1.

        For non-package builds use a relative base path for the
        genrated directory just like for WebKit1.

        * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
        * WebKitTestRunner/qt/WebKitTestRunner.pro:

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

11 years ago[Mac] fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html...
yael.aharon@nokia.com [Mon, 29 Nov 2010 13:20:27 +0000 (13:20 +0000)]
[Mac] fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction.html fails
https://bugs.webkit.org/show_bug.cgi?id=47449

Reviewed by Antonio Gomes.

Remove test from skip list, it is passing now.

* platform/mac/Skipped:

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

11 years ago[Mac] fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element...
yael.aharon@nokia.com [Mon, 29 Nov 2010 13:15:05 +0000 (13:15 +0000)]
[Mac] fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element.html fails
https://bugs.webkit.org/show_bug.cgi?id=47448

Reviewed by Antonio Gomes.

Remove test from skip list, it is passing now and does not depend on font metrics anymore.

* platform/mac/Skipped:

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

11 years ago2010-11-29 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Mon, 29 Nov 2010 12:35:16 +0000 (12:35 +0000)]
2010-11-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] Tooltips should be fully keyboard accessible
        https://bugs.webkit.org/show_bug.cgi?id=25525

        Position the tooltip under the current focused element when the
        tooltip has been triggered using the keyboard.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_query_tooltip):
        (webkit_web_view_show_help):
        (webkit_web_view_class_init):

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

11 years ago2010-11-29 Jan Erik Hanssen <jhanssen@sencha.com>
commit-queue@webkit.org [Mon, 29 Nov 2010 12:05:56 +0000 (12:05 +0000)]
2010-11-29  Jan Erik Hanssen  <jhanssen@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        QtWebKit asserts when selecting elided text.
        https://bugs.webkit.org/show_bug.cgi?id=45391

        Ensure that the length passed to fromRawDataWithoutRef() does
        not exceed the length of the string.

        * platform/graphics/qt/FontQt.cpp:
        (WebCore::Font::selectionRectForSimpleText):

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

11 years ago2010-11-29 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Mon, 29 Nov 2010 11:50:17 +0000 (11:50 +0000)]
2010-11-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Tooltips not shown when scrolling
        https://bugs.webkit.org/show_bug.cgi?id=50143

        Convert tooltip area to window coordinates so that tooltips are
        shown even after scrolling.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::mouseDidMoveOverElement):

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

11 years ago2010-11-26 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 29 Nov 2010 11:28:22 +0000 (11:28 +0000)]
2010-11-26  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Styles Gear Menu Choice to Display Colors "As Authored"
        https://bugs.webkit.org/show_bug.cgi?id=31614

        * English.lproj/localizedStrings.js:
        * inspector/front-end/Color.js:
        (WebInspector.Color.prototype.toString):
        (WebInspector.Color.prototype._parse.this.rgba.set 0):
        (WebInspector.Color.prototype._parse.set WebInspector):
        (WebInspector.Color.prototype._parse):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.processColor.nextFormat):
        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.processColor.changeColorDisplay):

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

11 years ago2010-11-29 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Mon, 29 Nov 2010 10:41:28 +0000 (10:41 +0000)]
2010-11-29  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: update tutorial.html
        https://bugs.webkit.org/show_bug.cgi?id=50140

        removeObjectStore() was renamed to deleteObjectStore()

        * storage/indexeddb/tutorial.html:

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

11 years ago2010-11-29 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Mon, 29 Nov 2010 10:12:08 +0000 (10:12 +0000)]
2010-11-29  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
        https://bugs.webkit.org/show_bug.cgi?id=50141

        New fast canvas test to ensure correct fillRect shadow when using
        ctx.scale(x,y).

        * fast/canvas/canvas-scale-fillRect-shadow-expected.txt: Added.
        * fast/canvas/canvas-scale-fillRect-shadow.html: Added.
        * fast/canvas/script-tests/canvas-scale-fillRect-shadow.js: Added.
2010-11-29  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
        https://bugs.webkit.org/show_bug.cgi?id=50141

        Don't apply scaling transformation to shadow offsets.

        Test: fast/canvas/canvas-scale-fillRect-shadow.html

        * platform/graphics/ContextShadow.h:
        * platform/graphics/qt/ContextShadowQt.cpp:
        (WebCore::ContextShadow::beginShadowLayer):
        (WebCore::ContextShadow::endShadowLayer):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::fillRect):

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

11 years ago2010-11-28 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 29 Nov 2010 06:45:38 +0000 (06:45 +0000)]
2010-11-28  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Default event handlers should also be using event retargeting.
        https://bugs.webkit.org/show_bug.cgi?id=49986

        * fast/events/shadow-boundary-crossing-2.html: Added a test.
        * fast/events/shadow-boundary-crossing-2-expected.txt: Modified expectations to include new test.
2010-11-28  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Default event handlers should also be using event retargeting.
        https://bugs.webkit.org/show_bug.cgi?id=49986

        Test: fast/events/shadow-boundary-crossing-2.html

        * dom/EventContext.cpp:
        (WebCore::EventContext::defaultEventHandler): Added.
        * dom/EventContext.h: Added decl.
        * dom/Node.cpp:
        (WebCore::Node::dispatchGenericEvent): Changed to use event retargeting for
            default event handlers.

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

11 years ago2010-11-23 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 29 Nov 2010 01:06:54 +0000 (01:06 +0000)]
2010-11-23  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        REGRESSION: Text on <input type="search"> is not spellchecked.
        https://bugs.webkit.org/show_bug.cgi?id=49651

        * editing/spelling/spellcheck-attribute.html: Added <input type="search"> cases.
        * editing/spelling/spellcheck-attribute-expected.txt:
2010-11-23  MORITA Hajime  <morrita@google.com>

        Reviewed by Kent Tamura.

        REGRESSION: Text on <input type="search"> is not spellchecked.
        https://bugs.webkit.org/show_bug.cgi?id=49651

        TextControlInnerElement::isSpellCheckingEnabled() didn't consider
        non-root shadow elelements and always went false for <input type="search>.
        This change unifies shadow and host handling into Element::isSpellCheckingEnabled().

        Test: editing/spelling/spellcheck-attribute.html

        * dom/Element.cpp:
        (WebCore::Element::isSpellCheckingEnabled):
        * rendering/TextControlInnerElements.cpp:
        * rendering/TextControlInnerElements.h:

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

11 years agoBug 48101 - Yarr gives different results for /(?:a*?){2,}/
barraclough@apple.com [Mon, 29 Nov 2010 00:45:16 +0000 (00:45 +0000)]
Bug 48101 - Yarr gives different results for /(?:a*?){2,}/

Reviewed by Sam Weinig.

JavaScriptCore:

The test cases in the linked mozilla bug demostrate a couple of
problems in subpattern matching. These bugs lie in the optimized
cases - for matching parentheses with a quantity count of 1, and
for matching greedy quantified parentheses at the end of a regex
(which do not backtrack).

In both of these cases we are failing to correctly handle empty
matches. In the case of parenthese-single matches (quantity count
one) we are failing to test for empty matches at all. In the case
of terminal subpattern matches we do currenty check, however there
is a subtler bug here too. In the case of an empty match we will
presently immediately fall through to the next alternative (or
complete the regex match), whereas upon a failed match we should
be backtracking into the failing alternative, to give it a chance
to match further (e.g. consider /a??b?|a/.exec("ab") - upon first
attempting to match the first alternative this will match the empty
string - since a?? is non-greedy, however rather than moving on to
the second alternative we should be re-matching the first one, at
which point the non-greedy a?? will match, and as such the result
should be "ab", not "a").

Terminal sunpattern matching contains a second bug, too. The frame
location values in the subpattern should be being allocated with
the outer disjunction's frame (as we do for the parentheses-single
optimization). Consider the following three regexes:
    /a*(?:b*)*c*/
    /a*(?:b*)c*/
    /a*(?:b*)*/
Considering only the frame location required by the atoms a,b, and
c, (ignoring space associated with the nested subpattern) the first
regex (a normal subpattern match) requires a frame size of 2 for
the outer disjunction, (to backtrack terms a & c), with each
iteration of the subpattern requiring a frame of size 1 (in order
to backtrack b). In the case of the second regex (where the
parentheses-single optimization will kick in) the outer frame must
be set up with a frame size of 3, since the outer frame will also
be used when running the nested subpattern. We will currently only
allocate a farme of size 1 for the outer disjuntion (to contain a),
howver the frame size should be 2 (since the subpattern will be
evaluated in the outer frame). In addition to failing to allocate
frame space the frame offsets are also presently invalid - in the
case of the last regex b's frame location will be set assuming it
to be the first term in the frame, whereas in this case b lies
after the term a, and should be taking a separate frame location.

In order to correctly allocate the frame for terminal subpattern
matches we must move this optimization back up from the JIT into
the compiler (and thus interpreter too), since this is where the
frame allocation takes place.

* yarr/RegexCompiler.cpp:
(JSC::Yarr::RegexPatternConstructor::setupAlternativeOffsets):
(JSC::Yarr::RegexPatternConstructor::checkForTerminalParentheses):
(JSC::Yarr::compileRegex):
* yarr/RegexInterpreter.cpp:
(JSC::Yarr::Interpreter::matchParenthesesOnceBegin):
(JSC::Yarr::Interpreter::matchParenthesesOnceEnd):
(JSC::Yarr::Interpreter::backtrackParenthesesOnceBegin):
(JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd):
(JSC::Yarr::Interpreter::matchParenthesesTerminalBegin):
(JSC::Yarr::Interpreter::matchParenthesesTerminalEnd):
(JSC::Yarr::Interpreter::backtrackParenthesesTerminalBegin):
(JSC::Yarr::Interpreter::backtrackParenthesesTerminalEnd):
(JSC::Yarr::Interpreter::matchDisjunction):
(JSC::Yarr::ByteCompiler::atomParenthesesOnceBegin):
(JSC::Yarr::ByteCompiler::atomParenthesesTerminalBegin):
(JSC::Yarr::ByteCompiler::atomParenthesesSubpatternBegin):
(JSC::Yarr::ByteCompiler::atomParentheticalAssertionEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesSubpatternEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesOnceEnd):
(JSC::Yarr::ByteCompiler::atomParenthesesTerminalEnd):
(JSC::Yarr::ByteCompiler::emitDisjunction):
* yarr/RegexInterpreter.h:
* yarr/RegexJIT.cpp:
(JSC::Yarr::RegexGenerator::generateParenthesesSingle):
(JSC::Yarr::RegexGenerator::generateParenthesesGreedyNoBacktrack):
(JSC::Yarr::RegexGenerator::generateTerm):
* yarr/RegexPattern.h:
(JSC::Yarr::PatternTerm::PatternTerm):

LayoutTests:

Add layout tests for corner cases of repeat matches in regular expressions,
and of the examples documented in the ECMA-262 spec .

* fast/regex/ecma-regex-examples-expected.txt: Added.
* fast/regex/ecma-regex-examples.html: Added.
* fast/regex/repeat-match-waldemar-expected.txt: Added.
* fast/regex/repeat-match-waldemar.html: Added.
* fast/regex/script-tests/ecma-regex-examples.js: Added.
* fast/regex/script-tests/repeat-match-waldemar.js: Added.

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

11 years ago2010-11-28 Antonio Gomes <agomes@rim.com>
commit-queue@webkit.org [Sun, 28 Nov 2010 18:51:38 +0000 (18:51 +0000)]
2010-11-28  Antonio Gomes  <agomes@rim.com>

        Reviewed by Kenneth Rohde Christiansen.

        Spatial Navigation: use isSpatialNaviagtionEnabled from SpatialNavigation.h in HTMLInputElement::defaultEventHandler
        https://bugs.webkit.org/show_bug.cgi?id=50131

        For all isSpatialNavigationEnabled calls throughout WebCore, we decided to use the static method in
        SpatialNavigation.h instead of directly checking from the one in Settings.h. Reason: in a soon future,
        there  will be a isCaretBrowsing check incorporated into this method (and probably renaming it accordingly)
        to avoid feature conflicts (spatial navigation x caret browsing).

        No new tests needed.

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::defaultEventHandler):

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

11 years ago2010-11-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Sun, 28 Nov 2010 18:32:26 +0000 (18:32 +0000)]
2010-11-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Move some build logic from Qt to platform independent code
        https://bugs.webkit.org/show_bug.cgi?id=50134

        Remove the creation of the directories under $$OUTPUT_DIR/include
        as these will be handled by the fwheader_generator target.

        Remove the explicit generation of $$OUTPUT_DIR/WebKit2/generated as
        this is not required.

        * DerivedSources.pro:
2010-11-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Move some build logic from Qt to platform independent code
        https://bugs.webkit.org/show_bug.cgi?id=50134

        Create target directories inside generate-forwarding-headers.pl.

        * Scripts/generate-forwarding-headers.pl:

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

11 years ago2010-11-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Sun, 28 Nov 2010 17:34:28 +0000 (17:34 +0000)]
2010-11-28  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Antonio Gomes.

        [Qt] Remove unused BASE_DIR from the build system
        https://bugs.webkit.org/show_bug.cgi?id=50132

        * WebKit.pri:

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

11 years ago2010-11-27 Benjamin Kalman <kalman@chromium.org>
commit-queue@webkit.org [Sun, 28 Nov 2010 02:54:43 +0000 (02:54 +0000)]
2010-11-27  Benjamin Kalman  <kalman@chromium.org>

        Reviewed by Darin Adler.

        Move Position::EditingBoundaryCrossingRule to a new header file
        https://bugs.webkit.org/show_bug.cgi?id=49630

        * GNUmakefile.am:
        * WebCore.exp.in:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/Position.cpp:
        (WebCore::downstreamIgnoringEditingBoundaries):
        (WebCore::upstreamIgnoringEditingBoundaries):
        * dom/Position.h:
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::doApply):
        * editing/EditingBoundary.h: Added.
        * editing/visible_units.cpp:
        (WebCore::startOfParagraph):
        (WebCore::endOfParagraph):
        (WebCore::isStartOfParagraph):
        (WebCore::isEndOfParagraph):
        * editing/visible_units.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::createVisiblePosition):

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

11 years ago2010-11-26 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Sat, 27 Nov 2010 09:15:13 +0000 (09:15 +0000)]
2010-11-26  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Simon Fraser.

        Percentage z offset in transform-origin should make the property invalid
        https://bugs.webkit.org/show_bug.cgi?id=48704

        Discard transform-origin property when parsing invalid Z value.

        Test: fast/css/transform-origin-parsing.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseTransformOriginShorthand):
        (WebCore::CSSParser::parseTransformOrigin):
        * css/CSSParser.h:

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

11 years ago2010-11-26 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 26 Nov 2010 20:40:15 +0000 (20:40 +0000)]
2010-11-26  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed fix for chromium test expectations.

        * platform/chromium-gpu/test_expectations.txt:
        added: BUGWK50112 WIN LINUX : fast/canvas/canvas-createPattern-fillRect-shadow.html = TEXT

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

11 years ago<rdar://problem/8681368> Avoid unnecessary calls to CTFontGetPlatformFont()
mitz@apple.com [Fri, 26 Nov 2010 20:18:09 +0000 (20:18 +0000)]
<rdar://problem/8681368> Avoid unnecessary calls to CTFontGetPlatformFont()
https://bugs.webkit.org/show_bug.cgi?id=50096

Reviewed by Antti Koivisto.

No new test, since functionality is unchanged.

* platform/graphics/chromium/CrossProcessFontLoading.mm:
(WebCore::FontPlatformData::loadFont): Removed the ATSUFontID argument.
* platform/graphics/cocoa/FontPlatformData.h:
(WebCore::FontPlatformData::FontPlatformData): Ditto.
(WebCore::FontPlatformData::operator==): Removed comparison of font IDs.
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::loadFont): Removed the ATSUFontID argument.
(WebCore::FontPlatformData::FontPlatformData): Updated.
(WebCore::FontPlatformData::operator=): Removed copying of font ID.
(WebCore::FontPlatformData::setFont): Removed setting of font ID.
* platform/graphics/mac/ComplexTextControllerATSUI.cpp:
(WebCore::initializeATSUStyle): Call CTFontGetPlatformFont() here if necessary.
* platform/graphics/mac/FontCustomPlatformData.cpp:
(WebCore::FontCustomPlatformData::fontPlatformData): Updated for FontPlatformData change.
(WebCore::createFontCustomPlatformData): Updated for FontCustomPlatformData change.
* platform/graphics/mac/FontCustomPlatformData.h:
(WebCore::FontCustomPlatformData::FontCustomPlatformData): Removed ATSUFontID argument and
data member.
* platform/graphics/mac/SimpleFontDataATSUI.mm:
(WebCore::SimpleFontData::checkShapesArabic): Call CTFontGetPlatformFont() here if necessary.

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

11 years ago2010-11-26 François Sausset <sausset@gmail.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 18:01:08 +0000 (18:01 +0000)]
2010-11-26  François Sausset  <sausset@gmail.com>

        Reviewed by Daniel Bates.

        MathML: code cleaning needed in MathMLInlineContainerElement.cpp
        https://bugs.webkit.org/show_bug.cgi?id=50069

        Unnecessary namespace was removed and style was adjusted.

        * mathml/MathMLInlineContainerElement.cpp:
        (WebCore::MathMLInlineContainerElement::createRenderer):

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

11 years ago2010-11-26 Carlos Garcia Campos <cgarcia@igalia.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 17:43:06 +0000 (17:43 +0000)]
2010-11-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Inspector: add a way to inspect a WebKitDOMNode
        https://bugs.webkit.org/show_bug.cgi?id=49903

        * webkit/webkitwebinspector.cpp:
        (webkit_web_inspector_inspect_node):
        * webkit/webkitwebinspector.h:

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

11 years ago2010-11-26 Andrei Popescu <andreip@google.com>
andreip@google.com [Fri, 26 Nov 2010 16:58:57 +0000 (16:58 +0000)]
2010-11-26  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
        https://bugs.webkit.org/show_bug.cgi?id=50113

        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-removeobjectstore-expected.txt:
        * storage/indexeddb/objectstore-removeobjectstore.html:
        * storage/indexeddb/resources/shared.js:
        (deleteAllObjectStores):
        * storage/indexeddb/transaction-basics-expected.txt:
        * storage/indexeddb/transaction-basics.html:

2010-11-26  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
        https://bugs.webkit.org/show_bug.cgi?id=50113

        Modified exisiting layout tests to cover this change.

        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::deleteObjectStore):
        * storage/IDBDatabase.h:
        * storage/IDBDatabase.idl:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::deleteObjectStore):
        (WebCore::IDBDatabaseBackendImpl::deleteObjectStoreInternal):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBDatabaseBackendInterface.h:
        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::deleteFunction):
        (WebCore::IDBObjectStore::deleteIndex):
        * storage/IDBObjectStore.h:
        * storage/IDBObjectStore.idl:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::deleteFunction):
        (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
        (WebCore::IDBObjectStoreBackendImpl::deleteIndex):
        (WebCore::IDBObjectStoreBackendImpl::deleteIndexInternal):
        * storage/IDBObjectStoreBackendImpl.h:
        * storage/IDBObjectStoreBackendInterface.h:

2010-11-26  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        IDBDatabase and IDBObjectStore remove* methods should be renamed to delete*
        https://bugs.webkit.org/show_bug.cgi?id=50113

        * public/WebIDBDatabase.h:
        (WebKit::WebIDBDatabase::deleteObjectStore):
        (WebKit::WebIDBDatabase::removeObjectStore):
        * public/WebIDBObjectStore.h:
        (WebKit::WebIDBObjectStore::remove):
        (WebKit::WebIDBObjectStore::deleteFunction):
        (WebKit::WebIDBObjectStore::deleteIndex):
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::deleteObjectStore):
        * src/IDBDatabaseProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::deleteFunction):
        (WebCore::IDBObjectStoreProxy::deleteIndex):
        * src/IDBObjectStoreProxy.h:
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::deleteObjectStore):
        * src/WebIDBDatabaseImpl.h:
        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::deleteFunction):
        (WebKit::WebIDBObjectStoreImpl::deleteIndex):
        * src/WebIDBObjectStoreImpl.h:

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

11 years ago2010-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 16:53:25 +0000 (16:53 +0000)]
2010-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72701.
        http://trac.webkit.org/changeset/72701
        https://bugs.webkit.org/show_bug.cgi?id=50114

        REGRESSION: bad transform matrix on content layer (Requested
        by backer on #webkit).

        * compositing/lots-of-img-layers-with-opacity.html: Removed.
        * compositing/lots-of-img-layers.html: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.checksum: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.png: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-expected.txt: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.checksum: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.png: Removed.
        * platform/chromium-gpu-win/compositing/lots-of-img-layers-with-opacity-expected.txt: Removed.
        * platform/chromium-gpu/test_expectations.txt:
        * platform/mac/compositing/lots-of-img-layers-expected.checksum: Removed.
        * platform/mac/compositing/lots-of-img-layers-expected.png: Removed.
        * platform/mac/compositing/lots-of-img-layers-expected.txt: Removed.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.checksum: Removed.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.png: Removed.
        * platform/mac/compositing/lots-of-img-layers-with-opacity-expected.txt: Removed.
2010-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r72701.
        http://trac.webkit.org/changeset/72701
        https://bugs.webkit.org/show_bug.cgi?id=50114

        REGRESSION: bad transform matrix on content layer (Requested
        by backer on #webkit).

        * WebCore.gypi:
        * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
        (WebCore::Canvas2DLayerChromium::updateContents):
        * platform/graphics/chromium/Canvas2DLayerChromium.h:
        * platform/graphics/chromium/ContentLayerChromium.cpp:
        (WebCore::ContentLayerChromium::cleanupResources):
        (WebCore::ContentLayerChromium::updateContents):
        (WebCore::ContentLayerChromium::updateTextureRect):
        (WebCore::ContentLayerChromium::draw):
        * platform/graphics/chromium/ContentLayerChromium.h:
        * platform/graphics/chromium/ImageLayerChromium.cpp:
        (WebCore::ImageLayerChromium::updateContents):
        * platform/graphics/chromium/ImageLayerChromium.h:
        * platform/graphics/chromium/LayerChromium.h:
        (WebCore::LayerChromium::contentsDirty):
        (WebCore::LayerChromium::updateContents):
        (WebCore::LayerChromium::draw):
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::LayerRendererChromium):
        (WebCore::LayerRendererChromium::prepareToDrawLayers):
        (WebCore::LayerRendererChromium::drawLayers):
        (WebCore::LayerRendererChromium::updateLayersRecursive):
        (WebCore::LayerRendererChromium::useRenderSurface):
        (WebCore::LayerRendererChromium::drawLayer):
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        (WebCore::LayerRendererChromium::cleanupSharedObjects):
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/LayerTexture.cpp: Removed.
        * platform/graphics/chromium/LayerTexture.h: Removed.
        * platform/graphics/chromium/PluginLayerChromium.cpp:
        (WebCore::PluginLayerChromium::updateContents):
        * platform/graphics/chromium/PluginLayerChromium.h:
        * platform/graphics/chromium/RenderSurfaceChromium.cpp:
        (WebCore::RenderSurfaceChromium::RenderSurfaceChromium):
        (WebCore::RenderSurfaceChromium::cleanupResources):
        (WebCore::RenderSurfaceChromium::prepareContentsTexture):
        * platform/graphics/chromium/RenderSurfaceChromium.h:
        * platform/graphics/chromium/TextureManager.cpp: Removed.
        * platform/graphics/chromium/TextureManager.h: Removed.
        * platform/graphics/chromium/VideoLayerChromium.cpp:
        (WebCore::VideoLayerChromium::updateContents):
        * platform/graphics/chromium/VideoLayerChromium.h:
        * platform/graphics/chromium/WebGLLayerChromium.cpp:
        (WebCore::WebGLLayerChromium::updateContents):
        * platform/graphics/chromium/WebGLLayerChromium.h:

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

11 years ago2010-11-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 26 Nov 2010 16:51:31 +0000 (16:51 +0000)]
2010-11-26  Jeremy Orlow  <jorlow@chromium.org>

        Unreviewed build fix.

        * storage/IDBIndex.cpp:
        (WebCore::IDBIndex::openCursor):
        (WebCore::IDBIndex::openKeyCursor):
        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::openCursor):

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

11 years ago2010-11-26 Sergio Villar Senin <svillar@igalia.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 16:44:22 +0000 (16:44 +0000)]
2010-11-26  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] SoupCache should not ignore loader's conditional requests
        https://bugs.webkit.org/show_bug.cgi?id=50101

        SoupCache must not handle WebKit loader conditional requests and
        thus should never return its own cached response if any. This was
        causing frequent resource load failures as WebCore was trying to
        revalidate its own resources and was not getting any expected
        result.

        * platform/network/soup/cache/webkit/soup-cache.c:
        (webkit_soup_cache_has_response): check the presence of
        conditional request headers when deciding whether the cache has a
        valid response for a given request.

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

11 years ago2010-11-26 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 26 Nov 2010 16:37:09 +0000 (16:37 +0000)]
2010-11-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Make IDBKeyRange match the spec
        https://bugs.webkit.org/show_bug.cgi?id=50105

        Remove flags and instead add two booleans for being open.
        Change left to lower and right to upper everywhere.

        * storage/indexeddb/constants-expected.txt:
        * storage/indexeddb/constants.html:
        * storage/indexeddb/index-cursor.html:
        * storage/indexeddb/keyrange-expected.txt:
        * storage/indexeddb/keyrange.html:
        * storage/indexeddb/objectstore-cursor.html:
        * storage/indexeddb/open-cursor.html:
        * storage/indexeddb/tutorial.html:
2010-11-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Make IDBKeyRange match the spec
        https://bugs.webkit.org/show_bug.cgi?id=50105

        Remove flags and instead add two booleans for being open.
        Change left to lower and right to upper everywhere.

        * storage/IDBIndexBackendImpl.cpp:
        (WebCore::IDBIndexBackendImpl::openCursorInternal):
        * storage/IDBKey.cpp:
        (WebCore::IDBKey::lowerCursorWhereFragment):
        (WebCore::IDBKey::upperCursorWhereFragment):
        * storage/IDBKey.h:
        * storage/IDBKeyRange.cpp:
        (WebCore::IDBKeyRange::IDBKeyRange):
        (WebCore::IDBKeyRange::only):
        (WebCore::IDBKeyRange::lowerBound):
        (WebCore::IDBKeyRange::upperBound):
        (WebCore::IDBKeyRange::bound):
        (WebCore::IDBKeyRange::lowerWhereClauseComparisonOperator):
        (WebCore::IDBKeyRange::upperWhereClauseComparisonOperator):
        * storage/IDBKeyRange.h:
        (WebCore::IDBKeyRange::create):
        (WebCore::IDBKeyRange::lower):
        (WebCore::IDBKeyRange::upper):
        (WebCore::IDBKeyRange::lowerOpen):
        (WebCore::IDBKeyRange::upperOpen):
        * storage/IDBKeyRange.idl:
        * storage/IDBObjectStoreBackendImpl.cpp:
        (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
2010-11-26  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Make IDBKeyRange match the spec
        https://bugs.webkit.org/show_bug.cgi?id=50105

        Remove flags and instead add two booleans for being open.
        Change left to lower and right to upper everywhere.

        * public/WebIDBKeyRange.h:
        (WebKit::WebIDBKeyRange::WebIDBKeyRange):
        * src/WebIDBKeyRange.cpp:
        (WebKit::WebIDBKeyRange::assign):
        (WebKit::WebIDBKeyRange::left):
        (WebKit::WebIDBKeyRange::right):
        (WebKit::WebIDBKeyRange::lower):
        (WebKit::WebIDBKeyRange::upper):
        (WebKit::WebIDBKeyRange::lowerOpen):
        (WebKit::WebIDBKeyRange::upperOpen):
        (WebKit::WebIDBKeyRange::flags):

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

11 years ago2010-11-25 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 26 Nov 2010 16:33:28 +0000 (16:33 +0000)]
2010-11-25  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Convert open*Cursor and createIndex over to using OptionsObject
        https://bugs.webkit.org/show_bug.cgi?id=50093

        * storage/indexeddb/index-cursor.html:
        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/objectstore-cursor.html:
        * storage/indexeddb/open-cursor-expected.txt:
        * storage/indexeddb/open-cursor.html:
        * storage/indexeddb/tutorial.html:
2010-11-25  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Convert open*Cursor and createIndex over to using OptionsObject
        https://bugs.webkit.org/show_bug.cgi?id=50093

        Add IDBKeyRange to OptionsObject's parsing abilities. Switch
        more APIs over to using it.

        * bindings/v8/OptionsObject.cpp:
        (WebCore::OptionsObject::getKeyDOMStringList):
        (WebCore::OptionsObject::getKeyKeyRange):
        * bindings/v8/OptionsObject.h:
        * storage/IDBIndex.cpp:
        (WebCore::IDBIndex::openCursor):
        (WebCore::IDBIndex::openKeyCursor):
        * storage/IDBIndex.h:
        (WebCore::IDBIndex::openCursor):
        (WebCore::IDBIndex::openKeyCursor):
        * storage/IDBIndex.idl:
        * storage/IDBObjectStore.cpp:
        (WebCore::IDBObjectStore::createIndex):
        (WebCore::IDBObjectStore::openCursor):
        * storage/IDBObjectStore.h:
        (WebCore::IDBObjectStore::createIndex):
        (WebCore::IDBObjectStore::openCursor):
        * storage/IDBObjectStore.idl:

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

11 years ago2010-11-25 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Fri, 26 Nov 2010 16:30:33 +0000 (16:30 +0000)]
2010-11-25  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
        https://bugs.webkit.org/show_bug.cgi?id=50081

        * storage/indexeddb/create-and-remove-object-store-expected.txt: Renamed from LayoutTests/storage/indexeddb/createAndRemoveObjectStore-expected.txt.
        * storage/indexeddb/create-and-remove-object-store.html: Renamed from LayoutTests/storage/indexeddb/createAndRemoveObjectStore.html.
        * storage/indexeddb/create-object-store-options-expected.txt:
        * storage/indexeddb/create-object-store-options.html:
        * storage/indexeddb/resources/shared.js:
        (evalAndExpectException):
        * storage/indexeddb/transaction-and-objectstore-calls-expected.txt: Added.
        * storage/indexeddb/transaction-and-objectstore-calls.html: Added.
        * storage/indexeddb/tutorial.html:
2010-11-25  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
        https://bugs.webkit.org/show_bug.cgi?id=50081

        IDBDatabase.transaction should use the new optional OptionsObject way
        of taking optional paramters. Modify that object to get numbers and
        domStringLists from it. Verify that any requested resources exist and
        return an exception if not.

        When IDBTransaction.objectStore is called, verify that it's one of the
        requested resources. Also verify that it still exists. Plumb the
        exception code to make this work.

        Tests: storage/indexeddb/create-and-remove-object-store.html
               storage/indexeddb/transaction-and-objectstore-calls.html

        * bindings/v8/OptionsObject.cpp:
        (WebCore::OptionsObject::getKeyInteger):
        (WebCore::OptionsObject::getKeyString):
        (WebCore::OptionsObject::getKeyDOMStringList):
        * bindings/v8/OptionsObject.h:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::createObjectStore):
        (WebCore::IDBDatabase::transaction):
        * storage/IDBDatabase.h:
        (WebCore::IDBDatabase::transaction):
        * storage/IDBDatabase.idl:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::transaction):
        * storage/IDBTransaction.cpp:
        (WebCore::IDBTransaction::objectStore):
        * storage/IDBTransactionBackendImpl.cpp:
        (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
        (WebCore::IDBTransactionBackendImpl::objectStore):
        * storage/IDBTransactionBackendImpl.h:
        * storage/IDBTransactionBackendInterface.h:
2010-11-25  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Steve Block.

        Clean up IDBDatabase.transaction and add checks to IDBTransaction.objectStore
        https://bugs.webkit.org/show_bug.cgi?id=50081

        Plumb IDBTransaction.objectStore's exception code.

        * public/WebIDBTransaction.h:
        (WebKit::WebIDBTransaction::objectStore):
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::transaction):
        * src/IDBTransactionBackendProxy.cpp:
        (WebCore::IDBTransactionBackendProxy::objectStore):
        * src/IDBTransactionBackendProxy.h:
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::createObjectStore):
        (WebKit::WebIDBDatabaseImpl::transaction):
        * src/WebIDBTransactionImpl.cpp:
        (WebKit::WebIDBTransactionImpl::objectStore):
        * src/WebIDBTransactionImpl.h:

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

11 years ago2010-11-26 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Fri, 26 Nov 2010 16:18:28 +0000 (16:18 +0000)]
2010-11-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] events missing when a document is (re)loaded
        https://bugs.webkit.org/show_bug.cgi?id=25831

        Make sure webArea returns a proper name and that a signal
        'state-change::defunct' is emitted when detaching the wrapper.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_get_name): Returns the current document's title
        as fallback mechanism for webArea objects.
        (webkit_accessible_detach): Emit 'state-change::defunct' function
        as soon as the wrapper is detached from the related core object.
2010-11-26  Mario Sanchez Prada  <msanchez@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] events missing when a document is (re)loaded
        https://bugs.webkit.org/show_bug.cgi?id=25831

        Emit the right signals when reloading a document.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::notifyAccessibilityStatus): New function, to make sure
        the signals involved in reloading a document are properly emitted.
        (WebKit::notifyStatus): Also notify accessibility if enabled.

        New unit test to check the signals are being actually emitted.

        * tests/testatk.c:
        (stateChangedCb): Callback for 'state-change' signal emitted by
        the accessible object associated to the webView.
        (documentReloadCb): Callback for 'reload' signal.
        (documentLoadCompleteCb): Callback for 'load-complete' signal.
        (webviewLoadStatusChangedCb): Callback for 'notify::load-status'
        signal, emitted by the WebKitWebView object (not the AtkObject).
        (testWebkitAtkDocumentReloadEvents): New unit test.
        (main): Added the new unit test.

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

11 years ago2010-11-26 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 26 Nov 2010 16:01:26 +0000 (16:01 +0000)]
2010-11-26  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed fix for chromium test expectations.
        fast/canvas/canvas-createPattern-fillRect-shadow.html was disabled
        for Win and Linux.

        * platform/chromium/test_expectations.txt:
        added: BUGWK50112 WIN LINUX : fast/canvas/canvas-createPattern-fillRect-shadow.html = TEXT

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

11 years ago2010-11-26 Sergio Villar Senin <svillar@igalia.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 15:52:39 +0000 (15:52 +0000)]
2010-11-26  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Xan Lopez.

        [Gtk] ASSERT(d->m_response.isNull()) in contentSniffedCallback
        https://bugs.webkit.org/show_bug.cgi?id=50083

        ResourceHandleSoup should not listen to content-sniffed signal
        when content sniffing is not enabled. This will prevent us
        reaching an assertion on content-sniffed callback

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::startHttp):
        * platform/network/soup/cache/soup-request-http.c:
        (conditional_get_ready_cb): added a comment with the
        possible fix for a pure libsoup HTTP cache.
        (send_async_cb): prevent an early object finalization adding a
        reference.
        (webkit_soup_request_http_send_async): Ditto.

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

11 years ago[Qt] Remove empty ScrollView::platformInit/platformDestroy
reni@webkit.org [Fri, 26 Nov 2010 15:36:21 +0000 (15:36 +0000)]
[Qt] Remove empty ScrollView::platformInit/platformDestroy
https://bugs.webkit.org/show_bug.cgi?id=50079

Reviewed by Antonio Gomes.

No new test is needed.

* platform/ScrollView.cpp:
(WebCore::ScrollView::wheelEvent):
* platform/qt/ScrollViewQt.cpp:

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

11 years ago2010-11-26 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Fri, 26 Nov 2010 14:59:29 +0000 (14:59 +0000)]
2010-11-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Test inserting invalid values in object store
        https://bugs.webkit.org/show_bug.cgi?id=50110

        Add tests to make sure we throw exceptions when a user tries
        to insert invalid data in the object store.

        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:

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

11 years ago2010-11-26 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 26 Nov 2010 14:54:33 +0000 (14:54 +0000)]
2010-11-26  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Fixing inspector tests.

        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.set timing):

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

11 years ago2010-11-25 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 26 Nov 2010 12:51:16 +0000 (12:51 +0000)]
2010-11-25  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: UI polish for Network and Resources panels.
        https://bugs.webkit.org/show_bug.cgi?id=50100

        - Fixed timing inconsistencies
        - Made grid user-selectable
        - Selection in network panel is made on name column only

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._toggleGridMode):
        (WebInspector.NetworkDataGridNode.prototype.createCells):
        (WebInspector.NetworkDataGridNode.prototype.select):
        (WebInspector.NetworkDataGridNode.prototype.get selectable):
        (WebInspector.NetworkDataGridNode.prototype._createTimelineCell):
        (WebInspector.NetworkDataGridNode.prototype.refreshGraph):
        (WebInspector.NetworkDataGridNode.prototype._refreshLabelPositions):
        * inspector/front-end/Popover.js:
        (WebInspector.PopoverHelper):
        (WebInspector.PopoverHelper.prototype.setTimeout):
        (WebInspector.PopoverHelper.prototype._mouseMove):
        (WebInspector.PopoverHelper.prototype._handleMouseAction):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.get responseReceivedTime):
        (WebInspector.Resource.prototype.set endTime):
        (WebInspector.Resource.prototype.set timing):
        * inspector/front-end/ResourceManager.js:
        (WebInspector.ResourceManager.prototype.didReceiveResponse):
        (WebInspector.ResourceManager.prototype.didFinishLoading):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.FrameResourceTreeElement.prototype._ondragstart):
        * inspector/front-end/networkPanel.css:
        (.network-sidebar .data-grid td:not(.network-summary)):
        (.network-sidebar .data-grid td.name-column):
        (.network.panel:not(.viewing-resource) .network-sidebar td.name-column:hover):
        (.network-timing-row):
        (.network-timing-bar):
        (.network-timing-bar-title):
        (.resource-timing-view):

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

11 years ago2010-11-26 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 11:52:32 +0000 (11:52 +0000)]
2010-11-26  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Blur shadow for rectangle fill
        https://bugs.webkit.org/show_bug.cgi?id=44488

        New fast canvas test to ensure fillRect shadow (with and without blur).

        * fast/canvas/canvas-fillRect-shadow-expected.txt: Added.
        * fast/canvas/canvas-fillRect-shadow.html: Added.
        * fast/canvas/script-tests/canvas-fillRect-shadow.js: Added.
2010-11-26  Helder Correia  <helder@sencha.com>

        Reviewed by Ariya Hidayat.

        [Qt] Blur shadow for rectangle fill
        https://bugs.webkit.org/show_bug.cgi?id=44488

        Shadow color opacity needs to be set when blurring shadow with
        ContextShadow.

        Test: fast/canvas/canvas-fillRect-shadow.html

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::fillRect):

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

11 years ago2010-11-26 Helder Correia <helder@sencha.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 11:25:41 +0000 (11:25 +0000)]
2010-11-26  Helder Correia  <helder@sencha.com>

        Reviewed by Kenneth Rohde Christiansen.

        New fast canvas test: createPattern + fillRect with shadow
        https://bugs.webkit.org/show_bug.cgi?id=50104

        Ensure that fillRect works correctly with an image pattern with
        transparency set as the fillStyle.

        * fast/canvas/canvas-createPattern-fillRect-shadow-expected.txt: Added.
        * fast/canvas/canvas-createPattern-fillRect-shadow.html: Added.
        * fast/canvas/script-tests/canvas-createPattern-fillRect-shadow.js: Added.

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

11 years ago2010-11-25 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Fri, 26 Nov 2010 11:21:02 +0000 (11:21 +0000)]
2010-11-25  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: LayoutTest/inspector/extnesions.html is flaky
        https://bugs.webkit.org/show_bug.cgi?id=50076

        * inspector/extensions-test.js:
        (initialize_ExtensionsTest.dumpSidebarContent):

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

11 years ago2010-11-26 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Fri, 26 Nov 2010 11:03:59 +0000 (11:03 +0000)]
2010-11-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
        https://bugs.webkit.org/show_bug.cgi?id=50102

        Update layout tests to use the new name.

        * storage/indexeddb/database-basics-expected.txt:
        * storage/indexeddb/database-basics.html:
        * storage/indexeddb/database-quota-expected.txt:
        * storage/indexeddb/database-quota.html:
        * storage/indexeddb/objectstore-basics-expected.txt:
        * storage/indexeddb/objectstore-basics.html:
        * storage/indexeddb/resources/shared.js:
        (deleteAllObjectStores):
        * storage/indexeddb/transaction-basics-expected.txt:
        * storage/indexeddb/transaction-basics.html:
        * storage/indexeddb/tutorial.html:
2010-11-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
        https://bugs.webkit.org/show_bug.cgi?id=50102

        Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface

        * manual-tests/indexeddb-persists.html:
        * storage/IDBDatabase.h:
        (WebCore::IDBDatabase::objectStoreNames):
        * storage/IDBDatabase.idl:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::objectStoreNames):
        (WebCore::IDBDatabaseBackendImpl::setVersion):
        (WebCore::IDBDatabaseBackendImpl::transaction):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBDatabaseBackendInterface.h:
2010-11-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: Rename IDBDatabase.objectStores to objectStoreNames
        https://bugs.webkit.org/show_bug.cgi?id=50102

        Rename as per the spec: http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#database-interface

        * public/WebIDBDatabase.h:
        (WebKit::WebIDBDatabase::objectStores):
        (WebKit::WebIDBDatabase::objectStoreNames):
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::objectStoreNames):
        * src/IDBDatabaseProxy.h:
        * src/WebIDBDatabaseImpl.cpp:
        (WebKit::WebIDBDatabaseImpl::objectStoreNames):
        * src/WebIDBDatabaseImpl.h:

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

11 years agoRemove description
andreip@google.com [Fri, 26 Nov 2010 10:52:30 +0000 (10:52 +0000)]
Remove description

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

11 years ago2010-11-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Fri, 26 Nov 2010 06:47:55 +0000 (06:47 +0000)]
2010-11-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed Chromium test expectaion change.
        fast/css/font-face-data-uri.html now passes for WIN and LINUX.

        * platform/chromium/test_expectations.txt:

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

11 years ago2010-11-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Fri, 26 Nov 2010 05:37:09 +0000 (05:37 +0000)]
2010-11-25  Yuzo Fujishima  <yuzo@google.com>

        Unreviewed attempt to fix test falkiness.

        * fast/css/font-face-data-uri.html:

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

11 years ago2010-11-25 Kenichi Ishibashi <bashi@google.com>
commit-queue@webkit.org [Fri, 26 Nov 2010 04:54:55 +0000 (04:54 +0000)]
2010-11-25  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Assertion failure by resetting <output> twice
        https://bugs.webkit.org/show_bug.cgi?id=50095

        Adds a test that ensures assertion failures don't occur when
        updating the value of an output element.

        * fast/forms/output-reset-assertion-failed-expected.txt: Added.
        * fast/forms/output-reset-assertion-failed.html: Added.
        * fast/forms/script-tests/output-reset-assertion-failed.js: Added.
2010-11-25  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Assertion failure by resetting <output> twice
        https://bugs.webkit.org/show_bug.cgi?id=50095

        Don't call setTextContentInternal() when the value wouldn't
        be changed.

        Test: fast/forms/output-reset-assertion-failed.html

        * html/HTMLOutputElement.cpp:
        (WebCore::HTMLOutputElement::HTMLOutputElement): Calls
        setTextContentInternal() if and only if needed.
        (WebCore::HTMLOutputElement::reset): Ditto.
        (WebCore::HTMLOutputElement::setValue): Ditto.
        (WebCore::HTMLOutputElement::setDefaultValue): Ditto.

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

11 years ago2010-11-25 Yuzo Fujishima <yuzo@google.com>
yuzo@google.com [Fri, 26 Nov 2010 03:52:15 +0000 (03:52 +0000)]
2010-11-25  Yuzo Fujishima  <yuzo@google.com>

        Reviewed by Kent Tamura.

        Fix for Bug 49898 - LayoutTests/fast/css/font-face-data-uri.html doesn't test what it claims to
        https://bugs.webkit.org/show_bug.cgi?id=49898

        * fast/css/font-face-data-uri.html: Use local font as reference. Use
        polling to ensure that the web font is loaded.

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

11 years ago2010-11-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 26 Nov 2010 00:36:49 +0000 (00:36 +0000)]
2010-11-24  Ryosuke Niwa  <rniwa@webkit.org>

        Crash when moving caret around a word with a first-letter rule and whitespace is not collapsible.
        https://bugs.webkit.org/show_bug.cgi?id=49652

        Fixed the crash by giving the correct end offset to emitText in handleTextNode.

        This patch does not fix a bug in TextIterator that incorrectly calculates
        the end offset of a word with a first-letter rule as demonstrated in the layout test
        because fixing the bug requires an overhaul of TextIterator and new behavior is consistent
        with the case when whitespace is collapsible.

        Test: editing/text-iterator/first-letter-word-boundary.html

        * editing/TextIterator.cpp:
        (WebCore::TextIterator::handleTextNode):
2010-11-24  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Kent Tamura.

        Added a test to ensure WebKit does not crash when moving carets around a word
        with a first-letter rule.  While WebKit no longer crashes, the test demonstrates a bug
        that the position offset at the end of word is incorrect.

        * editing/text-iterator/first-letter-word-boundary-expected.txt: Added.
        * editing/text-iterator/first-letter-word-boundary.html: Added.

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

11 years ago2010-11-25 Mike Lawther <mikelawther@chromium.org>
commit-queue@webkit.org [Fri, 26 Nov 2010 00:22:45 +0000 (00:22 +0000)]
2010-11-25  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by Kent Tamura.

        Fix typos in CSS grammar (HERZ -> HERTZ)
        https://bugs.webkit.org/show_bug.cgi?id=50094

        * css/CSSGrammar.y:
        * css/CSSParser.cpp:
        (WebCore::CSSParser::lex):
        * css/tokenizer.flex:

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