WebKit-https.git
10 years ago2010-06-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
leandro@webkit.org [Mon, 21 Jun 2010 17:14:22 +0000 (17:14 +0000)]
2010-06-21  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Unreviewed debug build fix.

        [CMake] Do not force build type to Release
        https://bugs.webkit.org/show_bug.cgi?id=40566

        * CMakeLists.txt:

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

10 years agoWindows build fix
mitz@apple.com [Mon, 21 Jun 2010 17:07:06 +0000 (17:07 +0000)]
Windows build fix

* WebCore.vcproj/WebCore.vcproj: Fixed a typo.

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

10 years agoWebCore: CSS3: Implement the 'hyphens' and 'hyphenate-character' properties
mitz@apple.com [Mon, 21 Jun 2010 16:54:52 +0000 (16:54 +0000)]
WebCore: CSS3: Implement the 'hyphens' and 'hyphenate-character' properties
https://bugs.webkit.org/show_bug.cgi?id=10228

Reviewed by Darin Adler.

Tests: fast/text/hyphenate-character.html
       fast/text/hyphens.html

Added -webkit-hyphens and -webkit-hyphenate-character as specified in
<http://www.w3.org/TR/2010/WD-css3-gcpm-20100608/#hyphenation>.

* Android.mk: Added Hyphenation.cpp.
* CMakeLists.txt: Ditto.
* GNUmakefile.am: Added Hyphenation.{cpp,h}.
* WebCore.base.exp: Exported wkGetHyphenationLocationBeforeIndex().
* WebCore.gypi: Added Hyphenation.{cpp,h}.
* WebCore.pro: Added Hyphenation.{cpp,h}.
* WebCore.vcproj/WebCore.vcproj: Added Hyphenation.{cpp,h}.
* WebCore.xcodeproj/project.pbxproj: Added Hyphenation.{cpp,h}.
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added the -webkit-hyphenate-character
and -webkit-hyphens cases.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Validate values for the new properties.
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added. Maps from a Hyphens value to an identifier.
(WebCore::CSSPrimitiveValue::operator Hyphens): Added. Maps from an identifier to a Hyphens value.
* css/CSSPropertyNames.in: Added -webkit-hyphenate-character and -webkit-hyphens.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty): Apply the new properties to the RenderStyle.
* css/CSSValueKeywords.in:
* platform/mac/WebCoreSystemInterface.h: Added wkGetHyphenationLocationBeforeIndex.
* platform/mac/WebCoreSystemInterface.mm: Ditto.
* platform/text/CharacterNames.h: Added the hyphen character.
* platform/text/Hyphenation.cpp: Added.
(WebCore::lastHyphenLocation): Added this default implementation for platforms that do not implement
hyphenation yet. It calls notImplemented() and returns 0.
* platform/text/Hyphenation.h: Added.
* platform/text/cf/HyphenationCF.cpp: Added.
(WebCore::lastHyphenLocation): Returns the last hyphenation location occurring in the given string before
the given index. Uses the current search locale (which is based on the top language preference of the user)
for hyphenation.
* platform/text/mac/HyphenationMac.mm: Added.
(WebCore::lastHyphenLocation): Returns the last hyphenation location occurring in the given string before
the given index. Returns 0 if the current search locale is not "en", because the platform only knows how to
hyphenate English.
* rendering/BidiRun.h:
(WebCore::BidiRun::BidiRun): Added a boolean member, m_hasHyphen, and initialized it to false in the constructor.
* rendering/InlineBox.h:
(WebCore::InlineBox::InlineBox): Renamed m_hasEllipsisBox to m_hasEllipsisBoxOrHyphen, because this bit is now
shared by two subclass: RootInlineBox uses it for hasEllipsisBox(), while InlineTextBox uses it for hasHyphen().
* rendering/InlineTextBox.cpp:
(WebCore::adjustCharactersAndLengthForHyphen): Added this helper function to get the hyphen string from the style
and return a UChar* and length for the concatenation of the given text with the hyphen string.
(WebCore::InlineTextBox::selectionRect): If the selected range touches the end and the box has a hyphen,
compute the width of the text with the hyphen string concatenated to it.
(WebCore::InlineTextBox::paint): If the box has a hyphen, draw the text with the hyphen string concatenated to it.
(WebCore::InlineTextBox::paintSelection): Similarly concatenate the hyphen string.
* rendering/InlineTextBox.h:
(WebCore::InlineTextBox::hasHyphen): Added this accessor.
(WebCore::InlineTextBox::setHasHyphen): Ditto.
* rendering/RenderBlock.h:
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::constructLine): Copy the m_hasHyphen flag from the run to its text box.
(WebCore::RenderBlock::computeHorizontalPositionsForLine): Add the width of the hyphen string when computing the
width of a box that has a hyphen.
(WebCore::RenderBlock::layoutInlineChildren): If the line was hyphenated, set the m_hasHyphen flag on the
logically last run.
(WebCore::tryHyphenating): Added this helper function which checks if a piece of text that does not fit on the
line could be hyphenated such that the part before the hyphen, including the hyphen, would fit. Given the amount
of space remaining on the line, it finds the longest prefix that can fit in the remaining space (which leaving room for
the hyphen), and then checks for a hyphenation location within that prefix.
(WebCore::RenderBlock::findNextLineBreak): In the 'hyphens: none' case, prevent line breaks at soft hyphens.
In the 'hyphens: auto' case, try hyphenating when a word will not fit in the remaining space on the line.
* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::detachEllipsisBox): Changed to use hasEllipsisBox() and setHasEllipsisBox().
(WebCore::RootInlineBox::clearTruncation): Ditto.
(WebCore::RootInlineBox::placeEllipsis): Ditto.
(WebCore::RootInlineBox::paintEllipsisBox): Ditto.
(WebCore::RootInlineBox::nodeAtPoint): Ditto.
(WebCore::RootInlineBox::ellipsisBox): Ditto.
* rendering/RootInlineBox.h:
(WebCore::RootInlineBox::hasEllipsisBox): Added this accessor.
(WebCore::RootInlineBox::setHasEllipsisBox): Ditto.
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff): Return a layout hint if the hyphens setting or hyphenate-character differs.
(WebCore::RenderStyle::hyphenString): Added. For hyphenate-character: auto, returns the hyphen character.
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::hyphens): Added this accessor.
(WebCore::InheritedFlags::hyphenateCharacter): Ditto.
(WebCore::InheritedFlags::setHyphens): Ditto.
(WebCore::InheritedFlags::setHyphenateCharacter): Ditto.
(WebCore::InheritedFlags::initialHyphens): Added. Returns HyphensManual.
(WebCore::InheritedFlags::initialHyphenateCharacter): Added. Returns the null string, corresponding to
a value of 'auto'.
* rendering/style/RenderStyleConstants.h:
Added a Hyphens enum.
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData): Initialize and copy the new members.
(WebCore::StyleRareInheritedData::operator==): Compare the new members.
* rendering/style/StyleRareInheritedData.h: Added two new members: hyphens and hyphenateCharacter.

WebKit/mac: WebKit part of implementing the 'hyphens' and 'hyphenate-character' properties
https://bugs.webkit.org/show_bug.cgi?id=10228

Reviewed by Darin Adler.

* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface): Initialize wkGetHyphenationLocationBeforeIndex.

WebKitLibraries: WebKitSystemInterface part of CSS3: Implement the 'hyphens' and 'hyphenate-character' properties
https://bugs.webkit.org/show_bug.cgi?id=10228

Reviewed by Darin Adler.

* WebKitSystemInterface.h: Added WKGetHyphenationLocationBeforeIndex().
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* libWebKitSystemInterfaceTiger.a:

LayoutTests: Added tests for the 'hyphens' and 'hyphenate-character' properties
https://bugs.webkit.org/show_bug.cgi?id=10228

Reviewed by Darin Adler.

* fast/text/hyphenate-character.html: Added.
* fast/text/hyphens.html: Added.
* platform/gtk/Skipped:
* platform/mac/fast/text/hyphenate-character-expected.checksum: Added.
* platform/mac/fast/text/hyphenate-character-expected.png: Added.
* platform/mac/fast/text/hyphenate-character-expected.txt: Added.
* platform/mac/fast/text/hyphens-expected.checksum: Added.
* platform/mac/fast/text/hyphens-expected.png: Added.
* platform/mac/fast/text/hyphens-expected.txt: Added.
* platform/qt/Skipped:
* platform/win/Skipped:

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

10 years ago2010-06-21 Kent Tamura <tkent@chromium.org>
dglazkov@chromium.org [Mon, 21 Jun 2010 16:39:27 +0000 (16:39 +0000)]
2010-06-21  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] Enable EVENTSOURCE, FILE_WRITER, and IMAGE_RESIZER
        https://bugs.webkit.org/show_bug.cgi?id=40905

        EVENTSOURCE: It is already enabled in Chromium browser. This fixes
        some tests with Chromium DRT.

        FILE_WRITER and IMAGE_RESIZER: Enable experimental features in
        order to test them before enabling them in Chromium browser.

        * features.gypi:

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

10 years ago2010-06-03 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 21 Jun 2010 16:36:40 +0000 (16:36 +0000)]
2010-06-03  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Plumb FormSubmission through to ScheduledFormSubmission.
        https://bugs.webkit.org/show_bug.cgi?id=40137

        No behavior change, covered by existing tests.

        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::prepareFormSubmission): Moved creation of action URL
            instance here from FrameLoader::submit, because it makes more sense here,
            also added a FIXME to investigate existing code later.
        * loader/FormSubmission.cpp:
        (WebCore::FormSubmission::FormSubmission): Changed action to be a KURL, not a String.
        (WebCore::FormSubmission::create): Ditto.
        (WebCore::FormSubmission::populateFrameLoadRequest): Added, moving the logic from
            FrameLoader::submit closer to the data.
        * loader/FormSubmission.h:
        (WebCore::FormSubmission::action): Changed type to KURL.
        (WebCore::FormSubmission::clearTarget): Added.
        (WebCore::FormSubmission::referrer): Added.
        (WebCore::FormSubmission::setReferrer): Added.
        (WebCore::FormSubmission::origin): Added.
        (WebCore::FormSubmission::setOrigin): Added.
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::submitForm): Cleaned up to make it more about decision-making,
            not data manipulation.
        * loader/RedirectScheduler.cpp:
        (WebCore::ScheduledFormSubmission::ScheduledFormSubmission): Changed to accept FormSubmission as argument.
        (WebCore::ScheduledFormSubmission::fire): Changed to use FormSubmission.
        (WebCore::RedirectScheduler::scheduleFormSubmission): Removed assert that no longer makes sense,
            changed to use FormSubmission.
        * loader/RedirectScheduler.h: Updated ScheduledFormSubmission decl to hold FormSubmission ref.

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

