loislo@chromium.org [Thu, 17 Feb 2011 16:13:44 +0000 (16:13 +0000)]
2011-02-17 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: [Chromium] inspector/elements/mutate-unknown-node.html test is flaky.
https://bugs.webkit.org/show_bug.cgi?id=54635
It was a race condition. Sometimes Inspector was loaded before domContentLoaded event but sometimes not.
As result it receives second setDocument and got new ids for the DOM elements.
* http/tests/inspector/elements-test.js:
(initialize_ElementTest.InspectorTest.dumpDOMAgentTree):
(initialize_ElementTest):
* inspector/elements/mutate-unknown-node-expected.txt:
* inspector/elements/mutate-unknown-node.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78831
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Thu, 17 Feb 2011 16:00:15 +0000 (16:00 +0000)]
Skip a new spinbutton test on Windows
Also updated the Bugzilla URL for these tests to point to a bug that isn't marked Resolved,
since clearly there's still an unresolved bug here! The new bug is
<http://webkit.org/b/54662>.
* platform/win/Skipped: Added fast/forms/input-appearance-spinbutton-layer.html.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78830
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Thu, 17 Feb 2011 15:59:49 +0000 (15:59 +0000)]
Check in expected failure results on Windows for accessibility/canvas-fallback-content.html
Failure is tracked by <http://webkit.org/b/54654>.
* platform/win/accessibility/canvas-fallback-content-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78829
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Thu, 17 Feb 2011 15:59:22 +0000 (15:59 +0000)]
Skip a failing test on Windows
Failure is tracked by <http://webkit.org/b/54655>.
* platform/win/Skipped: Added
http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78828
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Thu, 17 Feb 2011 15:58:56 +0000 (15:58 +0000)]
Update Windows results after r78690
Fixes <http://webkit.org/b/54657>.
* platform/win/media/controls-without-preload-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78827
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Thu, 17 Feb 2011 15:58:26 +0000 (15:58 +0000)]
Skip all inspector/debugger tests on Windows
The failures are tracked by <http://webkit.org/b/54490>.
* platform/win/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78826
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 15:32:18 +0000 (15:32 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
Mark inspector/debugger/debug-inlined-scripts.html as crashing in debug.
https://bugs.webkit.org/show_bug.cgi?id=54659
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78825
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Thu, 17 Feb 2011 15:05:52 +0000 (15:05 +0000)]
2011-02-17 Philippe Normand <pnormand@igalia.com>
Unreviewed, rebaseline GTK test results.
[GStreamer] media/video-zoom-controls.html fails
https://bugs.webkit.org/show_bug.cgi?id=50918
* platform/gtk/Skipped:
* platform/gtk/media/video-zoom-controls-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78824
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 15:01:28 +0000 (15:01 +0000)]
2011-02-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
Reviewed by Kent Tamura.
Doxygen documentation for ewk cookies
https://bugs.webkit.org/show_bug.cgi?id=54553
* ewk/ewk_cookies.cpp:
(ewk_cookies_file_set):
(ewk_cookies_policy_set):
(ewk_cookies_policy_get):
* ewk/ewk_cookies.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78823
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 14:55:54 +0000 (14:55 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
Skip inspector/elements/mutate-unknown-node.html, it now timeouts.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78822
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sergio@webkit.org [Thu, 17 Feb 2011 14:23:03 +0000 (14:23 +0000)]
2011-02-17 Sergio Villar Senin <svillar@igalia.com>
Unreviewed.
Add the next set (tables/mozilla/dom) of GTK+ Mozilla test suite results.
* platform/gtk/Skipped: Updated the skipped list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78821
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 14:16:32 +0000 (14:16 +0000)]
[Chromium] Unreviewed -- forgot to specify 'DEBUG' prefix for expectations in r78818.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78820
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Thu, 17 Feb 2011 14:08:49 +0000 (14:08 +0000)]
2011-02-17 Pavel Podivilov <podivilov@chromium.org>
Unreviewed, interactive ui test fix for r78808.
* src/js/Tests.js:
(.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts):
(.TestSuite.prototype._waitUntilScriptsAreParsed):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78819
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 14:05:46 +0000 (14:05 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
storage/indexeddb/set_version_(blocked|queue).html fails on all platforms in dbg on Chromium waterfall.
https://bugs.webkit.org/show_bug.cgi?id=54644
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78818
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 13:39:46 +0000 (13:39 +0000)]
2011-02-17 Hui Huang <hui.2.huang@nokia.com>
Reviewed by Laszlo Gombos.
The URL of HTML5 Video Element is percent encoded at websites such as youtube.
It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
the HTTP GET request for the video to be rejected by the service provider.
https://bugs.webkit.org/show_bug.cgi?id=53973.
The bug is fixed by constructing QUrl from the encoded URL.
New test function tst_QWebPage::loadHtml5Video() is added in
Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
* platform/graphics/qt/MediaPlayerPrivateQt.cpp:
(WebCore::MediaPlayerPrivateQt::commitLoad):
2011-02-17 Hui Huang <hui.2.huang@nokia.com>
Reviewed by Laszlo Gombos.
The URL of HTML5 Video Element is percent encoded at websites such as youtube.
It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
the HTTP GET request for the video to be rejected by the service provider.
https://bugs.webkit.org/show_bug.cgi?id=53973.
The bug is fixed by constructing QUrl from the encoded URL in
MediaPlayerPrivateQt::commitLoad.
New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
is skipped if Qt Multimedia is not available.
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::mediaContentUrlByElementId):
* WebCoreSupport/DumpRenderTreeSupportQt.h:
* tests/qwebpage/tst_qwebpage.cpp:
(tst_QWebPage::loadHtml5Video):
* tests/tests.pri:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78817
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Thu, 17 Feb 2011 13:38:06 +0000 (13:38 +0000)]
2011-02-17 Andreas Kling <kling@webkit.org>
Reviewed by Antti Koivisto.
[Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
https://bugs.webkit.org/show_bug.cgi?id=49216
* tests/qwebframe/tst_qwebframe.cpp:
2011-02-17 Andreas Kling <kling@webkit.org>
Reviewed by Antti Koivisto.
[Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
https://bugs.webkit.org/show_bug.cgi?id=49216
CachedResourceRequest::didFail() will protect the CachedResourceLoader's
document() while it runs, but if we're being called from the Document destructor,
the protecting RefPtr<Document> will cause a double-delete instead.
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::~CachedResourceLoader): Clear the m_document
pointer so CachedResourceRequest::didFail() won't try to protect it.
(WebCore::CachedResourceLoader::frame): Add null-check for m_document.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78816
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Thu, 17 Feb 2011 13:20:06 +0000 (13:20 +0000)]
2011-02-17 Andrey Adaikin <aandrey@google.com>
Reviewed by Pavel Feldman.
Web Inspector: [Text editor] Add updateHighlight method to the highlighter
https://bugs.webkit.org/show_bug.cgi?id=54448
* inspector/front-end/SourceTokenizer.js:
* inspector/front-end/TextEditorHighlighter.js:
(WebInspector.TextEditorHighlighter.prototype.set mimeType):
(WebInspector.TextEditorHighlighter.prototype.reset):
(WebInspector.TextEditorHighlighter.prototype.updateHighlight):
(WebInspector.TextEditorHighlighter.prototype._highlightInChunks):
(WebInspector.TextEditorHighlighter.prototype._highlightLines):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78815
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 13:14:25 +0000 (13:14 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
media/video-display-toggle.html fails on all platforms.
https://bugs.webkit.org/show_bug.cgi?id=54640
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78814
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sergio@webkit.org [Thu, 17 Feb 2011 13:02:20 +0000 (13:02 +0000)]
2011-02-17 Sergio Villar Senin <svillar@igalia.com>
Unreviewed.
Added flaky test media/video-display-toggle.html. Fails only on
debug bots.
* platform/gtk/Skipped: Updated the skipped list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78813
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 12:55:56 +0000 (12:55 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
inspector/elements/set-attribute.html works -- enable it.
inspector/debugger/dom-breakpoints.html timeouts -- bug filed.
https://bugs.webkit.org/show_bug.cgi?id=54638
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78812
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 12:38:14 +0000 (12:38 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update.
Mark inspector/elements/mutate-unknown-node.html as flaky.
https://bugs.webkit.org/show_bug.cgi?id=54635
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78811
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 12:34:21 +0000 (12:34 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update after r78806.
Rebaseline SVG tests:
batik/paints/patternRegions-positioned-objects.svg
custom/nested-pattern-boundingBoxModeContent.svg
dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr.html
dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop.html
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78810
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Thu, 17 Feb 2011 12:20:54 +0000 (12:20 +0000)]
2011-02-17 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed test expectations update after r78878.
Skip timing out media/video-controls-in-media-document.html.
https://bugs.webkit.org/show_bug.cgi?id=54634
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78809
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Thu, 17 Feb 2011 12:08:19 +0000 (12:08 +0000)]
2011-02-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: show all inlined scripts from single document in the same source frame.
https://bugs.webkit.org/show_bug.cgi?id=54544
Currently when debugging synchronously executed inlined scripts each script is shown in it's own source frame ("example.html:24").
We should show such scripts in the same source frame "example.html" with <script></script> framing.
* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest.InspectorTest._pausedScript):
(initialize_DebuggerTest.InspectorTest._resumedScript):
* inspector/debugger/debug-inlined-scripts-expected.txt: Added.
* inspector/debugger/debug-inlined-scripts.html: Added.
* inspector/debugger/debugger-breakpoints-not-activated-on-reload.html:
* inspector/debugger/debugger-pause-on-breakpoint.html:
2011-02-16 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: show all inlined scripts from single document in the same source frame.
https://bugs.webkit.org/show_bug.cgi?id=54544
Currently when debugging synchronously executed inlined scripts each script is shown in it's own source frame ("example.html:24").
We should show such scripts in the same source frame "example.html" with <script></script> framing.
Test: inspector/debugger/debug-inlined-scripts.html
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype._scriptSourceChanged):
(WebInspector.ScriptsPanel.prototype._addScript):
(WebInspector.ScriptsPanel.prototype._resourceForURL):
(WebInspector.ScriptsPanel.prototype._resourceLoadingFinished):
(WebInspector.ScriptsPanel.prototype.addConsoleMessage):
(WebInspector.ScriptsPanel.prototype.clearConsoleMessages):
(WebInspector.ScriptsPanel.prototype.reset):
(WebInspector.ScriptsPanel.prototype._sourceFrameForResource):
(WebInspector.ScriptsPanel.prototype._sourceFrameForScript):
(WebInspector.ScriptsPanel.prototype._recreateSourceFrame):
(WebInspector.ScriptsPanel.prototype._showScriptOrResource):
(WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu.optionCompare):
(WebInspector.ScriptsPanel.prototype._addScriptToFilesMenu):
(WebInspector.SourceFrameContentProviderForScript.prototype.requestContent):
(WebInspector.SourceFrameContentProviderForScript.prototype._buildSource):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78808
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rgabor@webkit.org [Thu, 17 Feb 2011 11:13:25 +0000 (11:13 +0000)]
2011-02-17 Gabor Rapcsanyi <rgabor@webkit.org>
Reviewed by Csaba Osztrogonác.
[NRWT] Fix environment setup on Qt port.
https://bugs.webkit.org/show_bug.cgi?id=54549
* Scripts/webkitpy/layout_tests/port/qt.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78807
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Thu, 17 Feb 2011 11:00:56 +0000 (11:00 +0000)]
2011-02-17 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
svg/batik/paints/patternRegions-positioned-objects.svg fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=44484
Pattern of pattern defined with objectBoundingBox does not render correctly
https://bugs.webkit.org/show_bug.cgi?id=53463
Fix <pattern> + patternContentUnits="objectBoundingBox" support.
We were incorrrectly translating the tile image transform, by the target objects bbox.x()/y().
RenderSVGResourceMask/Clipper don't have this error.
Fix nesting <patterns> in objectBoundingBox mode, propagate the tileImageTransform as new user-space
when drawing the pattern children. <mask> + <clipPath> don't have the problem.
Test: svg/custom/nested-pattern-boundingBoxModeContent.svg
* rendering/svg/RenderSVGResourcePattern.cpp:
(WebCore::RenderSVGResourcePattern::buildTileImageTransform):
(WebCore::RenderSVGResourcePattern::createTileImage):
2011-02-17 Nikolas Zimmermann <nzimmermann@rim.com>
Reviewed by Dirk Schulze.
svg/batik/paints/patternRegions-positioned-objects.svg fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=44484
Pattern of pattern defined with objectBoundingBox does not render correctly
https://bugs.webkit.org/show_bug.cgi?id=53463
Update SnowLeopard pixel test baseline after adding new patternContentUnits="objectBoundingBox" tests.
* platform/mac/svg/batik/paints/patternRegions-positioned-objects-expected.checksum:
* platform/mac/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/mac/svg/custom/nested-pattern-boundingBoxModeContent-expected.checksum: Added.
* platform/mac/svg/custom/nested-pattern-boundingBoxModeContent-expected.png: Added.
* platform/mac/svg/custom/nested-pattern-boundingBoxModeContent-expected.txt: Added.
* platform/mac/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGPatternElement-dom-patternContentUnits-attr-expected.png:
* platform/mac/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-expected.checksum:
* platform/mac/svg/dynamic-updates/SVGPatternElement-svgdom-patternContentUnits-prop-expected.png:
* svg/custom/nested-pattern-boundingBoxModeContent.svg: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78806
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Thu, 17 Feb 2011 10:46:11 +0000 (10:46 +0000)]
Unreviewed.
[Qt] http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html fails
https://bugs.webkit.org/show_bug.cgi?id=54630
* platform/qt/Skipped: Add http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html temporarily.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78805
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sergio@webkit.org [Thu, 17 Feb 2011 10:32:47 +0000 (10:32 +0000)]
2011-02-17 Sergio Villar Senin <svillar@igalia.com>
Unreviewed.
[GTK] Failing canvas security tests
https://bugs.webkit.org/show_bug.cgi?id=30580
Test is working fine locally in both release and debug builds so
unskipping it.
* platform/gtk/Skipped: Updated the skipped list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78804
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Thu, 17 Feb 2011 10:21:04 +0000 (10:21 +0000)]
Unreviewed.
[Qt][V8] Buildfix after r78752.
* CodeGenerators.pri: Add missing IDL files.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78803
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mario@webkit.org [Thu, 17 Feb 2011 09:50:18 +0000 (09:50 +0000)]
2011-02-17 Mario Sanchez Prada <msanchez@igalia.com>
Unreviewed, skipping failing test on GTK bots.
[GTK] accessibility/canvas-fallback-content.html is failing on GTK bots
https://bugs.webkit.org/show_bug.cgi?id=54626
* platform/gtk/Skipped: Skipping failing test.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78802
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sergio@webkit.org [Thu, 17 Feb 2011 09:39:08 +0000 (09:39 +0000)]
2011-02-17 Sergio Villar Senin <svillar@igalia.com>
Unreviewed.
Skipped four SVG tests that started to show rounding errors (1
pixel difference) after r78704.
* platform/gtk/Skipped: Update the skipped list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78801
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
alex@webkit.org [Thu, 17 Feb 2011 09:35:59 +0000 (09:35 +0000)]
2011-02-17 Alejandro G. Castro <alex@igalia.com>
Reviewed by Martin Robinson.
[GTK] Add WKPluginSiteDataManager.cpp compilation after r78647
https://bugs.webkit.org/show_bug.cgi?id=54564
* GNUmakefile.am: Added files to compilation.
* Shared/Plugins/Netscape/NetscapePluginModule.h: used
npruntime_internal.h in the include to avoid problems with X
types.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::setAlwaysUsesComplexTextCodePath): fixed
ambiguous reference to Font caused by the X headers required by
the plugins.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78800
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kalman@chromium.org [Thu, 17 Feb 2011 09:02:31 +0000 (09:02 +0000)]
2011-02-17 Benjamin Kalman <kalman@chromium.org>
Reviewed by Ryosuke Niwa.
RTL lineboundary left/right is reversed when cursor is at start of RTL container
https://bugs.webkit.org/show_bug.cgi?id=54534
Test extending the selection left/right by lineboundary from both the leftmost/rightmost ends of LTR and RTL
containers with both LTR and RTL text.
* editing/selection/extend-left-right-by-lineboundary-expected.txt: Added.
* editing/selection/extend-left-right-by-lineboundary.html: Added.
2011-02-17 Benjamin Kalman <kalman@chromium.org>
Reviewed by Ryosuke Niwa.
RTL lineboundary left/right is reversed when cursor is at start of RTL container
https://bugs.webkit.org/show_bug.cgi?id=54534
Test: editing/selection/extend-left-right-by-lineboundary.html
Add missing cases for extending left/right by lineboundary.
* editing/SelectionController.cpp:
(WebCore::SelectionController::modifyExtendingRight):
(WebCore::SelectionController::modifyExtendingLeft):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78799
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Thu, 17 Feb 2011 08:25:19 +0000 (08:25 +0000)]
2011-02-16 Philippe Normand <pnormand@igalia.com>
Reviewed by Martin Robinson.
[GTK] libsoup critical warnings
https://bugs.webkit.org/show_bug.cgi?id=54557
Avoid pausing a soup message for already downloaded resources.
* platform/network/soup/ResourceHandleSoup.cpp:
(WebCore::ResourceHandle::platformSetDefersLoading):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78798
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Thu, 17 Feb 2011 08:21:38 +0000 (08:21 +0000)]
2011-02-17 Philippe Normand <pnormand@igalia.com>
Unreviewed, fix media-file.js path after r78778.
* media/video-display-aspect-ratio.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78797
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Thu, 17 Feb 2011 08:21:22 +0000 (08:21 +0000)]
2011-02-16 Philippe Normand <pnormand@igalia.com>
Reviewed by Martin Robinson.
[GTK] media/video-display-toggle.html still flaky on 32-Bits Release
https://bugs.webkit.org/show_bug.cgi?id=54552
* media/video-display-toggle.html: Start playback before
triggering the display toggle, ensuring the controls
(esp. duration display) are conistent.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78796
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ggaren@apple.com [Thu, 17 Feb 2011 07:17:05 +0000 (07:17 +0000)]
2011-02-16 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Intermittent crashes beneath MarkStack::drain
https://bugs.webkit.org/show_bug.cgi?id=54614
<rdar://problem/
8971070>
The crashes were caused by a GC happening after the global object's
property table had grown (due to compilation), but before the properties
had been fully initialized by program execution.
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator): Explicitly resize the global
object's register storage immediately, without waiting for program
execution to do it for us. This ensures that the global object's count
of global variables is consistent with the size of its global variable
storage at all times, and it ensures that all global variables are
properly initialized from the get-go.
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::resizeRegisters):
* runtime/JSGlobalObject.h: Added a helper function for growing the
global object's register storage, and initializing new registers.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78795
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
loislo@chromium.org [Thu, 17 Feb 2011 07:09:37 +0000 (07:09 +0000)]
2011-02-16 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed.
Web Inspector: chromium: update test expectation.
* platform/chromium/inspector/timeline/timeline-parse-html-expected.txt:
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78794
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
loislo@chromium.org [Thu, 17 Feb 2011 06:53:14 +0000 (06:53 +0000)]
2011-02-16 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed.
Web Inspector: remove custom test expectations for chromium.
* platform/chromium/http/tests/inspector/console-resource-errors-expected.txt: Removed.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78793
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 06:25:05 +0000 (06:25 +0000)]
2011-02-16 Brian Ryner <bryner@chromium.org>
Reviewed by Darin Fisher.
Split the socket address field into separate IP address and port fields.
This will make the field less error-prone to parse, for example when
dealing with IPv6 literals.
https://bugs.webkit.org/show_bug.cgi?id=54607
No new tests required.
* platform/network/chromium/ResourceResponse.cpp:
(WebCore::ResourceResponse::doPlatformCopyData):
(WebCore::ResourceResponse::doPlatformAdopt):
* platform/network/chromium/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):
(WebCore::ResourceResponse::remoteIPAddress):
(WebCore::ResourceResponse::setRemoteIPAddress):
(WebCore::ResourceResponse::remotePort):
(WebCore::ResourceResponse::setRemotePort):
2011-02-16 Brian Ryner <bryner@chromium.org>
Reviewed by Darin Fisher.
Split the socket address field into separate IP address and port fields.
This will make the field less error-prone to parse, for example when
dealing with IPv6 literals.
https://bugs.webkit.org/show_bug.cgi?id=54607
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
(WebKit::WebURLResponse::remoteIPAddress):
(WebKit::WebURLResponse::setRemoteIPAddress):
(WebKit::WebURLResponse::remotePort):
(WebKit::WebURLResponse::setRemotePort):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78790
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 04:56:03 +0000 (04:56 +0000)]
2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add new test for canvas fallback content and update existing text for new canvas role.
https://bugs.webkit.org/show_bug.cgi?id=50126
* accessibility/canvas-fallback-content-expected.txt: Added.
* accessibility/canvas-fallback-content.html: Added.
* accessibility/canvas.html:
2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add support for canvas fallback content.
https://bugs.webkit.org/show_bug.cgi?id=50126
Test: accessibility/canvas-fallback-content.html
* accessibility/AccessibilityObject.h:
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::determineAccessibilityRole):
(WebCore::AccessibilityRenderObject::canHaveChildren):
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(atkRole):
* accessibility/mac/AccessibilityObjectWrapper.mm:
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::isFocusable):
* rendering/RenderHTMLCanvas.cpp:
(WebCore::RenderHTMLCanvas::recursiveSetNoNeedsLayout):
(WebCore::RenderHTMLCanvas::layout):
(WebCore::RenderHTMLCanvas::nodeAtPoint):
* rendering/RenderHTMLCanvas.h:
(WebCore::RenderHTMLCanvas::children):
(WebCore::RenderHTMLCanvas::canHaveChildren):
(WebCore::RenderHTMLCanvas::virtualChildren):
* rendering/RenderObject.cpp:
(WebCore::RenderObject::repaint):
* rendering/RenderTreeAsText.cpp:
(WebCore::write):
2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add new role for canvas elements.
https://bugs.webkit.org/show_bug.cgi?id=50126
* public/WebAccessibilityRole.h:
* src/AssertMatchingEnums.cpp:
2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Chris Fleizach.
Add new role for canvas elements.
https://bugs.webkit.org/show_bug.cgi?id=50126
Test: accessibility/canvas-fallback-content.html
* AccessibleBase.cpp:
(MSAARole):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78789
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
simon.fraser@apple.com [Thu, 17 Feb 2011 04:54:24 +0000 (04:54 +0000)]
2011-02-16 Matthew Delaney <mdelaney@apple.com>
Reviewed by Simon Fraser.
Allow acceleratesDrawing for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=54511
Plumb through preference for accelerated drawing.
* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences acceleratedDrawingEnabled]):
(-[WebPreferences setAcceleratedDrawingEnabled:]):
* WebView/WebPreferencesPrivate.h:
2011-02-16 Matthew Delaney <mdelaney@apple.com>
Reviewed by Simon Fraser.
Allow acceleratesDrawing for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=54511
Plumb through preference for accelerated drawing.
When accelerated drawing is enabled, set a flag on new GraphicsLayers.
Not testable via Layout Tests
* WebCore.exp.in:
* page/Settings.cpp:
(WebCore::Settings::Settings):
(WebCore::Settings::setAcceleratedDrawingEnabled):
* page/Settings.h:
(WebCore::Settings::acceleratedDrawingEnabled):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):
2011-02-16 Matthew Delaney <mdelaney@apple.com>
Reviewed by Simon Fraser.
Allow acceleratesDrawing for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=54511
Plumb through preference for accelerated drawing.
If accelerated drawing is enabled, keep the DrawingAreaImpl in
accelerated compositing mode.
* Shared/WebPreferencesStore.h:
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetAcceleratedDrawingEnabled):
(WKPreferencesGetAcceleratedDrawingEnabled):
* UIProcess/API/C/WKPreferencesPrivate.h:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::DrawingAreaImpl):
(WebKit::DrawingAreaImpl::setRootCompositingLayer):
(WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78788
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 04:44:29 +0000 (04:44 +0000)]
2011-02-16 Victoria Kirst <vrk@google.com>
Reviewed by Kenneth Russell.
[chromium] Fix green pixels at edge of certain GPU-accelerated videos
https://bugs.webkit.org/show_bug.cgi?id=54559
Adds logic to properly resize the range of YUV textures to only
select legitimate values.
* platform/graphics/chromium/VideoFrameChromium.h:
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::SharedValues::SharedValues):
(WebCore::VideoLayerChromium::allocateTexturesIfNeeded):
(WebCore::VideoLayerChromium::drawYUV):
* platform/graphics/chromium/VideoLayerChromium.h:
(WebCore::VideoLayerChromium::SharedValues::yWidthScaleFactorLocation):
(WebCore::VideoLayerChromium::SharedValues::uvWidthScaleFactorLocation):
2011-02-16 Victoria Kirst <vrk@google.com>
Reviewed by Kenneth Russell.
[chromium] Fix green pixels at edge of certain GPU-accelerated videos
https://bugs.webkit.org/show_bug.cgi?id=54559
* src/VideoFrameChromiumImpl.cpp:
(WebKit::VideoFrameChromiumImpl::width):
(WebKit::VideoFrameChromiumImpl::height):
(WebKit::VideoFrameChromiumImpl::requiredTextureSize):
(WebKit::VideoFrameChromiumImpl::hasPaddingBytes):
* src/VideoFrameChromiumImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78787
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
gyuyoung.kim@samsung.com [Thu, 17 Feb 2011 04:39:20 +0000 (04:39 +0000)]
2011-02-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Unreviewed build fix.
[EFL] Build break on r78634
https://bugs.webkit.org/show_bug.cgi?id=54602
Build error because of r78634.
* CMakeListsEfl.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78786
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yael.aharon@nokia.com [Thu, 17 Feb 2011 04:28:57 +0000 (04:28 +0000)]
2011-02-16 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Andreas Kling.
[Qt] White screen is displayed when tiled backing store is enabled in MiniBrowser.
https://bugs.webkit.org/show_bug.cgi?id=54583
Make sure to invalidate all the tiles, including the last one.
* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::invalidate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78785
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yael.aharon@nokia.com [Thu, 17 Feb 2011 04:27:38 +0000 (04:27 +0000)]
2011-02-16 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Andreas Kling.
[Qt] Enable tiled backing store by default in MiniBrowser.
https://bugs.webkit.org/show_bug.cgi?id=54581
Instead of a flag to turn it on, a new flag is defined to turn
tiled backing store off.
* MiniBrowser/qt/MiniBrowserApplication.cpp:
(MiniBrowserApplication::handleUserOptions):
* MiniBrowser/qt/MiniBrowserApplication.h:
(WindowOptions::WindowOptions):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78784
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yael.aharon@nokia.com [Thu, 17 Feb 2011 04:27:04 +0000 (04:27 +0000)]
2011-02-16 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Andreas Kling.
[Qt] Tiles are not created for webkit2 after r77286.
https://bugs.webkit.org/show_bug.cgi?id=54577
When using the default tile size of 1024x1024, only one tile is created.
Make sure to create this tile by undoing what seems to be a typo in r77286.
* UIProcess/TiledDrawingAreaProxy.cpp:
(WebKit::TiledDrawingAreaProxy::paint):
(WebKit::TiledDrawingAreaProxy::createTiles):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78783
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 04:11:38 +0000 (04:11 +0000)]
2011-02-16 Bill Budge <bbudge@chromium.org>
Reviewed by David Levin.
Need didReceiveCachedMetadata, and finishTime for didFinishLoading exposed in ThreadableLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=54313
No tests needed, exposes no new functionality
* fileapi/FileReaderLoader.cpp:
(WebCore::FileReaderLoader::didFinishLoading):
* fileapi/FileReaderLoader.h:
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::setDefersLoading):
(WebCore::DocumentThreadableLoader::didReceiveCachedMetadata):
(WebCore::DocumentThreadableLoader::didFinishLoading):
(WebCore::DocumentThreadableLoader::loadRequest):
* loader/DocumentThreadableLoader.h:
* loader/ThreadableLoaderClient.h:
(WebCore::ThreadableLoaderClient::didReceiveData):
(WebCore::ThreadableLoaderClient::didReceiveCachedMetadata):
(WebCore::ThreadableLoaderClient::didFinishLoading):
* loader/ThreadableLoaderClientWrapper.h:
(WebCore::ThreadableLoaderClientWrapper::didReceiveData):
(WebCore::ThreadableLoaderClientWrapper::didReceiveCachedMetadata):
(WebCore::ThreadableLoaderClientWrapper::didFinishLoading):
* loader/WorkerThreadableLoader.cpp:
(WebCore::workerContextDidReceiveCachedMetadata):
(WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata):
(WebCore::workerContextDidFinishLoading):
(WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading):
* loader/WorkerThreadableLoader.h:
* notifications/Notification.cpp:
(WebCore::Notification::didFinishLoading):
* notifications/Notification.h:
* page/EventSource.cpp:
(WebCore::EventSource::didFinishLoading):
* page/EventSource.h:
* workers/WorkerScriptLoader.cpp:
(WebCore::WorkerScriptLoader::didFinishLoading):
* workers/WorkerScriptLoader.h:
* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::didFinishLoading):
* xml/XMLHttpRequest.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78782
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jorlow@chromium.org [Thu, 17 Feb 2011 04:03:18 +0000 (04:03 +0000)]
2011-02-16 Jeremy Orlow <jorlow@chromium.org>
Fix uninitialized memory error.
* storage/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::close):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78781
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Thu, 17 Feb 2011 04:00:57 +0000 (04:00 +0000)]
2011-02-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Fix xssAuditor/form-action.html
https://bugs.webkit.org/show_bug.cgi?id=54590
Update expected results to show that we pass.
* http/tests/security/xssAuditor/form-action-expected.txt:
2011-02-16 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Fix xssAuditor/form-action.html
https://bugs.webkit.org/show_bug.cgi?id=54590
We should block form actions. Although this technically can't be used
to run script, it's a pretty easy vector for stealing passwords.
* html/parser/XSSFilter.cpp:
(WebCore::XSSFilter::filterTokenInitial):
(WebCore::XSSFilter::filterFormToken):
* html/parser/XSSFilter.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78780
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric@webkit.org [Thu, 17 Feb 2011 03:48:44 +0000 (03:48 +0000)]
2011-02-16 Eric Seidel <eric@webkit.org>
Reviewed by Mihai Parparita.
flaky test archive uploads are always 22 bytes long
https://bugs.webkit.org/show_bug.cgi?id=54593
Speculative fix for the 22-bytes bug.
* Scripts/webkitpy/tool/bot/flakytestreporter.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78779
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Thu, 17 Feb 2011 03:41:26 +0000 (03:41 +0000)]
2011-02-16 Anna Cavender <annacc@chromium.org>
Reviewed by Mihai Parparita.
http/tests/media should be served over HTTP (not from local file)
https://bugs.webkit.org/show_bug.cgi?id=54028
Removed special file:// treatment of http/tests/media
Moved media-file.js and video-tests.js to http/tests/media so local server can access them.
Update tests to point to new location of javascript libraries.
* http/tests/media/media-file.js: Renamed from LayoutTests/media/media-file.js.
* http/tests/media/pdf-served-as-pdf.html:
* http/tests/media/reload-after-dialog.html:
* http/tests/media/remove-while-loading.html:
* http/tests/media/text-served-as-text.html:
* http/tests/media/video-buffered.html:
* http/tests/media/video-cancel-load.html:
* http/tests/media/video-cookie.html:
* http/tests/media/video-error-abort.html:
* http/tests/media/video-load-twice.html:
* http/tests/media/video-play-stall-seek.html:
* http/tests/media/video-play-stall.html:
* http/tests/media/video-play-suspend.html:
* http/tests/media/video-referer.html:
* http/tests/media/video-seekable-stall.html:
* http/tests/media/video-served-as-text.html:
* http/tests/media/video-test.js: Renamed from LayoutTests/media/video-test.js.
* media/adopt-node-crash.html:
* media/audio-constructor-preload.html:
* media/audio-constructor-src.html:
* media/audio-constructor.html:
* media/audio-controls-rendering.html:
* media/audio-data-url.html:
* media/audio-delete-while-slider-thumb-clicked.html:
* media/audio-delete-while-step-button-clicked.html:
* media/audio-mpeg-supported.html:
* media/audio-mpeg4-supported.html:
* media/audio-play-event.html:
* media/before-load-member-access.html:
* media/broken-video.html:
* media/constructors.html:
* media/context-menu-actions.html:
* media/controls-after-reload.html:
* media/controls-css-overload.html:
* media/controls-drag-timebar.html:
* media/controls-right-click-on-timebar.html:
* media/controls-strict.html:
* media/controls-styling.html:
* media/controls-without-preload.html:
* media/event-attributes.html:
* media/invalid-media-url-crash.html:
* media/media-can-play-mpeg-audio.html:
* media/media-can-play-mpeg4-video.html:
* media/media-can-play-octet-stream.html:
* media/media-can-play-ogg.html:
* media/media-can-play-wav-audio.html:
* media/media-captions.html:
* media/media-constants.html:
* media/media-fullscreen-inline.html:
* media/media-fullscreen-not-in-document.html:
* media/media-load-event.html:
* media/media-startTime.html:
* media/remove-from-document-no-load.html:
* media/remove-from-document.html:
* media/restore-from-page-cache.html:
* media/unsupported-rtsp.html:
* media/unsupported-tracks.html:
* media/video-append-source.html:
* media/video-aspect-ratio.html:
* media/video-autoplay.html:
* media/video-buffered.html:
* media/video-can-play-type.html:
* media/video-canvas-alpha.html:
* media/video-canvas-source.html:
* media/video-canvas.html-disabled:
* media/video-click-dblckick-standalone.html:
* media/video-controls-rendering.html:
* media/video-controls-transformed.html:
* media/video-controls-visible-audio-only.html:
* media/video-controls-zoomed.html:
* media/video-controls.html:
* media/video-currentTime-delay.html:
* media/video-currentTime-set.html:
* media/video-currentTime-set2.html:
* media/video-currentTime.html:
* media/video-delay-load-event.html:
* media/video-display-aspect-ratio.html:
* media/video-display-none-crash.html:
* media/video-display-toggle.html:
* media/video-does-not-loop.html:
* media/video-dom-autoplay.html:
* media/video-dom-preload.html:
* media/video-dom-src.html:
* media/video-duration-known-after-eos.html:
* media/video-error-does-not-exist.html:
* media/video-frame-accurate-seek.html:
* media/video-layer-crash.html:
* media/video-load-networkState.html:
* media/video-load-readyState.html:
* media/video-loop.html:
* media/video-muted.html:
* media/video-no-audio.html:
* media/video-no-autoplay.html:
* media/video-pause-empty-events.html:
* media/video-pause-immediately.html:
* media/video-play-empty-events.html:
* media/video-play-pause-events.html:
* media/video-play-pause-exception.html:
* media/video-played-collapse.html:
* media/video-played-ranges-1.html:
* media/video-played-reset.html:
* media/video-poster-delayed.html:
* media/video-poster-scale.html:
* media/video-poster.html:
* media/video-preload.html:
* media/video-replaces-poster.html:
* media/video-reverse-play-duration.html:
* media/video-seek-by-small-increment.html:
* media/video-seek-no-src-exception.html:
* media/video-seek-past-end-paused.html:
* media/video-seek-past-end-playing.html:
* media/video-seekable.html:
* media/video-seeking.html:
* media/video-size-intrinsic-scale.html:
* media/video-size.html:
* media/video-source-error-no-candidate.html:
* media/video-source-error.html:
* media/video-source-inserted.html:
* media/video-source-media.html:
* media/video-source-moved.html:
* media/video-source-none-supported.html:
* media/video-source-removed.html:
* media/video-source-type-params.html:
* media/video-source-type.html:
* media/video-source.html:
* media/video-src-change.html:
* media/video-src-invalid-remove.html:
* media/video-src-none.html:
* media/video-src-plus-source.html:
* media/video-src-remove.html:
* media/video-src-set.html:
* media/video-src-source.html:
* media/video-src.html:
* media/video-timeupdate-during-playback.html:
* media/video-timeupdate-reverse-play.html:
* media/video-transformed.html:
* media/video-volume-slider.html:
* media/video-volume.html:
* media/video-width-height.html:
* media/video-zoom-controls.html:
* media/video-zoom.html:
2011-02-16 Anna Cavender <annacc@chromium.org>
Reviewed by Mihai Parparita.
http/tests/media should be served over HTTP (not from local file)
https://bugs.webkit.org/show_bug.cgi?id=54028
Removed special file:// treatment of http/tests/media
* Scripts/old-run-webkit-tests:
* Scripts/webkitpy/layout_tests/port/base.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78778
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Thu, 17 Feb 2011 03:39:15 +0000 (03:39 +0000)]
2011-02-16 Mihai Parparita <mihaip@chromium.org>
Reviewed by Ojan Vafai.
ChangeLog.parse_latest_entry_from_file does not handle rolled over ChangeLogs
https://bugs.webkit.org/show_bug.cgi?id=54609
r78737 rolled over ChangeLogs, and webkit-patch complains when landing
patches such as this one that are the first to add an entry to the
ChangeLog (since they don't see a second date line to know where the
entry ends).
* Scripts/webkitpy/common/checkout/changelog.py:
* Scripts/webkitpy/common/checkout/changelog_unittest.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78777
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Thu, 17 Feb 2011 03:05:43 +0000 (03:05 +0000)]
2011-02-16 Adam Barth <abarth@webkit.org>
Reviewed by Daniel Bates.
Import XSSAuditor tests from David Ross
https://bugs.webkit.org/show_bug.cgi?id=54576
Many of these tests pass, but some of them fail as well. I'll fix the
failing tests in followup patches.
* http/tests/security/xssAuditor/cookie-injection-expected.txt: Added.
* http/tests/security/xssAuditor/cookie-injection.html: Added.
- We're fine here.
* http/tests/security/xssAuditor/form-action-expected.txt: Added.
* http/tests/security/xssAuditor/form-action.html: Added.
- We need to filter form actions. Previously, we considered this
issue out of scope, but we should be able to handle it.
* http/tests/security/xssAuditor/iframe-injection-expected.txt: Added.
* http/tests/security/xssAuditor/iframe-injection.html: Added.
- We need to filter iframe src attributes. Previously, we
considered this issue out of scope, but we should be able to
handle it.
* http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt: Added.
* http/tests/security/xssAuditor/iframe-javascript-url-more-encoding.html: Added.
- We're fine here.
* http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt: Added.
* http/tests/security/xssAuditor/javascript-link-one-plus-one.html: Added.
- We're fine here.
* http/tests/security/xssAuditor/open-attribute-body-expected.txt: Added.
* http/tests/security/xssAuditor/open-attribute-body.html: Added.
* http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt: Added.
* http/tests/security/xssAuditor/open-event-handler-iframe.html: Added.
* http/tests/security/xssAuditor/open-iframe-src-expected.txt: Added.
* http/tests/security/xssAuditor/open-iframe-src.html: Added.
* http/tests/security/xssAuditor/open-script-src-expected.txt: Added.
* http/tests/security/xssAuditor/open-script-src.html: Added.
- These are all the same class of issue. Now that we've
re-designed the filter, we should be able to address this issue.
* http/tests/security/xssAuditor/resources/echo-inspan.pl: Added.
* http/tests/security/xssAuditor/resources/echo-intertag.pl:
- Tests infrastructure improvements.
* http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt: Added.
* http/tests/security/xssAuditor/script-tag-with-fancy-unicode.html: Added.
- I'm not sure what's going on here. Requires futher investigation.
* http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt: Added.
* http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding.html: Added.
- We're fine here.
* http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt: Added.
* http/tests/security/xssAuditor/script-tag-with-source-data-url.html: Added.
- We're fine here.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78776
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
inferno@chromium.org [Thu, 17 Feb 2011 03:02:34 +0000 (03:02 +0000)]
2011-02-16 Abhishek Arya <inferno@chromium.org>
Reviewed by James Robinson.
Remove the early bail added in r75823 since we can run into anonymous
blocks when traversing the parents chain for clearing floats.
https://bugs.webkit.org/show_bug.cgi?id=54601
removeFloatingOrPositionedChildFromBlockLists tries to find the topmost
parent containing "this" block and then tries to remove it from its floats
list and mark all descendants blocks for layout. I added a bailout condition
in r75823 because we thought that if one of the parent render block does not
contain "this" float, then it is safe to assume that none of the grand parents
will have it. This is a wrong assumption since anonymous blocks do not have
float objects and we need to go higher in the chain to find the top most parent
containing this float. Instead of breaking out of the loop, it is ok to keep
traversing the chain till we find that parent. Otherwise, we will leave deleted
floats in the grand parents floats list.
Test: fast/block/float/floats-not-cleared-from-grand-parents.html
* rendering/RenderBox.cpp:
(WebCore::RenderBox::removeFloatingOrPositionedChildFromBlockLists):
2011-02-16 Abhishek Arya <inferno@chromium.org>
Reviewed by James Robinson.
Tests that we do not crash when floats are not cleared in cases where parents
chain has anonymous blocks.
https://bugs.webkit.org/show_bug.cgi?id=54601
* fast/block/float/floats-not-cleared-from-grand-parents-expected.txt: Added.
* fast/block/float/floats-not-cleared-from-grand-parents.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78775
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jamesr@google.com [Thu, 17 Feb 2011 02:54:27 +0000 (02:54 +0000)]
2011-02-16 James Robinson <jamesr@chromium.org>
Fix typo in chromium test_expectations - there is no WINDOWS (just WIN)
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78774
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Thu, 17 Feb 2011 02:52:49 +0000 (02:52 +0000)]
2011-02-16 Andreas Kling <kling@webkit.org>
Reviewed by Ryosuke Niwa.
Editing styles should not emit #RRGGBBAA colors
https://bugs.webkit.org/show_bug.cgi?id=54540
* editing/ApplyStyleCommand.cpp:
(WebCore::StyleChange::extractTextStyles): Use Color::serialized()
instead of Color::nameForRenderTreeAsText().
2011-02-16 Andreas Kling <kling@webkit.org>
Reviewed by Ryosuke Niwa.
Editing styles should not emit #RRGGBBAA colors
https://bugs.webkit.org/show_bug.cgi?id=54540
Added a test to editing/style/inline-style-container.html
that would cause invalid #RRGGBBAA output with the previous code.
* editing/execCommand/delete-image-in-anchor-expected.txt:
* editing/execCommand/script-tests/toggle-unlink.js:
* editing/execCommand/toggle-unlink-expected.txt:
* editing/style/fore-color-by-name-expected.txt:
* editing/style/inline-style-container-expected.txt:
* editing/style/script-tests/inline-style-container.js:
* editing/style/style-text-node-without-editable-parent-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78773
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 02:51:15 +0000 (02:51 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Update the GTK+ skipped list. Skip some SVG tests that now expose rounding
errors. Unskip a test which should have been unskipped by r78614. Skip
Acid2 tests, as they are currently failing on GTK+.
* platform/gtk/Skipped: Update the skipped list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78772
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jamesr@google.com [Thu, 17 Feb 2011 02:44:56 +0000 (02:44 +0000)]
2011-02-16 James Robinson <jamesr@chromium.org>
Update chromium baselines for 78751.
* platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.checksum:
* platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.png:
* platform/chromium-linux/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt: Added.
* platform/chromium-linux/svg/clip-path/clip-path-clipped-evenodd-twice-expected.checksum:
* platform/chromium-linux/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/masking-path-05-f-expected.checksum:
* platform/chromium-win/svg/W3C-SVG-1.1/masking-path-05-f-expected.png:
* platform/chromium-win/svg/W3C-SVG-1.1/masking-path-05-f-expected.txt:
* platform/chromium-win/svg/clip-path/clip-path-clipped-evenodd-twice-expected.checksum:
* platform/chromium-win/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78771
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
rniwa@webkit.org [Thu, 17 Feb 2011 02:32:43 +0000 (02:32 +0000)]
2011-02-16 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Kent Tamura.
Improve showTree of Range, Position, and VisiblePosition
https://bugs.webkit.org/show_bug.cgi?id=54536
Enhanced showTree of Range, Position, and VisiblePosition.
* dom/Position.cpp:
(WebCore::Position::showAnchorTypeAndOffset): Added; dumps "legacy" if the position
is a legacy position and also dumps anchor type.
(WebCore::Position::showTreeForThis): Calls showAnchorTypeAndOffset.
* dom/Position.h:
* dom/Range.cpp:
(showTree): No longer calls deprecatedEditingOffset.
* editing/VisiblePosition.cpp:
(WebCore::VisiblePosition::debugPosition): No longer included in release build.
Calls Position::showAnchorTypeAndOffset instead of manually calling deprecatedEditingOffset.
* editing/VisiblePosition.h:
* editing/VisibleSelection.cpp:
(WebCore::VisibleSelection::debugPosition): Ditto.
(WebCore::VisibleSelection::showTreeForThis): Ditto.
* editing/VisibleSelection.h:
* page/EventHandler.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78761
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pkasting@chromium.org [Thu, 17 Feb 2011 02:32:20 +0000 (02:32 +0000)]
Unreviewed, Chromium expectations update.
Removed duplicate expected results, update some test expectations.
* platform/chromium-mac/svg/clip-path/clip-path-clipped-evenodd-twice-expected.checksum: Removed.
* platform/chromium-mac/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78760
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jorlow@chromium.org [Thu, 17 Feb 2011 02:28:10 +0000 (02:28 +0000)]
2011-02-16 David Grogan <dgrogan@chromium.org>
Reviewed by Jeremy Orlow.
fix compile error introduced in 78752
https://bugs.webkit.org/show_bug.cgi?id=54604
* storage/IDBRequest.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78759
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jorlow@chromium.org [Thu, 17 Feb 2011 02:20:23 +0000 (02:20 +0000)]
2011-02-16 Jeremy Orlow <jorlow@chromium.org>
Back out IndexedDB change thats no longer necessary
https://bugs.webkit.org/show_bug.cgi?id=54603
Backing out 78645 as it turns out that it's not necessary.
* storage/IDBFactoryBackendImpl.cpp:
(WebCore::IDBFactoryBackendImpl::open):
* storage/IDBFactoryBackendImpl.h:
* storage/IDBFactoryBackendInterface.h:
2011-02-16 Jeremy Orlow <jorlow@chromium.org>
Back out IndexedDB change thats no longer necessary
https://bugs.webkit.org/show_bug.cgi?id=54603
Backing out 78645 as it turns out that it's not necessary.
* public/WebIDBFactory.h:
(WebKit::WebIDBFactory::open):
* src/AssertMatchingEnums.cpp:
* src/IDBFactoryBackendProxy.cpp:
* src/IDBFactoryBackendProxy.h:
* src/WebIDBFactoryImpl.cpp:
(WebKit::WebIDBFactoryImpl::open):
* src/WebIDBFactoryImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78758
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kbr@google.com [Thu, 17 Feb 2011 01:26:55 +0000 (01:26 +0000)]
2011-02-16 Kenneth Russell <kbr@google.com>
Unreviewed. Skip recently added tests for adjusting minimum timer
interval per page due to absence of
LayoutTestController.setMinimumTimerInterval.
* platform/mac-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78756
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 01:20:42 +0000 (01:20 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add the next set of GTK+ baselines for the Mozilla tables test suite.
* platform/gtk/Skipped: Unskip tests which now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78755
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 01:10:48 +0000 (01:10 +0000)]
2011-02-16 Brian Salomon <bsalomon@google.com>
Reviewed by James Robinson.
Skia's gpu backed just needs the correct context bound before drawing. It will bind the correct FBO itself and doing so externally confuses it unless resetContext is called.
No new tests required.
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::syncSoftwareCanvas):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78754
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 01:08:58 +0000 (01:08 +0000)]
2011-02-16 Mike Reed <reed@google.com>
Reviewed by Kenneth Russell.
Use non-asserting pack function for decoding images, since webgl may want
a non-premultiplied version of the image.
https://bugs.webkit.org/show_bug.cgi?id=54023
No new tests.
fast/canvas/webgl/gl-teximage.html
fast/canvas/webgl/tex-image-with-format-and-type.html
fast/canvas/webgl/texture-transparent-pixels-initialized.html
* platform/image-decoders/ImageDecoder.h:
(WebCore::ImageFrame::setRGBA):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78753
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jorlow@chromium.org [Thu, 17 Feb 2011 00:55:34 +0000 (00:55 +0000)]
2011-02-16 David Grogan <dgrogan@chromium.org>
Reviewed by Jeremy Orlow.
indexeddb: make setVersion fire blocked event if other connections are open
https://bugs.webkit.org/show_bug.cgi?id=53728
Tests: storage/indexeddb/set_version_blocked.html
storage/indexeddb/set_version_queue.html
* WebCore.gypi:
* bindings/js/JSEventCustom.cpp:
(WebCore::toJS):
* bindings/v8/custom/V8EventCustom.cpp:
(WebCore::toV8):
* dom/Event.cpp:
(WebCore::Event::isIDBVersionChangeEvent):
* dom/Event.h:
* dom/EventNames.h:
* dom/EventTarget.cpp:
(WebCore::EventTarget::toIDBVersionChangeRequest):
* dom/EventTarget.h:
* storage/IDBCallbacks.h:
* storage/IDBDatabase.cpp:
(WebCore::IDBDatabase::setVersion):
(WebCore::IDBDatabase::close):
* storage/IDBDatabase.h:
* storage/IDBDatabase.idl:
* storage/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::create):
(WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::version):
(WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::callbacks):
(WebCore::IDBDatabaseBackendImpl::PendingSetVersionCall::PendingSetVersionCall):
(WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
(WebCore::IDBDatabaseBackendImpl::setVersion):
(WebCore::IDBDatabaseBackendImpl::open):
(WebCore::IDBDatabaseBackendImpl::close):
* storage/IDBDatabaseBackendImpl.h:
* storage/IDBDatabaseBackendInterface.h:
* storage/IDBFactoryBackendImpl.cpp:
(WebCore::IDBFactoryBackendImpl::open):
* storage/IDBRequest.cpp:
(WebCore::IDBRequest::onBlocked):
(WebCore::IDBRequest::dispatchEvent):
(WebCore::IDBRequest::source):
* storage/IDBRequest.h:
* storage/IDBVersionChangeEvent.cpp: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
(WebCore::IDBVersionChangeEvent::create):
(WebCore::IDBVersionChangeEvent::IDBVersionChangeEvent):
(WebCore::IDBVersionChangeEvent::~IDBVersionChangeEvent):
(WebCore::IDBVersionChangeEvent::version):
* storage/IDBVersionChangeEvent.h: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
(WebCore::IDBVersionChangeEvent::isIDBVersionChangeEvent):
* storage/IDBVersionChangeEvent.idl: Added.
* storage/IDBVersionChangeRequest.cpp: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
(WebCore::IDBVersionChangeRequest::create):
(WebCore::IDBVersionChangeRequest::IDBVersionChangeRequest):
(WebCore::IDBVersionChangeRequest::~IDBVersionChangeRequest):
(WebCore::IDBVersionChangeRequest::onBlocked):
* storage/IDBVersionChangeRequest.h: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
* storage/IDBVersionChangeRequest.idl: Copied from Source/WebKit/chromium/src/WebIDBCallbacksImpl.h.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78752
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Thu, 17 Feb 2011 00:50:24 +0000 (00:50 +0000)]
2011-02-16 Robin Cao <robin.cao@torchmobile.com.cn>
Reviewed by James Robinson.
PlatformContextSkia::applyAntiAliasedClipPaths does not work for paths which have evenOdd property
https://bugs.webkit.org/show_bug.cgi?id=54336
We need to take fill type of paths into account when drawing them.
No new tests, covered by svg/W3C-SVG-1.1/masking-path-05-f.svg.
* platform/graphics/skia/PlatformContextSkia.cpp:
(WebCore::PlatformContextSkia::applyAntiAliasedClipPaths):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78751
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 00:50:23 +0000 (00:50 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add the next set of GTK+ Mozilla test suite results.
* platform/gtk/Skipped: Unskip tests that now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78750
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
joone.hur@collabora.co.uk [Thu, 17 Feb 2011 00:50:22 +0000 (00:50 +0000)]
2011-02-16 Joone Hur <joone.hur@collabora.co.uk>
Reviewed by Xan Lopez.
[GTK] Match more various WebKit API enum values with WebCore enum values
https://bugs.webkit.org/show_bug.cgi?id=54352
AssertMatchingEnums.cpp was added to assert that various WebKit API enum values
continue matching WebCore defined enum values in the following changeset.
http://trac.webkit.org/changeset/77868
However, there are already enum values that have been asserted in other files,
so these assert macros defined need to be moved to AssertMatchingEnum.cpp.
* WebCoreSupport/AssertMatchingEnums.cpp: Add more enum values to be asserted.
* webkit/webkitwebnavigationaction.cpp:
(webkit_web_navigation_action_class_init): Move the assert macros of
WEBKIT_WEB_NAVIGATION_REASON_* to AssertMatchingEnums.cpp.
* webkit/webkitwebsettings.cpp:
(webkit_web_settings_class_init): Move the assert macros of WEBKIT_EDITING_BEHAVIOR_*
to AssertMatchingEnums.cpp.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78749
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 00:35:02 +0000 (00:35 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add another group of GTK+ Mozilla test results.
* platform/gtk/Skipped: Unskip tests which now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78748
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric@webkit.org [Thu, 17 Feb 2011 00:31:06 +0000 (00:31 +0000)]
2011-02-16 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
REGRESSION (r61234): washingtonpost.com top bar looks wrong, doesn't animate
https://bugs.webkit.org/show_bug.cgi?id=53717
* http/tests/local/absolute-url-strip-whitespace-expected.txt: Added.
* http/tests/local/absolute-url-strip-whitespace.html: Added.
* http/tests/resources/absolute-url-strip-whitespace.js: Added.
2011-02-16 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
REGRESSION (r61234): washingtonpost.com top bar looks wrong, doesn't animate
https://bugs.webkit.org/show_bug.cgi?id=53717
Test: http/tests/local/absolute-url-strip-whitespace.html
This was theoretically tested already in fast/url, however the
tests were disabled due to lack of any clean way to test absolute
url parsing in JavaScript. I added a test which mimics the sites
behavior using our local http server. There seems to be no other
way to test this at the moment.
* platform/KURL.cpp:
(WebCore::shouldTrimFromURL):
- Any char 0-20 should be removed (matches google-url and other browsers).
(WebCore::KURL::init):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78747
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 00:24:25 +0000 (00:24 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add another batch of GTK+ Mozilla test suite results.
* platform/gtk/Skipped: Unskip tests which now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78746
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Thu, 17 Feb 2011 00:05:25 +0000 (00:05 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add another group of GTK+ Mozilla test suite baselines.
* platform/gtk/Skipped: Unskip tests that now have baselines.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78745
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
inferno@chromium.org [Thu, 17 Feb 2011 00:00:48 +0000 (00:00 +0000)]
2011-02-16 Abhishek Arya <inferno@chromium.org>
Reviewed by James Robinson.
Tests that we do not crash when finding the text fragment for a first letter.
https://bugs.webkit.org/show_bug.cgi?id=54568
* fast/css/first-letter-text-fragment-crash-expected.txt: Added.
* fast/css/first-letter-text-fragment-crash.html: Added.
2011-02-16 Abhishek Arya <inferno@chromium.org>
Reviewed by James Robinson.
Traverse the next sibling tree to find the text fragment for a first letter.
https://bugs.webkit.org/show_bug.cgi?id=54568
We cannot assume that the next sibling to the first letter will a text fragment
since there can be intermediatary Apple-style-span inline elements wrapping the
text fragment. So, we traverse the next sibling tree to find it.
Test: fast/css/first-letter-text-fragment-crash.html
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::updateFirstLetter):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78744
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 16 Feb 2011 23:57:28 +0000 (23:57 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] r78718 introduced some assertion failures in some HTTP tests
https://bugs.webkit.org/show_bug.cgi?id=54592
No new tests. This fix is covered by tests that are currently failing.
* platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateFromSoupMessage): Instead of setting the existing
headers and then selectively removing ones that do not exist in the updated soup
message, just remove all headers from the map first.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78743
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 16 Feb 2011 23:54:10 +0000 (23:54 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Add the next batch of GTK+ Mozilla test results.
* platform/gtk/Skipped: Unskip tests which now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78742
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 16 Feb 2011 23:37:10 +0000 (23:37 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Rebaseline media/controls-without-preload.html after r78695.
* media/controls-without-preload-expected.txt: Rebaselined.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78741
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pkasting@chromium.org [Wed, 16 Feb 2011 23:17:52 +0000 (23:17 +0000)]
Unreviewed, Chromium expectations update.
https://bugs.webkit.org/show_bug.cgi?id=54579
Add expectations for where V8 passes tests JSC doesn't, or merely has
different errors; mark other failing tests with a V8 tracking bug.
* platform/chromium/fast/js/mozilla: Added.
* platform/chromium/fast/js/mozilla/strict: Added.
* platform/chromium/fast/js/mozilla/strict/11.1.5-expected.txt: Added.
* platform/chromium/fast/js/mozilla/strict/12.14.1-expected.txt: Added.
* platform/chromium/fast/js/mozilla/strict/13.1-expected.txt: Added.
* platform/chromium/fast/js/mozilla/strict/15.3.4.5-expected.txt: Added.
* platform/chromium/fast/js/mozilla/strict/15.3.5.2-expected.txt: Added.
* platform/chromium/fast/js/mozilla/strict/regress-532254-expected.txt: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78740
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Wed, 16 Feb 2011 23:08:11 +0000 (23:08 +0000)]
2011-02-16 Mihai Parparita <mihaip@chromium.org>
Unreviewed chromium-gpu expectations update. Add more tests that fail
because of bug 54409.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78739
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jianli@chromium.org [Wed, 16 Feb 2011 22:46:21 +0000 (22:46 +0000)]
[V8] DataView constructor can be applied as a regular method
https://bugs.webkit.org/show_bug.cgi?id=54563
Reviewed by Kenneth Russell.
Source/WebCore:
Tested by adding a new test case to fast/canvas/webgl/data-view-test.html.
* bindings/v8/custom/V8DataViewCustom.cpp:
(WebCore::V8DataView::constructorCallback):
LayoutTests:
Added a new test case.
* fast/canvas/webgl/data-view-test-expected.txt:
* fast/canvas/webgl/data-view-test.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78738
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrowe@apple.com [Wed, 16 Feb 2011 22:30:18 +0000 (22:30 +0000)]
Roll over some ChangeLogs.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78737
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Wed, 16 Feb 2011 22:25:39 +0000 (22:25 +0000)]
2011-02-16 Martin Robinson <mrobinson@igalia.com>
Begin adding GTK+ baselines for Mozilla test suites.
* platform/gtk/Skipped: Unskip tests which now have results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78736
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pkasting@chromium.org [Wed, 16 Feb 2011 21:52:14 +0000 (21:52 +0000)]
Unreviewed, Chromium test expectations update.
Remove a mac-leopard expectation since the Chromium Mac 10.5 bots at
least seem to be generating results that match the platform/mac images.
* platform/chromium/test_expectations.txt:
* platform/mac-leopard/fast/forms/select-empty-option-height-expected.checksum: Removed.
* platform/mac-leopard/fast/forms/select-empty-option-height-expected.png: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78734
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
barraclough@apple.com [Wed, 16 Feb 2011 21:35:19 +0000 (21:35 +0000)]
Bug 54524 - Allow JSObject to fully utilize cell's capacity for inline storage.
Reviewed by Geoff Garen.
Currently JSObject is both directly instantiated for regular JS objects, and
derived to implement subtypes. A consequence of this is that we need to ensure
that sufficient space from the cell is left unused and available for any data
members that will be introduced by subclasses of JSObject. By restructuring
the internal storage array out of JSObject we can increase the size in the
internal storage for regular objects.
Add classes JSFinalObject and JSNonFinalObject. JSNonFinalObject retains as
much additional capacity as is currently available to allow for data members
in subclasses. JSFinalObject utilizes all available space for internal storage,
and only allows construction through JSFinalObject::create().
Source/JavaScriptCore:
The additional storage made available in the JSObject means that we need no
longer rely on a union of the internal storage with a pointer to storage that
is only valid for external storage. This means we can go back to always having
a valid pointer to property storage, regardless of whether this is internal or
external. This simplifies some cases of access to the array from C code, and
significantly simplifies JIT access, since repatching no longer needs to be
able to change between a load of the storage pointer / a LEA of the internal
storage.
* API/JSObjectRef.cpp:
(JSObjectMake):
* assembler/ARMAssembler.h:
* assembler/ARMv7Assembler.h:
* assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::repatchPointer):
* assembler/MIPSAssembler.h:
* assembler/MacroAssemblerARM.h:
* assembler/MacroAssemblerARMv7.h:
* assembler/MacroAssemblerMIPS.h:
* assembler/MacroAssemblerX86.h:
* assembler/MacroAssemblerX86_64.h:
* assembler/RepatchBuffer.h:
* assembler/X86Assembler.h:
* debugger/DebuggerActivation.cpp:
(JSC::DebuggerActivation::DebuggerActivation):
* debugger/DebuggerActivation.h:
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JIT.h:
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_resolve_global):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_resolve_global):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::compileGetDirectOffset):
(JSC::JIT::emit_op_get_by_pname):
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emit_op_put_by_id):
(JSC::JIT::compilePutDirectOffset):
(JSC::JIT::patchGetByIdSelf):
(JSC::JIT::patchPutByIdReplace):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::compileGetByIdHotPath):
(JSC::JIT::emit_op_put_by_id):
(JSC::JIT::compilePutDirectOffset):
(JSC::JIT::compileGetDirectOffset):
(JSC::JIT::patchGetByIdSelf):
(JSC::JIT::patchPutByIdReplace):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):
(JSC::JIT::emit_op_get_by_pname):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* runtime/Arguments.h:
(JSC::Arguments::Arguments):
* runtime/ErrorInstance.cpp:
(JSC::ErrorInstance::ErrorInstance):
* runtime/ErrorInstance.h:
* runtime/ExceptionHelpers.cpp:
(JSC::InterruptedExecutionError::InterruptedExecutionError):
(JSC::TerminatedExecutionError::TerminatedExecutionError):
* runtime/JSArray.cpp:
(JSC::JSArray::JSArray):
* runtime/JSArray.h:
* runtime/JSByteArray.cpp:
(JSC::JSByteArray::JSByteArray):
* runtime/JSByteArray.h:
(JSC::JSByteArray::JSByteArray):
* runtime/JSFunction.cpp:
(JSC::JSFunction::getOwnPropertySlot):
* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
* runtime/JSGlobalObject.h:
(JSC::constructEmptyObject):
* runtime/JSNotAnObject.h:
(JSC::JSNotAnObject::JSNotAnObject):
* runtime/JSObject.cpp:
(JSC::JSObject::createInheritorID):
(JSC::JSObject::allocatePropertyStorage):
* runtime/JSObject.h:
(JSC::JSObject::propertyStorage):
(JSC::JSNonFinalObject::JSNonFinalObject):
(JSC::JSNonFinalObject::createStructure):
(JSC::JSFinalObject::create):
(JSC::JSFinalObject::createStructure):
(JSC::JSFinalObject::JSFinalObject):
(JSC::JSObject::offsetOfInlineStorage):
(JSC::constructEmptyObject):
(JSC::createEmptyObjectStructure):
(JSC::JSObject::JSObject):
(JSC::JSObject::~JSObject):
(JSC::Structure::isUsingInlineStorage):
* runtime/JSObjectWithGlobalObject.cpp:
(JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
* runtime/JSObjectWithGlobalObject.h:
(JSC::JSObjectWithGlobalObject::JSObjectWithGlobalObject):
* runtime/JSTypeInfo.h:
(JSC::TypeInfo::TypeInfo):
(JSC::TypeInfo::isVanilla):
* runtime/JSVariableObject.h:
(JSC::JSVariableObject::JSVariableObject):
* runtime/JSWrapperObject.h:
(JSC::JSWrapperObject::JSWrapperObject):
* runtime/ObjectConstructor.cpp:
(JSC::constructObject):
* runtime/ObjectPrototype.cpp:
(JSC::ObjectPrototype::ObjectPrototype):
* runtime/ObjectPrototype.h:
* runtime/StrictEvalActivation.cpp:
(JSC::StrictEvalActivation::StrictEvalActivation):
* runtime/StrictEvalActivation.h:
* runtime/Structure.cpp:
(JSC::Structure::Structure):
(JSC::Structure::growPropertyStorageCapacity):
Source/JavaScriptGlue:
* UserObjectImp.cpp:
* UserObjectImp.h:
Update JSObject -> JSNonFinalObject.
Source/WebCore:
* bindings/js/JSDOMWindowShell.h:
Update JSObject -> JSNonFinalObject.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78732
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
oliver@apple.com [Wed, 16 Feb 2011 21:26:26 +0000 (21:26 +0000)]
2011-02-16 Oliver Hunt <oliver@apple.com>
Reviewed by Geoffrey Garen.
Import some mozilla js strict mode regression tests
https://bugs.webkit.org/show_bug.cgi?id=54579
Add a bunch of the mozilla strict mode tests, the majority of the tests pass.
Those that fail fall into two categories
* Tests for features we haven't implemented
* Tests that test behaviour of arrays and arguments with non-writable properties
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-direct-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-normalcaller-indirect-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-direct-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-fun-strictcaller-indirect-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-direct-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-normalcaller-indirect-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-direct-strictcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-normalcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-normalcode.html: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-strictcode-expected.txt: Added.
* fast/js/mozilla/eval/exhaustive-global-strictcaller-indirect-strictcode.html: Added.
* fast/js/mozilla/eval/script-tests/TEMPLATE.html: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-direct-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-direct-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-indirect-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-normalcaller-indirect-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-direct-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-direct-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-indirect-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-fun-strictcaller-indirect-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-direct-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-direct-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-indirect-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-normalcaller-indirect-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-direct-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-direct-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-indirect-normalcode.js: Added.
* fast/js/mozilla/eval/script-tests/exhaustive-global-strictcaller-indirect-strictcode.js: Added.
* fast/js/mozilla/eval/script-tests/undeclared-name-in-nested-strict-eval.js: Added.
* fast/js/mozilla/eval/undeclared-name-in-nested-strict-eval-expected.txt: Added.
* fast/js/mozilla/eval/undeclared-name-in-nested-strict-eval.html: Added.
* fast/js/mozilla/resources/js-test-post-async.js: Added.
* fast/js/mozilla/resources/js-test-post-function.js: Added.
* fast/js/mozilla/resources/js-test-post-n.js: Added.
* fast/js/mozilla/resources/js-test-post.js: Added.
* fast/js/mozilla/resources/js-test-pre.js: Added.
* fast/js/mozilla/resources/js-test-style.css: Added.
* fast/js/mozilla/resources/mozilla-es5-shell.js: Added.
* fast/js/mozilla/resources/mozilla-shell.js: Added.
* fast/js/mozilla/strict/10.4.2-expected.txt: Added.
* fast/js/mozilla/strict/10.4.2.html: Added.
* fast/js/mozilla/strict/10.4.3-expected.txt: Added.
* fast/js/mozilla/strict/10.4.3.html: Added.
* fast/js/mozilla/strict/10.6-expected.txt: Added.
* fast/js/mozilla/strict/10.6.html: Added.
* fast/js/mozilla/strict/11.1.5-expected.txt: Added.
* fast/js/mozilla/strict/11.1.5.html: Added.
* fast/js/mozilla/strict/11.13.1-expected.txt: Added.
* fast/js/mozilla/strict/11.13.1.html: Added.
* fast/js/mozilla/strict/11.13.2-expected.txt: Added.
* fast/js/mozilla/strict/11.13.2.html: Added.
* fast/js/mozilla/strict/11.3.1-expected.txt: Added.
* fast/js/mozilla/strict/11.3.1.html: Added.
* fast/js/mozilla/strict/11.3.2-expected.txt: Added.
* fast/js/mozilla/strict/11.3.2.html: Added.
* fast/js/mozilla/strict/11.4.1-expected.txt: Added.
* fast/js/mozilla/strict/11.4.1.html: Added.
* fast/js/mozilla/strict/11.4.4-expected.txt: Added.
* fast/js/mozilla/strict/11.4.4.html: Added.
* fast/js/mozilla/strict/11.4.5-expected.txt: Added.
* fast/js/mozilla/strict/11.4.5.html: Added.
* fast/js/mozilla/strict/12.10.1-expected.txt: Added.
* fast/js/mozilla/strict/12.10.1.html: Added.
* fast/js/mozilla/strict/12.14.1-expected.txt: Added.
* fast/js/mozilla/strict/12.14.1.html: Added.
* fast/js/mozilla/strict/12.2.1-expected.txt: Added.
* fast/js/mozilla/strict/12.2.1.html: Added.
* fast/js/mozilla/strict/13.1-expected.txt: Added.
* fast/js/mozilla/strict/13.1.html: Added.
* fast/js/mozilla/strict/15.10.7-expected.txt: Added.
* fast/js/mozilla/strict/15.10.7.html: Added.
* fast/js/mozilla/strict/15.3.4.5-expected.txt: Added.
* fast/js/mozilla/strict/15.3.4.5.html: Added.
* fast/js/mozilla/strict/15.3.5.1-expected.txt: Added.
* fast/js/mozilla/strict/15.3.5.1.html: Added.
* fast/js/mozilla/strict/15.3.5.2-expected.txt: Added.
* fast/js/mozilla/strict/15.3.5.2.html: Added.
* fast/js/mozilla/strict/15.4.4.12-expected.txt: Added.
* fast/js/mozilla/strict/15.4.4.12.html: Added.
* fast/js/mozilla/strict/15.4.4.13-expected.txt: Added.
* fast/js/mozilla/strict/15.4.4.13.html: Added.
* fast/js/mozilla/strict/15.4.4.6-expected.txt: Added.
* fast/js/mozilla/strict/15.4.4.6.html: Added.
* fast/js/mozilla/strict/15.4.4.8-expected.txt: Added.
* fast/js/mozilla/strict/15.4.4.8.html: Added.
* fast/js/mozilla/strict/15.4.4.9-expected.txt: Added.
* fast/js/mozilla/strict/15.4.4.9.html: Added.
* fast/js/mozilla/strict/15.4.5.1-expected.txt: Added.
* fast/js/mozilla/strict/15.4.5.1.html: Added.
* fast/js/mozilla/strict/15.5.5.1-expected.txt: Added.
* fast/js/mozilla/strict/15.5.5.1.html: Added.
* fast/js/mozilla/strict/15.5.5.2-expected.txt: Added.
* fast/js/mozilla/strict/15.5.5.2.html: Added.
* fast/js/mozilla/strict/8.12.5-expected.txt: Added.
* fast/js/mozilla/strict/8.12.5.html: Added.
* fast/js/mozilla/strict/8.12.7-expected.txt: Added.
* fast/js/mozilla/strict/8.12.7.html: Added.
* fast/js/mozilla/strict/8.7.2-expected.txt: Added.
* fast/js/mozilla/strict/8.7.2.html: Added.
* fast/js/mozilla/strict/B.1.1-expected.txt: Added.
* fast/js/mozilla/strict/B.1.1.html: Added.
* fast/js/mozilla/strict/B.1.2-expected.txt: Added.
* fast/js/mozilla/strict/B.1.2.html: Added.
* fast/js/mozilla/strict/assign-to-callee-name-expected.txt: Added.
* fast/js/mozilla/strict/assign-to-callee-name.html: Added.
* fast/js/mozilla/strict/directive-prologue-01-expected.txt: Added.
* fast/js/mozilla/strict/directive-prologue-01.html: Added.
* fast/js/mozilla/strict/eval-variable-environment-expected.txt: Added.
* fast/js/mozilla/strict/eval-variable-environment.html: Added.
* fast/js/mozilla/strict/function-name-arity-expected.txt: Added.
* fast/js/mozilla/strict/function-name-arity.html: Added.
* fast/js/mozilla/strict/primitive-this-no-writeback-expected.txt: Added.
* fast/js/mozilla/strict/primitive-this-no-writeback.html: Added.
* fast/js/mozilla/strict/regress-532041-expected.txt: Added.
* fast/js/mozilla/strict/regress-532041.html: Added.
* fast/js/mozilla/strict/regress-532254-expected.txt: Added.
* fast/js/mozilla/strict/regress-532254.html: Added.
* fast/js/mozilla/strict/regress-599159-expected.txt: Added.
* fast/js/mozilla/strict/regress-599159.html: Added.
* fast/js/mozilla/strict/script-tests/10.4.2.js: Added.
* fast/js/mozilla/strict/script-tests/10.4.3.js: Added.
* fast/js/mozilla/strict/script-tests/10.6.js: Added.
* fast/js/mozilla/strict/script-tests/11.1.5.js: Added.
* fast/js/mozilla/strict/script-tests/11.13.1.js: Added.
* fast/js/mozilla/strict/script-tests/11.13.2.js: Added.
* fast/js/mozilla/strict/script-tests/11.3.1.js: Added.
* fast/js/mozilla/strict/script-tests/11.3.2.js: Added.
* fast/js/mozilla/strict/script-tests/11.4.1.js: Added.
* fast/js/mozilla/strict/script-tests/11.4.4.js: Added.
* fast/js/mozilla/strict/script-tests/11.4.5.js: Added.
* fast/js/mozilla/strict/script-tests/12.10.1.js: Added.
* fast/js/mozilla/strict/script-tests/12.14.1.js: Added.
* fast/js/mozilla/strict/script-tests/12.2.1.js: Added.
* fast/js/mozilla/strict/script-tests/13.1.js: Added.
* fast/js/mozilla/strict/script-tests/15.10.7.js: Added.
* fast/js/mozilla/strict/script-tests/15.3.4.5.js: Added.
* fast/js/mozilla/strict/script-tests/15.3.5.1.js: Added.
* fast/js/mozilla/strict/script-tests/15.3.5.2.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.4.12.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.4.13.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.4.6.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.4.8.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.4.9.js: Added.
* fast/js/mozilla/strict/script-tests/15.4.5.1.js: Added.
* fast/js/mozilla/strict/script-tests/15.5.5.1.js: Added.
* fast/js/mozilla/strict/script-tests/15.5.5.2.js: Added.
* fast/js/mozilla/strict/script-tests/8.12.5.js: Added.
* fast/js/mozilla/strict/script-tests/8.12.7.js: Added.
* fast/js/mozilla/strict/script-tests/8.7.2.js: Added.
* fast/js/mozilla/strict/script-tests/B.1.1.js: Added.
* fast/js/mozilla/strict/script-tests/B.1.2.js: Added.
* fast/js/mozilla/strict/script-tests/TEMPLATE.html: Added.
* fast/js/mozilla/strict/script-tests/assign-to-callee-name.js: Added.
* fast/js/mozilla/strict/script-tests/directive-prologue-01.js: Added.
* fast/js/mozilla/strict/script-tests/eval-variable-environment.js: Added.
* fast/js/mozilla/strict/script-tests/function-name-arity.js: Added.
* fast/js/mozilla/strict/script-tests/primitive-this-no-writeback.js: Added.
* fast/js/mozilla/strict/script-tests/regress-532041.js: Added.
* fast/js/mozilla/strict/script-tests/regress-532254.js: Added.
* fast/js/mozilla/strict/script-tests/regress-599159.js: Added.
* fast/js/mozilla/strict/script-tests/strict-this-is-not-truthy.js: Added.
* fast/js/mozilla/strict/script-tests/this-for-function-expression-recursion.js: Added.
* fast/js/mozilla/strict/script-tests/unbrand-this.js: Added.
* fast/js/mozilla/strict/strict-this-is-not-truthy-expected.txt: Added.
* fast/js/mozilla/strict/strict-this-is-not-truthy.html: Added.
* fast/js/mozilla/strict/this-for-function-expression-recursion-expected.txt: Added.
* fast/js/mozilla/strict/this-for-function-expression-recursion.html: Added.
* fast/js/mozilla/strict/unbrand-this-expected.txt: Added.
* fast/js/mozilla/strict/unbrand-this.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78731
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 16 Feb 2011 20:50:58 +0000 (20:50 +0000)]
2011-02-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Always disable the responsiveness timer when showing a popup menu
https://bugs.webkit.org/show_bug.cgi?id=54578
<rdar://problem/
9009170>
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::showPopupMenu):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78730
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca@apple.com [Wed, 16 Feb 2011 20:38:43 +0000 (20:38 +0000)]
2011-02-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Assertion failure in DrawingAreaImpl::display when calling WKPageForceRepaint on a page that uses accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=54575
<rdar://problem/
8979594>
Add test.
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp: Added.
(TestWebKitAPI::didForceRepaint):
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/simple-accelerated-compositing.html: Added.
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
* TestWebKitAPI/win/copy-resources.cmd:
2011-02-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Assertion failure in DrawingAreaImpl::display when calling WKPageForceRepaint on a page that uses accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=54575
<rdar://problem/
8979594>
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::forceRepaint):
If there is a layer tree host, ask it to force a repaint instead.
* WebProcess/WebPage/LayerTreeHost.h:
* WebProcess/WebPage/mac/LayerTreeHostMac.h:
* WebProcess/WebPage/mac/LayerTreeHostMac.mm:
(WebKit::LayerTreeHostMac::forceRepaint):
Flush any layer changes, then flush and synchronize the current CA transaction.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78729
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
inferno@chromium.org [Wed, 16 Feb 2011 20:01:13 +0000 (20:01 +0000)]
2011-02-16 Carol Szabo <carol.szabo@nokia.com>
Reviewed by David Hyatt.
REGRESSION: Use after free in WebCore::RenderCounter::destroyCounterNode
https://bugs.webkit.org/show_bug.cgi?id=54478
Test: fast/css/counters/render-tree-reorg-crash.html
* rendering/RenderCounter.cpp:
(WebCore::findPlaceForCounter):
Fixed typo. The code was still walking sometimes the renderer tree
instead of the element tree as intended.
2011-02-16 Carol Szabo <carol.szabo@nokia.com>
Reviewed by David Hyatt.
REGRESSION: Use after free in WebCore::RenderCounter::destroyCounterNode
https://bugs.webkit.org/show_bug.cgi?id=54478
Added this test, to evidence a bug not previously caught by the
Layout tests.
* fast/css/counters/render-tree-reorg-crash-expected.txt: Added.
* fast/css/counters/render-tree-reorg-crash.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78728
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
oliver@apple.com [Wed, 16 Feb 2011 19:31:16 +0000 (19:31 +0000)]
2011-02-16 Oliver Hunt <oliver@apple.com>
Reviewed by Geoff Garen.
Incorrect handling of global writes in dynamic contexts
https://bugs.webkit.org/show_bug.cgi?id=49383
Add a few tests to ensure that global writes are actually
allowed inside dynamic scopes.
* fast/js/basic-strict-mode-expected.txt:
* fast/js/script-tests/basic-strict-mode.js:
2011-02-16 Oliver Hunt <oliver@apple.com>
Reviewed by Geoff Garen.
Incorrect handling of global writes in dynamic contexts
https://bugs.webkit.org/show_bug.cgi?id=49383
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
Can't use the existing callframe to return an uncaught exception
as by definition that callframe has already been torn down.
* parser/ASTBuilder.h:
(JSC::ASTBuilder::ASTBuilder):
(JSC::ASTBuilder::varDeclarations):
(JSC::ASTBuilder::funcDeclarations):
(JSC::ASTBuilder::features):
(JSC::ASTBuilder::numConstants):
(JSC::ASTBuilder::createFuncDeclStatement):
(JSC::ASTBuilder::addVar):
(JSC::ASTBuilder::incConstants):
(JSC::ASTBuilder::usesThis):
(JSC::ASTBuilder::usesCatch):
(JSC::ASTBuilder::usesClosures):
(JSC::ASTBuilder::usesArguments):
(JSC::ASTBuilder::usesAssignment):
(JSC::ASTBuilder::usesWith):
(JSC::ASTBuilder::usesEval):
Don't need a vector of scopes in the ASTBuilder
* runtime/Operations.h:
(JSC::resolveBase):
In strict mode the optimisation that we use to skip a lookup
on the global object is incorrect and lead to us always
disallowing global writes when we needed to do a dynamic slot
lookup. Now the strict mode path actually checks for the
property.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78727
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap@apple.com [Wed, 16 Feb 2011 19:13:46 +0000 (19:13 +0000)]
Reviewed by Anders Carlsson.
https://bugs.webkit.org/show_bug.cgi?id=54572
REGRESSION (WebKit2): Print Backgrounds checkbox has no effect for DOM initiated printing
* UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::preferencesDidChange): Preferences need
to be propagated to Web process during synchronous printing.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78726
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Wed, 16 Feb 2011 18:48:13 +0000 (18:48 +0000)]
2011-02-16 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed rebaseline of SVG tests expectations for Linux after r78720.
LayoutTests/platform/chromium-linux/svg/custom/circular-marker-reference-2-expected.txt
LayoutTests/platform/chromium-linux/svg/custom/non-circular-marker-reference-expected.txt
LayoutTests/platform/chromium-linux/svg/custom/non-scaling-stroke-markers-expected.txt
LayoutTests/platform/chromium-linux/svg/hixie/links/001-expected.txt
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78725
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Wed, 16 Feb 2011 18:33:22 +0000 (18:33 +0000)]
2011-02-16 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed rebaseline of SVG tests expectations for Mac.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78723
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 16 Feb 2011 18:20:18 +0000 (18:20 +0000)]
2011-02-16 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Pixel tests differences on 10.6.6 32bit vs. 64bit
https://bugs.webkit.org/show_bug.cgi?id=54474
Update gtk baseline using the 64bit debug bot - maybe we have another rounding problem on gtk. Let's see.
* platform/gtk/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
* platform/gtk/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
* platform/gtk/svg/custom/circular-marker-reference-1-expected.txt:
* platform/gtk/svg/custom/circular-marker-reference-3-expected.txt:
* platform/gtk/svg/custom/circular-marker-reference-4-expected.txt:
* platform/gtk/svg/custom/non-scaling-stroke-markers-expected.txt:
* platform/gtk/svg/custom/resource-invalidate-on-target-update-expected.txt:
* platform/gtk/svg/custom/stroked-pattern-expected.txt:
* platform/gtk/svg/custom/text-rotated-gradient-expected.txt:
* platform/gtk/svg/custom/use-css-events-expected.txt:
* platform/gtk/svg/custom/use-detach-expected.txt:
* platform/gtk/svg/filters/filterRes-expected.txt:
* platform/gtk/svg/hixie/links/001-expected.txt:
* platform/gtk/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
* platform/gtk/svg/text/small-fonts-2-expected.txt:
* platform/gtk/svg/text/text-align-04-b-expected.txt:
* platform/gtk/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
* platform/gtk/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78722
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hans@chromium.org [Wed, 16 Feb 2011 18:13:06 +0000 (18:13 +0000)]
2011-02-16 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
IndexedDB: Inject auto increment keys via key path on insertion
https://bugs.webkit.org/show_bug.cgi?id=54457
Prepare to test injection of auto increment key. Keep it commented out
until implemented Chromium-side.
* storage/indexeddb/objectstore-autoincrement-expected.txt:
* storage/indexeddb/objectstore-autoincrement.html:
2011-02-16 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
IndexedDB: Inject auto increment keys via key path on insertion
https://bugs.webkit.org/show_bug.cgi?id=54457
Inject auto increment keys via key path for object stores using key
path and auto increment.
* bindings/v8/IDBBindingUtilities.cpp:
(WebCore::LocalContext::getNthValueOnKeyPath):
(WebCore::createIDBKeyFromSerializedValueAndKeyPath):
(WebCore::injectIDBKeyIntoSerializedValue):
* bindings/v8/IDBBindingUtilities.h:
* platform/chromium/PlatformBridge.h:
* storage/IDBKeyPathBackendImpl.cpp:
(IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue):
* storage/IDBKeyPathBackendImpl.h:
* storage/IDBObjectStoreBackendImpl.cpp:
(WebCore::injectKeyIntoKeyPath):
(WebCore::IDBObjectStoreBackendImpl::selectKeyForPut):
(WebCore::IDBObjectStoreBackendImpl::putInternal):
* storage/IDBObjectStoreBackendImpl.h:
* storage/chromium/IDBKeyPathBackendImpl.cpp:
(WebCore::IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue):
2011-02-16 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
IndexedDB: Inject auto increment keys via key path on insertion
https://bugs.webkit.org/show_bug.cgi?id=54457
Support for injecting keys into objects via key path.
* public/WebIDBKey.h:
* public/WebKitClient.h:
(WebKit::WebKitClient::injectIDBKeyIntoSerializedValue):
* src/PlatformBridge.cpp:
(WebCore::PlatformBridge::injectIDBKeyIntoSerializedValue):
* src/WebIDBKey.cpp:
(WebKit::WebIDBKey::injectIDBKeyIntoSerializedValue):
* tests/IDBBindingUtilitiesTest.cpp:
(WebCore::injectKey):
(WebCore::checkInjection):
(WebCore::checkInjectionFails):
(WebCore::TEST):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78721
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
zimmermann@webkit.org [Wed, 16 Feb 2011 17:59:35 +0000 (17:59 +0000)]
2011-02-16 Nikolas Zimmermann <nzimmermann@rim.com>
Not reviewed.
Pixel tests differences on 10.6.6 32bit vs. 64bit
https://bugs.webkit.org/show_bug.cgi?id=54474
Update mac-leopard/win baselines. I rebaselined the wrong platforms in my last commit.
* platform/mac-leopard/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
* platform/mac-leopard/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
* platform/mac-leopard/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
* platform/mac-leopard/svg/custom/circular-marker-reference-2-expected.txt:
* platform/mac-leopard/svg/custom/non-circular-marker-reference-expected.txt:
* platform/mac-leopard/svg/custom/non-scaling-stroke-markers-expected.txt:
* platform/mac-leopard/svg/custom/stroked-pattern-expected.txt:
* platform/mac-leopard/svg/custom/text-rotated-gradient-expected.txt:
* platform/mac-leopard/svg/custom/use-detach-expected.txt:
* platform/mac-leopard/svg/hixie/links/001-expected.txt:
* platform/mac-leopard/svg/text/small-fonts-2-expected.txt:
* platform/win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt: Added.
* platform/win/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt: Added.
* platform/win/svg/custom/circular-marker-reference-2-expected.txt: Added.
* platform/win/svg/custom/non-circular-marker-reference-expected.txt: Added.
* platform/win/svg/custom/non-scaling-stroke-markers-expected.txt: Added.
* platform/win/svg/custom/stroked-pattern-expected.txt: Added.
* platform/win/svg/custom/text-rotated-gradient-expected.txt: Added.
* platform/win/svg/custom/use-detach-expected.txt: Added.
* platform/win/svg/hixie/links: Added.
* platform/win/svg/hixie/links/001-expected.txt: Added.
* platform/win/svg/text/small-fonts-2-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78720
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Wed, 16 Feb 2011 17:48:05 +0000 (17:48 +0000)]
2011-02-16 Mikhail Naganov <mnaganov@chromium.org>
[Chromium] Unreviewed rebaseline of SVG tests expectations for Windows.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78719
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sergio@webkit.org [Wed, 16 Feb 2011 17:47:11 +0000 (17:47 +0000)]
2011-02-16 Sergio Villar Senin <svillar@igalia.com>
Reviewed by Martin Robinson.
[Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
https://bugs.webkit.org/show_bug.cgi?id=54537
Unskipped http/tests/security/no-referrer.html.
* platform/gtk/Skipped:
2011-02-16 Sergio Villar Senin <svillar@igalia.com>
Reviewed by Martin Robinson.
[Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
https://bugs.webkit.org/show_bug.cgi?id=54537
Headers removed from the SoupMessage should be also removed from
the ResourceRequest when updating the latter from the former.
* platform/network/soup/ResourceRequestSoup.cpp:
(WebCore::ResourceRequest::updateFromSoupMessage):
2011-02-16 Sergio Villar Senin <svillar@igalia.com>
Reviewed by Martin Robinson.
[Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
https://bugs.webkit.org/show_bug.cgi?id=54537
Added handler for resource-request-starting emitted in
FrameLoader's willSendRequest(). The current implementation
removes the headers set in setWillSendRequestClearHeader.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(willSendRequestCallback):
(createWebView):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78718
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
loislo@chromium.org [Wed, 16 Feb 2011 17:17:58 +0000 (17:17 +0000)]
2011-02-16 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: split all the functions of Inspector backend API by domain.
https://bugs.webkit.org/show_bug.cgi?id=54558
We have a number of functions from different domains in single instance of InspectorBackend.
It'd be better to split the functions by their domains.
As example 'evaluate' will be moved from InspectorBackend to RuntimeAgent container.
* http/tests/inspector/console-xhr-logging.html:
* http/tests/inspector/extensions-test.js:
(initialize_ExtensionsTest.InspectorTest.runExtensionTests):
* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest.InspectorTest.completeTest):
(initialize_InspectorTest.InspectorTest.evaluateInPage):
(initialize_InspectorTest.InspectorTest.reloadPage):
* inspector/console/console-dir-global.html:
* inspector/debugger/debugger-autocontinue-on-syntax-error.html:
* inspector/debugger/debugger-pause-on-exception.html:
* inspector/elements/elements-panel-search.html:
* inspector/report-API-errors-expected.txt:
* inspector/report-API-errors.html:
* inspector/report-protocol-errors.html:
* inspector/styles/styles-new-API.html:
* inspector/styles/styles-source-offsets.html:
* inspector/timeline/timeline-network-resource.html:
* inspector/timeline/timeline-script-tag-1.html:
* inspector/timeline/timeline-script-tag-2.html:
* inspector/timeline/timeline-test.js:
(initialize_Timeline.InspectorTest.performActionsAndPrint.step2):
* inspector/timeline/timeline-trivial.html:
2011-02-16 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: split all the functions of Inspector backend API by domain.
https://bugs.webkit.org/show_bug.cgi?id=54558
We have a number of functions from different domains in single instance of InspectorBackend.
It'd be better to split the functions by their domains.
As example 'evaluate' will be moved from InspectorBackend to RuntimeAgent container.
* inspector/CodeGeneratorInspector.pm:
* inspector/front-end/AuditRules.js:
(WebInspector.AuditRules.evaluateInTargetWindow):
(WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
* inspector/front-end/AuditsPanel.js:
(WebInspector.AuditsPanel.prototype._reloadResources):
* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype._projectChanged):
(WebInspector.BreakpointManager.prototype.restoreDOMBreakpoints):
(WebInspector.BreakpointManager.prototype._saveBreakpoints):
(WebInspector.DOMBreakpoint.prototype._enable):
(WebInspector.DOMBreakpoint.prototype._disable):
(WebInspector.EventListenerBreakpoint.prototype._enable):
(WebInspector.EventListenerBreakpoint.prototype._disable):
(WebInspector.XHRBreakpoint.prototype._enable):
(WebInspector.XHRBreakpoint.prototype._disable):
* inspector/front-end/CSSStyleModel.js:
(WebInspector.CSSStyleModel.prototype.getStylesAsync):
(WebInspector.CSSStyleModel.prototype.getComputedStyleAsync):
(WebInspector.CSSStyleModel.prototype.getInlineStyleAsync):
(WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
(WebInspector.CSSStyleModel.prototype.setRuleSelector):
(WebInspector.CSSStyleModel.prototype.addRule.callback):
(WebInspector.CSSStyleModel.prototype.addRule):
(WebInspector.CSSStyleModel.prototype._styleSheetChanged):
(WebInspector.CSSStyleModel.prototype._onRevert):
(WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
(WebInspector.CSSProperty.prototype.setText):
(WebInspector.CSSProperty.prototype.setDisabled):
(WebInspector.CSSStyleSheet.createForId):
(WebInspector.CSSStyleSheet.prototype.setText):
* inspector/front-end/ConsoleView.js:
(WebInspector.ConsoleView.prototype.requestClearMessages):
(WebInspector.ConsoleView.prototype.completions):
(WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction):
(WebInspector.ConsoleView.prototype._handleContextMenuEvent):
(WebInspector.ConsoleView.prototype.evalInInspectedWindow):
* inspector/front-end/CookieItemsView.js:
(WebInspector.CookieItemsView.prototype._deleteCookie):
* inspector/front-end/DOMAgent.js:
(WebInspector.DOMAgent.prototype.getChildNodesAsync):
(WebInspector.DOMAgent.prototype.setAttributeAsync):
(WebInspector.DOMAgent.prototype.removeAttributeAsync):
(WebInspector.DOMAgent.prototype.setTextNodeValueAsync):
(WebInspector.ApplicationCacheDispatcher.getApplicationCachesAsync):
(WebInspector.Cookies.getCookiesAsync):
(WebInspector.EventListeners.getEventListenersForNodeAsync):
* inspector/front-end/DOMStorage.js:
(WebInspector.DOMStorage.prototype.getEntries):
(WebInspector.DOMStorage.prototype.setItem):
(WebInspector.DOMStorage.prototype.removeItem):
* inspector/front-end/Database.js:
(WebInspector.Database.prototype.getTableNames):
(WebInspector.Database.prototype.executeSql):
* inspector/front-end/DebuggerModel.js:
(WebInspector.DebuggerModel.prototype.enableDebugger):
(WebInspector.DebuggerModel.prototype.disableDebugger):
(WebInspector.DebuggerModel.prototype.continueToLocation):
(WebInspector.DebuggerModel.prototype.setBreakpoint):
(WebInspector.DebuggerModel.prototype.setBreakpointBySourceId):
(WebInspector.DebuggerModel.prototype.removeBreakpoint):
(WebInspector.DebuggerModel.prototype.editScriptSource):
* inspector/front-end/ElementsPanel.js:
(WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
(WebInspector.ElementsPanel):
(WebInspector.ElementsPanel.prototype.setDocument):
(WebInspector.ElementsPanel.prototype.searchCanceled):
(WebInspector.ElementsPanel.prototype.performSearch):
(WebInspector.ElementsPanel.prototype.handleCopyEvent):
(WebInspector.ElementsPanel.prototype.setSearchingForNode):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._createTooltipForNode):
(WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted):
():
* inspector/front-end/ExtensionPanel.js:
(WebInspector.ExtensionWatchSidebarPane.prototype.setExpression):
* inspector/front-end/ExtensionServer.js:
(WebInspector.ExtensionServer.prototype._onAddRequestHeaders):
(WebInspector.ExtensionServer.prototype._onReload):
(WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
* inspector/front-end/HeapSnapshotView.js:
(WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
* inspector/front-end/NetworkManager.js:
(WebInspector.NetworkManager):
(WebInspector.NetworkManager.prototype.reset):
(WebInspector.NetworkManager.prototype.requestContent):
* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkDataGridNode.prototype._openInNewTab):
* inspector/front-end/ProfileView.js:
(WebInspector.CPUProfileView):
(WebInspector.CPUProfileType.prototype.buttonClicked):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._clearProfiles):
(WebInspector.ProfilesPanel.prototype._removeProfileHeader):
(WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
(WebInspector.ProfilesPanel.prototype._toggleProfiling):
(WebInspector.ProfilesPanel.prototype.takeHeapSnapshot):
* inspector/front-end/PropertiesSidebarPane.js:
(WebInspector.PropertiesSidebarPane.prototype.update):
* inspector/front-end/RemoteObject.js:
(WebInspector.RemoteObject.resolveNode):
(WebInspector.RemoteObject.prototype.getProperties):
(WebInspector.RemoteObject.prototype.setPropertyValue):
(WebInspector.RemoteObject.prototype.pushNodeToFrontend):
* inspector/front-end/ResourcesPanel.js:
(WebInspector.FrameTreeElement.prototype.onselect):
(WebInspector.FrameTreeElement.prototype.set hovered):
(WebInspector.FrameResourceTreeElement.prototype.ondblclick):
* inspector/front-end/Script.js:
(WebInspector.Script.prototype.requestSource):
* inspector/front-end/ScriptsPanel.js:
(WebInspector.ScriptsPanel.prototype.evaluateInSelectedCallFrame):
(WebInspector.ScriptsPanel.prototype._setPauseOnExceptions):
(WebInspector.ScriptsPanel.prototype._togglePause):
(WebInspector.ScriptsPanel.prototype._stepOverClicked):
(WebInspector.ScriptsPanel.prototype._stepIntoClicked):
(WebInspector.ScriptsPanel.prototype._stepOutClicked):
(WebInspector.ScriptsPanel.prototype.toggleBreakpointsClicked):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype._hidePopup):
* inspector/front-end/TestController.js:
(WebInspector.TestController.prototype.notifyDone):
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._toggleTimelineButtonClicked):
* inspector/front-end/WatchExpressionsSidebarPane.js:
(WebInspector.WatchExpressionsSection.prototype.update):
* inspector/front-end/WorkersSidebarPane.js:
(WebInspector.WorkersSidebarPane.prototype.setInstrumentation):
* inspector/front-end/inspector.js:
(WebInspector.highlightDOMNode):
(WebInspector.doLoadedDone):
(WebInspector.openResource):
(WebInspector.documentKeyDown):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78717
268f45cc-cd09-0410-ab3c-
d52691b4dbfc