WebKit-https.git
9 years agohttps://bugs.webkit.org/show_bug.cgi?id=51328
hyatt@apple.com [Mon, 3 Jan 2011 18:55:03 +0000 (18:55 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=51328

Reviewed by Simon Fraser.

WebCore:

Printing on a page with body { height: 100% } clips out the overflow contents.  This happened
because the computePageRects function was never correct.  It was using the layer's width and height
for the document's width and height, and the layer no longer includes overflow in its width and
height.  It was also incorrectly assuming the first page would begin at (0,0), and this is an invalid
assumption in RTL or vertical text environments.

Added printing/page-count-percentage-height.html

* page/PrintContext.cpp:
(WebCore::PrintContext::computePageRects):
(WebCore::PrintContext::computePageRectsWithPageSizeInternal):

LayoutTests:

Add layout test for printing clipping bug.

* printing/page-count-percentage-height-expected.txt: Added.
* printing/page-count-percentage-height.html: Added.
* printing/script-tests/page-count-percentage-height.js: Added.
(test):

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

9 years agoUnreviewed, rolling out unnecessary r74905.
ossy@webkit.org [Mon, 3 Jan 2011 18:41:23 +0000 (18:41 +0000)]
Unreviewed, rolling out unnecessary r74905.

[Qt] DRT sideeffect revealed by r74896
https://bugs.webkit.org/show_bug.cgi?id=51829

* platform/qt/Skipped:

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

9 years agoMake run-api-tests less chatty.
weinig@apple.com [Mon, 3 Jan 2011 18:40:55 +0000 (18:40 +0000)]
Make run-api-tests less chatty.
https://bugs.webkit.org/show_bug.cgi?id=51831

Reviewed by Anders Carlsson.

- Make script quiet by default and add --verbose option (replacing --quiet).
- When not verbose, pipe stdout and stderr to devnull.

* Scripts/run-api-tests:

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

9 years agoUnreviewed fix.
ossy@webkit.org [Mon, 3 Jan 2011 18:33:42 +0000 (18:33 +0000)]
Unreviewed fix.

[Qt] DRT sideeffect revealed by r74896
https://bugs.webkit.org/show_bug.cgi?id=51829

* platform/qt/Skipped: http/tests/misc/401-alternative-content.php added until fix.

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

9 years ago2011-01-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 3 Jan 2011 18:29:00 +0000 (18:29 +0000)]
2011-01-03  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, Chromium test expectation update.

        Fix duplicate expectation.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-03 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 3 Jan 2011 18:26:12 +0000 (18:26 +0000)]
2011-01-03  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Disable superfluous GNU make built-in implicit rules
        https://bugs.webkit.org/show_bug.cgi?id=51826

        GNU make ships some superflous built-in rules that we never use
        and that end up adding up to a very significant portion of our
        total Makefile processing time. Disable them completely by
        defining the rule without any recipe, as suggested by the GNU make
        manual (10.5.6, Cancelling Implicit Rules).

        In my system the null-build goes from:

        make  43.51s user 12.77s system 99% cpu 56.628 total

        to:

        make  31.45s user 11.59s system 99% cpu 43.227 total

        * GNUmakefile.am: disable implicit built-in rules.

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

9 years ago2011-01-03 Pratik Solanki <psolanki@apple.com>
psolanki@apple.com [Mon, 3 Jan 2011 18:24:54 +0000 (18:24 +0000)]
2011-01-03  Pratik Solanki  <psolanki@apple.com>

        Unreviewed. Adding myself to committers.py.

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

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

9 years ago2011-01-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 3 Jan 2011 18:12:54 +0000 (18:12 +0000)]
2011-01-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Unreviewed, build fix.

        [Qt] Add back auth.html to the skipped list after r74896.

        * platform/qt/Skipped:
          Add http/tests/appcache/auth.html to the list.

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

9 years ago[Qt] Unreviewed buildfix for --minimal build after r74895.
ossy@webkit.org [Mon, 3 Jan 2011 18:10:40 +0000 (18:10 +0000)]
[Qt] Unreviewed buildfix for --minimal build after r74895.

* html/InputType.cpp: Missing include added.
* html/NumberInputType.cpp: Missing include added.

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

9 years ago2011-01-03 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Mon, 3 Jan 2011 17:59:48 +0000 (17:59 +0000)]
2011-01-03  Daniel Bates  <dbates@rim.com>

        Attempt to fix the Chromium Linux Release build after changeset 74895 <http://trac.webkit.org/changeset/74895>.

        The portion of the patch in <https://bugs.webkit.org/show_bug.cgi?id=51791> that modified the
        file src/WebSearchableFormData.cpp was not landed (why?). Although the change log entry
        associated with this change was landed.

        * src/WebSearchableFormData.cpp:
        (HTMLNames::IsInDefaultState):

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

9 years ago2011-01-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 3 Jan 2011 17:53:07 +0000 (17:53 +0000)]
2011-01-03  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed. Update .gitignore with new JavaScriptCore location.

        * .gitignore:

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

9 years ago2011-01-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
mihaip@chromium.org [Mon, 3 Jan 2011 17:48:37 +0000 (17:48 +0000)]
2011-01-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by David Levin.

        [Qt] Unskip some passing tests as the bot is migrated to Qt 4.7+
        https://bugs.webkit.org/show_bug.cgi?id=51819

        * platform/qt/Skipped: Remove passing HTTP tests.
          Keep timer-vs-loading.html as it is still failing.

        * platform/qt/http/tests/loading/bad-scheme-subframe-expected.txt:
          Match the expected results with chromium to pass the test.

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

9 years ago2011-01-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 3 Jan 2011 17:26:17 +0000 (17:26 +0000)]
2011-01-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by David Levin.

        [Qt] Unskip some passing tests as the bot is migrated to Qt 4.7+
        https://bugs.webkit.org/show_bug.cgi?id=51819

        * platform/qt/Skipped: Remove passing HTTP tests.
          Keep timer-vs-loading.html as it is still failing.

        * platform/qt/http/tests/loading/bad-scheme-subframe-expected.txt:
          Match the expected results with chromium to pass the test.

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

9 years ago2011-01-02 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 3 Jan 2011 17:21:43 +0000 (17:21 +0000)]
2011-01-02  Darin Adler  <darin@apple.com>

        Reviewed by Kent Tamura.

        Eliminate HTMLInputElement::m_deprecatedTypeNumber, other input refactoring and renaming
        https://bugs.webkit.org/show_bug.cgi?id=51791

        * src/WebSearchableFormData.cpp:
        (HTMLNames::IsInDefaultState): Use hasAttribute(checkedAttr)
        to find out whether a button should be checked by default,
        rather than calling the defaultChecked function.