10 years ago2010-06-21 Satish Sampath <satish@chromium.org>
eric@webkit.org [Mon, 21 Jun 2010 16:02:11 +0000 (16:02 +0000)]
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * configure.ac:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * Configurations/FeatureDefines.xcconfig:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        No new tests are needed, because there is no new functionality.

        * Configurations/FeatureDefines.xcconfig:
        * GNUmakefile.am:
        * WebCore.pri:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * features.gypi:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * Configurations/FeatureDefines.xcconfig:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * Configurations/FeatureDefines.xcconfig:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * win/tools/vsprops/FeatureDefines.vsprops:
        * win/tools/vsprops/FeatureDefinesCairo.vsprops:
2010-06-21  Satish Sampath  <satish@chromium.org>

        Reviewed by Steve Block.

        Speech Input Patch 0: Added compilation argument to conditionally compile pending patches.
        https://bugs.webkit.org/show_bug.cgi?id=40878

        * Scripts/build-webkit:

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

10 years ago2010-06-21 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Mon, 21 Jun 2010 15:50:59 +0000 (15:50 +0000)]
2010-06-21  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kent Tamura.

        [BREWMP] Use global new/delete operator overloading with USE_SYSTEM_MALLOC=1
        https://bugs.webkit.org/show_bug.cgi?id=40653

        Currently, other ports do not use global new/delete operator overloading
        when USE_SYSTEM_MALLOC=1. Brew MP uses system malloc, but it needs to enable
        "global fastMalloc new" because the default new/delete causes crash on device.
        We need to replace them with Brew MP's MALLOC/FREE.

        * wtf/FastMalloc.h:

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

10 years ago[Qt] Fix MSVC build.
jocelyn.turcotte@nokia.com [Mon, 21 Jun 2010 15:50:52 +0000 (15:50 +0000)]
[Qt] Fix MSVC build.

Reviewed by nobody, build fix.

The max macro was replacing the max function used in StringImpl.h
when compiling moc_NotificationPresenterClientQt.cpp.

* WebCoreSupport/NotificationPresenterClientQt.cpp:

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

10 years ago2010-06-21 Hans Wennborg <hans@chromium.org>
eric@webkit.org [Mon, 21 Jun 2010 14:50:34 +0000 (14:50 +0000)]
2010-06-21  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        Delete DOM storage databases when they are empty.
        https://bugs.webkit.org/show_bug.cgi?id=40767

        Even if a page clears its local storage, the database file for it stays around,
        and there is currently no mechanism that deletes them.

        After doing the "final sync" of a storage area, the StorageAreaSyncMaster should
        see if the database is empty, and in that case delete it.

        Tests:
         manual-tests/localstorage-empty-database.html

        * manual-tests/localstorage-empty-database.html:
        Added link to clear local storage for testing that the file is removed.
        * storage/LocalStorageTask.cpp:
        (WebCore::LocalStorageTask::LocalStorageTask):
        Added local storage task type DeleteEmptyDatabase.
        (WebCore::LocalStorageTask::performTask):
        Ditto.
        * storage/LocalStorageTask.h:
        (WebCore::LocalStorageTask::):
        Ditto.
        (WebCore::LocalStorageTask::createDeleteEmptyDatabase):
        Ditto.
        * storage/StorageAreaSync.cpp:
        (WebCore::StorageAreaSync::scheduleFinalSync):
        When scheduling final sync, also schedule DeleteEmptyDatabase.
        (WebCore::StorageAreaSync::sync):
        Return early if final sync has nothing to sync.
        (WebCore::StorageAreaSync::deleteEmptyDatabase):
        Added function to check if a database is empty and in that case delete it.
        * storage/StorageAreaSync.h:
        Ditto.
        * storage/StorageSyncManager.cpp:
        (WebCore::StorageSyncManager::scheduleDeleteEmptyDatabase):
        Added function for scheduling DeleteEmptyDatabase task.
        * storage/StorageSyncManager.h:
        Ditto.

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

10 years ago2010-06-21 Kent Tamura <tkent@chromium.org>
eric@webkit.org [Mon, 21 Jun 2010 14:36:47 +0000 (14:36 +0000)]
2010-06-21  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Initialization for http/tests/loading/
        https://bugs.webkit.org/show_bug.cgi?id=40902

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::runFileTest):

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

10 years ago2010-06-21 Balazs Kelemen <kb@inf.u-szeged.hu>
eric@webkit.org [Mon, 21 Jun 2010 14:08:38 +0000 (14:08 +0000)]
2010-06-21  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Simon Hausmann.

        [Qt] Avoid unnecessary image conversion in RGBA32Buffer::zeroFill()
        https://bugs.webkit.org/show_bug.cgi?id=40910

        * platform/image-decoders/qt/RGBA32BufferQt.cpp:
        (WebCore::RGBA32Buffer::zeroFill):

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

10 years ago2010-06-21 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Mon, 21 Jun 2010 13:37:16 +0000 (13:37 +0000)]
2010-06-21  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by NOBODY (OOPS!).

        [Chromium] Remove usage of static WebDevToolsAgentClient::sendMessageToFrontendOnIOThread.

        Also, move WebDevToolsMessageTransport to its own header file.

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

        * DEPS:
        * WebKit.gyp:
        * public/WebDevToolsAgent.h:
        * public/WebDevToolsAgentClient.h:
        * public/WebDevToolsMessageTransport.h: Added.
        (WebKit::WebDevToolsMessageTransport::~WebDevToolsMessageTransport):
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::):

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

10 years ago2010-06-21 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 21 Jun 2010 12:14:48 +0000 (12:14 +0000)]
2010-06-21  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, Symbian build fix.

        [Qt] Update the def file with recent new exports.

        * symbian/eabi/QtWebKitu.def:

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

10 years agoUnreviewed build fix.
hausmann@webkit.org [Mon, 21 Jun 2010 11:43:22 +0000 (11:43 +0000)]
Unreviewed build fix.

[Qt] Fix package builds

Don't use rpath unless we're building inside the trunk.

* declarative/declarative.pro:

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

10 years ago[Qt] Work around a build problem with libjscore on Symbian.
jocelyn.turcotte@nokia.com [Mon, 21 Jun 2010 09:40:08 +0000 (09:40 +0000)]
[Qt] Work around a build problem with libjscore on Symbian.
https://bugs.webkit.org/show_bug.cgi?id=40840

Reviewed by Simon Hausmann.

Sbsv2 sometimes have problems with debug/release configuration
determination causing QtWebKit in release to try linking with the debug
JavaScriptCore static library. This patch limit the jscore/jscored
r58306 fix necessary for mac builds only to the mac platform to prevent the
different name problem.

The real fix would be to fix qmake or the toolchain, this patch might
help meanwhile.

* JavaScriptCore.pri:

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

10 years agoAdding myself to the committers list.
jocelyn.turcotte@nokia.com [Mon, 21 Jun 2010 09:33:46 +0000 (09:33 +0000)]
Adding myself to the committers list.

Unreviewed.

* Scripts/webkitpy/common/config/committers.py:

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

10 years ago2010-06-21 Benjamin Poulain <benjamin.poulain@nokia.com>
eric@webkit.org [Mon, 21 Jun 2010 08:30:42 +0000 (08:30 +0000)]
2010-06-21  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Decode images directly to QPixmap
        https://bugs.webkit.org/show_bug.cgi?id=40797

        Decode images to QPixmap directly instead of QImage when possible.
        RGBA32Buffer transforms the pixmap back to image if
        necessary.

        This improve the performance with certain graphic system, and
        can reduce memory usage.

        * platform/graphics/qt/ImageDecoderQt.cpp:
        (WebCore::ImageDecoderQt::setData):
        (WebCore::ImageDecoderQt::internalHandleCurrentImage):
        * platform/image-decoders/ImageDecoder.h:
        (WebCore::RGBA32Buffer::getAddr):
        * platform/image-decoders/qt/RGBA32BufferQt.cpp:
        (WebCore::RGBA32Buffer::clear):
        (WebCore::RGBA32Buffer::zeroFill):
        (WebCore::RGBA32Buffer::copyBitmapData):
        (WebCore::RGBA32Buffer::setSize):
        (WebCore::RGBA32Buffer::asNewNativeImage):
        (WebCore::RGBA32Buffer::setPixmap):

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

10 years ago2010-06-21 Patrick Gansterer <paroga@paroga.com>
eric@webkit.org [Mon, 21 Jun 2010 08:10:55 +0000 (08:10 +0000)]
2010-06-21  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Kent Tamura.

        Buildfix after r61338.
        https://bugs.webkit.org/show_bug.cgi?id=40888

        roundUpAllocationSize is needed in RegisterFile.h.

        * jit/ExecutableAllocator.h:

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

10 years agoUnreviewed, fixing expectations.
dumi@chromium.org [Mon, 21 Jun 2010 07:59:32 +0000 (07:59 +0000)]
Unreviewed, fixing expectations.

* platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
* platform/gtk/fast/js/global-constructors-expected.txt:

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

10 years agoAdding the SQLException class which will be used to report sync DB errors.
dumi@chromium.org [Mon, 21 Jun 2010 07:10:05 +0000 (07:10 +0000)]
Adding the SQLException class which will be used to report sync DB errors.
https://bugs.webkit.org/show_bug.cgi?id=40607

Reviewed by Adam Barth.

WebCore:

