1. 22 Nov, 2011 1 commit
  2. 18 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      IDL changes for gamepad support · 0ef17682
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71753
      
      Patch by Scott Graham <scottmg@chromium.org> on 2011-11-18
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      IDL changes and associated plumbing to expose list of gamepad objects
      on navigator object (per current spec). Full patch is
      https://bugs.webkit.org/show_bug.cgi?id=69451. Only basic existence
      test until more plumbing in future patches.
      
      Test: gamepad/gamepad-api.html
      
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::setWebkitGamepadsEnabled):
      (WebCore::RuntimeEnabledFeatures::webkitGamepadsEnabled):
      * page/Gamepad.cpp: Added.
      (WebCore::Gamepad::Gamepad):
      (WebCore::Gamepad::axes):
      (WebCore::Gamepad::buttons):
      (WebCore::Gamepad::~Gamepad):
      * page/Gamepad.h: Added.
      * page/Gamepad.idl: Added.
      * page/GamepadList.cpp: Added.
      (WebCore::GamepadList::~GamepadList):
      (WebCore::GamepadList::set):
      (WebCore::GamepadList::length):
      (WebCore::GamepadList::item):
      * page/GamepadList.h: Added.
      (WebCore::GamepadList::create):
      (WebCore::GamepadList::GamepadList):
      * page/GamepadList.idl: Added.
      * page/Navigator.cpp:
      (WebCore::Navigator::webkitGamepads):
      * page/Navigator.h:
      * page/Navigator.idl:
      
      Source/WebKit/chromium:
      
      Update to use vendor-prefixed enable.
      
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableGamepad):
      (WebKit::WebRuntimeFeatures::isGamepadEnabled):
      
      Tools:
      
      Runtime enable gamepad in chromium test shell.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      Add basic api existence test.
      
      * gamepad/gamepad-api-expected.txt: Added.
      * gamepad/gamepad-api.html: Added.
      * gamepad/gamepad-test.js: Added.
      (logConsole):
      (testExpected):
      (reportExpected):
      (waitForEventAndEnd):
      (waitForEvent._eventCallback):
      (waitForEvent):
      (waitForEventAndTest._eventCallback):
      (waitForEventAndTest):
      (waitForEventTestAndEnd):
      (endTest):
      (logResult):
      (consoleWrite):
      * platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
      * platform/efl/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ef17682
  3. 17 Nov, 2011 1 commit
  4. 16 Nov, 2011 1 commit
  5. 15 Nov, 2011 4 commits
  6. 11 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Update expected results for composited canvas operations · d0b58d2c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71995
      
      Patch by Ben Wells <benwells@chromium.org> on 2011-11-11
      Reviewed by Kenneth Russell.
      
      * canvas/philip/tests/2d.composite.uncovered.image.copy-expected.txt:
      * canvas/philip/tests/2d.composite.uncovered.image.destination-atop-expected.txt:
      * canvas/philip/tests/2d.composite.uncovered.image.destination-in-expected.txt:
      * canvas/philip/tests/2d.composite.uncovered.image.source-in-expected.txt:
      * canvas/philip/tests/2d.composite.uncovered.image.source-out-expected.txt:
      * canvas/philip/tests/2d.composite.uncovered.pattern.copy-expected.txt:
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0b58d2c
  7. 09 Nov, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Implement dumpProgressFinishedCallback() for Mac layoutTestController · 8fadda95
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66772
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2011-11-09
      Reviewed by Simon Fraser.
      
      Tools:
      
      When dumpProgressFinishedCallback is enabled, DumpRenderTree should output
      "postProgressFinishedNotification" on FrameLoaderClient::postProgressFinishedNotification().
      
      On Mac, the FrameLoaderClient post a notification. This patch add handling for this notification
      in the FrameLoadDelegate and print the output in response to the notification.
      
      * DumpRenderTree/mac/FrameLoadDelegate.mm:
      (-[FrameLoadDelegate init]):
      (-[FrameLoadDelegate dealloc]):
      (-[FrameLoadDelegate webViewProgressFinishedNotification:]):
      
      LayoutTests:
      
      Unskip the skipped test.
      
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fadda95
  8. 07 Nov, 2011 2 commits
    • commit-queue@webkit.org's avatar
      Add layout test for locale-based font selection · 7ef66463
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67019
      
      This test relies on overridePreference("WebKit*FontMap"...) which is
      implemented only on Chromium DumpRenderTree so far.
      
      Patch by Matt Falkenhagen <falken@chromium.org> on 2011-11-07
      Reviewed by Kent Tamura.
      
      * fast/text/international/locale-sensitive-fonts.html: Added.
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped: Added skip for non-Chromium ports.
      * platform/gtk-wk2/Skipped:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      * platform/wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ef66463
    • pfeldman@chromium.org's avatar
      Web Inspector: split script-formatter test into multiple tests. · 657ef0a9
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71607
      
      Patch by Pavel Feldman <pfeldman@chromium.org> on 2011-11-07
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      Tests: inspector/debugger/script-formatter-breakpoints.html
             inspector/debugger/script-formatter-console.html
      
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype._removeSourceFrame):
      
      LayoutTests:
      
      * inspector/debugger/script-formatter-breakpoints-expected.txt: Added.
      * inspector/debugger/script-formatter-breakpoints.html: Added.
      * inspector/debugger/script-formatter-console-expected.txt: Added.
      * inspector/debugger/script-formatter-console.html: Added.
      * inspector/debugger/script-formatter-expected.txt:
      * inspector/debugger/script-formatter.html:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      657ef0a9
  9. 04 Nov, 2011 3 commits
    • commit-queue@webkit.org's avatar
      Crash in ScrollAnimator.cpp · f190377e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69865
      
      The code in ScrollAnimator assumes that horizontal per-page mouse
      wheel events cannot happen, which is not true. This patch adds layout
      tests for all paging wheel event situations and fixes the broken
      horizontal case.
      
      Source/WebCore:
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2011-11-04
      Reviewed by Anders Carlsson
      
      Tests: fast/events/platform-wheelevent-paging-x-in-non-scrolling-div.html
             fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html
             fast/events/platform-wheelevent-paging-x-in-scrolling-div.html
             fast/events/platform-wheelevent-paging-x-in-scrolling-page.html
             fast/events/platform-wheelevent-paging-xy-in-scrolling-div.html
             fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html
             fast/events/platform-wheelevent-paging-y-in-non-scrolling-div.html
             fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html
             fast/events/platform-wheelevent-paging-y-in-scrolling-div.html
             fast/events/platform-wheelevent-paging-y-in-scrolling-page.html
      
      * platform/PlatformWheelEvent.h: Modify the comment to reflect the new
      reality.
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::handleWheelEvent): Modified the code to handle the
      horizontal per-page wheel event case.
      
      Tools:
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2011-11-04
      Reviewed by Anders Carlsson
      
      * DumpRenderTree/chromium/EventSender.cpp:
      (EventSender::handleMouseWheel): Added the ability to specify that a
      mouse wheel event should be paging.
      
      LayoutTests:
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2011-11-04
      Reviewed by Anders Carlsson
      
      * fast/events/platform-wheelevent-paging-x-in-non-scrolling-div-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-x-in-non-scrolling-div.html: Added.
      * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html: Added.
      * fast/events/platform-wheelevent-paging-x-in-scrolling-div-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-x-in-scrolling-div.html: Added.
      * fast/events/platform-wheelevent-paging-x-in-scrolling-page-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-x-in-scrolling-page.html: Added.
      * fast/events/platform-wheelevent-paging-xy-in-scrolling-div-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-xy-in-scrolling-div.html: Added.
      * fast/events/platform-wheelevent-paging-xy-in-scrolling-page-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html: Added.
      * fast/events/platform-wheelevent-paging-y-in-non-scrolling-div-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-y-in-non-scrolling-div.html: Added.
      * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html: Added.
      * fast/events/platform-wheelevent-paging-y-in-scrolling-div-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-y-in-scrolling-div.html: Added.
      * fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt: Added.
      * fast/events/platform-wheelevent-paging-y-in-scrolling-page.html: Added.
      * platform/chromium-mac/fast/events/platform-wheelevent-paging-x-in-scrolling-page-expected.txt: Added.
      * platform/chromium-mac/fast/events/platform-wheelevent-paging-xy-in-scrolling-page-expected.txt: Added.
      * platform/chromium-mac/fast/events/platform-wheelevent-paging-y-in-scrolling-page-expected.txt: Added.
      * platform/mac/Skipped: Added skip for the new tests, as the platform
      does not support it.
      * platform/win/Skipped: Added skip for the new tests, as the platform
      does not support it.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f190377e
    • noel.gordon@gmail.com's avatar
      [Chromium] Implement canvas.toDataURL("image/webp") · f00d37a5
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70172
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Add a webp image encoder for the chromium skia ports, add it to the canvas
      element toDataURL() flow with support for an optional quality [0.0-1.0].
      Use a webp compression method (3) that provides good speed and compression
      performance for this image format, and works well for various input image
      types: line-art, screen-shots, and photographic images.
      
      Test: fast/canvas/canvas-toDataURL-webp.html
      
      * WebCore.gypi:
      * platform/chromium/MIMETypeRegistryChromium.cpp:
      (WebCore::MIMETypeRegistry::isSupportedImageMIMETypeForEncoding):
      * platform/graphics/skia/ImageBufferSkia.cpp:
      (WebCore::ImageToDataURL):
      * platform/image-encoders/skia/WEBPImageEncoder.cpp: Added.
      (WebCore::writeOutput):
      (WebCore::importPicture):
      (WebCore::importPictureBGRA):
      (WebCore::importPictureRGBA):
      (WebCore::encodePixels):
      (WebCore::WEBPImageEncoder::encode):
      * platform/image-encoders/skia/WEBPImageEncoder.h: Added.
      
      LayoutTests:
      
      * fast/canvas/canvas-toDataURL-webp-expected.txt: Added.
      * fast/canvas/canvas-toDataURL-webp.html: Added.
      * platform/chromium/test_expectations.txt: skip test on MAC CPU-CG (CoreGraphics)
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f00d37a5
    • pfeldman@chromium.org's avatar
      2011-11-04 Pavel Feldman <pfeldman@chromium.org> · 22a06ed9
      pfeldman@chromium.org authored
              Not reviewed: marked inspector/debugger/script-formatter.html
              as skipped for now - sorting it out.
      
              * platform/mac/Skipped:
              * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22a06ed9
  10. 03 Nov, 2011 2 commits
    • eric.carlson@apple.com's avatar
      Add TrackEvent · c86bdf75
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=71178
      
      Reviewed by Sam Weinig.
      
      Source/WebCore: 
      
      Test: fast/events/constructors/track-event-constructor.html
      
      * CMakeLists.txt: Add new files for TrackEvent.
      * CodeGenerators.pri: Ditto.
      * DerivedSources.cpp: Ditto.
      * DerivedSources.make: Ditto.
      * GNUmakefile.am: Ditto.
      * GNUmakefile.list.am: Ditto.
      * WebCore.gypi: Ditto.
      * WebCore.pro: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      * bindings/generic/EventConstructors.h: Ditto.
      * bindings/gobject/GNUmakefile.am: Ditto.
      * bindings/gobject/WebKitHTMLElementWrapperFactory.cpp: Ditto.
      * bindings/js/JSBindingsAllInOne.cpp: Ditto.
      
      * bindings/js/JSDictionary.cpp:
      (WebCore::JSDictionary::convertValue): Add method to convert to a Track.
      * bindings/js/JSDictionary.h:
      
      * bindings/js/JSEventConstructors.cpp:  Add new files for TrackEvent.
      
      * bindings/js/JSTrackCustom.cpp: Added. 
      (WebCore::toTrack): New, convert from a JSValue to a Track.
      (WebCore::toJS): New, return a JS wrapper for a Track.
      * bindings/js/JSTrackCustom.h: Added.
      
      * bindings/js/JSTrackEventCustom.cpp: Added.
      (WebCore::JSTrackEvent::track): New, returns a TextEvent's 'track' attribute.
      
      * bindings/v8/OptionsObject.cpp:
      (WebCore::OptionsObject::get): Returns RefPtr<TrackBase>.
      
      * bindings/v8/custom/V8EventConstructors.cpp: Add Track initializing constructor.
      
      * bindings/v8/custom/V8TrackEventCustom.cpp: Added.
      (WebCore::V8TrackEvent::trackAccessorGetter): New, returns a TextEvent's 'track' attribute.
      
      * dom/EventFactory.in: Add TrackEvent.
      
      * dom/EventNames.h: Add 'addtrack' event.
      
      * html/TextTrack.cpp:
      (WebCore::TextTrack::TextTrack): Call new base class constructor.
      * html/TextTrack.h: Now derive from BaseTrack for the day we implement VideoTrack and AudioTrack.
      
      * html/track/TrackBase.cpp: Added.
      (WebCore::TrackBase::TrackBase):
      (WebCore::TrackBase::~TrackBase):
      * html/track/TrackBase.h: Added.
      (WebCore::TrackBase::type): Return the track type.
      
      * html/track/TrackEvent.cpp: Added.
      (WebCore::TrackEventInit::TrackEventInit):
      (WebCore::TrackEvent::TrackEvent):
      (WebCore::TrackEvent::~TrackEvent):
      (WebCore::TrackEvent::interfaceName):
      * html/track/TrackEvent.h: Added.
      (WebCore::TrackEvent::create):
      (WebCore::TrackEvent::isTrackEvent):
      (WebCore::TrackEvent::track):
      * html/track/TrackEvent.idl: Added.
      
      * page/DOMWindow.idl: Add TrackEvent.
      
      LayoutTests: 
      
      * fast/events/constructors/track-event-constructor-expected.txt: Added.
      * fast/events/constructors/track-event-constructor.html: Added.
      * platform/chromium/test_expectations.txt:
      * platform/gtk/fast/dom/Window/window-properties-expected.txt:
      * platform/gtk/fast/js/global-constructors-expected.txt:
      * platform/mac/Skipped:
      * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c86bdf75
    • jchaffraix@webkit.org's avatar
      Stop abusing RenderTableSection::needsRecalcCells logic · 19bbb726
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71420
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Change covered by existing tests like fast/repaint/table-extra-bottom-grow.html
      and fast/table/row-height-recalc* (among others).
      
      Cell recalculation is very expensive and should only be called when the section's structure
      changed in a way that requires a safe update to its structure (like removing a row as our
      column split may not be appropriate anymore).
      
      The current code would abuse cell recalculation to actually reset the logical height on the
      RowStruct. This change makes it do the right thing.
      
      * rendering/RenderTableCell.h:
      * rendering/RenderTableRow.h:
      Removed styleWillChange override as it was unneeded.
      
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::styleDidChange):
      * rendering/RenderTableRow.cpp:
      (WebCore::RenderTableRow::styleDidChange):
      Move the code from styleWillChange to styleDidChange.
      
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::rowLogicalHeightChanged):
      This function just reset the height on the |RowStruct| which is the
      only part of recalcCells that we would need.
      
      (WebCore::RenderTableSection::rowIndexForRenderer):
      Added this function to find out which index a column has (strangely
      RenderTableRow does not have this information).
      
      * rendering/RenderTableSection.h: Added the 2 previous functions.
      
      LayoutTests:
      
      * platform/chromium-linux/fast/repaint/table-extra-bottom-grow-expected.png:
      Update this test as this is a progression: we are not over-repainting the table
      anymore.
      
      * platform/chromium/test_expectations.txt:
      * platform/efl/Skipped:
      * platform/mac/Skipped:
      * platform/qt/test_expectations.txt:
      Skipped the test here as it needs a rebaseline.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19bbb726
  11. 02 Nov, 2011 3 commits
    • arv@chromium.org's avatar
      Add new StorageInfo test to the respective skip lists. · 19e409c0
      arv@chromium.org authored
      Unreviewed.
      
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19e409c0
    • simon.fraser@apple.com's avatar
      REGRESSION (r97496-r97499): 6 fast/workers tests failing on SnowLeopard Intel Release (Tests) · 3be57b85
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=70619
      
      Skip some failing worker tests.
      
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3be57b85
    • annacc@chromium.org's avatar
      Remove <track>-related LayoutTests that don't actually work yet. · 292741b7
      annacc@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71378
      
      Reviewed by Eric Carlson.
      
      * media/track/track-mutable-expected.txt: Removed.
      * media/track/track-mutable.html: Removed.
      * media/track/track-text-track-cue-list-expected.txt: Removed.
      * media/track/track-text-track-cue-list.html: Removed.
      * media/track/track-text-track-expected.txt: Removed.
      * media/track/track-text-track.html: Removed.
      * media/track/track-webvtt-tc000-empty-expected.txt: Removed.
      * media/track/track-webvtt-tc000-empty.html: Removed.
      * media/track/track-webvtt-tc001-utf8-expected.txt: Removed.
      * media/track/track-webvtt-tc001-utf8.html: Removed.
      * media/track/track-webvtt-tc002-bom-expected.txt: Removed.
      * media/track/track-webvtt-tc002-bom.html: Removed.
      * media/track/track-webvtt-tc003-newlines-expected.txt: Removed.
      * media/track/track-webvtt-tc003-newlines.html: Removed.
      * media/track/track-webvtt-tc004-magic-header-expected.txt: Removed.
      * media/track/track-webvtt-tc004-magic-header.html: Removed.
      * media/track/track-webvtt-tc005-header-comment-expected.txt: Removed.
      * media/track/track-webvtt-tc005-header-comment.html: Removed.
      * media/track/track-webvtt-tc006-cue-identifiers-expected.txt: Removed.
      * media/track/track-webvtt-tc006-cue-identifiers.html: Removed.
      * media/track/track-webvtt-tc007-cue-no-id-expected.txt: Removed.
      * media/track/track-webvtt-tc007-cue-no-id.html: Removed.
      * media/track/track-webvtt-tc008-timings-no-hours-expected.txt: Removed.
      * media/track/track-webvtt-tc008-timings-no-hours.html: Removed.
      * media/track/track-webvtt-tc009-timings-hour-expected.txt: Removed.
      * media/track/track-webvtt-tc009-timings-hour.html: Removed.
      * media/track/track-webvtt-tc010-no-timings-expected.txt: Removed.
      * media/track/track-webvtt-tc010-no-timings.html: Removed.
      * media/track/track-webvtt-tc011-blank-lines-expected.txt: Removed.
      * media/track/track-webvtt-tc011-blank-lines.html: Removed.
      * media/track/track-webvtt-tc012-out-of-order-expected.txt: Removed.
      * media/track/track-webvtt-tc012-out-of-order.html: Removed.
      * media/track/track-webvtt-tc013-settings-expected.txt: Removed.
      * media/track/track-webvtt-tc013-settings.html: Removed.
      * media/track/track-webvtt-tc014-alignment-expected.txt: Removed.
      * media/track/track-webvtt-tc014-alignment.html: Removed.
      * media/track/track-webvtt-tc015-positioning-expected.txt: Removed.
      * media/track/track-webvtt-tc015-positioning.html: Removed.
      * media/track/track-webvtt-tc016-align-positioning-expected.txt: Removed.
      * media/track/track-webvtt-tc016-align-positioning.html: Removed.
      * media/track/track-webvtt-tc017-line-position-expected.txt: Removed.
      * media/track/track-webvtt-tc017-line-position.html: Removed.
      * media/track/track-webvtt-tc018-align-text-line-position-expected.txt: Removed.
      * media/track/track-webvtt-tc018-align-text-line-position.html: Removed.
      * media/track/track-webvtt-tc019-cue-size-expected.txt: Removed.
      * media/track/track-webvtt-tc019-cue-size.html: Removed.
      * media/track/track-webvtt-tc020-cue-size-align-expected.txt: Removed.
      * media/track/track-webvtt-tc020-cue-size-align.html: Removed.
      * media/track/track-webvtt-tc021-valign-expected.txt: Removed.
      * media/track/track-webvtt-tc021-valign.html: Removed.
      * media/track/track-webvtt-tc022-entities-expected.txt: Removed.
      * media/track/track-webvtt-tc022-entities.html: Removed.
      * media/track/track-webvtt-tc023-markup-expected.txt: Removed.
      * media/track/track-webvtt-tc023-markup.html: Removed.
      * media/track/track-webvtt-tc024-timestamp-expected.txt: Removed.
      * media/track/track-webvtt-tc024-timestamp.html: Removed.
      * media/track/track-webvtt-tc025-class-markup-expected.txt: Removed.
      * media/track/track-webvtt-tc025-class-markup.html: Removed.
      * media/track/track-webvtt-tc026-voice-expected.txt: Removed.
      * media/track/track-webvtt-tc026-voice.html: Removed.
      * media/track/track-webvtt-tc027-empty-cue-expected.txt: Removed.
      * media/track/track-webvtt-tc027-empty-cue.html: Removed.
      * media/track/track-webvtt-tc028-unsupported-markup-expected.txt: Removed.
      * media/track/track-webvtt-tc028-unsupported-markup.html: Removed.
      
      * platform/chromium/test_expectations.txt: Remove all, remaining tests currently pass.
      * platform/gtk/Skipped: Remove all, remaining tests currently pass.
      * platform/mac/Skipped: Make sure all are skipped, <track> not enabled.
      * platform/qt/Skipped: Remove all, remaining tests currently pass.
      * platform/win/Skipped: Make sure all are skipped, <track> not enabled.
      * platform/wk2/Skipped: Remove all, remaining tests currently pass.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      292741b7
  12. 01 Nov, 2011 1 commit
    • annacc@chromium.org's avatar
      Makes [Reflect] work for constants. · 7cc58fe3
      annacc@chromium.org authored
      This is needed to avoid platform-specific define conflicts, specifically
      TextTrack::ERROR conflicts with a windows define.
      https://bugs.webkit.org/show_bug.cgi?id=70951
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Test: media/track/track-constants.html
      
      * bindings/scripts/CodeGenerator.pm:
      (GenerateCompileTimeCheckForEnumsIfNeeded):
          Check for [Reflect] and assign name accordingly.
      
      * bindings/scripts/test/CPP/WebDOMTestObj.h:  Update test file.
      * bindings/scripts/test/JS/JSTestObj.cpp:  Update test file.
      (WebCore::jsTestObjCONST_JAVASCRIPT):
      * bindings/scripts/test/JS/JSTestObj.h:  Update test file.
      * bindings/scripts/test/ObjC/DOMTestObj.h:  Update test file.
      * bindings/scripts/test/TestObj.idl:  Update test file.
      * bindings/scripts/test/V8/V8TestObj.cpp:  Update test file.
      
      * html/LoadableTextTrack.cpp: Use new DOM const name.
      (WebCore::LoadableTextTrack::cueLoadingStarted):
      (WebCore::LoadableTextTrack::cueLoadingCompleted):
      * html/TextTrack.cpp:  Use new DOM const name.
      (WebCore::TextTrack::TextTrack):
      (WebCore::TextTrack::setMode):
      * html/TextTrack.h:  Use new DOM const name.
      * html/TextTrack.idl:  Use Reflect for ERROR, but leave other DOM const names.
      
      LayoutTests:
      
      * media/track/track-constants-expected.txt: Added.
      * media/track/track-constants.html: Added.
      * media/track/track-load-error-readyState.html:  Updated with new const name.
      * media/track/track-load-from-element-readyState.html:  Updated with new const name.
      * media/track/track-load-from-src-readyState.html:  Updated with new const name.
      
      VIDEO_TRACK is not enabled on these ports, so skipping this test:
      * platform/mac/Skipped:
      * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7cc58fe3
  13. 31 Oct, 2011 1 commit
    • annacc@chromium.org's avatar
      Implement load notification and events for <track>. · b6ae44b9
      annacc@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71054
      
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      Tests: media/track/track-load-error-readyState.html
             media/track/track-load-from-element-readyState.html
             media/track/track-load-from-src-readyState.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::trackWasAdded):
      (WebCore::HTMLMediaElement::trackWillBeRemoved):
      (WebCore::HTMLMediaElement::trackSourceChanged):
      * html/HTMLMediaElement.h:
      * html/HTMLTrackElement.cpp:
      (WebCore::HTMLTrackElement::insertedIntoTree):
      (WebCore::HTMLTrackElement::willRemove):
      (WebCore::HTMLTrackElement::parseMappedAttribute):
      (WebCore::HTMLTrackElement::attributeChanged):
      * html/HTMLTrackElement.h:
      * html/LoadableTextTrack.cpp:
      (WebCore::LoadableTextTrack::cueLoadingCompleted):
      
      LayoutTests:
      
      * media/track/track-load-error-readyState-expected.txt: Added.
      * media/track/track-load-error-readyState.html: Added.
      * media/track/track-load-from-element-readyState-expected.txt: Added.
      * media/track/track-load-from-element-readyState.html: Added.
      * media/track/track-load-from-src-readyState-expected.txt: Added.
      * media/track/track-load-from-src-readyState.html: Added.
      * platform/mac/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@98860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6ae44b9
  14. 29 Oct, 2011 1 commit
  15. 28 Oct, 2011 2 commits
  16. 27 Oct, 2011 3 commits
  17. 14 Oct, 2011 1 commit
  18. 12 Oct, 2011 1 commit
  19. 11 Oct, 2011 1 commit
    • adamk@chromium.org's avatar
      [MutationObservers] Add stub implementation of WebKitMutationObserver · 136a5cf8
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68949
      
      Reviewed by Ryosuke Niwa, Oliver Hunt, and Dimitri Glazkov.
      
      Source/WebCore:
      
      See https://bugs.webkit.org/show_bug.cgi?id=68729 for the metabug.
      
      This patch adds a stub WebKitMutationObserver and its supporting classes
      MutationCallback and MutationObserverOptions.
      No implementation is provided for the all-important observe() and
      disconnect() methods.
      
      Note that WebKitMutationObserver is vendor-prefixed since it has a
      constructor exposed on DOMWindow.  None of the rest of the API needs
      prefixing, as it's only available via a call through a MutationObserver
      callback (created by instantiating WebKitMutationObserver).
      
      Given the number of files required to get just the stub up and running,
      it seems reasonable to leave the actual implementation for the next
      patch (or more likely several patches).  I've left FIXMEs in all the places
      that'll need augmentation.
      
      Tests: fast/mutation/mutation-observer-constructor.html
             fast/mutation/observe-exceptions.html
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.list.am:
      * UseJSC.cmake:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDictionary.h:
      (WebCore::JSDictionary::tryGetProperty):
      * bindings/js/JSMutationCallbackCustom.cpp: Added.
      (WebCore::JSMutationCallback::handleEvent):
      * bindings/js/JSWebKitMutationObserverCustom.cpp: Added.
      (WebCore::JSWebKitMutationObserverConstructor::constructJSWebKitMutationObserver):
      (WebCore::JSWebKitMutationObserver::observe):
      * bindings/v8/custom/V8MutationCallbackCustom.cpp: Added.
      (WebCore::V8MutationCallback::handleEvent):
      * bindings/v8/custom/V8WebKitMutationObserverCustom.cpp: Added.
      (WebCore::V8WebKitMutationObserver::constructorCallback):
      (WebCore::V8WebKitMutationObserver::observeCallback):
      * dom/MutationCallback.h: Added.
      (WebCore::MutationCallback::~MutationCallback):
      * dom/MutationCallback.idl: Added.
      * dom/MutationObserverOptions.h: Added.
      (WebCore::MutationObserverOptions::create):
      (WebCore::MutationObserverOptions::childList):
      (WebCore::MutationObserverOptions::setChildList):
      (WebCore::MutationObserverOptions::attributes):
      (WebCore::MutationObserverOptions::setAttributes):
      (WebCore::MutationObserverOptions::characterData):
      (WebCore::MutationObserverOptions::setCharacterData):
      (WebCore::MutationObserverOptions::subtree):
      (WebCore::MutationObserverOptions::setSubtree):
      (WebCore::MutationObserverOptions::attributeOldValue):
      (WebCore::MutationObserverOptions::setAttributeOldValue):
      (WebCore::MutationObserverOptions::characterDataOldValue):
      (WebCore::MutationObserverOptions::setCharacterDataOldValue):
      (WebCore::MutationObserverOptions::MutationObserverOptions):
      * dom/WebKitMutationObserver.cpp: Added.
      (WebCore::WebKitMutationObserver::create):
      (WebCore::WebKitMutationObserver::WebKitMutationObserver):
      (WebCore::WebKitMutationObserver::~WebKitMutationObserver):
      (WebCore::WebKitMutationObserver::observe):
      (WebCore::WebKitMutationObserver::disconnect):
      * dom/WebKitMutationObserver.h: Added.
      * dom/WebKitMutationObserver.idl: Added.
      * page/DOMWindow.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi: Added 'enable_mutation_observers' variable.
      
      LayoutTests:
      
      Add basic tests and skip them in all ports for now.
      
      * fast/mutation/mutation-observer-constructor-expected.txt: Added.
      * fast/mutation/mutation-observer-constructor.html: Added.
      * fast/mutation/observe-exceptions-expected.txt: Added.
      * fast/mutation/observe-exceptions.html: Added.
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      136a5cf8
  20. 07 Oct, 2011 2 commits
    • rniwa@webkit.org's avatar
      [JSC]Two tests fails after r95489 & r95488 · 82cb7a18
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68428
      
      Move V8-specific results to Chromium and put JSC result in cross-platform directory.
      Also unskip the tests on Mac.
      
      * http/tests/security/document-all-expected.txt:
      * http/tests/security/window-named-proto-expected.txt:
      * platform/chromium/http/tests/security/document-all-expected.txt: Copied from
      LayoutTests/http/tests/security/document-all-expected.txt.
      * platform/chromium/http/tests/security/window-named-proto-expected.txt: Copied from
      LayoutTests/http/tests/security/window-named-proto-expected.txt.
      * platform/gtk/http/tests/security/document-all-expected.txt: Removed.
      * platform/gtk/http/tests/security/window-named-proto-expected.txt: Removed.
      * platform/mac/Skipped:
      * platform/qt/http/tests/security/document-all-expected.txt: Removed.
      * platform/qt/http/tests/security/window-named-proto-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82cb7a18
    • tkent@chromium.org's avatar
      Move <input type=file> tests to fast/forms/file/ · f537bc98
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69504
      
      Reviewed by Hajime Morita.
      
      * fast/forms/file-input-change-event-expected.txt: Removed.
      * fast/forms/file-input-change-event.html: Removed.
      * fast/forms/file-input-direction.html: Removed.
      * fast/forms/file-input-disabled.html: Removed.
      * fast/forms/file-input-hit-test-expected.txt: Removed.
      * fast/forms/file-input-hit-test.html: Removed.
      * fast/forms/file-input-reset-expected.html: Removed.
      * fast/forms/file-input-reset.html: Removed.
      * fast/forms/file/file-input-change-event-expected.txt: Copied from LayoutTests/fast/forms/file-input-change-event-expected.txt.
      * fast/forms/file/file-input-change-event.html: Copied from LayoutTests/fast/forms/file-input-change-event.html.
      * fast/forms/file/file-input-direction.html: Copied from LayoutTests/fast/forms/file-input-direction.html.
      * fast/forms/file/file-input-disabled.html: Copied from LayoutTests/fast/forms/file-input-disabled.html.
      * fast/forms/file/file-input-hit-test-expected.txt: Copied from LayoutTests/fast/forms/file-input-hit-test-expected.txt.
      * fast/forms/file/file-input-hit-test.html: Copied from LayoutTests/fast/forms/file-input-hit-test.html.
      * fast/forms/file/file-input-reset-expected.html: Copied from LayoutTests/fast/forms/file-input-reset-expected.html.
      * fast/forms/file/file-input-reset.html: Copied from LayoutTests/fast/forms/file-input-reset.html.
      * fast/forms/file/get-file-upload-expected.txt: Copied from LayoutTests/fast/forms/get-file-upload-expected.txt.
      * fast/forms/file/get-file-upload.html: Copied from LayoutTests/fast/forms/get-file-upload.html.
      * fast/forms/file/hidden-input-file-expected.html: Copied from LayoutTests/fast/forms/hidden-input-file.html.
      * fast/forms/file/hidden-input-file.html: Copied from LayoutTests/fast/forms/hidden-input-file.html.
      * fast/forms/file/input-file-directory-upload-expected.txt: Copied from LayoutTests/fast/forms/input-file-directory-upload-expected.txt.
      * fast/forms/file/input-file-directory-upload.html: Copied from LayoutTests/fast/forms/input-file-directory-upload.html.
      * fast/forms/file/input-file-label-expected.txt: Copied from LayoutTests/fast/forms/input-file-label-expected.txt.
      * fast/forms/file/input-file-label.html: Copied from LayoutTests/fast/forms/input-file-label.html.
      * fast/forms/file/input-file-not-open-without-gesture-expected.txt: Copied from LayoutTests/fast/forms/input-file-not-open-without-gesture-expected.txt.
      * fast/forms/file/input-file-not-open-without-gesture.html: Copied from LayoutTests/fast/forms/input-file-not-open-without-gesture.html.
      * fast/forms/file/input-file-re-render.html: Copied from LayoutTests/fast/forms/input-file-re-render.html.
      * fast/forms/get-file-upload-expected.txt: Removed.
      * fast/forms/get-file-upload.html: Removed.
      * fast/forms/hidden-input-file.html: Removed.
      * fast/forms/input-file-directory-upload-expected.txt: Removed.
      * fast/forms/input-file-directory-upload.html: Removed.
      * fast/forms/input-file-label-expected.txt: Removed.
      * fast/forms/input-file-label.html: Removed.
      * fast/forms/input-file-not-open-without-gesture-expected.txt: Removed.
      * fast/forms/input-file-not-open-without-gesture.html: Removed.
      * fast/forms/input-file-re-render.html: Removed.
      * platform/chromium-cg-mac-leopard/fast/forms/file: Added.
      * platform/chromium-cg-mac-leopard/fast/forms/file-input-direction-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/file-input-direction-expected.png.
      * platform/chromium-cg-mac-leopard/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-file-re-render-expected.png.
      * platform/chromium-cg-mac-leopard/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/file: Added.
      * platform/chromium-cg-mac/fast/forms/file-input-direction-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/chromium-cg-mac/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-direction-expected.png.
      * platform/chromium-cg-mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-direction-expected.txt.
      * platform/chromium-cg-mac/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/file-input-disabled-expected.png.
      * platform/chromium-cg-mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/forms/input-file-re-render-expected.png.
      * platform/chromium-cg-mac/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/chromium-cg-mac/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/chromium-linux/fast/forms/file: Added.
      * platform/chromium-linux/fast/forms/file-input-direction-expected.png: Removed.
      * platform/chromium-linux/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/chromium-linux/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/chromium-linux/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/chromium-linux/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-direction-expected.png.
      * platform/chromium-linux/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-direction-expected.txt.
      * platform/chromium-linux/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-disabled-expected.png.
      * platform/chromium-linux/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/file-input-disabled-expected.txt.
      * platform/chromium-linux/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-file-re-render-expected.png.
      * platform/chromium-linux/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/chromium-linux/fast/forms/input-file-re-render-expected.txt.
      * platform/chromium-linux/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/chromium-linux/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/chromium-linux/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/chromium-linux/fast/forms/input-file-re-render-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/file: Added.
      * platform/chromium-mac/fast/forms/file-input-direction-expected.png: Removed.
      * platform/chromium-mac/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/file-input-direction-expected.png.
      * platform/chromium-mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-mac/fast/forms/file-input-direction-expected.txt.
      * platform/chromium-mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/input-file-re-render-expected.png.
      * platform/chromium-mac/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/chromium-mac/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/chromium-win/fast/forms/file: Added.
      * platform/chromium-win/fast/forms/file-input-direction-expected.png: Removed.
      * platform/chromium-win/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/chromium-win/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/chromium-win/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/chromium-win/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-direction-expected.png.
      * platform/chromium-win/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-direction-expected.txt.
      * platform/chromium-win/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-disabled-expected.png.
      * platform/chromium-win/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/file-input-disabled-expected.txt.
      * platform/chromium-win/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/chromium-win/fast/forms/input-file-re-render-expected.png.
      * platform/chromium-win/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/chromium-win/fast/forms/input-file-re-render-expected.txt.
      * platform/chromium-win/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/chromium-win/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/chromium-win/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/chromium-win/fast/forms/input-file-re-render-expected.txt: Removed.
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/gtk/fast/forms/file: Added.
      * platform/gtk/fast/forms/file-input-direction-expected.png: Removed.
      * platform/gtk/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/gtk/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/gtk/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/gtk/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/file-input-direction-expected.png.
      * platform/gtk/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/file-input-direction-expected.txt.
      * platform/gtk/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/file-input-disabled-expected.png.
      * platform/gtk/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/file-input-disabled-expected.txt.
      * platform/gtk/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/gtk/fast/forms/input-file-re-render-expected.png.
      * platform/gtk/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/gtk/fast/forms/input-file-re-render-expected.txt.
      * platform/gtk/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/gtk/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/gtk/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/gtk/fast/forms/input-file-re-render-expected.txt: Removed.
      * platform/mac-leopard/fast/forms/file: Added.
      * platform/mac-leopard/fast/forms/file-input-direction-expected.png: Removed.
      * platform/mac-leopard/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/mac-leopard/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/mac-leopard/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-direction-expected.png.
      * platform/mac-leopard/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-disabled-expected.png.
      * platform/mac-leopard/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/mac-leopard/fast/forms/file-input-disabled-expected.txt.
      * platform/mac-leopard/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/mac-leopard/fast/forms/input-file-re-render-expected.png.
      * platform/mac-leopard/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/mac-leopard/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/mac/Skipped:
      * platform/mac/fast/forms/file: Added.
      * platform/mac/fast/forms/file-input-direction-expected.png: Removed.
      * platform/mac/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/mac/fast/forms/file-input-disabled-expected.png: Removed.
      * platform/mac/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/mac/fast/forms/file/file-input-direction-expected.png: Copied from LayoutTests/platform/mac/fast/forms/file-input-direction-expected.png.
      * platform/mac/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/file-input-direction-expected.txt.
      * platform/mac/fast/forms/file/file-input-disabled-expected.png: Copied from LayoutTests/platform/mac/fast/forms/file-input-disabled-expected.png.
      * platform/mac/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/file-input-disabled-expected.txt.
      * platform/mac/fast/forms/file/input-file-re-render-expected.png: Copied from LayoutTests/platform/mac/fast/forms/input-file-re-render-expected.png.
      * platform/mac/fast/forms/file/input-file-re-render-expected.txt: Copied from LayoutTests/platform/mac/fast/forms/input-file-re-render-expected.txt.
      * platform/mac/fast/forms/hidden-input-file-expected.png: Removed.
      * platform/mac/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/mac/fast/forms/input-file-re-render-expected.png: Removed.
      * platform/mac/fast/forms/input-file-re-render-expected.txt: Removed.
      * platform/qt/Skipped:
      * platform/qt/fast/forms/file: Added.
      * platform/qt/fast/forms/file-input-direction-expected.txt: Removed.
      * platform/qt/fast/forms/file-input-disabled-expected.txt: Removed.
      * platform/qt/fast/forms/file/file-input-direction-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/file-input-direction-expected.txt.
      * platform/qt/fast/forms/file/file-input-disabled-expected.txt: Copied from LayoutTests/platform/qt/fast/forms/file-input-disabled-expected.txt.
      * platform/qt/fast/forms/hidden-input-file-expected.txt: Removed.
      * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f537bc98
  21. 05 Oct, 2011 1 commit
    • tkent@chromium.org's avatar
      Introduce feature flags for incomplete input types · dfc91a45
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68971
      
      Reviewed by Hajime Morita.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      Add ENABLE_INPUT_TYPE_* flags. They are enabled only for iOS.
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
       Add ENABLE_INPUT_TYPE_* flags. They are enabled only for iOS.
      * html/DateInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_DATE)
      * html/DateInputType.h: ditto.
      * html/DateTimeInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_DATETIME)
      * html/DateTimeInputType.h: ditto.
      * html/DateTimeLocalInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_DATETIMELOCAL)
      * html/DateTimeLocalInputType.h: ditto.
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap):
       Recognizes type attribute value only if it is enabled by ENABLE(INPUT_TYPE_*).
      * html/MonthInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_MONTH)
      * html/MonthInputType.h: ditto.
      * html/TimeInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_TIME)
      * html/TimeInputType.h: ditto.
      * html/WeekInputType.cpp: Wrapped with ENABLE(INPUT_TYPE_WEEK)
      * html/WeekInputType.h: ditto.
      
      Source/WebKit/chromium:
      
      * features.gypi: Add disabled ENABLE_INPUT_TYPE_* flags.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      Add ENABLE_INPUT_TYPE_* flags. They are enabled only for iOS.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      Add ENABLE_INPUT_TYPE_* flags. They are enabled only for iOS.
      
      Tools:
      
      * Scripts/build-webkit:
      Add --input-type-{date,datetime,datetimelocal,month,time,week} flags.
      They are disabled by default.
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      Add ENABLE_INPUT_TYPE_* flags. They are disabled by default.
      * win/tools/vsprops/FeatureDefinesCairo.vsprops: ditto.
      
      LayoutTests:
      
      Skip fast/forms/{date,datetime,datetimelocal,month,time,week}.
      
      * platform/chromium/test_expectations.txt:
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfc91a45
  22. 04 Oct, 2011 1 commit
  23. 23 Sep, 2011 1 commit
    • commit-queue@webkit.org's avatar
      Source/WebCore: Unwarranted DOM Exception when canvas2D drawImage is called with src · c60e76cc
      commit-queue@webkit.org authored
      rect out of bounds
      https://bugs.webkit.org/show_bug.cgi?id=65709
      
      Patch by Justin Novosad <junov@chromium.org> on 2011-09-23
      Reviewed by Oliver Hunt.
      
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::drawImage):
      Return early without throwing an exception if source rectangle is out of
      bounds to match the spec.
      
      LayoutTests: Unwarranted DOM Exception when canvas2D drawImage is called with src
      rect is out of bounds
      https://bugs.webkit.org/show_bug.cgi?id=65709
      
      Patch by Justin Novosad <junov@chromium.org> on 2011-09-23
      Reviewed by Oliver Hunt.
      
      * fast/canvas/drawImage-with-invalid-args-expected.txt:
      * fast/canvas/drawImage-with-invalid-args.html:
      This test covers (among other things) cases where the source rectangle is
      _completely_ outside the bounds of the source image.  It was modified to no
      longer expect DOM exceptions
      * platform/chromium/test_expectations.txt:
      Out-dated test canvas/philip/tests/2d.drawImage.outsidesource.html
      is now expected to fail
      * platform/mac/Skipped:
      Skipping canvas/philip/tests/2d.drawImage.outsidesource.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c60e76cc
  24. 22 Sep, 2011 1 commit
  25. 21 Sep, 2011 1 commit
    • jchaffraix@webkit.org's avatar
      Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled · 3b543a32
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=68133
      
      Reviewed by Darin Adler.
      
      .:
      
      * Source/autotools/symbols.filter: Added the mangled symbols needed for window.internals
      
      Source/WebCore:
      
      Tests: fast/css/webkit-mask-crash-fieldset-legend.html
             fast/css/webkit-mask-crash-figure.html
             fast/css/webkit-mask-crash-table.html
             fast/css/webkit-mask-crash-td-2.html
             fast/css/webkit-mask-crash-td.html
      
      GraphicsContext::getCTM crashes if called with a GraphicsContext that has painting
      disabled. RenderBox::paintMaskImages would thus crash if called in this condition.
      
      This change just modifies the different GraphicsContext::getCTM method to bail early
      if painting is disabled on the GraphicsContext. The rest of the change is exposing
      paintControlTints that exposes this.
      
      * WebCore.exp.in: Added symbols of the newly export window.internals function.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::updateControlTints): Split this function in 2 so that
      I can expose the internal paintControlTints.
      
      (WebCore::FrameView::paintControlTints):
      This is the one exposed to Internals as we want to be testable regardless of
      whether the platform supports control tints.
      
      * page/FrameView.h: Added paintControlTints.
      
      * testing/Internals.cpp:
      (WebCore::Internals::paintControlTints):
      * testing/Internals.h:
      * testing/Internals.idl:
      Added a way to force a fake painting so that we can easily reproduce the bugs.
      
      * platform/graphics/cairo/GraphicsContextCairo.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/skia/GraphicsContextSkia.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wince/GraphicsContextWinCE.cpp:
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/wx/GraphicsContextWx.cpp:
      (WebCore::GraphicsContext::getCTM):
      Fixed all our back-end to exit early if painting is disabled.
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      * win/WebKit2CFLite.def:
      Exported the new FrameView::paintControlTints function.
      
      LayoutTests:
      
      Those tests checks that we do not crash when calling internals.paintControlTints.
      
      * platform/mac/Skipped: Skipped 2 tests as they are hitting an ASSERT unrelated to
      this change on Mac.
      
      * fast/css/webkit-mask-crash-fieldset-legend-expected.txt: Added.
      * fast/css/webkit-mask-crash-fieldset-legend.html: Added.
      * fast/css/webkit-mask-crash-figure-expected.txt: Added.
      * fast/css/webkit-mask-crash-figure.html: Added.
      * fast/css/webkit-mask-crash-table-expected.txt: Added.
      * fast/css/webkit-mask-crash-table.html: Added.
      * fast/css/webkit-mask-crash-td-2-expected.txt: Added.
      * fast/css/webkit-mask-crash-td-2.html: Added.
      * fast/css/webkit-mask-crash-td-expected.txt: Added.
      * fast/css/webkit-mask-crash-td.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b543a32
  26. 16 Sep, 2011 1 commit
  27. 14 Sep, 2011 1 commit