2011-01-02  Darin Adler  <darin@apple.com>

        Reviewed by Kent Tamura.

        Eliminate HTMLInputElement::m_deprecatedTypeNumber, other input refactoring and renaming
        https://bugs.webkit.org/show_bug.cgi?id=51791

        * dom/InputElement.h: Make sanitizeValueForTextField public so it can
        be called by InputType.

        * html/BaseButtonInputType.cpp:
        (WebCore::BaseButtonInputType::accessKeyAction): Added.
        (WebCore::BaseButtonInputType::storesValueSeparateFromAttribute): Added.
        * html/BaseButtonInputType.h: Ditto.

        * html/BaseCheckableInputType.cpp:
        (WebCore::BaseCheckableInputType::canSetStringValue): Added.
        (WebCore::BaseCheckableInputType::accessKeyAction): Added.
        (WebCore::BaseCheckableInputType::fallbackValue): Added.
        (WebCore::BaseCheckableInputType::storesValueSeparateFromAttribute): Added.
        (WebCore::BaseCheckableInputType::isCheckable): Added.
        * html/BaseCheckableInputType.h: Ditto.

        * html/BaseDateAndTimeInputType.cpp:
        (WebCore::BaseDateAndTimeInputType::hasSpinButton): Added.
        * html/BaseDateAndTimeInputType.h: Ditto.

        * html/BaseTextInputType.h: Made more functions private.

        * html/ButtonInputType.cpp:
        (WebCore::ButtonInputType::isTextButton): Added.
        * html/ButtonInputType.h: Ditto.

        * html/CheckboxInputType.cpp:
        (WebCore::CheckboxInputType::willDispatchClick): Added.
        (WebCore::CheckboxInputType::didDispatchClick): Added.
        (WebCore::CheckboxInputType::isCheckbox): Added.
        * html/CheckboxInputType.h: Ditto.

        * html/DateTimeInputType.cpp:
        (WebCore::DateTimeInputType::scaledStepValueShouldBeInteger): Fixed
        typo in name of this function.
        * html/DateTimeInputType.h: Ditto.
        * html/DateTimeLocalInputType.cpp:
        (WebCore::DateTimeLocalInputType::scaledStepValueShouldBeInteger): Ditto.
        * html/DateTimeLocalInputType.h: Ditto.

        * html/EmailInputType.cpp:
        (WebCore::EmailInputType::isEmailField): Added.
        * html/EmailInputType.h: Ditto.

        * html/FileInputType.cpp:
        (WebCore::FileInputType::FileInputType): Added.
        (WebCore::FileInputType::canSetStringValue): Added.
        (WebCore::FileInputType::canChangeFromAnotherType): Added.
        (WebCore::FileInputType::files): Added.
        (WebCore::FileInputType::canSetValue): Added.
        (WebCore::FileInputType::getTypeSpecificValue): Added.
        (WebCore::FileInputType::storesValueSeparateFromAttribute): Added.
        (WebCore::FileInputType::setFileList): Added.
        (WebCore::FileInputType::isFileUpload): Added.
        * html/FileInputType.h: Ditto.

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::HTMLInputElement): Updated for data member
        renaming and removal.
        (WebCore::HTMLInputElement::isValidValue): Call canSetStringValue
        instead of checking specific type numbers.
        (WebCore::HTMLInputElement::getAllowedValueStepWithDecimalPlaces):
        Use fastGetAttribute and fixed typo in the name of the
        scaledStepValueShouldBeInteger function.
        (WebCore::HTMLInputElement::isKeyboardFocusable): Call
        InputType::isKeyboardFocusable; moved most of the type-specific
        logic there.
        (WebCore::HTMLInputElement::shouldUseInputMethod): Call
        InputType::shouldUseInputMethod; moved the type-specific logic there.
        (WebCore::HTMLInputElement::handleBlurEvent): Call
        InputType::handleBlurEvent; moved the type-specific logic there.
        (WebCore::HTMLInputElement::setType): Tweak the names and types
        in this function.
        (WebCore::HTMLInputElement::updateType): Removed the code that
        set m_deprecatedTypeNumber. Compare types by comparing the value
        from formControlType. Removed file-specific logic and instead call
        InputType::canChangeFromAnotherType. Streamlined the logic for
        activation callbacks.
        (WebCore::HTMLInputElement::accessKeyAction): Call
        InputType::accessKeyAction; moved the type-specific logic there.
        (WebCore::HTMLInputElement::mapToEntry): Call
        InputType::shouldRespectHeightAndWidthAttributes and
        InputType::shouldRespectAlignAttribute.
        (WebCore::HTMLInputElement::parseMappedAttribute): Updated
        for name changes and the removal of m_defaultChecked. Changed the
        alt attribute logic to be based on the class of the renderer.
        Call InputType::srcAttributeChanged and moved the type-specific
        logic there. Call shouldRespectAlignAttribute and
        shouldRespectHeightAndWidthAttributes rather than having
        type-specific logic here. Call minOrMaxAttributeChanged.
        (WebCore::HTMLInputElement::rendererIsNeeded): Call
        InputType::rendererIsNeeded; moved the type-specific logic there.
        (WebCore::HTMLInputElement::attach): Removed the unneeded m_inited
        flag, which was redundant with the m_haveType flag. Call
        InputType::attach; moved the type-specific logic there.
        (WebCore::HTMLInputElement::altText): Use fastGetAttribute.
        (WebCore::HTMLInputElement::isSuccessfulSubmitButton): Call
        InputType::canBeSuccessfulSubmitButton; moved the type-specific
        logic there.
        (WebCore::HTMLInputElement::isActivatedSubmit): Updated for
        name changes.
        (WebCore::HTMLInputElement::setActivatedSubmit): Ditto.
        (WebCore::HTMLInputElement::reset): Updated to use
        InputType::storesValueSeparateFromAttribute. Also use
        hasAttribute(checkedAttr) rather than m_defaultChecked,
        since both are the same. Also updated for name change.
        (WebCore::HTMLInputElement::setChecked): Updated for name
        changes. Also added call to
        InputType::shouldSendChangeEventAfterCheckedChanged and
        moved the type-specific logic there.
        (WebCore::HTMLInputElement::setIndeterminate): Call
        isCheckable to see if indeterminate is allowed.
        Also updated for name changes.
        (WebCore::HTMLInputElement::copyNonAttributeProperties):
        Updated for name changes and removed data members.
        (WebCore::HTMLInputElement::value): Call
        InputType::getTypeSpecificValue and InputType::fallbackValue.
        Moved the type-specific logic there.
        (WebCore::HTMLInputElement::valueWithDefault): Call
        InputType::defaultValue. Moved the type-specific logic there.
        (WebCore::HTMLInputElement::setSuggestedValue): Call
        InputType::canSetSuggestedValue. Moved the type-specific logic
        there.
        (WebCore::HTMLInputElement::setValue): Call
        InputType::canSetValue. Moved the type-specific logic there.
        Clear the file list if it exists rather than checking the
        type explicitly. We could probably do that a more elegant way.
        (WebCore::HTMLInputElement::placeholder): Use fastGetAttribute.
        (WebCore::HTMLInputElement::setValueFromRenderer): Use the
        isFileUpload function in the assertion.
        (WebCore::HTMLInputElement::setFileListFromRenderer): Put most
        of the code from this function into FileInputType::setFileList.
        (WebCore::HTMLInputElement::preDispatchEventHandler): Changed
        to call InputType::willDispatchClick, which does the type-specific
        work. Still need to use a single struct for all types, because
        the type of the element could change during the event handling.
        (WebCore::HTMLInputElement::postDispatchEventHandler): Changed
        to call InputType::didDispatchClick.
        (WebCore::HTMLInputElement::defaultValue): Use fastGetAttribute.
        (WebCore::HTMLInputElement::accept): Use fastGetAttribute.
        (WebCore::HTMLInputElement::alt): Use fastGetAttribute.
        (WebCore::HTMLInputElement::src): Use fastGetAttribute.
        (WebCore::HTMLInputElement::setAutofilled): Updated for name
        changes.
        (WebCore::HTMLInputElement::files): Use InputType::files.
        (WebCore::HTMLInputElement::isAcceptableValue): Use
        InputType::isAcceptableValue.
        (WebCore::HTMLInputElement::sanitizeValue): Use
        InputType::sanitizeValue.
        (WebCore::HTMLInputElement::hasUnacceptableValue): Use
        InputType::hasUnacceptableValue.
        (WebCore::HTMLInputElement::needsActivationCallback): Use
        InputType::shouldResetOnDocumentActivation.
        (WebCore::HTMLInputElement::willMoveToNewOwnerDocument): Use
        InputType::willMoveToNewOwnerDocument.
        (WebCore::HTMLInputElement::dataList): Use
        InputType::shouldRespectListAttribute.
        (WebCore::HTMLInputElement::selectedOption): Tweaked logic
        and naming a bit.
        (WebCore::HTMLInputElement::stepUpFromRenderer): Use
        fastGetAttribute.
        (WebCore::HTMLInputElement::isSpeechEnabled): Use
        InputType::shouldRespectSpeechAttribute.
        (WebCore::HTMLInputElement::isTextButton): No longer inline.
        Calls through to InputType.
        (WebCore::HTMLInputElement::isRadioButton): Ditto.
        (WebCore::HTMLInputElement::isSearchField): Ditto.
        (WebCore::HTMLInputElement::isInputTypeHidden): Ditto.
        (WebCore::HTMLInputElement::isPasswordField): Ditto.
        (WebCore::HTMLInputElement::isCheckbox): Ditto.
        (WebCore::HTMLInputElement::isText): Ditto.
        (WebCore::HTMLInputElement::isEmailField): Ditto.
        (WebCore::HTMLInputElement::isFileUpload): Ditto.
        (WebCore::HTMLInputElement::isImageButton): Ditto.
        (WebCore::HTMLInputElement::isNumberField): Ditto.
        (WebCore::HTMLInputElement::isSubmitButton): Ditto.
        (WebCore::HTMLInputElement::isTelephoneField): Ditto.
        (WebCore::HTMLInputElement::isURLField): Ditto.
        (WebCore::HTMLInputElement::isEnumeratable): Ditto.
        (WebCore::HTMLInputElement::isChecked): No longer inline.
        Calls InputType::isCheckable.
        (WebCore::HTMLInputElement::hasSpinButton): No longer inline.
        Calls through to InputType.
        (WebCore::HTMLInputElement::supportsPlaceholder): No longer
        inline. Calls isTextType as before, but with no special case
        for ISINDEX. That special case was unneeded since it returns
        true from isTextType.
        (WebCore::HTMLInputElement::checkedRadioButtons): No longer
        inline.
        (WebCore::HTMLInputElement::handleBeforeTextInsertedEvent):
        No longer inline.

        * html/HTMLInputElement.h: Removed multiple unneeded includes.
        The big one is probably InputType.h, but also HTMLFormElement.h.
        Removed unneeded forward declarations. Made many functions
        no longer inline since they now need to make virtual function
        dispatches. Removed the unneeded defaultChecked and
        webkitdirectory functions. Both are handled by HTML attribute
        reflection for DOM bindings, and the callers instead can get
        at the attribute. Made updateCheckedRadioButtons public so it
        can be called by an InputType class. Removed
        DeprecatedInputType, InputTypeMap, createTypeMap,
        deprecatedInputType, allowsIndeterminate,
        respectHeightAndWidthAttrs, storesValueSeparateFromAttribute,
        m_imageLoader, m_fileList, m_deprecatedTypeNumber,
        m_defaultChecked, and m_inited. Renamed m_checked to
        m_isChecked, m_useDefaultChecked to m_reflectsCheckedAttribute,
        m_indeterminate tom_isIndeterminate, m_haveType to m_hasType,
        m_activeSubmit to m_isActivatedSubmit, and m_autofilled to
        m_isAutofilled.

        * html/HiddenInputType.cpp:
        (WebCore::HiddenInputType::accessKeyAction): Added.
        (WebCore::HiddenInputType::rendererIsNeeded) Added.:
        (WebCore::HiddenInputType::storesValueSeparateFromAttribute): Added.
        (WebCore::HiddenInputType::isHiddenType): Added.
        (WebCore::HiddenInputType::shouldRespectHeightAndWidthAttributes): Added.
        * html/HiddenInputType.h: Ditto.

        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::ImageInputType): Moved out of the header file.
        (WebCore::ImageInputType::srcAttributeChanged): Added.
        (WebCore::ImageInputType::attach): Added.
        (WebCore::ImageInputType::willMoveToNewOwnerDocument): Added.
        (WebCore::ImageInputType::shouldRespectAlignAttribute): Added.
        (WebCore::ImageInputType::canBeSuccessfulSubmitButton): Added.
        (WebCore::ImageInputType::isImageButton): Added.
        (WebCore::ImageInputType::isEnumeratable): Added.
        (WebCore::ImageInputType::shouldRespectHeightAndWidthAttributes): Added.
        * html/ImageInputType.h: Ditto.

        * html/InputType.cpp:
        (WebCore::InputType::create): Changed argument type to String. There
        is no value in taking an AtomicString here.
        (WebCore::InputType::scaledStepValueShouldBeInteger): Fixed typo in
        this function name.
        (WebCore::InputType::canSetStringValue): Added.
        (WebCore::InputType::isKeyboardFocusable): Added.
        (WebCore::InputType::shouldUseInputMethod): Added.
        (WebCore::InputType::handleBlurEvent): Added.
        (WebCore::InputType::accessKeyAction): Added.
        (WebCore::InputType::attach): Added.
        (WebCore::InputType::srcAttributeChanged): Added.
        (WebCore::InputType::willMoveToNewOwnerDocument): Added.
        (WebCore::InputType::shouldRespectAlignAttribute): Added.
        (WebCore::InputType::canChangeFromAnotherType): Added.
        (WebCore::InputType::minOrMaxAttributeChanged): Added.
        (WebCore::InputType::canBeSuccessfulSubmitButton): Added.
        (WebCore::InputType::rendererIsNeeded): Added.
        (WebCore::InputType::files): Added.
        (WebCore::InputType::getTypeSpecificValue): Added.
        (WebCore::InputType::fallbackValue): Added.
        (WebCore::InputType::defaultValue): Added.
        (WebCore::InputType::canSetSuggestedValue): Added.
        (WebCore::InputType::shouldSendChangeEventAfterCheckedChanged): Added.
        (WebCore::InputType::storesValueSeparateFromAttribute): Added.
        (WebCore::InputType::canSetValue): Added.
        (WebCore::InputType::willDispatchClick): Added.
        (WebCore::InputType::didDispatchClick): Added.
        (WebCore::InputType::isAcceptableValue): Added.
        (WebCore::InputType::sanitizeValue): Added.
        (WebCore::InputType::hasUnacceptableValue): Added.
        (WebCore::InputType::setFileList): Added.
        (WebCore::InputType::shouldResetOnDocumentActivation): Added.
        (WebCore::InputType::shouldRespectListAttribute): Added.
        (WebCore::InputType::shouldRespectSpeechAttribute): Added.
        (WebCore::InputType::isTextButton): Added.
        (WebCore::InputType::isRadioButton): Added.
        (WebCore::InputType::isSearchField): Added.
        (WebCore::InputType::isHiddenType): Added.
        (WebCore::InputType::isPasswordField): Added.
        (WebCore::InputType::isCheckbox): Added.
        (WebCore::InputType::isEmailField): Added.
        (WebCore::InputType::isFileUpload): Added.
        (WebCore::InputType::isImageButton): Added.
        (WebCore::InputType::isNumberField): Added.
        (WebCore::InputType::isSubmitButton): Added.
        (WebCore::InputType::isTelephoneField): Added.
        (WebCore::InputType::isURLField): Added.
        (WebCore::InputType::isEnumeratable): Added.
        (WebCore::InputType::isCheckable): Added.
        (WebCore::InputType::hasSpinButton): Added.
        (WebCore::InputType::shouldRespectHeightAndWidthAttributes): Added.

        * html/InputType.h: Removed unneeded ExceptionCode.h include and
        used a typedef instead as we do when we want for forward declare it.
        Added includes and forward declarations needed for new functions.
        Added ClickHandlingState structure. Changed the argument to create
        to a String rather than AtomicString. Added many virtual functions.

        * html/IsIndexInputType.cpp:
        (WebCore::IsIndexInputType::shouldRespectListAttribute): Added.
        * html/IsIndexInputType.h: Ditto.

        * html/NumberInputType.cpp:
        (WebCore::NumberInputType::handleBlurEvent): Added.
        (WebCore::NumberInputType::isAcceptableValue): Added.
        (WebCore::NumberInputType::sanitizeValue): Added.
        (WebCore::NumberInputType::hasUnacceptableValue): Added.
        (WebCore::NumberInputType::shouldRespectSpeechAttribute): Added.
        (WebCore::NumberInputType::isNumberField): Added.
        (WebCore::NumberInputType::hasSpinButton): Added.
        * html/NumberInputType.h: Ditto.

        * html/PasswordInputType.cpp:
        (WebCore::PasswordInputType::shouldUseInputMethod): Added.
        (WebCore::PasswordInputType::shouldResetOnDocumentActivation): Added.
        (WebCore::PasswordInputType::shouldRespectListAttribute): Added.
        (WebCore::PasswordInputType::shouldRespectSpeechAttribute): Added.
        (WebCore::PasswordInputType::isPasswordField): Added.
        * html/PasswordInputType.h: Ditto.

        * html/RadioInputType.cpp:
        (WebCore::RadioInputType::isKeyboardFocusable): Added.
        (WebCore::RadioInputType::attach): Added.
        (WebCore::RadioInputType::shouldSendChangeEventAfterCheckedChanged): Added.
        (WebCore::RadioInputType::willDispatchClick): Added.
        (WebCore::RadioInputType::didDispatchClick): Added.
        (WebCore::RadioInputType::isRadioButton): Added.
        * html/RadioInputType.h: Ditto.

        * html/RangeInputType.cpp:
        (WebCore::RangeInputType::accessKeyAction): Added.
        (WebCore::RangeInputType::minOrMaxAttributeChanged): Added.
        (WebCore::RangeInputType::fallbackValue): Added.
        (WebCore::RangeInputType::sanitizeValue): Added.
        (WebCore::RangeInputType::shouldRespectListAttribute): Added.
        * html/RangeInputType.h: Ditto.

        * html/ResetInputType.cpp:
        (WebCore::ResetInputType::defaultValue): Added.
        (WebCore::ResetInputType::isTextButton): Added.
        * html/ResetInputType.h: Ditto.

        * html/SearchInputType.cpp:
        (WebCore::SearchInputType::shouldRespectSpeechAttribute): Added.
        (WebCore::SearchInputType::isSearchField): Added.
        * html/SearchInputType.h: Ditto.

        * html/SubmitInputType.cpp:
        (WebCore::SubmitInputType::canBeSuccessfulSubmitButton): Added.
        (WebCore::SubmitInputType::defaultValue): Added.
        (WebCore::SubmitInputType::isSubmitButton): Added.
        (WebCore::SubmitInputType::isTextButton): Added.
        * html/SubmitInputType.h: Ditto.

        * html/TelephoneInputType.cpp:
        (WebCore::TelephoneInputType::shouldRespectSpeechAttribute): Added.
        (WebCore::TelephoneInputType::isTelephoneField): Added.
        * html/TelephoneInputType.h: Ditto.

        * html/TextFieldInputType.cpp:
        (WebCore::TextFieldInputType::shouldUseInputMethod): Added.
        (WebCore::TextFieldInputType::sanitizeValue): Added.
        (WebCore::TextFieldInputType::shouldRespectListAttribute): Added.
        * html/TextFieldInputType.h: Ditto.

        * html/TextInputType.cpp:
        (WebCore::TextInputType::canSetSuggestedValue): Added.
        (WebCore::TextInputType::shouldRespectSpeechAttribute): Added.
        * html/TextInputType.h: Ditto.

        * html/TimeInputType.cpp:
        (WebCore::TimeInputType::scaledStepValueShouldBeInteger): Fixed
        typo in the name of this function.
        * html/TimeInputType.h: Ditto.

        * html/URLInputType.cpp:
        (WebCore::URLInputType::isURLField): Added.
        * html/URLInputType.h: Ditto.

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

9 years ago2011-01-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 3 Jan 2011 17:11:50 +0000 (17:11 +0000)]
2011-01-03  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, Chromium test expectation update.

        Update expectations after r74892. A bunch of previously failing tests
        now pass (since they match scrollbars with the mac port). Some tests
        also started to fail, they should be fixed by removing their
        chromium-mac baselines.

        * platform/chromium/test_expectations.txt:

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

9 years agoEnsure that the correct initial focusable area is focused when tabbing
weinig@apple.com [Mon, 3 Jan 2011 17:02:05 +0000 (17:02 +0000)]
Ensure that the correct initial focusable area is focused when tabbing
and shift-tabbing into the WKView.

Reviewed by Anders Carlsson.

* UIProcess/API/mac/WKView.mm:
(-[WKView becomeFirstResponder]): Use the keyViewSelectionDirection to set
the initial focus.

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

9 years ago2011-01-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 3 Jan 2011 16:16:43 +0000 (16:16 +0000)]
2011-01-03  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed.

        NSScrollView-based scrollbars and ScrollBarTheme-based scrollbars don't look the same
        https://bugs.webkit.org/show_bug.cgi?id=51151

        Flip switch to use WebThemeEngine for Chromium/Mac scrollbar rendering,
        so that it can match Safari's (and thus use the same baselines).

        No new tests, should be covered by layout tests (which will need
        expectation changes)

        * platform/chromium/ScrollbarThemeChromiumMac.mm:

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

9 years ago2011-01-02 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Mon, 3 Jan 2011 16:04:08 +0000 (16:04 +0000)]
2011-01-02  Antonio Gomes  <agomes@rim.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Refactor EditorClientQt::handleKeyboardEvent
        https://bugs.webkit.org/show_bug.cgi?id=51306

        EditorClientQt::handleKeyboardEvent relies on QWebPagePrivate::editorActionForKeyEvent()
        to handle all editor commands that have a QAction associted with it.
        In practice, that covers most of editor commands (as one can see in editorCommandWebActions,
        in qwebpage.cpp). However, there are some key down events that are associated to no QAction
        or need special handling when features like spatial navigation or
        caret browsing are enabled. Currently, these cases are being handled with confusing
        and nested if/else switch's statements in EditorClientQt::handleKeyboardEvent(),
        and the code is hardly readable.

        This patch introduces a mapping hash for those cases, simplifying much
        the code. Basically, nested switches statements mixed with if/else's were
        refactored, and early returns were added right after an event gets consumed
        by the Editor.

        Since it is a refactor only patch, there is no funcionality change at
        all, and then no new tests are being added.

        * WebCoreSupport/EditorClientQt.cpp:
        (WebCore::interpretKeyEvent):
        (WebCore::EditorClientQt::handleKeyboardEvent):

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