* Android.derived.jscbindings.mk:
* Android.derived.v8bindings.mk:
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pri:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMBinding.cpp:
(WebCore::setDOMException):
* bindings/js/JSExceptionBase.cpp:
(WebCore::toExceptionBase):
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::setDOMException):
* bindings/v8/V8Proxy.h:
* dom/ExceptionCode.cpp:
(WebCore::):
(WebCore::getExceptionCodeDescription):
* dom/ExceptionCode.h:
(WebCore::):
* page/DOMWindow.idl:
* storage/SQLException.h: Added.
(WebCore::SQLException::create):
(WebCore::SQLException::):
(WebCore::SQLException::SQLException):
* storage/SQLException.idl: Added.

LayoutTests:

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

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

10 years ago2010-06-20 Hayato Ito <hayato@chromium.org>
eric@webkit.org [Mon, 21 Jun 2010 07:06:41 +0000 (07:06 +0000)]
2010-06-20  Hayato Ito  <hayato@chromium.org>

        Reviewed by Kent Tamura.

        Add tests for CSS3 Paged Media to make sure page breaks should happen at right places.
        Two tests (allowed-page-break and page-break-margin-collapsed) are expected to fail
        due to lack of support.

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

        * printing/allowed-page-breaks-expected.txt: Added.
        * printing/allowed-page-breaks.html: Added.
        * printing/no-content-empty-pages-expected.txt: Added.
        * printing/no-content-empty-pages.html: Added.
        * printing/page-break-display-none-expected.txt: Added.
        * printing/page-break-display-none.html: Added.
        * printing/page-break-margin-collapsed-expected.txt: Added.
        * printing/page-break-margin-collapsed.html: Added.
        * printing/script-tests/allowed-page-breaks.js: Added.
        (test):
        * printing/script-tests/no-content-empty-pages.js: Added.
        (test):
        * printing/script-tests/page-break-display-none.js: Added.
        (test):
        * printing/script-tests/page-break-margin-collapsed.js: Added.
        (test):

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

10 years ago2010-06-20 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 21 Jun 2010 06:44:06 +0000 (06:44 +0000)]
2010-06-20  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
        v8 debugging protocol.
        https://bugs.webkit.org/show_bug.cgi?id=40844

        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::ScriptDebugServer):
        (WebCore::ScriptDebugServer::addListener):
        (WebCore::ScriptDebugServer::setEnabled):
        (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
        * bindings/v8/ScriptDebugServer.h:
2010-06-20  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Web Inspector: don't add ScriptDebugServer as v8 listener if browser exposes
        v8 debugging protocol.

        * src/DebuggerAgentManager.cpp:
        (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):

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

10 years ago2010-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
eric@webkit.org [Mon, 21 Jun 2010 05:28:01 +0000 (05:28 +0000)]
2010-06-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Unreviewed build fix.

        [EFL] Build break for r61527
        https://bugs.webkit.org/post_bug.cgi

        * CMakeLists.txt: Add loader/FormSubmission.cpp

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

10 years ago2010-06-20 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 21 Jun 2010 04:38:51 +0000 (04:38 +0000)]
2010-06-20  Kent Tamura  <tkent@chromium.org>

        Reviewed by Dimitri Glazkov.

        [DRT/Chromium] Add --allow-external-pages option
        https://bugs.webkit.org/show_bug.cgi?id=40762

        Add --allow-external-pages introduced by Chromium r45403.
        http://src.chromium.org/viewvc/chrome?view=rev&revision=45403

        * DumpRenderTree/chromium/DumpRenderTree.cpp:
        (main):
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::allowExternalPages):
        (TestShell::setAllowExternalPages):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::willSendRequest):

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

10 years agoFix Tiger build.
andersca@apple.com [Mon, 21 Jun 2010 03:35:13 +0000 (03:35 +0000)]
Fix Tiger build.

* Plugins/WebNetscapePluginPackage.mm:

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 21 Jun 2010 03:20:17 +0000 (03:20 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Get rid of the old MIMETypes getter method
        https://bugs.webkit.org/show_bug.cgi?id=40898

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage supportsExtension:]):
        (-[WebBasePluginPackage supportsMIMEType:WebCore::]):
        (-[WebBasePluginPackage MIMETypeForExtension:]):
        * Plugins/WebPluginDatabase.mm:
        (-[WebPluginDatabase refresh]):
        (-[WebPluginDatabase _removePlugin:]):

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

10 years agoRemove bogus const qualifiers.
andersca@apple.com [Mon, 21 Jun 2010 02:58:12 +0000 (02:58 +0000)]
Remove bogus const qualifiers.

Reviewed by Dan Bernstein.

WebCore:

* platform/mac/PasteboardHelper.h:

WebKit/mac:

* WebCoreSupport/WebPasteboardHelper.h:
* WebCoreSupport/WebPasteboardHelper.mm:
(WebPasteboardHelper::urlFromPasteboard):
(WebPasteboardHelper::plainTextFromPasteboard):
(WebPasteboardHelper::fragmentFromPasteboard):

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 21 Jun 2010 02:34:54 +0000 (02:34 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Get rid of the extensionToMIME mapping in WebBasePluginPackage
        https://bugs.webkit.org/show_bug.cgi?id=40897

        Instead of using the extensionToMIME mutable dictionary, use the MIME types vector.
        While this makes lookup of MIME types based on extensions linear instead of constant,
        the number of extensions per plug-in is too small for it to matter.

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage supportsExtension:]):
        (-[WebBasePluginPackage MIMETypeForExtension:]):
        (-[WebBasePluginPackage setMIMEToExtensionsDictionary:]):

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 21 Jun 2010 02:13:00 +0000 (02:13 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Add a MimeClassInfo Vector to WebBasePluginPackage
        https://bugs.webkit.org/show_bug.cgi?id=40896

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage WebCore::]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        * WebCoreSupport/WebPlatformStrategies.mm:
        (WebPlatformStrategies::getPluginInfo):

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

10 years ago2010-06-20 Patrick Gansterer <paroga@paroga.com>
eric@webkit.org [Mon, 21 Jun 2010 02:12:49 +0000 (02:12 +0000)]
2010-06-20  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Kent Tamura.

        Buildfix for NotificationCenter.h.
        https://bugs.webkit.org/show_bug.cgi?id=40890

        ScriptExecutionContext::completeURL is used in header,
        but ScriptExecutionContext.h wasn't included.

        * notifications/NotificationCenter.h:

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

10 years ago2010-06-20 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 21 Jun 2010 01:38:31 +0000 (01:38 +0000)]
2010-06-20  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/test_expectations.txt:
          Update for other <meter> tests and flaky/slow tests

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 21 Jun 2010 01:30:14 +0000 (01:30 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Move the NSBundle ivar to WebPluginPackage
        https://bugs.webkit.org/show_bug.cgi?id=40894

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage _objectForInfoDictionaryKey:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage load]):
        (-[WebBasePluginPackage dealloc]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage _initWithPath:]):
        * Plugins/WebPluginPackage.h:
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage initWithPath:]):
        (-[WebPluginPackage dealloc]):
        (-[WebPluginPackage viewFactory]):
        (-[WebPluginPackage load]):

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

10 years ago2010-06-20 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Mon, 21 Jun 2010 01:05:16 +0000 (01:05 +0000)]
2010-06-20  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Test to make sure parsing of async attribute works for HTML script tags
        and test to make sure that async is not parsed for SVG script tags.
        https://bugs.webkit.org/show_bug.cgi?id=39026

        * fast/dom/HTMLScriptElement/script-async-attr-expected.txt: Added.
        * fast/dom/HTMLScriptElement/script-async-attr.html: Added.
        * svg/dom/SVGScriptElement/script-async-attr-expected.txt: Added.
        * svg/dom/SVGScriptElement/script-async-attr.svg: Added.
2010-06-20  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Recognize async attribute on HTML script tags.
        https://bugs.webkit.org/show_bug.cgi?id=39026

        This does not implement async behavior, it only parses the async
        attribute for HTML script tags. SVG script tags continue to not
        support the async attribute.

        Tests: fast/dom/HTMLScriptElement/script-async-attr.html
               svg/dom/SVGScriptElement/script-async-attr.svg

        * dom/ScriptElement.cpp:
        (WebCore::ScriptElementData::isAsynchronous):
        (WebCore::ScriptElementData::isDeferred):
        * dom/ScriptElement.h:
        * html/HTMLAttributeNames.in:
        * html/HTMLScriptElement.cpp:
        (WebCore::HTMLScriptElement::async):
        (WebCore::HTMLScriptElement::setAsync):
        (WebCore::HTMLScriptElement::defer):
        (WebCore::HTMLScriptElement::asyncAttributeValue):
        (WebCore::HTMLScriptElement::deferAttributeValue):
        * html/HTMLScriptElement.h:
        * html/HTMLScriptElement.idl:
        * svg/SVGScriptElement.cpp:
        (WebCore::SVGScriptElement::asyncAttributeValue):
        (WebCore::SVGScriptElement::deferAttributeValue):
        * svg/SVGScriptElement.h:

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

10 years ago2010-06-20 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 21 Jun 2010 00:44:34 +0000 (00:44 +0000)]
2010-06-20  Tony Chang  <tony@chromium.org>

        Not reviewed, just cleaning up svn.

        Removing platform/mac-snowleopard/editing since it's empty.  The test
        results were moved in r60693.

        * platform/mac-snowleopard/editing: Removed.
        * platform/mac-snowleopard/editing/spelling: Removed.

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

10 years ago2010-06-20 Jessie Berlin <jberlin@apple.com>
jberlin@webkit.org [Sun, 20 Jun 2010 23:15:58 +0000 (23:15 +0000)]
2010-06-20  Jessie Berlin  <jberlin@apple.com>

        Reviewed by Dan Bernstein.

        Add #if USE(PLATFORM_STRATEGIES) where WebPlatformStrategies is being used.

        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
        * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::WebProcess):
        Only initialize the web platform strategies if PLATFORM_STRATEGIES is being used.

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

