1. 08 Apr, 2011 31 commits
    • rniwa@webkit.org's avatar
      2011-04-08 Ryosuke Niwa <rniwa@webkit.org> · 6944057a
      rniwa@webkit.org authored
              Chromium rebaselines after r83291.
      
              * platform/chromium/fast/dom/error-to-string-stack-overflow-expected.txt:
              * platform/chromium/fast/js/recursion-limit-equal-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6944057a
    • antti@apple.com's avatar
      Not reviewed. · 94f17cbe
      antti@apple.com authored
      Skip for DRT differences.
      
      * platform/mac-wk2/Skipped:
      * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94f17cbe
    • rniwa@webkit.org's avatar
      2011-04-08 Ryosuke Niwa <rniwa@webkit.org> · 8073bff2
      rniwa@webkit.org authored
              Reviewed by Tony Chang, Darin Adler, and Enrica Casucci.
      
              REGRESSION(r81887): Crash in SplitElement
              https://bugs.webkit.org/show_bug.cgi?id=57743
      
              The crash was caused by ReplaceSelectionCommand::doApply's calling splitElement with computeNodeAfterPosition
              even when the position was after the last node in it container. Since all we are doing here is to splitting tree
              up until the highest ancestor with isInlineNodeWithStyle, replaced the while loop by calls to splitTreeToNode
              and highestEnclosingNodeOfType.
      
              Also fixed a bug in splitTreeToNode not to check the difference in visible position when splitting the ancestor,
              which would have introduced unnecessary nodes when splitting tree and a bug in highestEnclosingNodeOfType that
              it incorrectly called deprecatedNode instead of containerNode.
      
              Test: editing/inserting/insert-images-in-pre-x-crash.html
      
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::splitTreeToNode):
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::doApply):
              * editing/htmlediting.cpp:
              (WebCore::highestEnclosingNodeOfType):
      2011-04-08  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Tony Chang, Darin Adler, and Enrica Casucci.
      
              REGRESSION(r81887): Crash in SplitElement
              https://bugs.webkit.org/show_bug.cgi?id=57743
      
              Added a regression test for a crash in ReplaceSelectionCommand.
      
              * editing/inserting/insert-images-in-pre-x-crash-expected.txt: Added.
              * editing/inserting/insert-images-in-pre-x-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8073bff2
    • antti@apple.com's avatar
      Incoming source should be preload scanned when the parser is blocked · 559a988d
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=58117
      
      Reviewed by Tony Gentilcore.
      
      Source/WebCore: 
      
      Scan the appended source if parser is blocked.
      
      Test: http/tests/loading/preload-append-scan.php
      
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::append):
      
      LayoutTests: 
      
      * http/tests/loading/preload-append-scan-expected.txt: Added.
      * http/tests/loading/preload-append-scan.php: Added.
      * http/tests/resources/slow-script.pl: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      559a988d
    • jianli@chromium.org's avatar
      Unreviewed, fixed a typo in chromium test expectation list. · 694cc9c4
      jianli@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      694cc9c4
    • jianli@chromium.org's avatar
      Unreviewed, added one more failed test to test expectation list in chromium. · 013e8745
      jianli@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      013e8745
    • jianli@chromium.org's avatar
      Unreviewed, added failed tests to test expectation list in chromium. · 85f4421b
      jianli@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85f4421b
    • commit-queue@webkit.org's avatar
      2011-04-08 Sheriff Bot <webkit.review.bot@gmail.com> · d0941063
      commit-queue@webkit.org authored
              Unreviewed, rolling out r83295.
              http://trac.webkit.org/changeset/83295
              https://bugs.webkit.org/show_bug.cgi?id=58144
      
              Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
      
              * platform/qt/Skipped:
      2011-04-08  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r83295.
              http://trac.webkit.org/changeset/83295
              https://bugs.webkit.org/show_bug.cgi?id=58144
      
              Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleInputMethodKeydown):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0941063
    • sergio@webkit.org's avatar
      2011-04-08 Sergio Villar Senin <svillar@igalia.com> · 239c6ef3
      sergio@webkit.org authored
              Unreviewed, looks like the test is working fine now.
      
              [GTK] websocket/tests/bad-sub-protocol-control-chars.html fails on 32-bit Debug bot
              https://bugs.webkit.org/show_bug.cgi?id=46942
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      239c6ef3
    • aroben@apple.com's avatar
      Pass NPP_SetWindow a null window handle during plugin destruction on non-Mac platforms · ae094af7
      aroben@apple.com authored
      This matches WebKit1.
      
      Fixes <http://webkit.org/b/47009> WebKit2 needs to call NPP_SetWindow when destroying a
      plugin
      
      Reviewed by Anders Carlsson.
      
      Source/WebKit2:
      
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroy): Null out our NPWindow's window handle and pass it to
      NPP_SetWindow (unless we're on Mac).
      
      Tools:
      
      Test that NPP_SetWindow is passed a null window handle during plugin destruction on non-Mac platforms
      
      * DumpRenderTree/TestNetscapePlugIn/PluginObject.cpp:
      (pluginLogWithArguments): Moved code to format and log the message here...
      (pluginLog): ...from here.
      
      * DumpRenderTree/TestNetscapePlugIn/PluginObject.h: Added pluginLogWithArguments.
      
      * DumpRenderTree/TestNetscapePlugIn/PluginTest.cpp:
      (PluginTest::log): Added. Calls through to pluginLogWithArguments.
      
      * DumpRenderTree/TestNetscapePlugIn/PluginTest.h: Added log.
      
      * DumpRenderTree/TestNetscapePlugIn/Tests/NPPSetWindowCalledDuringDestruction.cpp: Added.
      (NPPSetWindowCalledDuringDestruction::setWillBeDestroyed): Records that destruction is about
      to begin.
      (NPPSetWindowCalledDuringDestruction::NPPSetWindowCalledDuringDestruction): Simple
      constructor.
      (NPPSetWindowCalledDuringDestruction::NPP_GetValue): Creates and returns a ScriptObject that
      can be used to invoke our setWillBeDestroyed function.
      (NPPSetWindowCalledDuringDestruction::NPP_SetWindow): Records what has happened (and logs if
      anything unexpected happens).
      (NPPSetWindowCalledDuringDestruction::NPP_Destroy): On Mac, logs a failure message if
      NPP_SetWindow was called during destruction. On other platforms, logs a failure message if
      NPP_SetWindow was *not* called during destruction.
      (NPPSetWindowCalledDuringDestruction::ScriptObject::hasMethod): Return true for our only
      method, setWillBeDestroyed.
      (NPPSetWindowCalledDuringDestruction::ScriptObject::invoke): Call through to the PluginTest
      object.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
      * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
      * GNUmakefile.am:
      Added new test.
      
      * Scripts/old-run-webkit-tests: Skip the new test when using out-of-process plugins with
      WebKit1 on Mac, since it can't work properly due to <http://webkit.org/b/58077>.
      
      LayoutTests:
      
      Test that NPP_SetWindow is passed a null window handle during plugin destruction on non-Mac platforms
      
      * platform/win-wk2/Skipped: Removed a test that no longer crashes thanks to this fix.
      
      * plugins/npp-set-window-called-during-destruction-expected.txt: Added.
      * plugins/npp-set-window-called-during-destruction.html: Added.
      
      * platform/mac/plugins/npp-set-window-called-during-destruction-expected.txt: Added. This is
      different from the cross-platform results because we don't expect NPP_SetWindow to be called
      during destruction.
      
      * platform/win/plugins/npp-set-window-called-during-destruction-expected.txt: Added. This is
      a copy of the cross-platform results, needed to override the Mac-specific results.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae094af7
    • yi.4.shen@nokia.com's avatar
      2011-04-08 Yi Shen <yi.4.shen@nokia.com> · e80e3dbe
      yi.4.shen@nokia.com authored
              Reviewed by Antonio Gomes.
      
              [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
              https://bugs.webkit.org/show_bug.cgi?id=57472
      
              Unskips the fast/events/onsearch-enter.html test.
      
              * platform/qt/Skipped:
      2011-04-08  Yi Shen  <yi.4.shen@nokia.com>
      
              Reviewed by Antonio Gomes.
      
              [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
              https://bugs.webkit.org/show_bug.cgi?id=57472
      
              Avoid to insert new line for both keydown event & keypress event.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::handleInputMethodKeydown):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e80e3dbe
    • podivilov@chromium.org's avatar
      2011-04-07 Pavel Podivilov <podivilov@chromium.org> · 13b82ef5
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: update breakpoints according to source frame decorations after live edit.
              https://bugs.webkit.org/show_bug.cgi?id=58029
      
              * inspector/debugger/live-edit-expected.txt:
              * inspector/debugger/live-edit.html:
      2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: update breakpoints according to source frame decorations after live edit.
              https://bugs.webkit.org/show_bug.cgi?id=58029
      
              * inspector/front-end/DebuggerPresentationModel.js:
              (WebInspector.DebuggerPresentationModel.prototype.editScriptSource.didEditScriptSource):
              (WebInspector.DebuggerPresentationModel.prototype.editScriptSource):
              (WebInspector.DebuggerPresentationModel.prototype._updateResourceContent.didEditScriptSource):
              (WebInspector.DebuggerPresentationModel.prototype._updateResourceContent):
              * inspector/front-end/SourceFile.js:
              (WebInspector.SourceFile.prototype.set content):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._handleSave.didEditScriptSource):
              (WebInspector.SourceFrame.prototype._handleSave):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13b82ef5
    • steveblock@google.com's avatar
      2011-04-08 Steve Block <steveblock@google.com> · 63d1254e
      steveblock@google.com authored
              Unreviewed build fix.
      
              Media Stream API: add the getUserMedia method and the Javascript bindings
              https://bugs.webkit.org/show_bug.cgi?id=56586
      
              Add new tests to skipped lists for platforms where the feature is not
              enabled.
      
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63d1254e
    • yurys@chromium.org's avatar
      2011-04-08 Yury Semikhatsky <yurys@chromium.org> · 76b4e593
      yurys@chromium.org authored
              Unreviewed. Update Chromium test expectations to match results after rolling
              v8 revision that reports stack overflow exception to the console.
      
              * platform/chromium-win/fast/dom/error-to-string-stack-overflow-expected.txt: Removed.
              * platform/chromium-win/fast/js/recursion-limit-equal-expected.txt: Removed.
              * platform/chromium/fast/dom/error-to-string-stack-overflow-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/dom/error-to-string-stack-overflow-expected.txt.
              * platform/chromium/fast/js/recursion-limit-equal-expected.txt: Renamed from LayoutTests/platform/chromium-mac/fast/js/recursion-limit-equal-expected.txt.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76b4e593
    • steveblock@google.com's avatar
      2011-04-08 Leandro Gracia Gil <leandrogracia@chromium.org> · fab8862c
      steveblock@google.com authored
              Reviewed by Steve Block.
      
              Media Stream API: add the getUserMedia method and the Javascript bindings.
              https://bugs.webkit.org/show_bug.cgi?id=56586
      
              Test the Javascript behaviour of the getUserMedia method with different types of arguments.
              Current specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#video-conferencing-and-peer-to-peer-communication
      
              * fast/dom/MediaStream/argument-types-expected.txt: Added.
              * fast/dom/MediaStream/argument-types.html: Added.
              * fast/dom/MediaStream/enabled-expected.txt: Added.
              * fast/dom/MediaStream/enabled.html: Added.
              * fast/dom/MediaStream/no-interface-object-expected.txt: Added.
              * fast/dom/MediaStream/no-interface-object.html: Added.
              * fast/dom/MediaStream/script-tests/argument-types.js: Added.
              (shouldNotThrow):
              (test):
              (emptyFunction):
              ():
              (ObjectThrowingException.prototype.valueOf):
              (ObjectThrowingException.prototype.toString):
              * fast/dom/MediaStream/script-tests/enabled.js: Added.
              (hasGetUserMediaProperty):
              * fast/dom/MediaStream/script-tests/no-interface-object.js: Added.
              (test):
      2011-04-08  Leandro Gracia Gil  <leandrogracia@chromium.org>
      
              Reviewed by Steve Block.
      
              Media Stream API: add the getUserMedia method and the Javascript bindings.
              https://bugs.webkit.org/show_bug.cgi?id=56586
      
              Add the getUserMedia method to the navigator and its new Javascript types.
              Current specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#video-conferencing-and-peer-to-peer-communication
      
              Tests: fast/dom/MediaStream/argument-types.html
                     fast/dom/MediaStream/enabled.html
                     fast/dom/MediaStream/no-interface-object.html
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * Android.v8bindings.mk:
              * CMakeLists.txt:
              * CodeGenerators.pri:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.list.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSNavigatorCustom.cpp:
              (WebCore::JSNavigator::webkitGetUserMedia):
              * bindings/v8/custom/V8NavigatorCustom.cpp: Added.
              (WebCore::V8Navigator::webkitGetUserMediaCallback):
              * page/Navigator.cpp:
              (WebCore::Navigator::webkitGetUserMedia):
              * page/Navigator.h:
              * page/Navigator.idl:
              * page/NavigatorUserMediaError.h: Added.
              (WebCore::NavigatorUserMediaError::NavigatorUserMediaError):
              (WebCore::NavigatorUserMediaError::~NavigatorUserMediaError):
              (WebCore::NavigatorUserMediaError::code):
              * page/NavigatorUserMediaError.idl: Added.
              * page/NavigatorUserMediaErrorCallback.h: Added.
              (WebCore::NavigatorUserMediaErrorCallback::~NavigatorUserMediaErrorCallback):
              * page/NavigatorUserMediaErrorCallback.idl: Added.
              * page/NavigatorUserMediaSuccessCallback.h: Added.
              (WebCore::NavigatorUserMediaSuccessCallback::~NavigatorUserMediaSuccessCallback):
              * page/NavigatorUserMediaSuccessCallback.idl: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fab8862c
    • mnaganov@chromium.org's avatar
      2011-04-08 Mikhail Naganov <mnaganov@chromium.org> · 25c17aa9
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Add more tests for detailed heap snapshots UI.
              https://bugs.webkit.org/show_bug.cgi?id=58010
              https://bugs.webkit.org/show_bug.cgi?id=58011
      
              Added tests for "Containment" view. Minor refactorings, bugs fixed.
              Split one large tests into smaller ones to avoid timing out in debug mode.
      
              Tests: inspector/profiler/detailed-heapshots-containment-expansion-preserved-when-sorting.html
                     inspector/profiler/detailed-heapshots-containment-show-all.html
                     inspector/profiler/detailed-heapshots-containment-show-next.html
                     inspector/profiler/detailed-heapshots-containment-sorting.html
                     inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting.html
                     inspector/profiler/detailed-heapshots-summary-show-all.html
                     inspector/profiler/detailed-heapshots-summary-show-next.html
                     inspector/profiler/detailed-heapshots-summary-sorting.html
      
              * inspector/front-end/DetailedHeapshotGridNodes.js:
              (WebInspector.HeapSnapshotGridNode):
              (WebInspector.HeapSnapshotGridNode.prototype.populateChildren):
              (WebInspector.HeapSnapshotGridNode.prototype.sort.doSort):
              (WebInspector.HeapSnapshotGridNode.prototype.sort):
              (WebInspector.HeapSnapshotGenericObjectNode):
              (WebInspector.HeapSnapshotObjectNode):
              (WebInspector.HeapSnapshotInstanceNode):
              (WebInspector.HeapSnapshotConstructorNode):
              (WebInspector.HeapSnapshotDiffNode):
              (WebInspector.HeapSnapshotDominatorObjectNode):
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.HeapSnapshotContainmentDataGrid):
              (WebInspector.HeapSnapshotDominatorsDataGrid):
      
      2011-04-08  Mikhail Naganov  <mnaganov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Add more tests for detailed heap snapshots UI.
              https://bugs.webkit.org/show_bug.cgi?id=58010
              https://bugs.webkit.org/show_bug.cgi?id=58011
      
              Added tests for "Containment" view. Minor refactorings, bugs fixed.
              Split one large tests into smaller ones to avoid timing out in debug mode.
      
              * inspector/profiler/detailed-heapshots-containment-expansion-preserved-when-sorting-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-containment-expansion-preserved-when-sorting.html: Added.
              * inspector/profiler/detailed-heapshots-containment-show-all-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-containment-show-all.html: Added.
              * inspector/profiler/detailed-heapshots-containment-show-next-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-containment-show-next.html: Added.
              * inspector/profiler/detailed-heapshots-containment-sorting-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-containment-sorting.html: Added.
              * inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting.html: Added.
              * inspector/profiler/detailed-heapshots-summary-expected.txt: Removed.
              * inspector/profiler/detailed-heapshots-summary-show-all-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-summary-show-all.html: Added.
              * inspector/profiler/detailed-heapshots-summary-show-next-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-summary-show-next.html: Added.
              * inspector/profiler/detailed-heapshots-summary-sorting-expected.txt: Added.
              * inspector/profiler/detailed-heapshots-summary-sorting.html: Added.
              * inspector/profiler/detailed-heapshots-summary.html: Removed.
              * inspector/profiler/detailed-heapshots-test.js:
              (initialize_DetailedHeapshotTest.InspectorTest.startProfilerTest.detailedHeapProfilesEnabled):
              (initialize_DetailedHeapshotTest.InspectorTest.startProfilerTest):
              (initialize_DetailedHeapshotTest.):
              (initialize_DetailedHeapshotTest):
              * platform/chromium/inspector/profiler/detailed-heapshots-containment-expansion-preserved-when-sorting-expected.txt: Copied from LayoutTests/platform/chromium/inspector/profiler/detailed-heapshots-summary-expected.txt.
              * platform/chromium/inspector/profiler/detailed-heapshots-containment-show-all-expected.txt: Added.
              * platform/chromium/inspector/profiler/detailed-heapshots-containment-show-next-expected.txt: Added.
              * platform/chromium/inspector/profiler/detailed-heapshots-containment-sorting-expected.txt: Added.
              * platform/chromium/inspector/profiler/detailed-heapshots-summary-expansion-preserved-when-sorting-expected.txt: Renamed from LayoutTests/platform/chromium/inspector/profiler/detailed-heapshots-summary-expected.txt.
              * platform/chromium/inspector/profiler/detailed-heapshots-summary-show-all-expected.txt: Added.
              * platform/chromium/inspector/profiler/detailed-heapshots-summary-show-next-expected.txt: Added.
              * platform/chromium/inspector/profiler/detailed-heapshots-summary-sorting-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25c17aa9
    • podivilov@chromium.org's avatar
      2011-04-07 Pavel Podivilov <podivilov@chromium.org> · 68c7ef15
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: add test for script formatter worker.
              https://bugs.webkit.org/show_bug.cgi?id=57447
      
              * inspector/debugger/script-formatter-expected.txt: Added.
              * inspector/debugger/script-formatter.html: Added.
              * platform/chromium/test_expectations.txt:
      2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: add test for script formatter worker.
              https://bugs.webkit.org/show_bug.cgi?id=57447
      
              Test: inspector/debugger/script-formatter.html
      
              * GNUmakefile.am:
              * WebCore.xcodeproj/project.pbxproj:
              * gyp/streamline-inspector-source.sh:
              * inspector/front-end/DebuggerPresentationModel.js:
              (WebInspector.DebuggerPresentationModel.prototype._addScript):
              (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
              (WebInspector.DebuggerPresentationModel.prototype._formatter):
              * inspector/front-end/ScriptFormatterWorker.js:
      2011-04-07  Pavel Podivilov  <podivilov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: add test for script formatter worker.
              https://bugs.webkit.org/show_bug.cgi?id=57447
      
              * WebKit.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68c7ef15
    • tkent@chromium.org's avatar
      2011-04-08 Kent Tamura <tkent@chromium.org> · 051d41fb
      tkent@chromium.org authored
              [Chromium] Note some flaky tests.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      051d41fb
    • caseq@chromium.org's avatar
      2011-04-08 Andrey Kosyakov <caseq@chromium.org> · 91206bc4
      caseq@chromium.org authored
              Unreviewed. Adjusted test expectations following r83275.
      
              * http/tests/inspector/resource-har-conversion-expected.txt:
              * http/tests/inspector/resource-parameters-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91206bc4
    • caseq@chromium.org's avatar
      2011-04-08 Andrey Kosyakov <caseq@chromium.org> · 2116b004
      caseq@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: HAR compliance fixes
              https://bugs.webkit.org/show_bug.cgi?id=58124
      
              - Always provide some values for queryString and cookies, even though arrays may be empty
              - Always provide an empty cache object
              - Added entire HARLog to test
              - Workaround in test to avoid custom expectations (favicon.ico appears in log on certain platforms)
      
              * inspector/front-end/HAREntry.js:
              (WebInspector.HAREntry.prototype.build):
              (WebInspector.HAREntry.prototype._buildRequest):
              (WebInspector.HAREntry.prototype._buildResponse):
      
      2011-04-08  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: HAR compliance fixes
              https://bugs.webkit.org/show_bug.cgi?id=58124
      
              - Added entire HARLog to test
              - Workaround in test to avoid custom expectations (favicon.ico appears in log on certain platforms
      
              * http/tests/inspector/resource-har-conversion-expected.txt:
              * http/tests/inspector/resource-har-conversion.html:
              * http/tests/inspector/resources-test.js:
              * platform/mac-wk2/http/tests/inspector/resource-har-conversion-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2116b004
    • sergio@webkit.org's avatar
      2011-04-08 Sergio Villar Senin <svillar@igalia.com> · 5df259b0
      sergio@webkit.org authored
              Unreviewed, added new GTK+ test expectations.
      
              * platform/gtk/fast/block/positioning/complex-positioned-movement-expected.checksum: Added.
              * platform/gtk/fast/block/positioning/complex-positioned-movement-expected.png: Added.
              * platform/gtk/fast/block/positioning/complex-positioned-movement-expected.txt: Added.
              * platform/gtk/fast/text/decorations-transformed-expected.checksum: Added.
              * platform/gtk/fast/text/decorations-transformed-expected.png: Added.
              * platform/gtk/fast/text/decorations-transformed-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5df259b0
    • antonm@chromium.org's avatar
      2011-04-08 Anton Muhin <antonm@chromium.org> · a1ad846d
      antonm@chromium.org authored
              Reviewed by Adam Barth.
      
              [v8] Change expectations for plugins/netscape-plugin-poperty-access-exception test
              https://bugs.webkit.org/show_bug.cgi?id=54681
      
              This a patch which should be landed when fix for exception handling in v8 is landed
              (see http://codereview.chromium.org/6397011/)
      
              * platform/chromium-mac/plugins/netscape-plugin-property-access-exception-expected.txt:
              * platform/chromium-win/plugins/netscape-plugin-property-access-exception-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1ad846d
    • rniwa@webkit.org's avatar
      2011-04-08 Ryosuke Niwa <rniwa@webkit.org> · 8d2e1c50
      rniwa@webkit.org authored
              Reviewed by Tony Chang.
      
              dump-as-markup conversion: editing/pasteboard/5065605.html and display-block-on-spans.html
              https://bugs.webkit.org/show_bug.cgi?id=58074
      
              Converted 5065605.html and display-block-on-spans.html to dump-as-markup tests.
      
              * editing/pasteboard/5065605-expected.txt: Added.
              * editing/pasteboard/5065605.html:
              * editing/pasteboard/display-block-on-spans-expected.txt: Added.
              * editing/pasteboard/display-block-on-spans.html:
              * platform/chromium-linux/editing/pasteboard/5065605-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/5065605-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/display-block-on-spans-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/display-block-on-spans-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/5065605-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/5065605-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/5065605-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/display-block-on-spans-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/display-block-on-spans-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/display-block-on-spans-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/5065605-expected.checksum: Removed.
              * platform/gtk/editing/pasteboard/5065605-expected.png: Removed.
              * platform/gtk/editing/pasteboard/5065605-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/display-block-on-spans-expected.checksum: Removed.
              * platform/gtk/editing/pasteboard/display-block-on-spans-expected.png: Removed.
              * platform/gtk/editing/pasteboard/display-block-on-spans-expected.txt: Removed.
              * platform/mac-leopard/editing/pasteboard/5065605-expected.checksum: Removed.
              * platform/mac-leopard/editing/pasteboard/5065605-expected.png: Removed.
              * platform/mac-leopard/editing/pasteboard/display-block-on-spans-expected.checksum: Removed.
              * platform/mac-leopard/editing/pasteboard/display-block-on-spans-expected.png: Removed.
              * platform/mac/editing/pasteboard/5065605-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/5065605-expected.png: Removed.
              * platform/mac/editing/pasteboard/5065605-expected.txt: Removed.
              * platform/mac/editing/pasteboard/display-block-on-spans-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/display-block-on-spans-expected.png: Removed.
              * platform/mac/editing/pasteboard/display-block-on-spans-expected.txt: Removed.
              * platform/qt/editing/pasteboard/5065605-expected.txt: Removed.
              * platform/qt/editing/pasteboard/display-block-on-spans-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d2e1c50
    • ossy@webkit.org's avatar
      [Qt] Add platform specific expected file after r83235. · 4072bea9
      ossy@webkit.org authored
      * platform/qt/http/tests/security/contentSecurityPolicy: Added.
      * platform/qt/http/tests/security/contentSecurityPolicy/xsl-allowed-expected.txt: Copied from LayoutTests/http/tests/security/contentSecurityPolicy/xsl-allowed-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4072bea9
    • tkent@chromium.org's avatar
      2011-04-08 Kent Tamura <tkent@chromium.org> · 1b64daa1
      tkent@chromium.org authored
              [Chromium] Update expectations for r82899 and r83253.
      
              * platform/chromium-mac-leopard/fast/borders/border-radius-huge-assert-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/borders/border-radius-huge-assert-expected.png:
              * platform/chromium-mac-leopard/fast/box-shadow/border-radius-big-expected.png: Added.
              * platform/chromium-mac-leopard/fast/box-shadow/spread-multiple-inset-expected.png:
              * platform/chromium-mac/fast/borders/border-radius-circle-expected.png: Added.
              * platform/chromium-mac/fast/borders/border-radius-huge-assert-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/border-radius-big-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/spread-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/spread-multiple-inset-expected.png: Added.
              * platform/chromium-mac/fast/box-shadow/spread-multiple-normal-expected.png: Added.
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b64daa1
    • ossy@webkit.org's avatar
      Flaky Test: fast/events/tabindex-focus-blur-all.html · 33fb4ee5
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52115
      
      * platform/qt/Skipped: Add fast/events/tabindex-focus-blur-all.html.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33fb4ee5
    • rniwa@webkit.org's avatar
      2011-04-07 Ryosuke Niwa <rniwa@webkit.org> · 2823d79d
      rniwa@webkit.org authored
              Chromium rebaseline after r83246.
      
              * platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2823d79d
    • commit-queue@webkit.org's avatar
      2011-04-07 Julien Chaffraix <jchaffraix@codeaurora.org> · 9d3fc5b1
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              EventSource should only accept UTF-8 charset
              https://bugs.webkit.org/show_bug.cgi?id=56942
      
              * ChangeLog-2011-02-16: Corrected previous commit message. Pointed out by Alexey.
      
              * http/tests/eventsource/eventsource-bad-mime-type-expected.txt: Updated with the new console message.
      
              * http/tests/eventsource/eventsource-content-type-charset-expected.txt:
              * http/tests/eventsource/eventsource-content-type-charset.html: Beefed up this test and merged
              the following test into it. The new tests check that we dispatch a console error if the charset is
              wrong.
      
              * http/tests/eventsource/eventsource-content-type-text-event-stream-foobar-expected.txt: Removed.
              * http/tests/eventsource/eventsource-content-type-text-event-stream-foobar.html: Removed.
      
              * http/tests/eventsource/resources/response-content-type-charset.php: Return the charset passed
              in the URL. Also added PHP's magic quotes handling as this would make the test fail on Mac.
      
              * http/tests/eventsource/resources/response-content-type-event-stream-foobar.php: Removed.
      2011-04-07  Julien Chaffraix  <jchaffraix@codeaurora.org>
      
              Reviewed by Alexey Proskuryakov.
      
              EventSource should only accept UTF-8 charset
              https://bugs.webkit.org/show_bug.cgi?id=56942
      
              Following the discussion on bug 45372, this change implements the recommended
              way of handling "charset". We only accept UTF-8 but no other encoding. This matches
              the encoding of the EventSource and also may fix TomCat that automatically send this
              charset.
      
              * page/EventSource.cpp:
              (WebCore::EventSource::didReceiveResponse): We now check the charset attribute and if it is
              not UTF-8, abort the connection and log the error to the console. Also we log if the MIME type
              is wrong to the console to help debugging (only in the case of an HTTP 200 response though).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d3fc5b1
    • tkent@chromium.org's avatar
      2011-04-07 Kent Tamura <tkent@chromium.org> · 67d4cd87
      tkent@chromium.org authored
              [Chromium] Update expectations for xsl-blocked.php and pate-text-011.html.
      
              * platform/chromium/http/tests/security/contentSecurityPolicy/xsl-blocked-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67d4cd87
    • tkent@chromium.org's avatar
      2011-04-07 Dominic Cooney <dominicc@google.com> · 553b1729
      tkent@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Let shadow DOM have a list of nodes at the top level of a shadow.
              https://bugs.webkit.org/show_bug.cgi?id=57813
      
              * fast/dom/HTMLKeygenElement/keygen-expected.txt: shadow DOM changed
              * fast/dom/HTMLKeygenElement/keygen.html: added assertion on shadow
      2011-04-07  Dominic Cooney  <dominicc@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Let shadow DOM have a list of nodes at the top level of a shadow.
              https://bugs.webkit.org/show_bug.cgi?id=57813
      
              Adds ShadowRoot, a list of nodes, to be a parent for top-level
              shadow children. Forwards rendering through the root and into the
              host's renderer.
      
              Covered by existing tests of elements that use this style of shadow.
      
              * Android.mk: add ShadowRoot.h/cpp
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::initForStyleResolve): proxy style to host
              * dom/ContainerNode.cpp: parent nodes that are shadow roots are alive
              (WebCore::ContainerNode::insertBefore):
              (WebCore::ContainerNode::replaceChild):
              (WebCore::ContainerNode::removeChild):
              (WebCore::ContainerNode::appendChild):
              * dom/DocumentFragment.cpp:
              (WebCore::DocumentFragment::DocumentFragment):
              * dom/DocumentFragment.h:
              * dom/Element.cpp:
              (WebCore::Element::recalcStyle): look through ShadowRoots for host's style
              (WebCore::Element::shadowRoot): should be const
              (WebCore::Element::ensureShadowRoot): simpler than setShadowRoot
              * dom/Element.h:
              * dom/ElementRareData.h:
              * dom/Node.cpp:
              (WebCore::Node::parentNodeForRenderingAndStyle): indirection so
                ShadowRoot can forward to the host's renderer
              (WebCore::Node::createRendererAndStyle):
              (WebCore::Node::createRendererIfNeeded):
              * dom/Node.h:
              (WebCore::Node::isShadowBoundary): temporary, to differentiate
                old- and new-style, until all roots are ShadowRoot instances
              * dom/ShadowRoot.cpp: Added.
              (WebCore::ShadowRoot::ShadowRoot):
              (WebCore::ShadowRoot::recalcStyle): forward recalc to children
              * dom/ShadowRoot.h: Added.
              (WebCore::ShadowRoot::isShadowBoundary):
              (WebCore::ShadowRoot::create):
              * html/HTMLKeygenElement.cpp: use ensureShadowRoot
              (WebCore::HTMLKeygenElement::HTMLKeygenElement):
              (WebCore::HTMLKeygenElement::parseMappedAttribute):
              (WebCore::HTMLKeygenElement::appendFormData):
              (WebCore::HTMLKeygenElement::reset):
              (WebCore::HTMLKeygenElement::shadowSelect):
              * html/HTMLKeygenElement.h:
              * html/HTMLMeterElement.cpp: use ensureShadowRoot
              (WebCore::HTMLMeterElement::createShadowSubtree):
              * html/HTMLProgressElement.cpp: use ensureShadowRoot
              (WebCore::HTMLProgressElement::createShadowSubtree):
              * html/InputType.cpp: use ensureShadowRoot
              (WebCore::InputType::destroyShadowSubtree):
              * html/RangeInputType.cpp: use ensureShadowRoot
              (WebCore::RangeInputType::handleMouseDownEvent):
              (WebCore::RangeInputType::createShadowSubtree):
              (WebCore::RangeInputType::valueChanged):
              (WebCore::RangeInputType::shadowSliderThumb):
              * html/RangeInputType.h:
              * html/ValidationMessage.cpp: use ensureShadowRoot
              (WebCore::ValidationMessage::buildBubbleTree):
              (WebCore::ValidationMessage::deleteBubbleTree):
              * html/shadow/SliderThumbElement.cpp:
              (WebCore::SliderThumbElement::setPositionFromPoint):
              (WebCore::SliderThumbElement::hostInput):
              * html/shadow/SliderThumbElement.h:
              * rendering/MediaControlElements.cpp: use ensureShadowRoot
              (WebCore::MediaControlInputElement::attach):
              (WebCore::MediaControlInputElement::updateStyle):
              * rendering/RenderSlider.cpp: use ensureShadowRoot
              (WebCore::RenderSlider::thumbRect):
              (WebCore::RenderSlider::layout):
              (WebCore::RenderSlider::shadowSliderThumb):
              (WebCore::RenderSlider::inDragMode):
              * rendering/RenderSlider.h:
      2011-04-07  Dominic Cooney  <dominicc@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              Let shadow DOM have a list of nodes at the top level of a shadow.
              https://bugs.webkit.org/show_bug.cgi?id=57813
      
              * src/WebElement.cpp:
              (WebKit::WebElement::shadowRoot): shadow roots are ContainerNodes now
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      553b1729
    • mjs@apple.com's avatar
      2011-04-07 Maciej Stachowiak <mjs@apple.com> · 2fcfc485
      mjs@apple.com authored
              Reviewed by Simon Fraser.
      
              REGRESSION (r80871): Crash when visiting http://broadband.biglobe.ne.jp/
              https://bugs.webkit.org/show_bug.cgi?id=56297
              <rdar://problem/9131597>
      
              Test: fast/css-generated-content/table-row-after-no-crash.html
      
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::styleDidChange): Factor out generation of before/after
              content, and only do it if the row already has a parent. For construction of
              anonymous cells to work correctly, the row needs to already have a parent, so
              in that case wait a bit.
              (WebCore::RenderTableRow::updateBeforeAndAfterContent): Factored out to here.
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::addChild): When adding a row, update its
              before/after content, in case it had any.
      2011-04-07  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Simon Fraser.
      
              REGRESSION (r80871): Crash when visiting http://broadband.biglobe.ne.jp/
              https://bugs.webkit.org/show_bug.cgi?id=56297
              <rdar://problem/9131597>
      
              * fast/css-generated-content/table-row-after-no-crash-expected.txt: Added.
              * fast/css-generated-content/table-row-after-no-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fcfc485
  2. 07 Apr, 2011 9 commits
    • rniwa@webkit.org's avatar
      2011-04-07 Ryosuke Niwa <rniwa@webkit.org> · 5614540c
      rniwa@webkit.org authored
              Reviewed by Darin Adler.
      
              REGRESSION (r46914, r48764): When typing in Mail, line wrapping frequently occurs in the middle of words
              https://bugs.webkit.org/show_bug.cgi?id=57872
      
              Added tests to ensure WebKit inserts a paragraph separator properly around tab span.
      
              * editing/inserting/insert-div-021-expected.txt: No longer duplicates span[id="test"] incorrectly.
              * editing/inserting/insert-paragraph-after-tab-span-and-text-expected.txt: Added.
              * editing/inserting/insert-paragraph-after-tab-span-and-text.html: Added.
              * editing/inserting/insert-paragraph-separator-tab-span-expected.txt: Added.
              * editing/inserting/insert-paragraph-separator-tab-span.html: Added.
              * editing/inserting/insert-paragraph-at-end-of-line-expected.txt: No longer duplicates a[id="anchor"] incorrectly.
      2011-04-07  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Eric Seidel.
      
              REGRESSION (r46914, r48764): When typing in Mail, line wrapping frequently occurs in the middle of words
              https://bugs.webkit.org/show_bug.cgi?id=57872
      
              r46914 initially introduced a regression by replacing calls to styleAtPosition by editingStyleAtPosition
              because editingStyleAtPosition did not avoid tab span to obtain the computed style unlike styleAtPosition.
      
              r46914 also introduced a regression by cloning hierarchy under new block at the insertion position without
              avoiding the tab span.
      
              Fixed the both regressions by avoiding tab spans when computing the editing style and when cloning hierarchy.
              Also reverted r46914 for the general code path because re-creating node hierarchy duplicates nodes when
              we're moving nodes after the paragraph separator. Instead, we now split the tree up until the start block
              before moving the nodes.
      
              Tests: editing/inserting/insert-paragraph-after-tab-span-and-text.html
                     editing/inserting/insert-paragraph-separator-tab-span.html
      
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::saveTypingStyleState): Since EditingStyle's constructor avoids a tab span,
              no longer calls positionBeforeTabSpan on the position passed to EditingStyle's constructor.
              * editing/EditingStyle.cpp:
              (WebCore::EditingStyle::init): Always avoid a tab span when computing the editing style.
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply): Avoid cloning tab spans and inserting a paragraph
              separator into a paragraph separator.
              * editing/htmlediting.cpp:
              (WebCore::positionOutsideTabSpan): Renamed from positionBeforeTabSpan. Also returns the position in the parent
              node after the tab span if the position was at the end of the tab span.
              * editing/htmlediting.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5614540c
    • rniwa@webkit.org's avatar
      2011-04-07 Ryosuke Niwa <rniwa@webkit.org> · 6683441a
      rniwa@webkit.org authored
              Reviewed by Eric Seidel.
      
              dump-as-markup conversion: editing/pasteboard/paste-text-001.html and paste-text-011.html
              https://bugs.webkit.org/show_bug.cgi?id=58078
      
              Converted the tests.
      
              * editing/pasteboard/paste-text-001-expected.txt: Added.
              * editing/pasteboard/paste-text-001.html:
              * editing/pasteboard/paste-text-011-expected.txt: Added.
              * editing/pasteboard/paste-text-011.html:
              * platform/chromium-linux/editing/pasteboard/paste-text-001-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/paste-text-001-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/chromium-linux/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-001-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-001-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-001-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/paste-text-001-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/gtk/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/gtk/editing/pasteboard/paste-text-011-expected.txt: Removed.
              * platform/mac-leopard/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/mac-leopard/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/mac/editing/pasteboard/paste-text-001-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/paste-text-001-expected.png: Removed.
              * platform/mac/editing/pasteboard/paste-text-001-expected.txt: Removed.
              * platform/mac/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/mac/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/mac/editing/pasteboard/paste-text-011-expected.txt: Removed.
              * platform/qt/editing/pasteboard/paste-text-011-expected.checksum: Removed.
              * platform/qt/editing/pasteboard/paste-text-011-expected.png: Removed.
              * platform/qt/editing/pasteboard/paste-text-011-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6683441a
    • tkent@chromium.org's avatar
      2011-04-07 Kent Tamura <tkent@chromium.org> · 399c854f
      tkent@chromium.org authored
              [Chromium] Update expectations for r83216 and r83235.
      
              * platform/chromium-linux/svg/custom/foreign-object-skew-expected.png: Added.
              * platform/chromium-linux/svg/custom/foreign-object-skew-expected.txt: Copied from LayoutTests/platform/chromium-win/svg/custom/foreign-object-skew-expected.txt.
              * platform/chromium-mac-leopard/svg/custom/foreign-object-skew-expected.checksum: Removed.
              * platform/chromium-mac-leopard/svg/custom/foreign-object-skew-expected.png:
              * platform/chromium-mac/svg/custom/foreign-object-skew-expected.checksum: Removed.
              * platform/chromium-mac/svg/custom/foreign-object-skew-expected.png:
              * platform/chromium-mac/svg/zoom/text/zoom-foreignObject-expected.png: Copied from LayoutTests/platform/chromium-mac/svg/custom/foreign-object-skew-expected.png.
              * platform/chromium-win-vista/svg/custom/foreign-object-skew-expected.checksum: Removed.
              * platform/chromium-win-vist...
      399c854f
    • jchaffraix@webkit.org's avatar
      2011-04-07 Julien Chaffraix <jchaffraix@webkit.org> · 445179b5
      jchaffraix@webkit.org authored
              Reviewed by Eric Seidel.
      
              Test for Bug 51465 - chrome.dll!WebCore::RenderLayer::currentTransform
              ReadAV@NULL (8968fc97874fa23b6799ff8f09c142e4)
      
              Forgot to add them to the original patch.
      
              * fast/css/webkit-empty-transform-preserve3d-crash-expected.txt: Added.
              * fast/css/webkit-empty-transform-preserve3d-crash.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      445179b5
    • enne@google.com's avatar
      2011-04-07 Adrienne Walker <enne@google.com> · 90e26174
      enne@google.com authored
              [chromium] Unreviewed, add baseline pixel images for decorations-transformed.
      
              * platform/chromium-mac/fast/text/decorations-transformed-expected.png: Added.
              * platform/chromium-win/fast/text/decorations-transformed-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90e26174
    • abarth@webkit.org's avatar
      2011-04-07 Adam Barth <abarth@webkit.org> · 75a72fe0
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Implement img-src style-src and font-src
              https://bugs.webkit.org/show_bug.cgi?id=58018
      
              Test a bunch of allow/block tests for these new directives.
      
              * http/tests/security/contentSecurityPolicy/image-allowed-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/image-allowed.html: Added.
              * http/tests/security/contentSecurityPolicy/image-blocked-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/image-blocked.html: Added.
              * http/tests/security/contentSecurityPolicy/resources/blue.css: Added.
              * http/tests/security/contentSecurityPolicy/resources/style.xsl: Added.
              * http/tests/security/contentSecurityPolicy/style-allowed-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/style-allowed.html: Added.
              * http/tests/security/contentSecurityPolicy/style-blocked-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/style-blocked.html: Added.
              * http/tests/security/contentSecurityPolicy/xsl-allowed.php: Added.
              * http/tests/security/contentSecurityPolicy/xsl-blocked-expected.txt: Added.
              * http/tests/security/contentSecurityPolicy/xsl-blocked.php: Added.
      2011-04-07  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Implement img-src style-src and font-src
              https://bugs.webkit.org/show_bug.cgi?id=58018
      
              These are pretty straight forward given the rest of the infrastructure
              we've built so far.
      
              Tests: http/tests/security/contentSecurityPolicy/image-allowed.html
                     http/tests/security/contentSecurityPolicy/image-blocked.html
                     http/tests/security/contentSecurityPolicy/style-allowed.html
                     http/tests/security/contentSecurityPolicy/style-blocked.html
                     http/tests/security/contentSecurityPolicy/xsl-allowed.php
                     http/tests/security/contentSecurityPolicy/xsl-blocked.php
      
              * loader/cache/CachedResourceLoader.cpp:
              (WebCore::CachedResourceLoader::canRequest):
              * page/ContentSecurityPolicy.cpp:
              (WebCore::ContentSecurityPolicy::allowImageFromSource):
              (WebCore::ContentSecurityPolicy::allowStyleFromSource):
              (WebCore::ContentSecurityPolicy::allowFontFromSource):
              (WebCore::ContentSecurityPolicy::addDirective):
              * page/ContentSecurityPolicy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75a72fe0
    • enrica@apple.com's avatar
      Unreviewed. Updated comment in skipped list to · 90e62946
      enrica@apple.com authored
      include the bug that tracks the changes required
      in WebKitTestRunner.
      
      * platform/win-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90e62946
    • dbates@webkit.org's avatar
      2011-04-07 Daniel Bates <dbates@rim.com> · 6e34f5e0
      dbates@webkit.org authored
              Reviewed by Darin Adler.
      
              Add a layout test to ensure that mousemove is fired from a subframe
              https://bugs.webkit.org/show_bug.cgi?id=58094
      
              * fast/events/iframe-onmousemove-expected.txt: Added.
              * fast/events/iframe-onmousemove.html: Added.
              * fast/events/resources/iframe-onmousemove.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e34f5e0
    • ossy@webkit.org's avatar
      [Qt][WK2] Decrease flakiness of test results. · a1006774
      ossy@webkit.org authored
      * platform/qt-wk2/Skipped:
       - Add canvas tests not to break css2.1 tests.
       - Remove passing css2.1 tests.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1006774