9 years ago2011-01-03 Antonio Gomes <agomes@rim.com>
commit-queue@webkit.org [Mon, 3 Jan 2011 15:50:55 +0000 (15:50 +0000)]
2011-01-03  Antonio Gomes  <agomes@rim.com>

        Unreviewed build fix for WebKit/Gtk+.

        RenderThemeGtk::initMediaColors() in RenderThemeGtk2.cpp needs to be
        guarded by ENABLE(VIDEO), as it is in its header.

        No new tests.

        * platform/gtk/RenderThemeGtk2.cpp:

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

9 years ago2011-01-03 Koan-Sin Tan <koansin.tan@gmail.com>
commit-queue@webkit.org [Mon, 3 Jan 2011 14:00:23 +0000 (14:00 +0000)]
2011-01-03  Koan-Sin Tan  <koansin.tan@gmail.com>

        Reviewed by Xan Lopez.

        "Tool/Scripts/run-launcher --gtk" stopped working after 74855
        https://bugs.webkit.org/show_bug.cgi?id=51806

        Originally, the $libraryName is 'JavaScriptCore'. When building release
        one, the $libraryDir was 'WebKitBuild/Release/JavaScriptCore/../.libs/'
        which doesn't exist anymore ('WebKitBuild/Release/JavaScriptCore'
        is 'WebKitBuild/Release/Source/JavaScriptCore' now), and
        'WebKitBuild/Release/Source/JavaScriptCore/../../.libs' looks weird,
        so make it 'WebKitBuild/Release/.libs'

        * Scripts/webkitdirs.pm:

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

9 years ago2011-01-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 3 Jan 2011 05:45:21 +0000 (05:45 +0000)]
2011-01-02  Adam Barth  <abarth@webkit.org>

        Skip this test for now.  It's been failing for a while.  I'm
        investigating the root cause now, but having this red on the buildbot
        isn't productive.

        * platform/mac/Skipped:

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

9 years ago<rdar://problem/8812159> Update copyright strings
mitz@apple.com [Mon, 3 Jan 2011 04:53:10 +0000 (04:53 +0000)]
<rdar://problem/8812159> Update copyright strings

Rubber-stamped by Simon Fraser.

Source/JavaScriptCore:

* Info.plist:

Source/JavaScriptGlue:

* Info.plist:

WebCore:

* Info.plist:

WebKit/mac:

* Info.plist:

WebKit2:

* Info.plist:
* WebProcess/Info.plist:

WebKitLibraries:

* win/tools/scripts/COPYRIGHT-END-YEAR:

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

9 years ago<rdar://problem/8806570> REGRESSION (r73337): Incorrect text match count when a match...
mitz@apple.com [Mon, 3 Jan 2011 04:45:24 +0000 (04:45 +0000)]
<rdar://problem/8806570> REGRESSION (r73337): Incorrect text match count when a match occurs in a text field
https://bugs.webkit.org/show_bug.cgi?id=51623

Reviewed by Sam Weinig.

* editing/Editor.cpp:
(WebCore::Editor::countMatchesForText): Actually remember the original search range end
container and offset and restore them when needed, instead of using two references to the
same Range.
* manual-tests/find-count-matches-after-text-control.html: Added.

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

9 years ago2011-01-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 3 Jan 2011 03:29:36 +0000 (03:29 +0000)]
2011-01-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        Two more fixes.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 3 Jan 2011 03:18:03 +0000 (03:18 +0000)]
2011-01-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, correct test_expectations.txt syntax.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-02 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 3 Jan 2011 02:18:16 +0000 (02:18 +0000)]
2011-01-02  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        - Add expectation files for application-plugin-plugins-disabled.html
        - Add some flaky tests to test_expectations.txt

        * platform/chromium-linux/plugins/application-plugin-plugins-disabled-expected.checksum: Added.
        * platform/chromium-linux/plugins/application-plugin-plugins-disabled-expected.png: Added.
        * platform/chromium-mac/plugins/application-plugin-plugins-disabled-expected.checksum: Added.
        * platform/chromium-mac/plugins/application-plugin-plugins-disabled-expected.png: Added.
        * platform/chromium-win/plugins/application-plugin-plugins-disabled-expected.checksum: Added.
        * platform/chromium-win/plugins/application-plugin-plugins-disabled-expected.png: Added.
        * platform/chromium-win/plugins/application-plugin-plugins-disabled-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-01-02 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Mon, 3 Jan 2011 01:29:48 +0000 (01:29 +0000)]
2011-01-02  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Csaba Osztrogon√°c.

        WebKit 2 does not build on 64bits with a recent GCC
        https://bugs.webkit.org/show_bug.cgi?id=51754

        Use explicitely 64 bits types for the attributes of DatabaseDetails.

        * storage/DatabaseDetails.h:
        (WebCore::DatabaseDetails::expectedUsage):
        (WebCore::DatabaseDetails::currentUsage):
2011-01-02  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Csaba Osztrogon√°c.

        WebKit 2 does not build on 64bits with a recent GCC
        https://bugs.webkit.org/show_bug.cgi?id=51754

        Change the argument coding for DatabaseDetails to use explicitely the 64 bits type.

        * Shared/OriginAndDatabases.h:
        * Shared/WebCoreArgumentCoders.h:

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

9 years ago2011-01-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 3 Jan 2011 01:06:58 +0000 (01:06 +0000)]
2011-01-02  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Make EFL a core builder
        https://bugs.webkit.org/show_bug.cgi?id=51804

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

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

9 years ago[Qt] Unreviewed fix after r74855 and r74875.
ossy@webkit.org [Mon, 3 Jan 2011 00:08:59 +0000 (00:08 +0000)]
[Qt] Unreviewed fix after r74855 and r74875.

* BuildSlaveSupport/built-product-archive:
 - Create directories explicitly.
 - Pass shell=True to subprocess.call().

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

9 years ago2011-01-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 2 Jan 2011 23:38:10 +0000 (23:38 +0000)]
2011-01-02  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed WinCE build fix for r74868.

        * platform/graphics/wince/ImageBufferWinCE.cpp:
        (WebCore::getImageData):

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

9 years agoFix GTK+ build after r74855.
ossy@webkit.org [Sun, 2 Jan 2011 23:26:57 +0000 (23:26 +0000)]
Fix GTK+ build after r74855.

Reviewed by Xan Lopez.

* GNUmakefile.am: Fix include pathes.

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

9 years ago2011-01-02 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Sun, 2 Jan 2011 22:27:10 +0000 (22:27 +0000)]
2011-01-02  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r74847.
        http://trac.webkit.org/changeset/74847
        https://bugs.webkit.org/show_bug.cgi?id=51803

        "Preprocessor guards should be in header files" (Requested by
        ap on #webkit).

        * bindings/js/JSDOMWindowBase.cpp:
        * dom/Document.cpp:
        (WebCore::Document::recalcStyle):
        * html/HTMLDocument.cpp:
        * loader/FrameLoader.cpp:
        * loader/ResourceLoadNotifier.cpp:
        * page/Chrome.cpp:
        * page/Console.cpp:
        * page/ContextMenuController.cpp:
        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::dispatchEvent):
        * page/EventHandler.cpp:
        * page/Page.cpp:
        * storage/Database.cpp:
        * workers/AbstractWorker.cpp:
        * workers/DefaultSharedWorkerRepository.cpp:
        * workers/SharedWorker.cpp:
        * workers/Worker.cpp:
        * workers/WorkerContext.cpp:
        * workers/WorkerMessagingProxy.cpp:
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::callReadyStateChangeListener):

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

9 years ago2011-01-02 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 2 Jan 2011 22:11:43 +0000 (22:11 +0000)]
2011-01-02  Robert Hogan  <robert@webkit.org>

        Unreviewed, update expected results.

        Update expected results for tests added in r74872

        Skip test on Qt as Qt Styled Widgets are no longer getting
        rendered when plugins are disabled. This is a bug.

        * platform/gtk/plugins/application-plugin-plugins-disabled-expected.txt: Copied from LayoutTests/plugins/application-plugin-plugins-disabled-expected.txt.
        * platform/qt/Skipped:
        * plugins/application-plugin-plugins-disabled-expected.txt:

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

9 years ago[Qt] Unreviewed fix after r74855.
ossy@webkit.org [Sun, 2 Jan 2011 21:44:17 +0000 (21:44 +0000)]
[Qt] Unreviewed fix after r74855.

Move JavaScriptCore to Source
https://bugs.webkit.org/show_bug.cgi?id=51604

* BuildSlaveSupport/built-product-archive: JavaScriptCore -> Source/JavaScriptCore

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

9 years ago[Qt] Unreviewed run-javasriptcore-tests fix after r74855.
ossy@webkit.org [Sun, 2 Jan 2011 21:28:39 +0000 (21:28 +0000)]
[Qt] Unreviewed run-javasriptcore-tests fix after r74855.

Move JavaScriptCore to Source
https://bugs.webkit.org/show_bug.cgi?id=51604

* Scripts/webkitdirs.pm:

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

9 years agoMove JavaScriptCore to Source
ossy@webkit.org [Sun, 2 Jan 2011 21:16:52 +0000 (21:16 +0000)]
Move JavaScriptCore to Source
https://bugs.webkit.org/show_bug.cgi?id=51604

Reviewed by Adam Barth.

Workaround until moving all sources to Source directory is finished.

* Scripts/generate-forwarding-headers.pl: Add Sources to searching path for JavaScriptCore.

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

9 years ago2011-01-02 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 2 Jan 2011 21:13:57 +0000 (21:13 +0000)]
2011-01-02  Robert Hogan  <robert@webkit.org>

        Unreviewed.

        Layout tests from changeset r56661 were missed

        This test was accidentally omitted from changeset 56661.

        See also https://webkit.org/b/32196

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

        * platform/qt/plugins/application-plugin-plugins-disabled-expected.txt: Added.
        * plugins/application-plugin-plugins-disabled-expected.txt: Added.
        * plugins/application-plugin-plugins-disabled.html: Added.

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

9 years ago2011-01-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 2 Jan 2011 19:31:59 +0000 (19:31 +0000)]
2011-01-02  Patrick Gansterer  <paroga@webkit.org>

        [CMake] Unreviewed build fix.

        * CMakeLists.txt:

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

9 years ago2011-01-02 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 2 Jan 2011 19:16:26 +0000 (19:16 +0000)]
2011-01-02  Patrick Gansterer  <paroga@webkit.org>

        [CMake] Unreviewed build fix.

        * CMakeLists.txt:
        * Source/cmake/OptionsCommon.cmake:

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

9 years ago2011-01-02 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 2 Jan 2011 16:06:37 +0000 (16:06 +0000)]
2011-01-02  Robert Hogan  <robert@webkit.org>

        Unreviewed, build fix.

        [Qt] Fix DRT build after 74855

        * DumpRenderTree/qt/DumpRenderTree.pro:

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

9 years ago2011-01-02 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Sun, 2 Jan 2011 10:38:27 +0000 (10:38 +0000)]
2011-01-02  Dirk Schulze  <krit@webkit.org>

        Reviewed by Simon Fraser.

        Clarify ImageBuffer and ImageData relationship
        https://bugs.webkit.org/show_bug.cgi?id=51297

        Use ByteArray instead of ImageData.

        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2011-01-02  Dirk Schulze  <krit@webkit.org>

        Reviewed by Simon Fraser.

        Clarify ImageBuffer and ImageData relationship
        https://bugs.webkit.org/show_bug.cgi?id=51297

        Remove references to ImageData and CanvasPixelArray from ImageBuffer and SVG filter/masker code,
        since this was a layering violation, and replaced it by ByteArray.

        No change of functionality, so no new test added.

        * html/ImageData.cpp:
        (WebCore::ImageData::create):
        (WebCore::ImageData::ImageData):
        * html/ImageData.h: Added new constructor with ByteArray input.
        (WebCore::ImageData::width):
        (WebCore::ImageData::height):
        (WebCore::ImageData::data):
        * html/canvas/CanvasPixelArray.cpp:
        (WebCore::CanvasPixelArray::create):
        (WebCore::CanvasPixelArray::CanvasPixelArray):
        * html/canvas/CanvasPixelArray.h: New conctructor with ByteArray input, used by HTML Canvas.
        (WebCore::CanvasPixelArray::data):
        (WebCore::CanvasPixelArray::length):
        (WebCore::CanvasPixelArray::set):
        (WebCore::CanvasPixelArray::get):
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::getImageData):
        (WebCore::CanvasRenderingContext2D::putImageData):
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/cairo/ImageBufferCairo.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * platform/graphics/cg/ImageBufferCG.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * platform/graphics/filters/FEBlend.cpp:
        (WebCore::FEBlend::apply):
        * platform/graphics/filters/FEColorMatrix.cpp:
        (WebCore::FEColorMatrix::apply):
        * platform/graphics/filters/FEComponentTransfer.cpp:
        (WebCore::FEComponentTransfer::apply):
        * platform/graphics/filters/FEComposite.cpp:
        (WebCore::FEComposite::apply):
        * platform/graphics/filters/FEConvolveMatrix.cpp:
        (WebCore::setDestinationPixels):
        (WebCore::FEConvolveMatrix::apply):
        * platform/graphics/filters/FEConvolveMatrix.h:
        * platform/graphics/filters/FEDisplacementMap.cpp:
        (WebCore::FEDisplacementMap::apply):
        * platform/graphics/filters/FEGaussianBlur.cpp:
        (WebCore::FEGaussianBlur::apply):
        * platform/graphics/filters/FELighting.cpp:
        (WebCore::FELighting::apply):
        * platform/graphics/filters/FEMorphology.cpp:
        (WebCore::FEMorphology::apply):
        * platform/graphics/filters/FETurbulence.cpp:
        (WebCore::FETurbulence::apply):
        * platform/graphics/filters/FilterEffect.cpp:
        (WebCore::FilterEffect::asImageBuffer):
        (WebCore::FilterEffect::asUnmultipliedImage):
        (WebCore::FilterEffect::asPremultipliedImage):
        (WebCore::FilterEffect::copyImageBytes):
        (WebCore::FilterEffect::copyUnmultipliedImage):
        (WebCore::FilterEffect::copyPremultipliedImage):
        (WebCore::FilterEffect::createUnmultipliedImageResult):
        (WebCore::FilterEffect::createPremultipliedImageResult):
        * platform/graphics/filters/FilterEffect.h:
        * platform/graphics/qt/ImageBufferQt.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * platform/graphics/wince/ImageBufferWinCE.cpp:
        (WebCore::getImageData):
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::putImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * platform/graphics/wx/ImageBufferWx.cpp:
        (WebCore::ImageBuffer::getUnmultipliedImageData):
        (WebCore::ImageBuffer::getPremultipliedImageData):
        (WebCore::ImageBuffer::putUnmultipliedImageData):
        (WebCore::ImageBuffer::putPremultipliedImageData):
        * rendering/RenderSVGResourceMasker.cpp:
        (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):

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