10 years ago2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
eric@webkit.org [Sun, 20 Jun 2010 22:51:14 +0000 (22:51 +0000)]
2010-06-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Adam Barth.

        Sheriffbot: Should allow "r" in SVN_REVISION
        https://bugs.webkit.org/show_bug.cgi?id=40889

        * Scripts/webkitpy/tool/bot/irc_command.py: remove a leading "r" from SVN_REVISION if it exists
        * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: test an SVN_REVISION with a leading r.

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

10 years ago2010-06-20 Nikita Vasilyev <me@elv1s.ru>
eric@webkit.org [Sun, 20 Jun 2010 22:32:05 +0000 (22:32 +0000)]
2010-06-20  Nikita Vasilyev  <me@elv1s.ru>

        Reviewed by Joseph Pecoraro.

        Web Inspector: Auto-completion for CSS property names in Styles pane
        https://bugs.webkit.org/show_bug.cgi?id=17374

        Added autocompletion for CSS properties. A suggestion for a property
        shows when you type. You can also cycle through known property names
        using the Up and Down arrow keys.

        * WebCore.gypi:
        * inspector/front-end/CSSCompletions.js: Added.
        (WebInspector.CSSCompletions):
        (WebInspector.CSSCompletions.startsWith):
        (WebInspector.CSSCompletions.firstStartsWith):
        (WebInspector.CSSCompletions._firstIndexOfPrefix):
        (WebInspector.CSSCompletions.next):
        (WebInspector.CSSCompletions.previous):
        (WebInspector.CSSCompletions._closest):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.html:
        * inspector/front-end/utilities.js:
        (Text.prototype.select):
        ():

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

10 years ago2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 20 Jun 2010 21:30:17 +0000 (21:30 +0000)]
2010-06-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Dimitri Glazkov.

        Python Tests Fail after r61508
        https://bugs.webkit.org/show_bug.cgi?id=40891

        Test's regex list needed to be updated to match the new
        regex list in the source code. Added new bots to the
        example_buildbots list.

        Regex list fixed in r61512. Updated bot list.

        * Scripts/webkitpy/common/net/buildbot_unittest.py:

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

10 years ago2010-06-20 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 20 Jun 2010 21:14:44 +0000 (21:14 +0000)]
2010-06-20  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        Tweak test regexp list to match the change in http://trac.webkit.org/changeset/61508.

        * Scripts/webkitpy/common/net/buildbot_unittest.py: Tweaked regexp.

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

10 years ago2010-06-14 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sun, 20 Jun 2010 21:00:35 +0000 (21:00 +0000)]
2010-06-14  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Introduce FormSubmission, the structure representing a form submission.
        https://bugs.webkit.org/show_bug.cgi?id=40084

        No change in functionality, covered by existing tests.

        * GNUmakefile.am: Added FormSubmission.h/cpp.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::prepareFormSubmission): Renamed prepareFormData to prepareFormSubmission,
            added code for populating a FormSubmission instance, moved the loop of accumulating text input
            values into this functions (it belongs here logically).
        (WebCore::HTMLFormElement::submit): Modified to use prepareFormSubmission.
        * html/HTMLFormElement.h:
        * loader/FormSubmission.cpp: Added.
        * loader/FormSubmission.h: Added.
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::submitForm): Modified to use FormSubmission. Stopped plumbing further to keep
            the patch size down.
        * loader/FrameLoader.h: Modified submitForm signature.

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sun, 20 Jun 2010 20:53:12 +0000 (20:53 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Remove -[WebBasePluginPackage bundle]
        https://bugs.webkit.org/show_bug.cgi?id=40892

        Add -[WebBasePluginPackage bundleIdentifier] and switch clients over to it.

        Move the supportsSnapshotting method over to the plug-in package.

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::hostForPackage):
        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
        (-[WebBaseNetscapePluginView supportsSnapshotting]):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage isQuickTimePlugIn]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        (-[WebBasePluginPackage WebCore::]):
        Call bundleIdentifier directly instead of asking the bundle
        * Plugins/WebNetscapePluginPackage.h:
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage supportsSnapshotting]):
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView setAttributeKeys:andValues:]):
        (-[WebNetscapePluginView _createPlugin]):
        * Plugins/WebPluginDatabase.mm:
        (checkCandidate):

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

10 years ago2010-06-20 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sun, 20 Jun 2010 20:27:58 +0000 (20:27 +0000)]
2010-06-20  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Change some WebPluginDabase ivars to use WebCore::String instead of NSString.
        https://bugs.webkit.org/show_bug.cgi?id=40869

        Re-land r61459, with extra null-checks in WebFrameLoaderClient.

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::spawnPluginHost):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage name]):
        (-[WebBasePluginPackage path]):
        (-[WebBasePluginPackage filename]):
        (-[WebBasePluginPackage pluginDescription]):
        (-[WebBasePluginPackage description]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        (-[WebNetscapePluginPackage _tryLoad]):
        (-[WebNetscapePluginPackage _unloadWithShutdown:]):
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage load]):
        * WebCoreSupport/WebFrameLoaderClient.mm:
        (WebFrameLoaderClient::createPlugin):

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

10 years ago2010-06-20 William Siegrist <wsiegrist@apple.com>
wsiegrist@apple.com [Sun, 20 Jun 2010 18:58:13 +0000 (18:58 +0000)]
2010-06-20 William Siegrist <wsiegrist@apple.com>

Unreviewed. Make core builder regexp more specific so new Chromium test slaves do not get core builder status.

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

10 years ago2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 20 Jun 2010 18:55:29 +0000 (18:55 +0000)]
2010-06-20  Joseph Pecoraro  <joepeck@webkit.org>

        Unreviewed rollout r61506, because it made 1 test crash.

        Causes crash. Will approach the solution in a different way.

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

10 years ago2010-06-20 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 20 Jun 2010 17:02:12 +0000 (17:02 +0000)]
2010-06-20  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Should Autocomplete Style Properties
        https://bugs.webkit.org/show_bug.cgi?id=38448

        This Autocompletes style properties when in the console.

        * inspector/front-end/InjectedScript.js:
        (injectedScriptConstructor):

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

10 years ago2010-06-20 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 20 Jun 2010 12:54:12 +0000 (12:54 +0000)]
2010-06-20  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] NPP_SetWindow seems to not be called when TestNetscapePlugin is moved

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

        setNPWindowIfNeeded() is called on paint() in PluginViewQt, which doesn't
        work for DRT. So call it if we are in DRT mode and the window geometry
        has changed.

        Unskips plugins/reentrant-update-widget-positions.html

        * platform/qt/Skipped:
2010-06-20  Robert Hogan  <robert@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] NPP_SetWindow seems to not be called when TestNetscapePlugin is moved

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

        setNPWindowIfNeeded() is called on paint() in PluginViewQt, which doesn't
        work for DRT. So call it if we are in DRT mode and the window geometry
        has changed.

        Unskips plugins/reentrant-update-widget-positions.html

        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::updatePluginWidget):

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

10 years ago2010-06-20 Jedrzej Nowacki <jedrzej.nowacki@nokia.com>
eric@webkit.org [Sun, 20 Jun 2010 11:46:17 +0000 (11:46 +0000)]
2010-06-20  Jedrzej Nowacki  <jedrzej.nowacki@nokia.com>

        Reviewed by Simon Hausmann.

        The QWebHistory regression fix.

        After change r51629 and r61207 QWebHistory's function back(),
        forward(), goToItem() got broken.

        Use page->goToItem() instead of direct actions on the BackForwardList.

        [Qt] REGRESSION(r61207): qwebhistory unit test hangs
        https://bugs.webkit.org/show_bug.cgi?id=40672

        * Api/qwebhistory.cpp:
        (QWebHistory::back):
        (QWebHistory::forward):
        (QWebHistory::goToItem):
        * tests/qwebhistory/tst_qwebhistory.cpp:
        (tst_QWebHistory::init):
        (tst_QWebHistory::back):
        (tst_QWebHistory::forward):

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

10 years ago2010-06-19 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Sun, 20 Jun 2010 03:37:19 +0000 (03:37 +0000)]
2010-06-19  Justin Schuh  <jschuh@chromium.org>

        Unreviewed.

        Adding myself to the committers list.

        * Scripts/webkitpy/common/config/committers.py:

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

10 years ago2010-06-19 Hayato Ito <hayato@chromium.org>
eric@webkit.org [Sun, 20 Jun 2010 01:03:37 +0000 (01:03 +0000)]
2010-06-19  Hayato Ito  <hayato@chromium.org>

        Reviewed by Adam Barth.

        Add tests for CSS 'orphans' and 'widows' properties.
        All tests are expected to fail due to lack of implementations.

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

        * printing/page-break-orphans-and-widows-expected.txt: Added.
        * printing/page-break-orphans-and-widows.html: Added.
        * printing/page-break-orphans-expected.txt: Added.
        * printing/page-break-orphans.html: Added.
        * printing/page-break-widows-expected.txt: Added.
        * printing/page-break-widows.html: Added.
        * printing/script-tests/page-break-orphans-and-widows.js: Added.
        (test):
        * printing/script-tests/page-break-orphans.js: Added.
        (test):
        * printing/script-tests/page-break-widows.js: Added.
        (test):

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

10 years ago2010-06-19 Hayato Ito <hayato@chromium.org>
eric@webkit.org [Sun, 20 Jun 2010 00:50:46 +0000 (00:50 +0000)]
2010-06-19  Hayato Ito  <hayato@chromium.org>

        Reviewed by Adam Barth.

        Add tests for 'page-break-{before,after}: avoid'.
        All tests are expected to fail due to lack of implementations.

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

        * printing/page-break-after-avoid-expected.txt: Added.
        * printing/page-break-after-avoid.html: Added.
        * printing/page-break-avoid-expected.txt: Added.
        * printing/page-break-avoid.html: Added.
        * printing/page-break-before-avoid-expected.txt: Added.
        * printing/page-break-before-avoid.html: Added.
        * printing/script-tests/page-break-after-avoid.js: Added.
        (test):
        * printing/script-tests/page-break-avoid.js: Added.
        (test):
        * printing/script-tests/page-break-before-avoid.js: Added.
        (test):

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