9 years ago2011-01-02 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Sun, 2 Jan 2011 09:51:12 +0000 (09:51 +0000)]
2011-01-02  Xan Lopez  <xlopez@igalia.com>

        Fix GTK+ build.

        * GNUmakefile.am: tests do actually include JSC.

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

9 years ago2011-01-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 09:12:07 +0000 (09:12 +0000)]
2011-01-02  Adam Barth  <abarth@webkit.org>

        One more .. missing in the Qt build.

        * jsc.pro:

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

9 years agoWebKit/gtk:
xan@webkit.org [Sun, 2 Jan 2011 09:06:48 +0000 (09:06 +0000)]
WebKit/gtk:

2011-01-02  Xan Lopez  <xlopez@igalia.com>

        Fix GTK+ build.

        * GNUmakefile.am: remove individual -I$(srcdir)/Source when we'll
        already get them from javascriptcore_cppflags, and add it for the
        introspection build (which is not tested in the bots).

JavaScriptCore:

2011-01-02  Xan Lopez  <xlopez@igalia.com>

        Fix GTK+ build.

        * GNUmakefile.am: add -I$(srcdir)/Source to the JSC cppflags so
        that anyone can include its headers without adding the prefix
        'Source/'.

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

9 years ago2011-01-02 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 08:28:00 +0000 (08:28 +0000)]
2011-01-02  Adam Barth  <abarth@webkit.org>

        Speculative build fix for GTK.  Add Source to the include paths.

        * GNUmakefile.am:

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