10 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=40882
weinig@apple.com [Sun, 20 Jun 2010 00:39:44 +0000 (00:39 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=40882
Add ability to have a WebProcess per WebContext.

Reviewed by Anders Carlsson.

WebKit2:

- Move to a one-to-one correspondence of WebContexts to WebProcessProxies.
- Add explicit shared contexts for general use.
- Only non-shared contexts can use injected bundles.

* UIProcess/API/C/WKContext.cpp:
(WKContextCreate):
(WKContextCreateWithInjectedBundlePath):
(WKContextGetSharedProcessContext):
(WKContextGetSharedThreadContext):
* UIProcess/API/C/WKContext.h:
* UIProcess/API/C/WKContextPrivate.h:
Change API for WKContext to no longer take a WKProcessModel type and instead
have explicit Create/Get functions for the different kind of contexts. Added
two shared contexts, one threaded, one process, and made the threaded on private
for now.

* UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:]):
Make WKViews that don't have an explicit context use the shared process
context by default.

* UIProcess/Launcher/WebProcessLauncher.h:
* UIProcess/Launcher/mac/WebProcessLauncher.mm:
(WebKit::launchWebProcess):
* UIProcess/Launcher/win/WebProcessLauncher.cpp:
(WebKit::launchWebProcess):
Use a boolean argument to note whether we are using a thread or a process
instead of using the process model enum.

* UIProcess/ProcessModel.h:
(WebKit::):
Convert to using explicit Shared modifier for shared contexts.

* UIProcess/WebContext.cpp:
(WebKit::WebContext::sharedProcessContext):
(WebKit::WebContext::sharedThreadContext):
(WebKit::WebContext::ensureWebProcess):
(WebKit::WebContext::createWebPage):
(WebKit::WebContext::reviveIfNecessary):
* UIProcess/WebContext.h:
(WebKit::WebContext::create):
(WebKit::WebContext::process):
* UIProcess/WebPageNamespace.cpp:
(WebKit::WebPageNamespace::createWebPage):
(WebKit::WebPageNamespace::preferencesDidChange):
(WebKit::WebPageNamespace::getStatistics):
* UIProcess/WebPageNamespace.h:
(WebKit::WebPageNamespace::process):
(WebKit::WebPageNamespace::reviveIfNecessary):
Move WebProcessProxy creation logic up into WebContext.

* UIProcess/WebProcessManager.cpp:
(WebKit::WebProcessManager::getWebProcess):
(WebKit::WebProcessManager::processDidClose):
* UIProcess/WebProcessManager.h:
Keep a map of WebContexts to WebProcessProxies in addition to the two
shared processes.

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::create):
(WebKit::WebProcessProxy::WebProcessProxy):
(WebKit::WebProcessProxy::connect):
(WebKit::WebProcessProxy::didClose):
* UIProcess/WebProcessProxy.h:
Store a WebContext instead of the process model.

* mac/WebKit2.exp:
Add new functions.

WebKitTools:

Move to use new shared contexts API.

* MiniBrowser/mac/AppDelegate.h:
* MiniBrowser/mac/AppDelegate.m:
(-[BrowserAppDelegate init]):
(-[BrowserAppDelegate getCurrentPageNamespace]):
(-[BrowserAppDelegate validateMenuItem:]):
(-[BrowserAppDelegate _setProcessModel:]):
(-[BrowserAppDelegate setSharedProcessProcessModel:]):
(-[BrowserAppDelegate setSharedThreadProcessModel:]):
* MiniBrowser/win/BrowserView.cpp:
(BrowserView::create):

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

10 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Sun, 20 Jun 2010 00:38:00 +0000 (00:38 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        When V8 ScriptData caching was originally submitted it causes crashes
        in external scripts with high-byte characters. This new test crashes on
        the original code, but now passes.

        * fast/js/parser-high-byte-character-expected.txt: Added.
        * fast/js/parser-high-byte-character.html: Added.
        * fast/js/script-tests/parser-high-byte-character.js: Added.
        (runTest):
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Adam Barth.

        Persist V8's ScriptData to the memory cache.
        https://bugs.webkit.org/show_bug.cgi?id=38661

        This stores V8's ScriptData in the memory cache and also causes the
        network platform layer to be notified of the available cacheable
        metadata.

        Chromium's morejs benchmark showed a ~7% improvement when this was
        originally submitted (before it had to be rolled back).

        Test: fast/js/parser-high-byte-character.html

        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):
        (WebCore::ScriptSourceCode::cachedScript):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::compileScript):
        (WebCore::V8Proxy::precompileScript):
        (WebCore::V8Proxy::evaluate):
        * bindings/v8/V8Proxy.h:

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

10 years ago2010-06-19 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 21:48:54 +0000 (21:48 +0000)]
2010-06-19  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update.

        * platform/chromium/test_expectations.txt: Tuned expectations according to the bot result runs.

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

10 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
abarth@webkit.org [Sat, 19 Jun 2010 20:39:30 +0000 (20:39 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Add LayoutTest to ensure resources within <noscript> are not preloaded
        https://bugs.webkit.org/show_bug.cgi?id=40849

        * fast/preloader/noscript-expected.txt: Added.
        * fast/preloader/noscript.html: Added.
        * fast/preloader/resources/noscript-image1.png: Copied from BugsSite/data/mail.
        * fast/preloader/resources/noscript-image2.png: Copied from BugsSite/data/mail.

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

10 years ago2010-06-19 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Sat, 19 Jun 2010 17:24:54 +0000 (17:24 +0000)]
2010-06-19  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kent Tamura.

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

        Port SocketStream with BREW MP's ISocket interface.

        * platform/network/brew/SocketStreamError.h: Added.
        (WebCore::SocketStreamError::SocketStreamError):
        * platform/network/brew/SocketStreamHandle.h: Added.
        (WebCore::SocketStreamHandle::create):
        * platform/network/brew/SocketStreamHandleBrew.cpp: Added.
        (WebCore::socketStreamConnectCallback):
        (WebCore::getHostByNameCallback):
        (WebCore::socketReadableCallback):
        (WebCore::networkManager):
        (WebCore::SocketStreamHandlePrivate::SocketStreamHandlePrivate):
        (WebCore::SocketStreamHandlePrivate::~SocketStreamHandlePrivate):
        (WebCore::SocketStreamHandlePrivate::socketConnected):
        (WebCore::SocketStreamHandlePrivate::socketReadyRead):
        (WebCore::SocketStreamHandlePrivate::connect):
        (WebCore::SocketStreamHandlePrivate::send):
        (WebCore::SocketStreamHandlePrivate::close):
        (WebCore::SocketStreamHandlePrivate::socketClosed):
        (WebCore::SocketStreamHandlePrivate::socketError):
        (WebCore::SocketStreamHandle::SocketStreamHandle):
        (WebCore::SocketStreamHandle::~SocketStreamHandle):
        (WebCore::SocketStreamHandle::platformSend):
        (WebCore::SocketStreamHandle::platformClose):
        (WebCore::SocketStreamHandle::didReceiveAuthenticationChallenge):
        (WebCore::SocketStreamHandle::receivedCredential):
        (WebCore::SocketStreamHandle::receivedRequestToContinueWithoutCredential):
        (WebCore::SocketStreamHandle::receivedCancellation):
        * platform/network/brew/SocketStreamHandlePrivate.h: Added.

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

10 years ago2010-06-19 Jay Civelli <jcivelli@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 17:11:35 +0000 (17:11 +0000)]
2010-06-19  Jay Civelli  <jcivelli@chromium.org>

        Reviewed by David Levin.

        Adding a < operator to WebURLs so they can be used in std::maps.
        https://bugs.webkit.org/show_bug.cgi?id=40632

        * public/WebCString.h:
        (WebKit::operator<):
        * public/WebURL.h:
        (WebKit::operator<):
        * src/WebCString.cpp:
        (WebKit::WebCString::compare):

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

10 years ago2010-06-19 Nikita Vasilyev <me@elv1s.ru>
eric@webkit.org [Sat, 19 Jun 2010 16:47:37 +0000 (16:47 +0000)]
2010-06-19  Nikita Vasilyev  <me@elv1s.ru>

        Reviewed by Pavel Feldman.

        Web Inspector: subtitleElement.textContent is always empty. Use subtitleAsText method instead.
        https://bugs.webkit.org/show_bug.cgi?id=40420

        * inspector/elements-tests.js:
        (frontend_getSelectedElementStyles):
2010-06-19  Nikita Vasilyev  <me@elv1s.ru>

        Reviewed by Pavel Feldman.

        Web Inspector: Prevent from copying "filename.css" in Styles pane
        https://bugs.webkit.org/show_bug.cgi?id=40420

        * inspector/front-end/Section.js:
        (WebInspector.Section.prototype.set subtitle):
        (WebInspector.Section.prototype.get subtitleAsText):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection):
        * inspector/front-end/inspector.css:
        (.styles-section .subtitle::before, .styles-section .subtitle a::before):

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

10 years ago2010-06-19 Alex Milowski <alex@milowski.com>
eric@webkit.org [Sat, 19 Jun 2010 16:35:25 +0000 (16:35 +0000)]
2010-06-19  Alex Milowski  <alex@milowski.com>

        Reviewed by Darin Adler.

        A fix for a change in https://bugs.webkit.org/show_bug.cgi?id=39941
        that caused a compile error in MathML.
        https://bugs.webkit.org/show_bug.cgi?id=40827

        * mathml/MathMLElement.cpp:
        (WebCore::MathMLElement::MathMLElement):

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