9 years ago2011-01-02 Carl Lobo <carllobo@gmail.com>
abarth@webkit.org [Sun, 2 Jan 2011 08:15:08 +0000 (08:15 +0000)]
2011-01-02  Carl Lobo  <carllobo@gmail.com>

        Reviewed by Adam Barth.

        Fix Windows Build for non-production where VSPropsRedirectionDir is not defined.
        https://bugs.webkit.org/show_bug.cgi?id=51797

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCore/build-generated-files.sh:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:
        * JavaScriptCore.vcproj/testapi/testapi.vcproj:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 07:52:36 +0000 (07:52 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Speculative build fix for Qt.  Add some more include paths.

        * WebKit2.pro:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 07:42:28 +0000 (07:42 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Fix relative include paths in an attempt to fix the Qt build.

        * JavaScriptCore.pri:
        * JavaScriptCore.pro:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 07:14:42 +0000 (07:14 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Another speculative build fix for GTK.

        * GNUmakefile.am:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 07:09:18 +0000 (07:09 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Speculative build fix for GTK.  Update the paths in GNUmakefile to
        include "Source".

        * GNUmakefile.am:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 06:46:17 +0000 (06:46 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Remove the assumption from the Qt and Gtk builds that every project is
        in the root directory.

        * Scripts/build-webkit:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 06:40:17 +0000 (06:40 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Update relative paths in JavaScriptCore.gyp to account for the extra
        level of directories.

        * JavaScriptCore.gyp/JavaScriptCore.gyp:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 06:28:11 +0000 (06:28 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Teach svn-apply how to apply patches even though JavaScriptCore has moved
        https://bugs.webkit.org/show_bug.cgi?id=51796

        After this change, svn-apply will magically apply patches to
        JavaScriptCore/foo to Source/JavaScriptCore/foo.

        * Scripts/VCSUtils.pm:

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

9 years agoMove JavaScriptCore to Source
abarth@webkit.org [Sun, 2 Jan 2011 06:22:31 +0000 (06:22 +0000)]
Move JavaScriptCore to Source
https://bugs.webkit.org/show_bug.cgi?id=51604

Reviewed by Eric Seidel.

Update references to JavaScriptCore to point to the new location.

* Android.mk:
* CMakeLists.txt:
* DerivedSources.pro:
* GNUmakefile.am:
* Makefile:
* WebKit.pri:
* WebKit.pro:
* wscript:

Tools:

Update references to JavaScriptCore to point to the new location.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
* DumpRenderTree/qt/DumpRenderTree.pro:
* DumpRenderTree/qt/ImageDiff.pro:
* DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
* DumpRenderTree/wscript:
* Scripts/build-jsc:
* Scripts/build-webkit:
* Scripts/do-file-rename:
* Scripts/do-webcore-rename:
* Scripts/run-javascriptcore-tests:
* Scripts/update-javascriptcore-test-results:
* Scripts/webkitdirs.pm:
* Scripts/webkitpy/common/config/build_unittest.py:
* Scripts/webkitpy/style/checker.py:
* Scripts/webkitpy/style/checker_unittest.py:
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
* WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
* WebKitTestRunner/qt/WebKitTestRunner.pro:
* wx/build/settings.py:

WebCore:

Update references to JavaScriptCore.

* Android.derived.jscbindings.mk:
* Android.v8bindings.mk:
* CMakeLists.txt:
* WebCore.gyp/WebCore.gyp:
* WebCore.pro:
  - These changes are subtle and might not be 100% correct.
* move-js-headers.sh:

WebKit/chromium:

* WebKit.gyp:
  - Point to JavaScriptCore in its new location.

WebKit/gtk:

* GNUmakefile.am:
* docs/GNUmakefile.am:
  - Point to JavaScriptCore in its new location.

WebKit/qt:

* WebKit_pch.h:
* docs/qtwebkit.qdocconf:
  - Point to JavaScriptCore in its new location.

WebKit/win:

* WebKit.vcproj/WebKit.sln:
  - Point to JavaScriptCore in its new location.

WebKit/wx:

* bindings/python/wscript:
* wscript:
  - Point to JavaScriptCore in its new location.

WebKit2:

* WebKit2.pro:
  - Point to JavaScriptCore in its new location.

Websites/bugs.webkit.org:

* PrettyPatch/PrettyPatch.rb:
  - Remove reference to JavaScriptCore as a source directory.

Websites/webkit.org:

* coding/assertion-guidelines.html:
  - Update documentation to point to the new location of
    JavaScriptCore.

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 04:33:03 +0000 (04:33 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        forbid sandboxed frames to call top.close() when allow-same-origin is not setted
        https://bugs.webkit.org/show_bug.cgi?id=38340

        We now pass the ScriptExecutionContext to window.close so it can find
        the Frame and check whether navigation is allowed.  This check will
        almost always pass because you can only close top-level frames, but the
        check will fail when the calling script is sandboxed.

        Tests: fast/frames/sandboxed-iframe-close-top-noclose.html
               fast/frames/sandboxed-iframe-close-top.html

        * page/DOMWindow.cpp:
        (WebCore::DOMWindow::close):
        * page/DOMWindow.h:
        * page/DOMWindow.idl:
2011-01-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        forbid sandboxed frames to call top.close() when allow-same-origin is not setted
        https://bugs.webkit.org/show_bug.cgi?id=38340

        Test the interaction between the HTML5 sandbox and window.close.

        * fast/frames/resources/close-top.html: Added.
        * fast/frames/resources/sandboxed-iframe-close-top-does-close.html: Added.
        * fast/frames/resources/sandboxed-iframe-close-top-does-not-close.html: Added.
        * fast/frames/sandboxed-iframe-close-top-expected.txt: Added.
        * fast/frames/sandboxed-iframe-close-top-noclose-expected.txt: Added.
        * fast/frames/sandboxed-iframe-close-top-noclose.html: Added.
        * fast/frames/sandboxed-iframe-close-top.html: Added.

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 02:28:41 +0000 (02:28 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        sandbox iframes have access to top.history methods
        https://bugs.webkit.org/show_bug.cgi?id=38152

        To enforce the sandbox restrictions on History, we need to pass the
        ScriptExecutionContext to WebCore.  This patch leaves the original
        History methods in place because they are used directly by folks who
        don't care about security checks.

        Test: fast/frames/sandboxed-iframe-history-denied.html

        * page/History.cpp:
        (WebCore::History::back):
        (WebCore::History::forward):
        (WebCore::History::go):
        * page/History.h:
        * page/History.idl:
2011-01-01  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Eric Seidel.

        sandbox iframes have access to top.history methods
        https://bugs.webkit.org/show_bug.cgi?id=38152

        Test that sandboxed iframes cannot use history to navigate the top
        frame.  This test is less than ideal, as described in the test itself.
        If I was really on top of things, I'd add a test for successful use of
        the history API when allow-top-navigation is set, but that test would
        be complicated and I'm lazy (enough to copy directly from abarth).

        * fast/frames/sandboxed-iframe-history-denied-expected.txt: Added.
        * fast/frames/sandboxed-iframe-history-denied.html: Added.

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

9 years agoMove Sources to Source
abarth@webkit.org [Sun, 2 Jan 2011 02:04:41 +0000 (02:04 +0000)]
Move Sources to Source
https://bugs.webkit.org/show_bug.cgi?id=51794

Reviewed by Eric Seidel.

Update build files to point to the new location.

* CMakeLists.txt:
* GNUmakefile.am:
* Makefile:
* autogen.sh:
* configure.ac:

Tools:

Update scripts to point to the new location.

* Scripts/build-webkit:
* Scripts/do-file-rename:
* Scripts/do-webcore-rename:
* Scripts/webkitpy/common/config/build.py:
* Scripts/webkitpy/common/config/build_unittest.py:

Websites/bugs.webkit.org:

* PrettyPatch/PrettyPatch.rb:

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 01:50:25 +0000 (01:50 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Remove empty file.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/DOMAllInOne.cpp:
        * dom/Entity.cpp: Removed.

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 01:43:35 +0000 (01:43 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Remove empty file.

        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSBindingsAllInOne.cpp:
        * bindings/js/JSPopStateEventCustom.cpp: Removed.

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

9 years ago2011-01-01 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 2 Jan 2011 01:37:05 +0000 (01:37 +0000)]
2011-01-01  Adam Barth  <abarth@webkit.org>

        Remove empty files.

        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/generic/BindingFrame.h: Removed.
        * bindings/generic/BindingLocation.h: Removed.

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

9 years agoChanged WebKit2.xcodeproj's svn:ignore property up to match other projects'
mitz@apple.com [Sun, 2 Jan 2011 00:35:41 +0000 (00:35 +0000)]
Changed WebKit2.xcodeproj's svn:ignore property up to match other projects'

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

9 years ago2011-01-01 Konstantin Tokarev <annulen@yandex.ru>
commit-queue@webkit.org [Sat, 1 Jan 2011 18:00:04 +0000 (18:00 +0000)]
2011-01-01  Konstantin Tokarev  <annulen@yandex.ru>

        Reviewed by Darin Adler.

        Don't include Inspector headers when Inspector is disabled
        https://bugs.webkit.org/show_bug.cgi?id=51789

        * bindings/js/JSDOMWindowBase.cpp: Include Inspector headers when
        Inspector is enabled
        * dom/Document.cpp: Include Inspector headers when
        Inspector is enabled
        (WebCore::Document::recalcStyle): Disabled InspectorInstrumentationCookie
        handling
        * html/HTMLDocument.cpp: Include Inspector headers when
        Inspector is enabled
        * loader/FrameLoader.cpp: Include Inspector headers when
        Inspector is enabled
        * loader/ResourceLoadNotifier.cpp: Include Inspector headers when
        Inspector is enabled
        * page/Chrome.cpp: Include Inspector headers when
        Inspector is enabled
        * page/Console.cpp: Include Inspector headers when
        Inspector is enabled
        * page/ContextMenuController.cpp: Include Inspector headers when
        Inspector is enabled
        * page/DOMWindow.cpp: Include Inspector headers when
        Inspector is enabled
        (WebCore::DOMWindow::dispatchEvent): Disabled InspectorInstrumentationCookie
        handling
        * page/EventHandler.cpp: Include Inspector headers when
        Inspector is enabled
        * page/Page.cpp: Include Inspector headers when
        Inspector is enabled
        * storage/Database.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/AbstractWorker.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/DefaultSharedWorkerRepository.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/SharedWorker.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/Worker.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/WorkerContext.cpp: Include Inspector headers when
        Inspector is enabled
        * workers/WorkerMessagingProxy.cpp: Include Inspector headers when
        Inspector is enabled
        * xml/XMLHttpRequest.cpp: Include Inspector headers when
        Inspector is enabled
        (WebCore::XMLHttpRequest::callReadyStateChangeListener): Disabled
        InspectorInstrumentationCookie handling

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

9 years ago2011-01-01 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 1 Jan 2011 11:01:08 +0000 (11:01 +0000)]
2011-01-01  Kent Tamura  <tkent@chromium.org>

        Unreviewed, test expectation update.

        One more rebaseline for a spelling test, and remove passing tests from
        test_expectations.txt.

        * platform/chromium-linux/editing/spelling/inline_spelling_markers-expected.checksum: Added.
        * platform/chromium-linux/editing/spelling/inline_spelling_markers-expected.png: Added.
        * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.checksum: Added.
        * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.png: Added.
        * platform/chromium-win/editing/spelling/inline_spelling_markers-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed, test expectation update.
tkent@chromium.org [Sat, 1 Jan 2011 06:54:06 +0000 (06:54 +0000)]
Unreviewed, test expectation update.

r74844 enabled spell checker on Chromium Linux and Chromium
Windows. So we need to update all of images with misspelled words.

* platform/chromium-linux/editing/deleting/delete-3928305-fix-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-3928305-fix-expected.png:
* platform/chromium-linux/editing/deleting/delete-3959464-fix-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-3959464-fix-expected.png:
* platform/chromium-linux/editing/deleting/delete-and-undo-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-and-undo-expected.png:
* platform/chromium-linux/editing/deleting/delete-block-contents-003-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-block-contents-003-expected.png:
* platform/chromium-linux/editing/deleting/delete-contiguous-ws-001-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-contiguous-ws-001-expected.png:
* platform/chromium-linux/editing/deleting/delete-tab-002-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-tab-002-expected.png:
* platform/chromium-linux/editing/deleting/delete-tab-003-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-tab-003-expected.png:
* platform/chromium-linux/editing/deleting/delete-to-select-table-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-to-select-table-expected.png:
* platform/chromium-linux/editing/deleting/delete-trailing-ws-002-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-trailing-ws-002-expected.png:
* platform/chromium-linux/editing/deleting/delete-ws-fixup-001-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-ws-fixup-001-expected.png:
* platform/chromium-linux/editing/deleting/delete-ws-fixup-002-expected.checksum:
* platform/chromium-linux/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/chromium-linux/editing/execCommand/5569741-expected.checksum:
* platform/chromium-linux/editing/execCommand/5569741-expected.png:
* platform/chromium-linux/editing/execCommand/insert-list-and-stitch-expected.checksum:
* platform/chromium-linux/editing/execCommand/insert-list-and-stitch-expected.png:
* platform/chromium-linux/editing/execCommand/insertHorizontalRule-expected.checksum:
* platform/chromium-linux/editing/execCommand/insertHorizontalRule-expected.png:
* platform/chromium-linux/editing/execCommand/outdent-selection-expected.checksum:
* platform/chromium-linux/editing/execCommand/outdent-selection-expected.png:
* platform/chromium-linux/editing/inserting/5418891-expected.checksum:
* platform/chromium-linux/editing/inserting/5418891-expected.png:
* platform/chromium-linux/editing/inserting/editing-empty-divs-expected.checksum:
* platform/chromium-linux/editing/inserting/editing-empty-divs-expected.png:
* platform/chromium-linux/editing/inserting/insert-3907422-fix-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-3907422-fix-expected.png:
* platform/chromium-linux/editing/inserting/insert-br-004-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-br-004-expected.png:
* platform/chromium-linux/editing/inserting/insert-br-005-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-br-005-expected.png:
* platform/chromium-linux/editing/inserting/insert-br-007-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-br-007-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-007-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-007-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-012-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-012-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-013-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-013-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-014-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-014-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-015-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-015-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-016-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-016-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-017-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-017-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-018-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-018-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-019-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-019-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-020-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-020-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-021-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-021-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-022-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-022-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-025-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-025-expected.png:
* platform/chromium-linux/editing/inserting/insert-div-027-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-div-027-expected.png:
* platform/chromium-linux/editing/inserting/insert-paragraph-02-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-paragraph-02-expected.png:
* platform/chromium-linux/editing/inserting/insert-paragraph-03-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-paragraph-03-expected.png:
* platform/chromium-linux/editing/inserting/insert-tab-002-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-tab-002-expected.png:
* platform/chromium-linux/editing/inserting/insert-tab-003-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-tab-003-expected.png:
* platform/chromium-linux/editing/inserting/insert-text-with-newlines-expected.checksum:
* platform/chromium-linux/editing/inserting/insert-text-with-newlines-expected.png:
* platform/chromium-linux/editing/inserting/paragraph-separator-01-expected.checksum:
* platform/chromium-linux/editing/inserting/paragraph-separator-01-expected.png:
* platform/chromium-linux/editing/inserting/paragraph-separator-02-expected.checksum:
* platform/chromium-linux/editing/inserting/paragraph-separator-02-expected.png:
* platform/chromium-linux/editing/inserting/paragraph-separator-03-expected.checksum:
* platform/chromium-linux/editing/inserting/paragraph-separator-03-expected.png:
* platform/chromium-linux/editing/inserting/return-key-with-selection-001-expected.checksum:
* platform/chromium-linux/editing/inserting/return-key-with-selection-001-expected.png:
* platform/chromium-linux/editing/inserting/return-key-with-selection-002-expected.checksum:
* platform/chromium-linux/editing/inserting/return-key-with-selection-002-expected.png:
* platform/chromium-linux/editing/inserting/return-key-with-selection-003-expected.checksum:
* platform/chromium-linux/editing/inserting/return-key-with-selection-003-expected.png:
* platform/chromium-linux/editing/inserting/typing-002-expected.checksum:
* platform/chromium-linux/editing/inserting/typing-002-expected.png:
* platform/chromium-linux/editing/inserting/typing-around-br-001-expected.checksum:
* platform/chromium-linux/editing/inserting/typing-around-br-001-expected.png:
* platform/chromium-linux/editing/pasteboard/4242293-expected.checksum:
* platform/chromium-linux/editing/pasteboard/4242293-expected.png:
* platform/chromium-linux/editing/pasteboard/4944770-1-expected.checksum:
* platform/chromium-linux/editing/pasteboard/4944770-1-expected.png:
* platform/chromium-linux/editing/pasteboard/8145-2-expected.checksum:
* platform/chromium-linux/editing/pasteboard/8145-2-expected.png:
* platform/chromium-linux/editing/pasteboard/cut-text-001-expected.checksum:
* platform/chromium-linux/editing/pasteboard/cut-text-001-expected.png:
* platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.checksum:
* platform/chromium-linux/editing/pasteboard/interchange-newline-1-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-1-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-1-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-2-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-2-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-after-delete-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-end-4-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-end-4-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-end-blockquote-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-end-list-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-end-list-expected.png:
* platform/chromium-linux/editing/pasteboard/merge-end-table-expected.checksum:
* platform/chromium-linux/editing/pasteboard/merge-end-table-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-blockquote-3-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-text-001-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-text-001-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-text-012-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-text-012-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-text-013-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-text-013-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-text-014-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-text-014-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-text-019-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-text-019-expected.png:
* platform/chromium-linux/editing/pasteboard/paste-xml-expected.checksum:
* platform/chromium-linux/editing/pasteboard/paste-xml-expected.png:
* platform/chromium-linux/editing/pasteboard/undoable-fragment-removes-expected.checksum:
* platform/chromium-linux/editing/pasteboard/undoable-fragment-removes-expected.png:
* platform/chromium-linux/editing/selection/13804-expected.checksum:
* platform/chromium-linux/editing/selection/13804-expected.png:
* platform/chromium-linux/editing/selection/5234383-1-expected.checksum:
* platform/chromium-linux/editing/selection/5234383-1-expected.png:
* platform/chromium-linux/editing/selection/5234383-2-expected.checksum:
* platform/chromium-linux/editing/selection/5234383-2-expected.png:
* platform/chromium-linux/editing/selection/extend-by-word-001-expected.checksum:
* platform/chromium-linux/editing/selection/extend-by-word-001-expected.png:
* platform/chromium-linux/editing/selection/move-backwords-by-word-001-expected.checksum:
* platform/chromium-linux/editing/selection/move-backwords-by-word-001-expected.png:
* platform/chromium-linux/editing/selection/move-by-character-001-expected.checksum:
* platform/chromium-linux/editing/selection/move-by-character-001-expected.png:
* platform/chromium-linux/editing/selection/move-by-line-001-expected.checksum:
* platform/chromium-linux/editing/selection/move-by-line-001-expected.png:
* platform/chromium-linux/editing/selection/move-by-word-001-expected.checksum:
* platform/chromium-linux/editing/selection/move-by-word-001-expected.png:
* platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.checksum:
* platform/chromium-linux/editing/selection/select-from-textfield-outwards-expected.png:
* platform/chromium-linux/editing/selection/unrendered-002-expected.checksum:
* platform/chromium-linux/editing/selection/unrendered-002-expected.png:
* platform/chromium-linux/editing/spelling/spelling-expected.checksum:
* platform/chromium-linux/editing/spelling/spelling-expected.png:
* platform/chromium-linux/editing/style/5046875-2-expected.checksum:
* platform/chromium-linux/editing/style/5046875-2-expected.png:
* platform/chromium-linux/editing/style/block-styles-007-expected.checksum:
* platform/chromium-linux/editing/style/block-styles-007-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-002-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-002-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-003-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-003-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-004-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-004-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-006-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-006-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-008-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-008-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-009-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-009-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-011-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-011-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-012-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-012-expected.png:
* platform/chromium-linux/editing/style/create-block-for-style-013-expected.checksum:
* platform/chromium-linux/editing/style/create-block-for-style-013-expected.png:
* platform/chromium-linux/fast/dom/blur-contenteditable-expected.checksum:
* platform/chromium-linux/fast/dom/blur-contenteditable-expected.png:
* platform/chromium-win/editing/deleting/delete-3928305-fix-expected.checksum:
* platform/chromium-win/editing/deleting/delete-3928305-fix-expected.png:
* platform/chromium-win/editing/deleting/delete-3959464-fix-expected.checksum:
* platform/chromium-win/editing/deleting/delete-3959464-fix-expected.png:
* platform/chromium-win/editing/deleting/delete-and-undo-expected.checksum:
* platform/chromium-win/editing/deleting/delete-and-undo-expected.png:
* platform/chromium-win/editing/deleting/delete-block-contents-003-expected.checksum:
* platform/chromium-win/editing/deleting/delete-block-contents-003-expected.png:
* platform/chromium-win/editing/deleting/delete-contiguous-ws-001-expected.checksum:
* platform/chromium-win/editing/deleting/delete-contiguous-ws-001-expected.png:
* platform/chromium-win/editing/deleting/delete-tab-002-expected.checksum:
* platform/chromium-win/editing/deleting/delete-tab-002-expected.png:
* platform/chromium-win/editing/deleting/delete-tab-003-expected.checksum:
* platform/chromium-win/editing/deleting/delete-tab-003-expected.png:
* platform/chromium-win/editing/deleting/delete-to-select-table-expected.checksum:
* platform/chromium-win/editing/deleting/delete-to-select-table-expected.png:
* platform/chromium-win/editing/deleting/delete-trailing-ws-002-expected.checksum:
* platform/chromium-win/editing/deleting/delete-trailing-ws-002-expected.png:
* platform/chromium-win/editing/deleting/delete-ws-fixup-001-expected.checksum:
* platform/chromium-win/editing/deleting/delete-ws-fixup-001-expected.png:
* platform/chromium-win/editing/deleting/delete-ws-fixup-002-expected.checksum:
* platform/chromium-win/editing/deleting/delete-ws-fixup-002-expected.png:
* platform/chromium-win/editing/deleting/smart-delete-002-expected.checksum:
* platform/chromium-win/editing/deleting/smart-delete-002-expected.png:
* platform/chromium-win/editing/deleting/smart-delete-003-expected.checksum:
* platform/chromium-win/editing/deleting/smart-delete-003-expected.png:
* platform/chromium-win/editing/deleting/smart-delete-004-expected.checksum:
* platform/chromium-win/editing/deleting/smart-delete-004-expected.png:
* platform/chromium-win/editing/execCommand/5569741-expected.checksum:
* platform/chromium-win/editing/execCommand/5569741-expected.png:
* platform/chromium-win/editing/execCommand/insert-list-and-stitch-expected.checksum:
* platform/chromium-win/editing/execCommand/insert-list-and-stitch-expected.png:
* platform/chromium-win/editing/execCommand/insertHorizontalRule-expected.checksum:
* platform/chromium-win/editing/execCommand/insertHorizontalRule-expected.png:
* platform/chromium-win/editing/execCommand/outdent-selection-expected.checksum:
* platform/chromium-win/editing/execCommand/outdent-selection-expected.png:
* platform/chromium-win/editing/inserting/5418891-expected.checksum:
* platform/chromium-win/editing/inserting/5418891-expected.png:
* platform/chromium-win/editing/inserting/editing-empty-divs-expected.checksum:
* platform/chromium-win/editing/inserting/editing-empty-divs-expected.png:
* platform/chromium-win/editing/inserting/insert-3907422-fix-expected.checksum:
* platform/chromium-win/editing/inserting/insert-3907422-fix-expected.png:
* platform/chromium-win/editing/inserting/insert-br-004-expected.checksum:
* platform/chromium-win/editing/inserting/insert-br-004-expected.png:
* platform/chromium-win/editing/inserting/insert-br-005-expected.checksum:
* platform/chromium-win/editing/inserting/insert-br-005-expected.png:
* platform/chromium-win/editing/inserting/insert-br-007-expected.checksum:
* platform/chromium-win/editing/inserting/insert-br-007-expected.png:
* platform/chromium-win/editing/inserting/insert-div-007-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-007-expected.png:
* platform/chromium-win/editing/inserting/insert-div-012-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-012-expected.png:
* platform/chromium-win/editing/inserting/insert-div-013-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-013-expected.png:
* platform/chromium-win/editing/inserting/insert-div-014-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-014-expected.png:
* platform/chromium-win/editing/inserting/insert-div-015-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-015-expected.png:
* platform/chromium-win/editing/inserting/insert-div-016-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-016-expected.png:
* platform/chromium-win/editing/inserting/insert-div-017-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-017-expected.png:
* platform/chromium-win/editing/inserting/insert-div-018-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-018-expected.png:
* platform/chromium-win/editing/inserting/insert-div-019-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-019-expected.png:
* platform/chromium-win/editing/inserting/insert-div-020-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-020-expected.png:
* platform/chromium-win/editing/inserting/insert-div-021-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-021-expected.png:
* platform/chromium-win/editing/inserting/insert-div-022-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-022-expected.png:
* platform/chromium-win/editing/inserting/insert-div-025-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-025-expected.png:
* platform/chromium-win/editing/inserting/insert-div-027-expected.checksum:
* platform/chromium-win/editing/inserting/insert-div-027-expected.png:
* platform/chromium-win/editing/inserting/insert-paragraph-02-expected.checksum:
* platform/chromium-win/editing/inserting/insert-paragraph-02-expected.png:
* platform/chromium-win/editing/inserting/insert-paragraph-03-expected.checksum:
* platform/chromium-win/editing/inserting/insert-paragraph-03-expected.png:
* platform/chromium-win/editing/inserting/insert-tab-002-expected.checksum:
* platform/chromium-win/editing/inserting/insert-tab-002-expected.png:
* platform/chromium-win/editing/inserting/insert-tab-003-expected.checksum:
* platform/chromium-win/editing/inserting/insert-tab-003-expected.png:
* platform/chromium-win/editing/inserting/insert-text-with-newlines-expected.checksum:
* platform/chromium-win/editing/inserting/insert-text-with-newlines-expected.png:
* platform/chromium-win/editing/inserting/paragraph-separator-01-expected.checksum:
* platform/chromium-win/editing/inserting/paragraph-separator-01-expected.png:
* platform/chromium-win/editing/inserting/paragraph-separator-02-expected.checksum:
* platform/chromium-win/editing/inserting/paragraph-separator-02-expected.png:
* platform/chromium-win/editing/inserting/paragraph-separator-03-expected.checksum:
* platform/chromium-win/editing/inserting/paragraph-separator-03-expected.png:
* platform/chromium-win/editing/inserting/return-key-with-selection-001-expected.checksum:
* platform/chromium-win/editing/inserting/return-key-with-selection-001-expected.png:
* platform/chromium-win/editing/inserting/return-key-with-selection-002-expected.checksum:
* platform/chromium-win/editing/inserting/return-key-with-selection-002-expected.png:
* platform/chromium-win/editing/inserting/return-key-with-selection-003-expected.checksum:
* platform/chromium-win/editing/inserting/return-key-with-selection-003-expected.png:
* platform/chromium-win/editing/inserting/typing-002-expected.checksum:
* platform/chromium-win/editing/inserting/typing-002-expected.png:
* platform/chromium-win/editing/inserting/typing-around-br-001-expected.checksum:
* platform/chromium-win/editing/inserting/typing-around-br-001-expected.png:
* platform/chromium-win/editing/pasteboard/4242293-expected.checksum:
* platform/chromium-win/editing/pasteboard/4242293-expected.png:
* platform/chromium-win/editing/pasteboard/4944770-1-expected.checksum:
* platform/chromium-win/editing/pasteboard/4944770-1-expected.png:
* platform/chromium-win/editing/pasteboard/8145-2-expected.checksum:
* platform/chromium-win/editing/pasteboard/8145-2-expected.png:
* platform/chromium-win/editing/pasteboard/cut-text-001-expected.checksum:
* platform/chromium-win/editing/pasteboard/cut-text-001-expected.png:
* platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.checksum:
* platform/chromium-win/editing/pasteboard/interchange-newline-1-expected.png:
* platform/chromium-win/editing/pasteboard/merge-after-delete-1-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-after-delete-1-expected.png:
* platform/chromium-win/editing/pasteboard/merge-after-delete-2-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-after-delete-2-expected.png:
* platform/chromium-win/editing/pasteboard/merge-after-delete-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-after-delete-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-4-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-end-4-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-end-blockquote-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-list-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-end-list-expected.png:
* platform/chromium-win/editing/pasteboard/merge-end-table-expected.checksum:
* platform/chromium-win/editing/pasteboard/merge-end-table-expected.png:
* platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-blockquote-3-expected.png:
* platform/chromium-win/editing/pasteboard/paste-text-001-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-text-001-expected.png:
* platform/chromium-win/editing/pasteboard/paste-text-012-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-text-012-expected.png:
* platform/chromium-win/editing/pasteboard/paste-text-013-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-text-013-expected.png:
* platform/chromium-win/editing/pasteboard/paste-text-014-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-text-014-expected.png:
* platform/chromium-win/editing/pasteboard/paste-text-019-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-text-019-expected.png:
* platform/chromium-win/editing/pasteboard/paste-xml-expected.checksum:
* platform/chromium-win/editing/pasteboard/paste-xml-expected.png:
* platform/chromium-win/editing/pasteboard/undoable-fragment-removes-expected.checksum:
* platform/chromium-win/editing/pasteboard/undoable-fragment-removes-expected.png:
* platform/chromium-win/editing/selection/13804-expected.checksum:
* platform/chromium-win/editing/selection/13804-expected.png:
* platform/chromium-win/editing/selection/5234383-1-expected.checksum:
* platform/chromium-win/editing/selection/5234383-1-expected.png:
* platform/chromium-win/editing/selection/5234383-2-expected.checksum:
* platform/chromium-win/editing/selection/5234383-2-expected.png:
* platform/chromium-win/editing/selection/extend-by-word-001-expected.checksum:
* platform/chromium-win/editing/selection/extend-by-word-001-expected.png:
* platform/chromium-win/editing/selection/move-backwords-by-word-001-expected.checksum:
* platform/chromium-win/editing/selection/move-backwords-by-word-001-expected.png:
* platform/chromium-win/editing/selection/move-by-character-001-expected.checksum:
* platform/chromium-win/editing/selection/move-by-character-001-expected.png:
* platform/chromium-win/editing/selection/move-by-line-001-expected.checksum:
* platform/chromium-win/editing/selection/move-by-line-001-expected.png:
* platform/chromium-win/editing/selection/move-by-word-001-expected.checksum:
* platform/chromium-win/editing/selection/move-by-word-001-expected.png:
* platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.checksum:
* platform/chromium-win/editing/selection/select-from-textfield-outwards-expected.png:
* platform/chromium-win/editing/selection/unrendered-002-expected.checksum:
* platform/chromium-win/editing/selection/unrendered-002-expected.png:
* platform/chromium-win/editing/spelling/spelling-expected.checksum:
* platform/chromium-win/editing/spelling/spelling-expected.png:
* platform/chromium-win/editing/style/5046875-2-expected.checksum:
* platform/chromium-win/editing/style/5046875-2-expected.png:
* platform/chromium-win/editing/style/block-styles-007-expected.checksum:
* platform/chromium-win/editing/style/block-styles-007-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-002-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-002-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-003-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-003-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-004-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-004-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-006-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-006-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-008-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-008-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-009-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-009-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-011-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-011-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-012-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-012-expected.png:
* platform/chromium-win/editing/style/create-block-for-style-013-expected.checksum:
* platform/chromium-win/editing/style/create-block-for-style-013-expected.png:
* platform/chromium-win/fast/dom/blur-contenteditable-expected.checksum:
* platform/chromium-win/fast/dom/blur-contenteditable-expected.png:

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

9 years ago2010-12-31 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Sat, 1 Jan 2011 06:06:17 +0000 (06:06 +0000)]
2010-12-31  Kent Tamura  <tkent@chromium.org>

        Reviewed by Eric Seidel.

        [DRT/Chromium] Enable mock spell checker on non-OSX
        https://bugs.webkit.org/show_bug.cgi?id=51401

        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::spellCheck):

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

9 years ago2010-12-31 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sat, 1 Jan 2011 02:38:25 +0000 (02:38 +0000)]
2010-12-31  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        fast/loader/about-blank-hash-change.html fails on Chromium
        https://bugs.webkit.org/show_bug.cgi?id=51788

        I'm unable to reproduce the failure locally, so this patch is slightly
        speculative.  We need to be slighly more careful how we compare the
        fragment identifiers for Chromium because Chromium uses a URL parser
        that is more agressive about canonicalization.

        * page/Location.cpp:
        (WebCore::Location::setHash):

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

9 years ago2010-12-31 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 1 Jan 2011 02:17:26 +0000 (02:17 +0000)]
2010-12-31  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Use GLib/GIO API for FileSystemGtk implementation
        https://bugs.webkit.org/show_bug.cgi?id=51617

        Complete implementation of FileSystem platform code for GLib. This
        converts remaining API points using POSIX calls to platform-independent
        GLib calls and fixes other compilation errors.

        No new tests. This code will be tested when an implementation
        of beginDragWithFiles is complete.

        (WebCore::JSDirectoryEntry::getFile):
        (WebCore::JSDirectoryEntry::getDirectory):
        * platform/FileSystem.h: Added forward declarations for GLib types to
        avoid GLib includes and changed the PlatformFileHandle to be a GIOStream.
        * platform/gtk/FileSystemGtk.cpp:
        (WebCore::openTemporaryFile): Reimplement using only GLib calls.
        (WebCore::openFile): Ditto.
        (WebCore::closeFile): Ditto.
        (WebCore::seekFile): Added implementation.
        (WebCore::writeToFile): Reimplement using only GLib calls.
        (WebCore::readFromFile): Ditto.

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

9 years ago2010-12-31 Darin Adler <darin@apple.com>
darin@apple.com [Sat, 1 Jan 2011 00:58:22 +0000 (00:58 +0000)]
2010-12-31  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        Some renaming and refactoring of form element code
        https://bugs.webkit.org/show_bug.cgi?id=51784

        * bindings/js/JSHTMLSelectElementCustom.cpp:
        (WebCore::JSHTMLSelectElement::remove): Call new overload of remove
        for option elements instead of putting the logic in the binding.

        * html/HTMLButtonElement.cpp:
        (WebCore::HTMLButtonElement::HTMLButtonElement): Updated for name changes.
        (WebCore::HTMLButtonElement::defaultEventHandler): Renamed argument to
        "event" instead of "evt". Also updated for name changes.
        (WebCore::HTMLButtonElement::isActivatedSubmit): Ditto.
        (WebCore::HTMLButtonElement::setActivatedSubmit): Ditto.
        (WebCore::HTMLButtonElement::appendFormData): Ditto.
        * html/HTMLButtonElement.h: Renamed m_activeSubmit to m_isActivatedSubmit
        to match the getter function name. The name still doesn't seem great.

        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::HTMLFormElement): Updated for name changes.
        (WebCore::HTMLFormElement::~HTMLFormElement): Use autoComplete function
        instead of m_autocomplete data member.
        (WebCore::HTMLFormElement::rendererIsNeeded): Use m_wasDemoted data member
        instead of otherwise-unused isDemoted function.
        (WebCore::HTMLFormElement::submitImplicitly): Updated for name changes.
        (WebCore::HTMLFormElement::validateInteractively): Removed code to clear
        m_insubmit. This is now handled by the caller, prepareForSubmission.
        (WebCore::HTMLFormElement::prepareForSubmission): Renamed. Updated for
        name changes. Moved code to clear m_isSubmittingOrPreparingForSubmission
        here from validateInteractively. Removed unneeded check of m_doingsubmit
        boolean before setting it.
        (WebCore::HTMLFormElement::submit): Factored this function into two.
        One for JavaScript and one for non-JavaScript. Neither function needs a frame
        argument, because the question being asked, anyPageIsProcessingUserGesture,
        is a question asked of an entire page group, not a specific frame or page,
        so it's not important which is the active frame.
        (WebCore::HTMLFormElement::submitFromJavaScript): Ditto.
        (WebCore::HTMLFormElement::reset): Updated for name changes.
        (WebCore::HTMLFormElement::parseMappedAttribute): Removed code to parse
        acceptAttr and got rid of code to set m_autocomplete.
        (WebCore::HTMLFormElement::elementForAlias): Changed return type to a raw
        pointer.
        (WebCore::HTMLFormElement::getNamedElements): Updated to use raw pointer
        and the vector find function. Added a FIXME about the comment.
        (WebCore::HTMLFormElement::documentDidBecomeActive): Use autoComplete
        function instead of m_autocomplete data member.
        (WebCore::HTMLFormElement::willMoveToNewOwnerDocument): Ditto.
        (WebCore::HTMLFormElement::didMoveToNewOwnerDocument): Ditto.
        (WebCore::HTMLFormElement::autoComplete): Ditto.
        * html/HTMLFormElement.h: Added a FIXME about renaming the autoComplete
        function. Renamed prepareSubmit to prepareForSubmission. Got rid of the
        frame argument from the submit function and added a new submitFromJavaScript
        variant. Removed the unneeded isDemoted function. Changed the return type
        of elementForAlias to a raw pointer. Removed m_autocomplete. Renamed
        m_insubmit to m_isSubmittingOrPreparingForSubmission, m_doingsubmit to
        m_shouldSubmit, m_inreset to m_inResetFunction, m_malformed to m_wasMalformed,
        m_demoted to m_wasDemoted. Use plain bool instead of bitfields.

        * html/HTMLFormElement.idl: Use the function named submitFromJavaScript
        instead of using CallWith=DynamicFrame because we don't need to know
        what frame is calling. If we did, it's not clear that the "dynamic"
        frame would be the right one anyway.

        * html/HTMLSelectElement.cpp:
        (WebCore::HTMLSelectElement::remove): Added an overload that takes an option
        element, since the JavaScript binding supports this.
        * html/HTMLSelectElement.h: Ditto.

        * html/ImageInputType.cpp:
        (WebCore::ImageInputType::handleDOMActivateEvent): Updated for name changes.
        * html/ImageInputType.h: Ditto.
        * html/SubmitInputType.cpp:
        (WebCore::SubmitInputType::handleDOMActivateEvent): Ditto.

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

9 years agoThe correct temporary fix for media/video-element-other-namespace-crash.html timing...
jberlin@webkit.org [Sat, 1 Jan 2011 00:48:20 +0000 (00:48 +0000)]
The correct temporary fix for media/video-element-other-namespace-crash.html timing out on
the Windows 7 Release Test bots is to add it to the Windows skipped list.

Unreviewed.

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

* platform/win/Skipped:
* platform/win/media/video-element-other-namespace-crash-expected.txt: Removed.

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

9 years ago2010-12-31 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sat, 1 Jan 2011 00:36:20 +0000 (00:36 +0000)]
2010-12-31  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Pass style for <area> instead of associated <img> when querying whether
        the theme draws the focus ring for an <area>
        https://bugs.webkit.org/show_bug.cgi?id=51632

        Fixes an issue where the style for the associated <img> of an <area>
        was passed when considering whether the theme should draw a focus ring
        for the <area>. Instead, we should pass the theme the style for the <area>.

        It's not possible to test this at this time since there are no themes
        that override focus ring drawing for <area>s.

        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::paintFocusRing): Moved call to RenderTheme::supportsFocusRing()
        such that it's called with respect to the focused <area>.

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

9 years ago2010-12-31 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 31 Dec 2010 22:46:46 +0000 (22:46 +0000)]
2010-12-31  Adam Barth  <abarth@webkit.org>

        Update SVN ignore property to hide two more external dependencies.

        * chromium: Modified property svn:ignore.

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

9 years agoAdd Windows-specific (failing) expected results for
jberlin@webkit.org [Fri, 31 Dec 2010 22:10:42 +0000 (22:10 +0000)]
Add Windows-specific (failing) expected results for
media/video-element-other-namespace-crash.html in order to get the Windows 7 Release test bot green again.
Unreviewed.
https://bugs.webkit.org/show_bug.cgi?id=51787

* platform/win/media/video-element-other-namespace-crash-expected.txt: Added.

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

9 years agoAdd Windows-specific (failing) expected results for
jberlin@webkit.org [Fri, 31 Dec 2010 21:45:51 +0000 (21:45 +0000)]
Add Windows-specific (failing) expected results for
svg/dom/length-list-parser.html in order to get the Windows 7 Release test bot green again.
Unreviewed.
https://bugs.webkit.org/show_bug.cgi?id=51786

* platform/win/svg/dom: Added.
* platform/win/svg/dom/length-list-parser-expected.txt: Added.

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

9 years ago2010-12-31 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 31 Dec 2010 20:36:41 +0000 (20:36 +0000)]
2010-12-31  Adam Barth  <abarth@webkit.org>

        Remove custom Chromium expectation for invalid-protocol.  Now that we
        share more code with JavaScriptCore, we throw exactly the same
        exception and therefore can share results.

        * platform/chromium/fast/dom/Window/invalid-protocol-expected.txt: Removed.

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

9 years ago* WebCore.xcodeproj/project.pbxproj: Added back the language.
darin@apple.com [Fri, 31 Dec 2010 20:12:13 +0000 (20:12 +0000)]
* WebCore.xcodeproj/project.pbxproj: Added back the language.
Developers should be using Xcode 3.2.5 or newer.

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

9 years ago2010-12-31 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 31 Dec 2010 19:56:29 +0000 (19:56 +0000)]
2010-12-31  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Move V8 to WebCore Location implementation
        https://bugs.webkit.org/show_bug.cgi?id=51768

        * bindings/generic/BindingFrame.h:
        * bindings/generic/BindingLocation.h:
        * bindings/v8/V8Binding.h:
        * bindings/v8/V8DOMWindowShell.cpp:
        (WebCore::V8DOMWindowShell::setLocation):
        * bindings/v8/V8Utilities.cpp:
        * bindings/v8/V8Utilities.h:
        * bindings/v8/custom/V8LocationCustom.cpp:
        (WebCore::V8Location::hashAccessorSetter):
        (WebCore::V8Location::hostAccessorSetter):
        (WebCore::V8Location::hostnameAccessorSetter):
        (WebCore::V8Location::hrefAccessorSetter):
        (WebCore::V8Location::pathnameAccessorSetter):
        (WebCore::V8Location::portAccessorSetter):
        (WebCore::V8Location::protocolAccessorSetter):
        (WebCore::V8Location::searchAccessorSetter):
        (WebCore::V8Location::reloadCallback):
        (WebCore::V8Location::replaceCallback):
        (WebCore::V8Location::assignCallback):

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