10 years ago2010-06-19 Kartikaya Gupta <kagupta@rim.com>
eric@webkit.org [Sat, 19 Jun 2010 16:21:03 +0000 (16:21 +0000)]
2010-06-19  Kartikaya Gupta  <kagupta@rim.com>

        Reviewed by Nikolas Zimmermann.

        CPP bindings missing some APIs
        https://bugs.webkit.org/show_bug.cgi?id=40570

        Add missing C++ DOM API bindings. Specifically:
        - NodeFilter callback support
        - Missing custom method implementations in HTMLCollection and HTMLOptionsCollection
        - Missing EventTarget static type-determination methods
        - Fix CPP binding generator to not generate d-ptrs for classes that extend EventTarget and just use the parent's d-ptr instead
        - Switch binding generator to use DOMWindow instead of AbstractView so that necessary W3C-defined methods (e.g. getComputedStyle) are accessible.

        * bindings/cpp/WebDOMDOMWindowCustom.cpp: Added.
        (WebDOMDOMWindow::addEventListener):
        (WebDOMDOMWindow::removeEventListener):
        * bindings/cpp/WebDOMEventTarget.cpp:
        (toWebKit):
        * bindings/cpp/WebDOMEventTarget.h:
        * bindings/cpp/WebDOMHTMLCollectionCustom.cpp: Added.
        (WebDOMHTMLCollection::item):
        (WebDOMHTMLCollection::namedItem):
        * bindings/cpp/WebDOMHTMLOptionsCollectionCustom.cpp: Added.
        (WebDOMHTMLOptionsCollection::length):
        (WebDOMHTMLOptionsCollection::setLength):
        * bindings/cpp/WebDOMNodeFilterCustom.cpp: Added.
        (WebDOMNodeFilter::acceptNode):
        (toWebKit):
        * bindings/cpp/WebNativeNodeFilterCondition.cpp: Added.
        (WebNativeNodeFilterCondition::WebNativeNodeFilterCondition):
        (WebNativeNodeFilterCondition::~WebNativeNodeFilterCondition):
        (WebNativeNodeFilterCondition::acceptNode):
        * bindings/cpp/WebNativeNodeFilterCondition.h: Added.
        (WebNativeNodeFilterCondition::create):
        * bindings/scripts/CodeGeneratorCPP.pm:
        * dom/NodeFilter.idl:
        * page/DOMWindow.idl:

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

10 years ago2010-06-19 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 15:22:05 +0000 (15:22 +0000)]
2010-06-19  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, expectations update

        * platform/chromium/test_expectations.txt: Added a flaky crash.

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

10 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 15:13:50 +0000 (15:13 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed. Build fix for r61488.

        * features.gypi: Define use_accelerated_compositing.

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

10 years ago2010-06-19 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Sat, 19 Jun 2010 15:05:39 +0000 (15:05 +0000)]
2010-06-19  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Darin Adler.

        Include <string.h> in StringExtras.h
        https://bugs.webkit.org/show_bug.cgi?id=40808

        Without string.h, RVCT 2.2 can't compile StringExtras.h.
        It can't find strlen and strncmp.

        * wtf/StringExtras.h:

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

10 years ago2010-06-19 Vangelis Kokkevis <vangelis@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 14:53:08 +0000 (14:53 +0000)]
2010-06-19  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium] Adding a conditional gyp dependency for the WebCore target to
        the gles2_c_lib which is required by the gpu compositor. The dependency will
        only kick in if the accelerated_compositing path is enabled.
        https://bugs.webkit.org/show_bug.cgi?id=40801

        * WebCore.gyp/WebCore.gyp:

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

10 years ago2010-06-19 Yael Aharon <yael.aharon@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 14:19:32 +0000 (14:19 +0000)]
2010-06-19  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Platform plugin's multi-select does not take OptGroup into account
        https://bugs.webkit.org/show_bug.cgi?id=40718

        In multi-select elements, optgroup elements are counted in the index calculation,
        but in single-select they are not. Keep the same logic even when NO_LISTBOX_RENDERING
        is enabled.
        Added tests to the existing manual test, as testing this requires a special build, in which
        NO_LISTBOX_RENDERING is enabled.

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::listBoxSelectItem):
        * manual-tests/no-listbox-rendering.html:
        * rendering/RenderMenuList.cpp:
        (WebCore::RenderMenuList::listBoxSelectItem):
2010-06-19  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Platform plugin's multi-select does not take OptGroup into account
        https://bugs.webkit.org/show_bug.cgi?id=40718

        Make sure that SelectData is valid throughout the lifetime of the dialog.
        This is mostly important for the Orbt based plugin.
        Added virtual desctructors where they were missing.

        * Api/qwebkitplatformplugin.h:
        (QWebSelectData::~QWebSelectData):
        (QWebSelectMethod::~QWebSelectMethod):
        (QWebNotificationData::~QWebNotificationData):
        * WebCoreSupport/QtPlatformPlugin.cpp:
        (WebCore::SelectInputMethodWrapper::SelectInputMethodWrapper):
        (WebCore::SelectInputMethodWrapper::~SelectInputMethodWrapper):
        (WebCore::SelectInputMethodWrapper::show):
        * WebCoreSupport/QtPlatformPlugin.h:
        * examples/platformplugin/WebPlugin.cpp:
        * examples/platformplugin/qwebkitplatformplugin.h:
        (QWebSelectData::~QWebSelectData):
        (QWebSelectMethod::~QWebSelectMethod):
        (QWebNotificationData::~QWebNotificationData):

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

10 years ago2010-06-19 Thomas Van Lenten <thomasvl@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 14:07:01 +0000 (14:07 +0000)]
2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>

        Reviewed by David Levin.

        Warnings from -Wextra in a Chromium Mac build
        1. checks of unsigned >= 0
        2. enumeral and non-enumeral type in conditional expression
        3. copy ctors that don't call the super copy ctor or ctor
        No functionality change so no new tests.

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

        * platform/chromium/ChromiumDataObject.cpp:
        (WebCore::ChromiumDataObject::ChromiumDataObject):
        * platform/chromium/ThemeChromiumMac.mm:
        (WebCore::updateStates):
        * rendering/RenderThemeChromiumMac.mm:
        (WebCore::RenderThemeChromiumMac::updateActiveState):
2010-06-19  Thomas Van Lenten  <thomasvl@chromium.org>

        Reviewed by David Levin.

        Warnings from -Wextra in a Chromium Mac build
        1. checks of unsigned >= 0
        2. enumeral and non-enumeral type in conditional expression
        3. copy ctors that don't call the super copy ctor or ctor

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

        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::getSuggestion):
        (WebKit::AutoFillPopupMenuClient::removeSuggestionAtIndex):
        (WebKit::AutoFillPopupMenuClient::valueChanged):
        (WebKit::AutoFillPopupMenuClient::selectionChanged):
        * src/AutocompletePopupMenuClient.cpp:
        (WebKit::AutocompletePopupMenuClient::getSuggestion):
        (WebKit::AutocompletePopupMenuClient::removeSuggestionAtIndex):

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

10 years ago2010-06-19 Ben Murdoch <benm@google.com>
eric@webkit.org [Sat, 19 Jun 2010 13:54:51 +0000 (13:54 +0000)]
2010-06-19  Ben Murdoch  <benm@google.com>

        Reviewed by Pavel Feldman.

        Fix build break with inspector disabled.
        https://bugs.webkit.org/show_bug.cgi?id=40790

        Replace a #include with a forward declaration.

        Fixing a build break so no new tests required.

        * inspector/InspectorController.h: Forward declare InspectorValue
           rather than #including its header which has its content guarded
           out.

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

10 years ago2010-06-19 Zhe Su <suzhe@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 13:32:34 +0000 (13:32 +0000)]
2010-06-19  Zhe Su  <suzhe@chromium.org>

        Reviewed by Darin Fisher.

        [chromium]Refactor input method related APIs.
        https://bugs.webkit.org/show_bug.cgi?id=40608

        No new tests are needed, because there is no new functionality.

        * page/FocusController.cpp:
        (WebCore::FocusController::setFocusedNode):
2010-06-19  Zhe Su  <suzhe@chromium.org>

        Reviewed by Darin Fisher.

        [chromium]Refactor input method related APIs.
        https://bugs.webkit.org/show_bug.cgi?id=40608

        * WebKit.gyp:
        * public/WebCompositionCommand.h:
        * public/WebCompositionUnderline.h: Added.
        (WebKit::WebCompositionUnderline::WebCompositionUnderline):
        * public/WebTextInputType.h: Added.
        (WebKit::):
        * public/WebViewClient.h:
        * public/WebWidget.h:
        * public/WebWidgetClient.h:
        (WebKit::WebWidgetClient::resetInputMethod):
        * src/CompositionUnderlineBuilder.h: Added.
        (WebKit::CompositionUnderlineBuilder::CompositionUnderlineBuilder):
        * src/CompositionUnderlineVectorBuilder.cpp: Added.
        (WebKit::CompositionUnderlineVectorBuilder::CompositionUnderlineVectorBuilder):
        * src/CompositionUnderlineVectorBuilder.h: Added.
        * src/EditorClientImpl.cpp:
        (WebKit::EditorClientImpl::setInputMethodState):
        * src/WebPopupMenuImpl.cpp:
        (WebKit::WebPopupMenuImpl::setComposition):
        (WebKit::WebPopupMenuImpl::confirmComposition):
        (WebKit::WebPopupMenuImpl::textInputType):
        (WebKit::WebPopupMenuImpl::caretOrSelectionBounds):
        * src/WebPopupMenuImpl.h:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::handleCompositionEvent):
        (WebKit::WebViewImpl::setComposition):
        (WebKit::WebViewImpl::confirmComposition):
        (WebKit::WebViewImpl::textInputType):
        (WebKit::WebViewImpl::caretOrSelectionBounds):
        * src/WebViewImpl.h:

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

10 years ago2010-06-19 Victoria Kirst <vrk@google.com>
eric@webkit.org [Sat, 19 Jun 2010 13:05:35 +0000 (13:05 +0000)]
2010-06-19  Victoria Kirst  <vrk@google.com>

        Reviewed by David Levin.

        Modifying the WebMediaPlayer interface to be compatible with
        a change in chrome.
        This is a part 2 of 3 one-sided changes to chrome and WebKit. Chrome
        has been updated, so this commit should NOT break chromium anymore,
        nor should it cause any test failures.
        https://bugs.webkit.org/show_bug.cgi?id=39445

        * public/WebMediaPlayer.h: Changed buffered() to be non-const.

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

10 years ago2010-06-19 George Wright <gwright@rim.com>
eric@webkit.org [Sat, 19 Jun 2010 12:32:02 +0000 (12:32 +0000)]
2010-06-19  George Wright  <gwright@rim.com>

        Reviewed by George Staikos.

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

        Make setWapInputFormat() public again as CSSStyleSelector.cpp calls this when WCSS is enabled.

        * html/HTMLInputElement.h:
        (WebCore::HTMLInputElement::data):

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