9 years ago2010-12-31 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Fri, 31 Dec 2010 17:58:35 +0000 (17:58 +0000)]
2010-12-31  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Eric Seidel.

        Make retrieving extraMediaControlsStyleSheet be page dependent.
        https://bugs.webkit.org/show_bug.cgi?id=51752

        Use themeForPage to retrieve extraMediaControlsStyleSheet for media
        controls.

        No new tests because no platform-specific theme implementation uses
        the passed page pointer yet.

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

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

9 years ago2010-12-31 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 31 Dec 2010 16:11:05 +0000 (16:11 +0000)]
2010-12-31  Adam Barth  <abarth@webkit.org>

        Reviewed by Ariya Hidayat.

        Remove Tools/Scripts/wkstyle
        https://bugs.webkit.org/show_bug.cgi?id=51774

        This script appears to not have been touched in a while and seems to
        have been replaced by check-webkit-style.

        * Scripts/wkstyle: Removed.

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

9 years ago2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 31 Dec 2010 13:02:17 +0000 (13:02 +0000)]
2010-12-31  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [REGRESSION] WebInspector.ResourcesPanel.prototype.canShowSourceLine() broken.

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

        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype.canShowSourceLine):

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

9 years ago2010-12-31 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 31 Dec 2010 12:43:34 +0000 (12:43 +0000)]
2010-12-31  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Darin Adler.

        Add a fast case for ASCII strings in HashAndUTF8CharactersTranslator::equal
        https://bugs.webkit.org/show_bug.cgi?id=50517

        This change shows about 2% performance win on the xml-parser benchmark.

        * wtf/text/AtomicString.cpp:
        (WTF::HashAndUTF8CharactersTranslator::equal):

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

9 years ago2010-12-31 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 31 Dec 2010 11:59:08 +0000 (11:59 +0000)]
2010-12-31  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed build fix after r74800.

        * bindings/js/JSDOMWindowCustom.cpp: Add missing header.
        * bindings/js/JSLocationCustom.cpp: Ditto.

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

9 years ago2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 31 Dec 2010 11:47:45 +0000 (11:47 +0000)]
2010-12-31  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed. Coding style fix.

        * DumpRenderTree/chromium/TestShell.h:

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

9 years ago2010-12-31 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 31 Dec 2010 11:41:52 +0000 (11:41 +0000)]
2010-12-31  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Chromium] Inspector's tests are very slow on Win(Dbg).

        It was a problem with Chromium DRT. DevToolsAgent object instance was
        attached not only to the inspected page but to the DevTools window too.
        As result all the inspector files were interpreted as a content of inspected page
        and were transfered to the DevTools scripts panel for debugging etc.

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

        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        (TestShell::bindJSObjectsToWindow):
        (TestShell::createNewWindow):
        * DumpRenderTree/chromium/TestShell.h:

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

9 years agoMove HTML and XML parser benchmarks into PerformanceTests/Parser
abarth@webkit.org [Fri, 31 Dec 2010 10:16:07 +0000 (10:16 +0000)]
Move HTML and XML parser benchmarks into PerformanceTests/Parser
https://bugs.webkit.org/show_bug.cgi?id=51772

Rubber-stamped by Eric Seidel.

Actually move the directory.

* PerformanceTests/Parser: Copied from WebCore/benchmarks/parser.

PerformanceTests/Parser:

Add a ChangeLog for tracking changes to the Parser PerformanceTest.

* ChangeLog: Added.

WebCore:

Remove the benchmarks folder now that it's empty.  Future benchmarks
should go in the PerformanceTests directory.

* benchmarks: Removed.
* benchmarks/parser: Removed.
* benchmarks/parser/html-parser.html: Removed.
* benchmarks/parser/resources: Removed.
* benchmarks/parser/resources/html5.html: Removed.
* benchmarks/parser/resources/runner.js: Removed.
* benchmarks/parser/xml-parser.html: Removed.

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

9 years ago2010-12-31 Patrick Gansterer <paroga@webkit.org>
abarth@webkit.org [Fri, 31 Dec 2010 10:01:49 +0000 (10:01 +0000)]
2010-12-31  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Add XML parser benchmark
        https://bugs.webkit.org/show_bug.cgi?id=51612

        Move the JavaScript code of html parser into a separate file to share it with xml parser.

        * benchmarks/parser/html-parser.html:
        * benchmarks/parser/resources/runner.js: Copied from WebCore/benchmarks/parser/html-parser.html.
        (runFunction):
        (run):
        (start):
        * benchmarks/parser/xml-parser.html: Copied from WebCore/benchmarks/parser/html-parser.html.

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

9 years agoMove PageLoadTests to PerformanceTests/PageLoad
abarth@webkit.org [Fri, 31 Dec 2010 09:51:18 +0000 (09:51 +0000)]
Move PageLoadTests to PerformanceTests/PageLoad
https://bugs.webkit.org/show_bug.cgi?id=51771

Rubber-stamped by Eric Seidel.

Actually move the directory.

* PageLoadTests: Removed.
* PageLoadTests/svg: Removed.
* PageLoadTests/svg/LICENSES: Removed.
* PageLoadTests/svg/files: Removed.
* PageLoadTests/svg/files/33041-Samurai.svg: Removed.
* PageLoadTests/svg/files/42450-under the see.svg: Removed.
* PageLoadTests/svg/files/42470-flower_from_my_garden_v2.svg: Removed.
* PageLoadTests/svg/files/44057-drops on a blade.svg: Removed.
* PageLoadTests/svg/files/Harvey_Rayner.svg: Removed.
* PageLoadTests/svg/files/az-lizard_benji_park_01.svg: Removed.
* PageLoadTests/svg/files/bamboo_01.svg: Removed.
* PageLoadTests/svg/files/cacuts_01.svg: Removed.
* PageLoadTests/svg/files/cowboy.svg: Removed.
* PageLoadTests/svg/files/crawfish2_ganson.svg: Removed.
* PageLoadTests/svg/files/deb9frac1.svg: Removed.
* PageLoadTests/svg/files/food_leif_lodahl_01.svg: Removed.
* PageLoadTests/svg/files/france.svg: Removed.
* PageLoadTests/svg/files/francobollo_gnome_ezechi_02.svg: Removed.
* PageLoadTests/svg/files/gearflowers.svg: Removed.
* PageLoadTests/svg/files/hereGear4.svg: Removed.
* PageLoadTests/svg/files/mtsthelens.svg: Removed.
* PageLoadTests/svg/files/mtsthelens0.jpg: Removed.
* PageLoadTests/svg/files/world-iso.svg: Removed.
* PageLoadTests/svg/files/worldcup.svg: Removed.
* PageLoadTests/svg/svg.pltsuite: Removed.
* PerformanceTests/PageLoad: Copied from PageLoadTests.
* Sources/cmake/WebKitPackaging.cmake:

PerformanceTests/PageLoad:

Update URLs to point to the new directory name.

* svg/svg.pltsuite:

Tools:

Update references to PageLoadTests to point to the new location.

* Scripts/run-pageloadtest:
* Scripts/webkitpy/common/config/build.py:

Websites/bugs.webkit.org:

Update list of top-level open-source directories.

* PrettyPatch/PrettyPatch.rb:

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

9 years agoMove SunSpider into PerformanceTests
abarth@webkit.org [Fri, 31 Dec 2010 09:28:03 +0000 (09:28 +0000)]
Move SunSpider into PerformanceTests
https://bugs.webkit.org/show_bug.cgi?id=51769

Rubber-stamped by Eric Seidel.

Actually move the directory.

* PerformanceTests: Added.
* PerformanceTests/SunSpider: Copied from SunSpider.
* Sources/cmake/WebKitPackaging.cmake:
* SunSpider: Removed.
* SunSpider/SunSpider.make: Removed.
* SunSpider/TODO: Removed.
* SunSpider/UNCOVERED: Removed.
* SunSpider/hosted: Removed.
* SunSpider/hosted/json2.js: Removed.
* SunSpider/hosted/sunspider.css: Removed.
* SunSpider/hosted/sunspider.html: Removed.
* SunSpider/hosted/versions.html: Removed.
* SunSpider/make-hosted: Removed.
* SunSpider/resources: Removed.
* SunSpider/resources/TEMPLATE.html: Removed.
* SunSpider/resources/driver-TEMPLATE.html: Removed.
* SunSpider/resources/results-TEMPLATE.html: Removed.
* SunSpider/resources/sunspider-analyze-results.js: Removed.
* SunSpider/resources/sunspider-compare-results.js: Removed.
* SunSpider/resources/sunspider-standalone-compare.js: Removed.
* SunSpider/resources/sunspider-standalone-driver.js: Removed.
* SunSpider/sunspider: Removed.
* SunSpider/sunspider-compare-results: Removed.
* SunSpider/tests: Removed.
* SunSpider/tests/parse-only: Removed.
* SunSpider/tests/parse-only/LIST: Removed.
* SunSpider/tests/parse-only/concat-jquery-mootools-prototype.js: Removed.
* SunSpider/tests/parse-only/jquery-1.3.2.js: Removed.
* SunSpider/tests/parse-only/mootools-1.2.2-core-nc.js: Removed.
* SunSpider/tests/parse-only/prototype-1.6.0.3.js: Removed.
* SunSpider/tests/sunspider-0.9: Removed.
* SunSpider/tests/sunspider-0.9.1: Removed.
* SunSpider/tests/sunspider-0.9.1/3d-cube.js: Removed.
* SunSpider/tests/sunspider-0.9.1/3d-morph.js: Removed.
* SunSpider/tests/sunspider-0.9.1/3d-raytrace.js: Removed.
* SunSpider/tests/sunspider-0.9.1/LIST: Removed.
* SunSpider/tests/sunspider-0.9.1/access-binary-trees.js: Removed.
* SunSpider/tests/sunspider-0.9.1/access-fannkuch.js: Removed.
* SunSpider/tests/sunspider-0.9.1/access-nbody.js: Removed.
* SunSpider/tests/sunspider-0.9.1/access-nsieve.js: Removed.
* SunSpider/tests/sunspider-0.9.1/bitops-3bit-bits-in-byte.js: Removed.
* SunSpider/tests/sunspider-0.9.1/bitops-bits-in-byte.js: Removed.
* SunSpider/tests/sunspider-0.9.1/bitops-bitwise-and.js: Removed.
* SunSpider/tests/sunspider-0.9.1/bitops-nsieve-bits.js: Removed.
* SunSpider/tests/sunspider-0.9.1/controlflow-recursive.js: Removed.
* SunSpider/tests/sunspider-0.9.1/crypto-aes.js: Removed.
* SunSpider/tests/sunspider-0.9.1/crypto-md5.js: Removed.
* SunSpider/tests/sunspider-0.9.1/crypto-sha1.js: Removed.
* SunSpider/tests/sunspider-0.9.1/date-format-tofte.js: Removed.
* SunSpider/tests/sunspider-0.9.1/date-format-xparb.js: Removed.
* SunSpider/tests/sunspider-0.9.1/math-cordic.js: Removed.
* SunSpider/tests/sunspider-0.9.1/math-partial-sums.js: Removed.
* SunSpider/tests/sunspider-0.9.1/math-spectral-norm.js: Removed.
* SunSpider/tests/sunspider-0.9.1/regexp-dna.js: Removed.
* SunSpider/tests/sunspider-0.9.1/string-base64.js: Removed.
* SunSpider/tests/sunspider-0.9.1/string-fasta.js: Removed.
* SunSpider/tests/sunspider-0.9.1/string-tagcloud.js: Removed.
* SunSpider/tests/sunspider-0.9.1/string-unpack-code.js: Removed.
* SunSpider/tests/sunspider-0.9.1/string-validate-input.js: Removed.
* SunSpider/tests/sunspider-0.9/3d-cube.js: Removed.
* SunSpider/tests/sunspider-0.9/3d-morph.js: Removed.
* SunSpider/tests/sunspider-0.9/3d-raytrace.js: Removed.
* SunSpider/tests/sunspider-0.9/LIST: Removed.
* SunSpider/tests/sunspider-0.9/access-binary-trees.js: Removed.
* SunSpider/tests/sunspider-0.9/access-fannkuch.js: Removed.
* SunSpider/tests/sunspider-0.9/access-nbody.js: Removed.
* SunSpider/tests/sunspider-0.9/access-nsieve.js: Removed.
* SunSpider/tests/sunspider-0.9/bitops-3bit-bits-in-byte.js: Removed.
* SunSpider/tests/sunspider-0.9/bitops-bits-in-byte.js: Removed.
* SunSpider/tests/sunspider-0.9/bitops-bitwise-and.js: Removed.
* SunSpider/tests/sunspider-0.9/bitops-nsieve-bits.js: Removed.
* SunSpider/tests/sunspider-0.9/controlflow-recursive.js: Removed.
* SunSpider/tests/sunspider-0.9/crypto-aes.js: Removed.
* SunSpider/tests/sunspider-0.9/crypto-md5.js: Removed.
* SunSpider/tests/sunspider-0.9/crypto-sha1.js: Removed.
* SunSpider/tests/sunspider-0.9/date-format-tofte.js: Removed.
* SunSpider/tests/sunspider-0.9/date-format-xparb.js: Removed.
* SunSpider/tests/sunspider-0.9/math-cordic.js: Removed.
* SunSpider/tests/sunspider-0.9/math-partial-sums.js: Removed.
* SunSpider/tests/sunspider-0.9/math-spectral-norm.js: Removed.
* SunSpider/tests/sunspider-0.9/regexp-dna.js: Removed.
* SunSpider/tests/sunspider-0.9/string-base64.js: Removed.
* SunSpider/tests/sunspider-0.9/string-fasta.js: Removed.
* SunSpider/tests/sunspider-0.9/string-tagcloud.js: Removed.
* SunSpider/tests/sunspider-0.9/string-unpack-code.js: Removed.
* SunSpider/tests/sunspider-0.9/string-validate-input.js: Removed.
* SunSpider/tests/ubench: Removed.
* SunSpider/tests/ubench/LIST: Removed.
* SunSpider/tests/ubench/function-closure.js: Removed.
* SunSpider/tests/ubench/function-correct-args.js: Removed.
* SunSpider/tests/ubench/function-empty.js: Removed.
* SunSpider/tests/ubench/function-excess-args.js: Removed.
* SunSpider/tests/ubench/function-missing-args.js: Removed.
* SunSpider/tests/ubench/function-sum.js: Removed.
* SunSpider/tests/ubench/loop-empty-resolve.js: Removed.
* SunSpider/tests/ubench/loop-empty.js: Removed.
* SunSpider/tests/ubench/loop-sum.js: Removed.
* SunSpider/tests/v8-v4: Removed.
* SunSpider/tests/v8-v4/LIST: Removed.
* SunSpider/tests/v8-v4/v8-crypto.js: Removed.
* SunSpider/tests/v8-v4/v8-deltablue.js: Removed.
* SunSpider/tests/v8-v4/v8-earley-boyer.js: Removed.
* SunSpider/tests/v8-v4/v8-raytrace.js: Removed.
* SunSpider/tests/v8-v4/v8-regexp.js: Removed.
* SunSpider/tests/v8-v4/v8-richards.js: Removed.
* SunSpider/tests/v8-v4/v8-splay.js: Removed.
* SunSpider/tests/v8-v5: Removed.
* SunSpider/tests/v8-v5/LIST: Removed.
* SunSpider/tests/v8-v5/v8-crypto.js: Removed.
* SunSpider/tests/v8-v5/v8-deltablue.js: Removed.
* SunSpider/tests/v8-v5/v8-earley-boyer.js: Removed.
* SunSpider/tests/v8-v5/v8-raytrace.js: Removed.
* SunSpider/tests/v8-v5/v8-regexp.js: Removed.
* SunSpider/tests/v8-v5/v8-richards.js: Removed.
* SunSpider/tests/v8-v5/v8-splay.js: Removed.
* SunSpider/tests/v8-v6: Removed.
* SunSpider/tests/v8-v6/LIST: Removed.
* SunSpider/tests/v8-v6/v8-crypto.js: Removed.
* SunSpider/tests/v8-v6/v8-deltablue.js: Removed.
* SunSpider/tests/v8-v6/v8-earley-boyer.js: Removed.
* SunSpider/tests/v8-v6/v8-raytrace.js: Removed.
* SunSpider/tests/v8-v6/v8-regexp.js: Removed.
* SunSpider/tests/v8-v6/v8-richards.js: Removed.
* SunSpider/tests/v8-v6/v8-splay.js: Removed.
* SunSpider/xcopy.excludes: Removed.