10 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 12:31:38 +0000 (12:31 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        * platform/chromium/test_expectations.txt:
          - progress-element.html is essentially flaky on Mac.
          - use-clipped-hit.svg passes recently.

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

10 years ago2010-06-19 No'am Rosenthal <noam.rosenthal@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 11:58:18 +0000 (11:58 +0000)]
2010-06-19  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Simon Hausmann.

        Bridge documentation: some snippets have the wrong indentation
        https://bugs.webkit.org/show_bug.cgi?id=40717

        Fixed code snippets

        * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
        (wrapInFunction):

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

10 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 11:43:21 +0000 (11:43 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Add expectations for <meter> and <progress>.

        * platform/chromium-linux/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.txt: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.checksum: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.png: Added.
        * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.txt: Added.
        * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
        * platform/chromium/test_expectations.txt:

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

10 years ago2010-06-02 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sat, 19 Jun 2010 11:02:54 +0000 (11:02 +0000)]
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        This initial implementation passes 25 of the 27 tests in
        http/tests/isolatedworld as well as four others that use the
        call in LayoutTests.

        Further work/investigation is required to support the two
        remaining tests.

        * platform/qt/Skipped:
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        getOwnPropertyNames() crashes if PropertyNameArray is size 0. This change allows
        http/tests/world-reuse.html and didClearWindowObject.html to fail instead of crash.

        * WebCore.pro: Add qwebscriptworld.*
        * bridge/qt/qt_runtime.cpp:
        (JSC::Bindings::convertValueToQVariant):
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

        * Api/headers.pri:
        * Api/qwebframe.cpp:
        (QWebFrame::evaluateScriptInIsolatedWorld):
        * Api/qwebframe.h:
        * Api/qwebscriptworld.cpp: Added.
        (QWebScriptWorld::QWebScriptWorld):
        (QWebScriptWorld::world):
        (QWebScriptWorld::~QWebScriptWorld):
        * Api/qwebscriptworld.h: Added.
        * Api/qwebscriptworld_p.h: Added.
        (QWebScriptWorldPrivate::QWebScriptWorldPrivate):
        (QWebScriptWorldPrivate::~QWebScriptWorldPrivate):
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2010-06-02  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        [Qt] Support evaluateScriptInIsolatedWorld()

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

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

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

10 years ago2010-06-19 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 19 Jun 2010 10:18:27 +0000 (10:18 +0000)]
2010-06-19  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Rebaseline for tetDecoration.svg.

        * platform/chromium-linux/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/chromium-linux/svg/batik/text/textDecoration-expected.png: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.png: Added.
        * platform/chromium-win/svg/batik/text/textDecoration-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2010-06-19 Olivier Goffart <olivier.goffart@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 10:04:00 +0000 (10:04 +0000)]
2010-06-19  Olivier Goffart  <olivier.goffart@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Compilation in QWebPagePrivate::timerEvent with clang
        https://bugs.webkit.org/show_bug.cgi?id=40714

        QObject::timerEvent is protected and cannot be accessed by QWebPagePrivate
        with clang

        QWebPagePrivate is a friend of QWebPage and then should have access to
        all protected members of parents of QWebPage, including QObject.
        But the clang team do not want to conform to this aspect of the specification
        because "It is either a drafting error or a horrible mistake."
        See http://llvm.org/bugs/show_bug.cgi?id=6840

        This change is better because QWebPage does not reimplement the timerEvent
        (QWebPagePrivate::timerEvent is called from QWebPage::event)
        So customers that would reimplement their own timerEvent
        for their own timer now get a chance to catch them.

        * Api/qwebpage.cpp:
        (QWebPagePrivate::timerEvent):

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

10 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:45:12 +0000 (09:45 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Don't use __attribute__((may_alias)) with the Intel compiler,
        as it doesn't understand it.

        * wtf/Vector.h:

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

10 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:23:15 +0000 (09:23 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Fix compilation with the Intel C++ compiler (11.1.072).

        Like RVCT, label pointers must be void*, not const void*.

        * bytecode/Opcode.h:

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

10 years ago2010-06-19 Thiago Macieira <thiago.macieira@nokia.com>
eric@webkit.org [Sat, 19 Jun 2010 09:09:24 +0000 (09:09 +0000)]
2010-06-19  Thiago Macieira <thiago.macieira@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        Add the WTF_COMPILER_INTEL for when the Intel compiler is used
        for building. Usually, the Intel compiler masquerades as
        another compiler in the system and gets away with it, but some
        times specific fixes are required (such as when using language
        extensions).

        * wtf/Platform.h:

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

10 years ago2010-06-19 Mirko Damiani <mirko@develer.com>
eric@webkit.org [Sat, 19 Jun 2010 08:45:03 +0000 (08:45 +0000)]
2010-06-19  Mirko Damiani  <mirko@develer.com>

        Reviewed by Simon Hausmann.

        [Qt] Avoid truncation of zoom factor in QWebFrame's print function.
        https://bugs.webkit.org/show_bug.cgi?id=40662

        The zoom factor is a qreal number but its value is truncated to an
        integer. So a cast to qreal is needed to avoid this issue.

        * Api/qwebframe.cpp:
        (QWebFrame::print):

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

10 years ago2010-06-19 Zhenyao Mo <zmo@google.com>
eric@webkit.org [Sat, 19 Jun 2010 08:31:22 +0000 (08:31 +0000)]
2010-06-19  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        fast/canvas/webgl/get-active-test.html failed in Chrome Mac
        https://bugs.webkit.org/show_bug.cgi?id=40496

        * fast/canvas/webgl/get-active-test-expected.txt: Test of two contexts and two programs, also test the uniform array name ends with "[0]".
        * fast/canvas/webgl/script-tests/get-active-test.js: Ditto.
2010-06-19  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        fast/canvas/webgl/get-active-test.html failed in Chrome Mac
        https://bugs.webkit.org/show_bug.cgi?id=40496

        * src/WebGraphicsContext3DDefaultImpl.cpp: Call makeContextCurrent().
        (WebKit::WebGraphicsContext3DDefaultImpl::getActiveAttrib):
        (WebKit::WebGraphicsContext3DDefaultImpl::getActiveUniform):
        (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):

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

10 years ago2010-06-19 Tony Gentilcore <tonyg@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 07:26:25 +0000 (07:26 +0000)]
2010-06-19  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Eric Seidel.

        Some very minor cleanups for HTML5 Parser
        https://bugs.webkit.org/show_bug.cgi?id=40638

        No new tests because no new functionality.

        * html/HTML5DocumentParser.cpp:
        (WebCore::): Make ctor explicit.
        * html/HTML5DocumentParser.h:
        (WebCore::HTML5DocumentParser::InsertionPointRecord::InsertionPointRecord): Make ctor explicit.
        * html/HTML5Lexer.cpp:
        (WebCore::HTMLNames::isEndTagBufferingState): Use switch to generate an efficient table with single branch.
        * html/HTML5Token.h:
        (WebCore::HTML5Token::forceQuirks): Add const.
        * html/HTML5TreeBuilder.h:
        (WebCore::HTML5TreeBuilder::isPaused): Add const.

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

10 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
eric@webkit.org [Sat, 19 Jun 2010 07:12:37 +0000 (07:12 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Darin Adler.

        Add three more non-core Chromium builders to start testing DumpRenderTree.
        https://bugs.webkit.org/show_bug.cgi?id=40335

        * BuildSlaveSupport/build.webkit.org-config/config.json: Added 3 builders.

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

10 years ago2010-06-18 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 07:08:21 +0000 (07:08 +0000)]
2010-06-18  Aaron Boodman  <aa@chromium.org>

        Remove WebKit::WebDocument::isXHTMLDocument.
        https://bugs.webkit.org/show_bug.cgi?id=40815

        * dom/Document.h: remove isXHTML() getter.
2010-06-18  Aaron Boodman  <aa@chromium.org>

        Remove WebKit::WebDocument::isXHTMLDocument.
        https://bugs.webkit.org/show_bug.cgi?id=40815

        * public/WebDocument.h: Remove isXHTMLDocument().
        * src/WebDocument.cpp: Ditto.

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

10 years ago2010-06-19 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 07:05:45 +0000 (07:05 +0000)]
2010-06-19  Aaron Boodman  <aa@chromium.org>

        Unreviewed, rolling out r61466.
        http://trac.webkit.org/changeset/61466
        https://bugs.webkit.org/show_bug.cgi?id=40816

        Landed wrong change

        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::initContextIfNeeded):
        * bindings/v8/V8DOMWindowShell.h:
2010-06-19  Aaron Boodman  <aa@chromium.org>

        Unreviewed, rolling out r61466.
        http://trac.webkit.org/changeset/61466
        https://bugs.webkit.org/show_bug.cgi?id=40816

        Landed wrong change

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

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

10 years ago2010-06-18 Aaron Boodman <aa@chromium.org>
aa@chromium.org [Sat, 19 Jun 2010 06:54:24 +0000 (06:54 +0000)]
2010-06-18  Aaron Boodman  <aa@chromium.org>

        WebKit API: Undo static hooks into V8 when WebKit is shut down.
        https://bugs.webkit.org/show_bug.cgi?id=40816

        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::initContextIfNeeded):
        (WebCore::V8DOMWindowShell::initializeV8IfNeeded):
        (WebCore::V8DOMWindowShell::uninitializeV8IfNeeded):
        * bindings/v8/V8DOMWindowShell.h:
2010-06-18  Aaron Boodman  <aa@chromium.org>

        WebKit API: Undo static hooks into V8 when WebKit is shut downm
        https://bugs.webkit.org/show_bug.cgi?id=40816

        * src/WebKit.cpp:
        (WebKit::shutdown): Call new WebCore::V8DOMWindowShell::uninitializeV8IfNeeded().

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