Tools:

Update these scripts to point to the new location.

* Scripts/run-sunspider:
* Scripts/sunspider-compare-results:

Websites/bugs.webkit.org:

Update list of top-level open-source directories.

* PrettyPatch/PrettyPatch.rb:

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

9 years ago2010-12-30 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 31 Dec 2010 04:02:37 +0000 (04:02 +0000)]
2010-12-30  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Kent Tamura.

        [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
        https://bugs.webkit.org/show_bug.cgi?id=51728

        Add implementation of the Mac WebThemeEngine that uses an NSScroller
        to render top-level scrollbars. This makes them match the Mac port's
        use of an NSScrollView, which means that we'll be able to share more
        pixel baselines.

        The new rendering code will not be activated until the
        USE_WEB_THEME_ENGINE_TO_PAINT_THUMB #define is fliped in
        ScrollbarThemeChromiumMac.

        * DumpRenderTree/DumpRenderTree.gypi:
        * DumpRenderTree/chromium/TestShellMac.mm:
        (platformInit):
        * DumpRenderTree/chromium/WebThemeEngineDRTMac.h: Added.
        * DumpRenderTree/chromium/WebThemeEngineDRTMac.mm: Added.
        (+[FakeActiveWindow alwaysActiveWindow]):
        (+[FakeActiveWindow alwaysInactiveWindow]):
        (-[FakeActiveWindow initWithActiveControls:]):
        (-[FakeActiveWindow _hasActiveControls]):
        (WebThemeEngineDRTMac::paintScrollbarThumb):
        (stateToHIEnableState):
        (WebThemeEngineDRTMac::paintHIThemeScrollbarThumb):
        (WebThemeEngineDRTMac::paintNSScrollerScrollbarThumb):
2010-12-30  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Kent Tamura.

        [Chromium] Add WebThemeEngineDRTMac so that Chromium DRT scrollbar rendering can match the Mac port's
        https://bugs.webkit.org/show_bug.cgi?id=51728

        Roll DEPS to pick up WebThemeEngine changes.

        * DEPS:

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

9 years ago2010-12-29 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 31 Dec 2010 02:44:58 +0000 (02:44 +0000)]
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Update validation of stencil mask and ref values
        https://bugs.webkit.org/show_bug.cgi?id=50716

        * fast/canvas/webgl/webgl-specific-expected.txt: Sync with khronos: refactor the test, also update the stencil setting test due to spec change.
        * fast/canvas/webgl/webgl-specific.html: Ditto.

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

9 years ago2010-12-30 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 31 Dec 2010 01:53:05 +0000 (01:53 +0000)]
2010-12-30  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Skipping media/video-element-other-namespace-crash.html for chromium
        since it uses codecs that chromium does not support.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-12-29 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 31 Dec 2010 01:30:03 +0000 (01:30 +0000)]
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Update validation of stencil mask and ref values
        https://bugs.webkit.org/show_bug.cgi?id=50716

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::initializeNewContext): Initialize cached stencil settings.
        (WebCore::WebGLRenderingContext::drawArrays): Validate stencil settings.
        (WebCore::WebGLRenderingContext::drawElements): Ditto.
        (WebCore::WebGLRenderingContext::stencilFunc): Cache stencil settings, but generate no error.
        (WebCore::WebGLRenderingContext::stencilFuncSeparate): Ditto.
        (WebCore::WebGLRenderingContext::stencilMask): Ditto.
        (WebCore::WebGLRenderingContext::stencilMaskSeparate): Ditto.
        (WebCore::WebGLRenderingContext::validateStencilSettings): Helper function to validate stencil settings.
        * html/canvas/WebGLRenderingContext.h: Declare stencil setting members.
2010-12-29  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Update validation of stencil mask and ref values
        https://bugs.webkit.org/show_bug.cgi?id=50716

        * fast/canvas/webgl/webgl-specific-expected.txt: Sync with khronos: refactor the test, also update the stencil setting test due to spec change.
        * fast/canvas/webgl/webgl-specific.html: Ditto.

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

9 years ago2010-12-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 31 Dec 2010 01:03:56 +0000 (01:03 +0000)]
2010-12-30  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fork pieces of RenderThemeGtk that will differ for GTK+ 3
        https://bugs.webkit.org/show_bug.cgi?id=51755

        Split out pieces of RenderThemeGtk into RenderThemeGtk2 and RenderThemeGtk3
        if they are going to differ between GTK+ 2.x and GTK+ 3.x. This is the preliminary
        step to landing support for the new GTK+ 3.x theming API.

        No new tests. This should not change functionality.

        * GNUmakefile.am: Add RenderThemeGtk2 and RenderThemeGtk3 to the sources list.
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::adjustTextFieldStyle): Call the setTextInputBorders static method.
        (WebCore::RenderThemeGtk::adjustTextAreaStyle): Ditto.
        (WebCore::RenderThemeGtk::paintMediaButton): Ditto.
        (WebCore::RenderThemeGtk::adjustProgressBarStyle): ditto.
        * platform/gtk/RenderThemeGtk.h: Make setTextInputBorders a method, so that
        it can be exist in RenderThemeGtk{2,3} and be called from RenderThemeGtk.
        * platform/gtk/RenderThemeGtk2.cpp: Added. A fork of the bits of RenderThemeGtk
        that will eventually be platform-dependent.
        * platform/gtk/RenderThemeGtk3.cpp: Added. Ditto.

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

9 years ago2010-12-30 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Fri, 31 Dec 2010 00:50:59 +0000 (00:50 +0000)]
2010-12-30  Justin Schuh  <jschuh@chromium.org>

        Reviewed by James Robinson.

        Reverting r74292 because it introduced a crash with ruby text.
        https://bugs.webkit.org/show_bug.cgi?id=51637

        Test: fast/css/counters/counter-ruby-text-cleared.html

        * rendering/RenderCounter.cpp:
        (WebCore::findPlaceForCounter):
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::addChild):
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::appendChildNode):
        (WebCore::RenderObjectChildList::insertChildNode):
2010-12-30  Justin Schuh  <jschuh@chromium.org>

        Reviewed by James Robinson.

        Check for crash when deleting ruby text with counters.
        https://bugs.webkit.org/show_bug.cgi?id=51637

        * fast/css/counters/counter-ruby-text-cleared-expected.txt: Added.
        * fast/css/counters/counter-ruby-text-cleared.html: Added.

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

9 years ago2010-12-30 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Fri, 31 Dec 2010 00:39:13 +0000 (00:39 +0000)]
2010-12-30  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Ariya Hidayat.

        [CMake] Add WTF_HEADERS
        https://bugs.webkit.org/show_bug.cgi?id=51741

        Add the WTF headers to show them in Visual Studio.

        * wtf/CMakeLists.txt:
        * wtf/CMakeListsWinCE.txt:

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

9 years ago2010-12-30 Darin Adler <darin@apple.com>
darin@apple.com [Fri, 31 Dec 2010 00:24:09 +0000 (00:24 +0000)]
2010-12-30  Darin Adler  <darin@apple.com>

        Reviewed by David Kilzer.

        Remove unused JSBinding source files
        https://bugs.webkit.org/show_bug.cgi?id=51762

        * bindings/js/JSBinding.h: Removed.
        * bindings/js/specialization: Removed.
        * bindings/js/specialization/JSBindingState.cpp: Removed.
        * bindings/js/specialization/JSBindingState.h: Removed.

        * CMakeLists.txt: Removed references to files.
        * GNUmakefile.am: Ditto.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * bindings/js/JSBindingsAllInOne.cpp: Ditto.

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

9 years ago2010-12-30 Konstantin Tokarev <annulen@yandex.ru>
commit-queue@webkit.org [Thu, 30 Dec 2010 23:47:48 +0000 (23:47 +0000)]
2010-12-30  Konstantin Tokarev  <annulen@yandex.ru>

        Reviewed by David Kilzer.

        [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
        used
        https://bugs.webkit.org/show_bug.cgi?id=51672

        * WebKit.pri: Replaced USE_SYSTEM_MALLOC with USE_SYSTEM_MALLOC=1
2010-12-30  Konstantin Tokarev  <annulen@yandex.ru>

        Reviewed by David Kilzer.

        [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
        used
        https://bugs.webkit.org/show_bug.cgi?id=51672

        * wtf/wtf.pri: Replaced USE_SYSTEM_MALLOC with USE_SYSTEM_MALLOC=1
2010-12-30  Konstantin Tokarev  <annulen@yandex.ru>

        Reviewed by David Kilzer.

        [Qt] Don't build wtf/TCSystemAlloc.cpp if --system-malloc option is
        used
        https://bugs.webkit.org/show_bug.cgi?id=51672

        * DumpRenderTree/qt/DumpRenderTree.pro: Replaced USE_SYSTEM_MALLOC
        with USE_SYSTEM_MALLOC=1
        * WebKitTestRunner/qt/WebKitTestRunner.pro: Replaced USE_SYSTEM_MALLOC
        with USE_SYSTEM_MALLOC=1

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

9 years ago2010-12-30 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Thu, 30 Dec 2010 23:41:56 +0000 (23:41 +0000)]
2010-12-30  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Darin Adler.

        Remove Document.h include from some headers where it isn't necessary
        https://bugs.webkit.org/show_bug.cgi?id=51730

        No new tests because no new functionality.

        * editing/EditingStyle.cpp:
        * editing/EditingStyle.h:
        * editing/SelectionController.h:
        * editing/visible_units.h:
        * html/HTMLAudioElement.h:
        * html/HTMLBodyElement.h:
        * inspector/InspectorCSSAgent.h:
        * inspector/InspectorDOMAgent.h:
        * inspector/InspectorInstrumentation.h:
        * xml/DOMParser.cpp:
        * xml/DOMParser.h:
        (WebCore::DOMParser::create):
        (WebCore::DOMParser::DOMParser):

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

9 years ago2010-12-30 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Thu, 30 Dec 2010 23:30:31 +0000 (23:30 +0000)]
2010-12-30  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by David Kilzer.

        [Qt] [Symbian] Fix build-webkit script for Symbian
        https://bugs.webkit.org/show_bug.cgi?id=51509

        Set the OUTPUT_DIR for Symbian to be the same as the source
        directory.

        * Scripts/webkitdirs.pm:

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

9 years ago2010-12-30 Benjamin C Meyer <bmeyer@rim.com>
paroga@webkit.org [Thu, 30 Dec 2010 21:55:51 +0000 (21:55 +0000)]
2010-12-30  Benjamin C Meyer  <bmeyer@rim.com>

        Reviewed by Darin Adler.

        bindings/js/JSDesktopNotificationsCustom.cpp is not included in the cmake build
        which is required when NOTIFICATIONS is enabled.

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

        * CMakeLists.txt:

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

9 years ago2010-12-30 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 30 Dec 2010 21:46:09 +0000 (21:46 +0000)]
2010-12-30  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Darin Adler.

        check-webkit-style should ignore NULL usage in calls to gtk_widget_style_get
        https://bugs.webkit.org/show_bug.cgi?id=51758

        Add a check-webkit-style exception for gtk_widget_style_get and NULL usage.

        * Scripts/webkitpy/style/checkers/cpp.py: Add the exception.
        * Scripts/webkitpy/style/checkers/cpp_unittest.py: Add some tests for this.

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