10 years ago2010-06-18 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Sat, 19 Jun 2010 04:33:58 +0000 (04:33 +0000)]
2010-06-18  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=19575
        layout test svg/batik/text/textDecoration.svg hangs

        Reenable this test since crash is gone (tested on OS X 10.5.8).

        * platform/mac/svg/batik/text/textDecoration-expected.checksum: Added.
        * platform/mac/svg/batik/text/textDecoration-expected.png: Added.
        * platform/mac/svg/batik/text/textDecoration-expected.txt: Added.
        * svg/batik/text/textDecoration.svg: Renamed from LayoutTests/svg/batik/text/textDecoration.svg-disabled.

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

10 years ago2010-06-18 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 19 Jun 2010 03:35:45 +0000 (03:35 +0000)]
2010-06-18  Adam Barth  <abarth@webkit.org>

        Unreviewed, rolling out r61459.
        http://trac.webkit.org/changeset/61459
        https://bugs.webkit.org/show_bug.cgi?id=40869

        Seems to have broken two tests on the Tiger buildbot:

        dom/html/level2/html/AppletsCollection.html
        plugins/qt-qwidget-plugin.html

        Anders wasn't on #webkit...

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::spawnPluginHost):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage name]):
        (-[WebBasePluginPackage path]):
        (-[WebBasePluginPackage filename]):
        (-[WebBasePluginPackage pluginDescription]):
        (-[WebBasePluginPackage setName:]):
        (-[WebBasePluginPackage setPath:]):
        (-[WebBasePluginPackage setPluginDescription:]):
        (-[WebBasePluginPackage description]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        (-[WebNetscapePluginPackage _tryLoad]):
        (-[WebNetscapePluginPackage _unloadWithShutdown:]):
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage load]):

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

10 years agoBug 19509 - Database Tables in the Inspector should be sortable
jberlin@webkit.org [Sat, 19 Jun 2010 03:23:38 +0000 (03:23 +0000)]
Bug 19509 - Database Tables in the Inspector should be sortable
https://bugs.webkit.org/show_bug.cgi?id=19509

Reviewed by Darin Adler.

* inspector/front-end/StoragePanel.js:
(WebInspector.StoragePanel.prototype.dataGridForResult):
Make each column in the DataGrid sortable.
(WebInspector.StoragePanel.prototype._sortDataGrid.comparator):
Make sure to sort numeric columns by their numeric values, instead of lexicographically.
(WebInspector.StoragePanel.prototype._sortDataGrid):
Sort the entries in the DataGrid based on the selected column.

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

10 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Sat, 19 Jun 2010 03:18:07 +0000 (03:18 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        * WebCore.gyp/WebCore.gyp: Modified inclusion rule in to actually add WebSystemInterface.mm.

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

10 years agoFix Tiger build.
andersca@apple.com [Sat, 19 Jun 2010 01:15:51 +0000 (01:15 +0000)]
Fix Tiger build.

* Plugins/WebBasePluginPackage.mm:
(-[WebBasePluginPackage isJavaPlugIn]):

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

10 years agoMore clang++ warning fixes.
andersca@apple.com [Sat, 19 Jun 2010 01:07:14 +0000 (01:07 +0000)]
More clang++ warning fixes.

Reviewed by Oliver Hunt.

* inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::restoreAttachedWindowHeight):
* platform/graphics/mac/FontPlatformData.h:
* platform/graphics/mac/WebLayer.mm:
(-[CALayer _descriptionWithPrefix:]):

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

10 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sat, 19 Jun 2010 00:35:06 +0000 (00:35 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Change some WebPluginDabase ivars to use WebCore::String instead of NSString.
        https://bugs.webkit.org/show_bug.cgi?id=40869

        * Plugins/Hosted/NetscapePluginHostManager.mm:
        (WebKit::NetscapePluginHostManager::spawnPluginHost):
        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage initWithPath:]):
        (-[WebBasePluginPackage getPluginInfoFromPLists]):
        (-[WebBasePluginPackage dealloc]):
        (-[WebBasePluginPackage name]):
        (-[WebBasePluginPackage path]):
        (-[WebBasePluginPackage filename]):
        (-[WebBasePluginPackage pluginDescription]):
        (-[WebBasePluginPackage description]):
        (-[WebBasePluginPackage isJavaPlugIn]):
        * Plugins/WebNetscapePluginPackage.mm:
        (-[WebNetscapePluginPackage getPluginInfoFromResources]):
        (-[WebNetscapePluginPackage _tryLoad]):
        (-[WebNetscapePluginPackage _unloadWithShutdown:]):
        * Plugins/WebPluginPackage.mm:
        (-[WebPluginPackage load]):

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

10 years ago[Chromium] Plumbing for top-level frame names
atwilson@chromium.org [Sat, 19 Jun 2010 00:15:52 +0000 (00:15 +0000)]
[Chromium] Plumbing for top-level frame names
https://bugs.webkit.org/show_bug.cgi?id=40430

Reviewed by Darin Fisher.

WebKit/chromium:

* public/WebFrame.h:
Removed obsolete clearName() API and added better documentation for
setName().
* src/WebFrameImpl.cpp:
Removed clearName() API.
* src/WebFrameImpl.h:
Removed clearName() API.

WebKitTools:

* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::reset):
Changed obsolete call to clearName() to use setName(WebString()) instead.

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

10 years ago Test by Chris Brichford.
ap@apple.com [Sat, 19 Jun 2010 00:15:50 +0000 (00:15 +0000)]
    Test by Chris Brichford.

        https://bugs.webkit.org/show_bug.cgi?id=19759
        ChildNodeList for an attribute node is not properly invalidated after appending a child

        This issue has been fixed in another bug, just landing an additional test.

        * fast/dom/Attr/child-nodes-length-cache-expected.txt: Added.
        * fast/dom/Attr/child-nodes-length-cache.html: Added.

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

10 years agoWebKit: Rename WebPluginPackage.m to make it an Objective-C++ file.
andersca@apple.com [Sat, 19 Jun 2010 00:01:09 +0000 (00:01 +0000)]
WebKit: Rename WebPluginPackage.m to make it an Objective-C++ file.

Reviewed by Sam Weinig.

* WebKit.xcodeproj/project.pbxproj:

WebKit/mac: Rename WebPluginPackage.m to make it an Objective-C++ file.

Reviewed by Sam Weinig.

* Plugins/WebPluginPackage.m: Removed.
* Plugins/WebPluginPackage.mm: Copied from Plugins/WebPluginPackage.m.

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

10 years ago2010-06-18 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Fri, 18 Jun 2010 23:56:41 +0000 (23:56 +0000)]
2010-06-18  Dimitri Glazkov  <dglazkov@chromium.org>

        Unreviewed, build fix.

        * WebCore.gyp/WebCore.gyp: Renamed WebSystemInterface.m to WebSystemInterface.mm.

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

10 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:51:31 +0000 (23:51 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Get rid of the NSEnumerators from WebBasePluginPackage
        https://bugs.webkit.org/show_bug.cgi?id=40868

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (-[WebBasePluginPackage MIMETypes]):
        (-[WebBasePluginPackage supportsExtension:]):
        (-[WebBasePluginPackage supportsMIMEType:]):
        * Plugins/WebPluginDatabase.mm:
        (-[WebPluginDatabase pluginForMIMEType:]):
        (-[WebPluginDatabase pluginForExtension:]):
        (-[WebPluginDatabase refresh]):
        (-[WebPluginDatabase _removePlugin:]):
        * WebCoreSupport/WebPlatformStrategies.mm:
        (WebPlatformStrategies::getPluginInfo):

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

10 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:23:47 +0000 (23:23 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebKit.xcodeproj/project.pbxproj:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebCoreSupport/WebSystemInterface.h:
        * WebCoreSupport/WebSystemInterface.m: Removed.
        * WebCoreSupport/WebSystemInterface.mm: Copied from WebKit/mac/WebCoreSupport/WebSystemInterface.m.
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * platform/mac/WebCoreSystemInterface.h:
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Make WebCoreSystemInterface.h a C++ only header
        https://bugs.webkit.org/show_bug.cgi?id=40867

        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.h:
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: Removed.
        * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: Copied from WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.m.
        * mac/WebKit2.exp:

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

10 years ago2010-06-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 18 Jun 2010 23:17:06 +0000 (23:17 +0000)]
2010-06-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Clean up WebPluginDatabase.mm
        https://bugs.webkit.org/show_bug.cgi?id=40866

        * Plugins/WebBasePluginPackage.h:
        * Plugins/WebBasePluginPackage.mm:
        (pathByResolvingSymlinksAndAliases):
        (-[WebBasePluginPackage initWithPath:]):
        Change an instance method into a static function.

        * Plugins/WebPluginDatabase.mm:
        (PluginPackageCandidates::PluginPackageCandidates):
        (PluginPackageCandidates::update):
        (PluginPackageCandidates::bestCandidate):
        Add a new PluginPackageCandidates class.

        (-[WebPluginDatabase pluginForKey:withEnumeratorSelector:]):
        Use PluginPackageCandidates here.

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

10 years agoWebCore: Convert column span from an unsigned short type to an unsigned int
levin@chromium.org [Fri, 18 Jun 2010 23:13:00 +0000 (23:13 +0000)]
WebCore: Convert column span from an unsigned short type to an unsigned int
type. Fixes a divide-by-zero crash arising from using a zero colspan
value coming from a narrow cast of an int to an unsigned short.
https://bugs.webkit.org/show_bug.cgi?id=40812

Patch by Abhishek Arya <inferno@chromium.org> on 2010-06-18
Reviewed by Adam Barth.

Test: fast/table/zero-colspan-crash.html

* rendering/RenderTable.h: Change span from unsigned short to unsigned int.
* rendering/RenderTableSection.cpp: Fix a compiler warning with comparing
  unsigned int with signed int. Value of an unsigned int here cannot be
  greater than maximum positive value of a signed int.
(WebCore::RenderTableSection::addCell):

LayoutTests: Tests that we do not crash while rendering a fixed table layout.
https://bugs.webkit.org/show_bug.cgi?id=40812

Patch by Abhishek Arya <inferno@chromium.org> on 2010-06-18
Reviewed by Adam Barth.

* fast/table/zero-colspan-crash-expected.txt: Added.
* fast/table/zero-colspan-crash.html: Added.

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