commit-queue@webkit.org [Mon, 7 Mar 2011 08:46:20 +0000 (08:46 +0000)]
2011-03-07 Bill Budge <bbudge@chromium.org>
Reviewed by David Levin.
AssociatedURLLoader does not support Cross Origin Requests
https://bugs.webkit.org/show_bug.cgi?id=53925
No tests needed. Exposes no new functionality.
* src/AssociatedURLLoader.cpp:
(WebKit::AssociatedURLLoader::ClientAdapter::create):
(WebKit::AssociatedURLLoader::ClientAdapter::ClientAdapter):
(WebKit::AssociatedURLLoader::ClientAdapter::willSendRequest):
(WebKit::AssociatedURLLoader::ClientAdapter::didSendData):
(WebKit::AssociatedURLLoader::ClientAdapter::didReceiveResponse):
(WebKit::AssociatedURLLoader::ClientAdapter::didReceiveData):
(WebKit::AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata):
(WebKit::AssociatedURLLoader::ClientAdapter::didFinishLoading):
(WebKit::AssociatedURLLoader::ClientAdapter::didFail):
(WebKit::AssociatedURLLoader::AssociatedURLLoader):
(WebKit::AssociatedURLLoader::~AssociatedURLLoader):
(WebKit::AssociatedURLLoader::loadSynchronously):
(WebKit::AssociatedURLLoader::loadAsynchronously):
(WebKit::AssociatedURLLoader::cancel):
(WebKit::AssociatedURLLoader::setDefersLoading):
* src/AssociatedURLLoader.h:
(WebKit::AssociatedURLLoaderOptions::AssociatedURLLoaderOptions):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80458
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 7 Mar 2011 08:20:00 +0000 (08:20 +0000)]
2011-03-07 Ryuan Choi <ryuan.choi@samsung.com>
Unreviewed EFL build fix.
[EFL] Build break on Debug build.
https://bugs.webkit.org/show_bug.cgi?id=55858
* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::themePartCacheEntrySurfaceCreate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80457
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 7 Mar 2011 08:19:58 +0000 (08:19 +0000)]
2011-03-07 Xianzhu Wang <wangxianzhu@google.com>
Reviewed by Tony Gentilcore.
In layout tests, iframe's onload handler should not use script function
defined after the iframe.
https://bugs.webkit.org/show_bug.cgi?id=54942
Found and fixed more tests in addition to the first patch to bug 54942.
Tried best to avoid expectation changes.
* editing/execCommand/find-after-replace.html:
* editing/input/option-page-up-down.html:
* editing/input/scroll-viewport-page-up-down.html:
* editing/pasteboard/copy-standalone-image.html:
* editing/pasteboard/drag-image-to-contenteditable-in-iframe.html:
* editing/pasteboard/paste-noscript-xhtml.xhtml:
* editing/selection/drag-in-iframe.html:
* editing/undo/undo-iframe-location-change.html:
* fast/dom/DOMImplementation/createDocument-with-used-doctype-expected.txt:
* fast/dom/DOMImplementation/createDocument-with-used-doctype.html:
* fast/dom/Window/window-postmessage-clone-frames.html:
* fast/dynamic/paused-event-dispatch.html:
* fast/events/keydown-remove-frame.html:
* fast/events/mousedown-in-subframe-scrollbar.html:
* fast/frames/content-opacity-2.html:
* fast/frames/viewsource-plain-text-tags.html:
* fast/frames/viewsource-unfinished-tags.html:
* fast/history/form-submit-in-frame-via-onclick.html:
* fast/history/form-submit-in-frame.html:
* fast/xsl/xslt-text-expected.txt:
* fast/xsl/xslt-text.html:
* http/tests/messaging/cross-domain-message-send.html:
* http/tests/misc/cached-scripts-expected.txt:
* http/tests/misc/cached-scripts.html:
* http/tests/plugins/post-url-file-expected.txt:
* http/tests/plugins/post-url-file.html:
* http/tests/security/listener/xss-inactive-closure-expected.html:
* http/tests/security/listener/xss-inactive-closure.html:
* http/tests/security/postMessage/delivery-order.html:
* http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt:
* http/tests/security/postMessage/invalid-origin-throws-exception.html:
* http/tests/security/postMessage/origin-unaffected-by-base-tag.html:
* http/tests/security/postMessage/target-origin.html:
* http/tests/security/xss-DENIED-getSVGDocument-iframe.html:
* http/tests/xmlhttprequest/detaching-frame-2.html:
* media/media-document-audio-repaint.html:
* media/media-document-audio-size.html:
* platform/mac/fast/dom/wrapper-classes-objc.html:
* platform/mac/fast/loader/non-html-load-event-expected.txt:
* platform/mac/fast/loader/non-html-load-event.html:
* scrollbars/hidden-iframe-scrollbar-crash2.html:
* storage/close-during-stress-test.html:
* svg/custom/js-update-transform-changes.svg:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80456
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ukai@chromium.org [Mon, 7 Mar 2011 07:57:46 +0000 (07:57 +0000)]
Unreviewed, update chromium test expectations.
inspector/styles/styles-add-blank-property.html becomes flaky.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80455
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ukai@chromium.org [Mon, 7 Mar 2011 07:22:12 +0000 (07:22 +0000)]
Unreviewd, update chromium test expectations.
Regression at WebKit r80438 (crbug.com/75109) on Mac
platform/chromium/fast/text/international/complex-text-rectangle.html
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80454
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Mon, 7 Mar 2011 06:25:09 +0000 (06:25 +0000)]
2011-03-06 Kent Tamura <tkent@chromium.org>
Unreviewed, test expectation update.
Chromium expectation files for r80449.
* platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-visibility-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/forms/input-appearance-spinbutton-visibility-expected.png: Added.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-visibility-expected.checksum: Added.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-visibility-expected.png: Added.
* platform/chromium-win/fast/forms/input-appearance-spinbutton-visibility-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80453
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 7 Mar 2011 06:02:17 +0000 (06:02 +0000)]
2011-03-06 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Add webcore_derived_source_files to WebCore.gypi
https://bugs.webkit.org/show_bug.cgi?id=55856
This is the list of files generated by the Mac port. It's possible
other ports generate a different list of files.
* WebCore.gypi:
* gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80452
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 7 Mar 2011 05:41:20 +0000 (05:41 +0000)]
2011-03-06 Sreeram Ramachandran <sreeram@google.com>
Reviewed by Dimitri Glazkov.
Expose page dismissal event status through the WebKit API for chromium.
https://bugs.webkit.org/show_bug.cgi?id=55844
Chromium will find it useful to know the page dismissal status (i.e.,
whether a frame is in the midst of executing a beforeunload or unload
handler), so expose that information through the chromium port in the
WebKit API.
This is my second attempt at this patch. The previous one broke
downstream Chromium builds of some unit tests which had classes derived
from WebFrame (and thus became uninstantiable because of this new pure
virtual method). Those have now been fixed (http://crrev.com/77101).
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
* src/WebFrameImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80451
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Mon, 7 Mar 2011 05:14:07 +0000 (05:14 +0000)]
2011-03-06 Kent Tamura <tkent@chromium.org>
Unreviewed, test expectation update.
Add a Mac expectation for a new test of r80449.
* platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.checksum: Added.
* platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.png: Added.
* platform/mac/fast/forms/input-appearance-spinbutton-visibility-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80450
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Mon, 7 Mar 2011 05:12:26 +0000 (05:12 +0000)]
2011-03-06 Naoki Takano <takano.naoki@gmail.com>
Reviewed by Kent Tamura.
Input type=number spin buttons remain invisible but functional after div changed from hidden to visible.
https://bugs.webkit.org/show_bug.cgi?id=55839
http://crbug.com/73866
http://crbug.com/62527
We also need style change for m_innerSpinButton not only for m_outerSpinBuggon when styleDidChange() is called.
Test: fast/forms/input-appearance-spinbutton-visibility.html
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::styleDidChange):
2011-03-06 Naoki Takano <takano.naoki@gmail.com>
Reviewed by Kent Tamura.
Input type=number spin buttons remain invisible but functional after div changed from hidden to visible.
https://bugs.webkit.org/show_bug.cgi?id=55839
http://crbug.com/73866
http://crbug.com/62527
* fast/forms/input-appearance-spinbutton-visibility.html: Added for the test to make sure input type=number spin buttons are shown or hidden correctly with Javascript.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-visibility-expected.checksum: Added for the expectation checksum.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-visibility-expected.png: Added for the expectation image.
* platform/chromium-linux/fast/forms/input-appearance-spinbutton-visibility-expected.txt: Added for the expectation render tree txt.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80449
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 7 Mar 2011 04:50:05 +0000 (04:50 +0000)]
2011-03-06 Naoki Takano <takano.naoki@gmail.com>
Reviewed by Kent Tamura.
[Chromium] Autocomplete suggestion extends out of window (and onto second monitor)
https://bugs.webkit.org/show_bug.cgi?id=54795
Implement width clip logic according to browser screen width and popup window width. This fix is enough for Win and Mac, but there is a problem in Linux. Because WebScreenInfoFactory::screenInfo() can get only merged screen size, not the screen size where the browser exists.
Test: manual-tests/popup-width-restriction-within-screen.html
* manual-tests/popup-width-restriction-within-screen.html: Added.
* platform/chromium/PopupMenuChromium.cpp:
(WebCore::PopupContainer::layoutAndCalculateWidgetRect): Implement the width clip logic according to screen width.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80448
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ukai@chromium.org [Mon, 7 Mar 2011 04:02:58 +0000 (04:02 +0000)]
Unreviewed, update chromium test expectations.
Regression at WebKit r80440 (bug 55854) also on mac.
fast/forms/onchange-setvalueforuser.html
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80447
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yutak@chromium.org [Mon, 7 Mar 2011 03:17:01 +0000 (03:17 +0000)]
2011-03-06 Yuta Kitamura <yutak@chromium.org>
Reviewed by Kent Tamura.
Add SHA-1 for new WebSocket protocol
https://bugs.webkit.org/show_bug.cgi?id=55039
The code is based on Chromium's portable SHA-1 implementation
(src/base/sha1_portable.cc). Modifications were made in order
to make the code comply with WebKit coding style.
* GNUmakefile.am:
* JavaScriptCore.exp:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/MD5.cpp:
(WTF::MD5::MD5):
* wtf/SHA1.cpp: Added.
(WTF::testSHA1): This function will be run the first time SHA1
constructor is called. This function computes a few hash values
and checks the results in debug builds. However, constructor is
probably not a good place to run these tests, so we need to find
a good place for it (bug 55853).
(WTF::expectSHA1):
(WTF::f):
(WTF::k):
(WTF::rotateLeft):
(WTF::SHA1::SHA1):
(WTF::SHA1::addBytes):
(WTF::SHA1::computeHash):
(WTF::SHA1::finalize):
(WTF::SHA1::processBlock):
(WTF::SHA1::reset):
* wtf/SHA1.h: Added.
(WTF::SHA1::addBytes):
* wtf/wtf.pri:
2011-03-06 Yuta Kitamura <yutak@chromium.org>
Reviewed by Kent Tamura.
Add SHA-1 for new WebSocket protocol
https://bugs.webkit.org/show_bug.cgi?id=55039
* ForwardingHeaders/wtf/SHA1.h: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80446
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ukai@chromium.org [Mon, 7 Mar 2011 02:23:04 +0000 (02:23 +0000)]
Unreviewed, update chromium test expectations.
Regression at WebKit r80438 (crbug.com/75109)
fast/css/getComputedStyle/computed-style-without-renderer.html
fast/css/getComputedStyle/computed-style.html
platform/chromium/fast/text/international/complex-text-rectangle.html
svg/css/getComputedStyle-basic.xhtml
fast/text/hyphenate-limit-before-after.html
Regression at WebKit r80440 (bug 55854)
fast/forms/onchange-setvalueforuser.html
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80445
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Mon, 7 Mar 2011 01:35:51 +0000 (01:35 +0000)]
LLVM Compiler build fix.
* DOM/WebDOMOperations.mm:
(-[DOMHTMLInputElement _setValueForUser:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80444
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dbates@webkit.org [Mon, 7 Mar 2011 01:11:38 +0000 (01:11 +0000)]
2011-03-06 Daniel Bates <dbates@rim.com>
Reviewed by Eric Seidel and David Kilzer.
Fix misspelled word in build-webkit's checkForJavaSDK() and sort forward declarations
https://bugs.webkit.org/show_bug.cgi?id=55503
Fix misspelled word "Dowloads" [sic] in the message printed to standard output
in checkForJavaSDK().
Also, remove extraneous space in function prototype for unlinkZeroFiles.
* Scripts/build-webkit:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80443
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric.carlson@apple.com [Mon, 7 Mar 2011 01:00:51 +0000 (01:00 +0000)]
2011-03-06 Eric Carlson <eric.carlson@apple.com>
Reviewed by Antti Koivisto.
QuickTime based media engines should respect private browsing mode
https://bugs.webkit.org/show_bug.cgi?id=55848
No new tests, it is only possible to test this by manually deleting and monitoring the
the Quicktime caches.
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::privateBrowsingStateDidChange): Add logging.
* platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::MediaPlayer): Initialize m_privateBrowsing.
(WebCore::MediaPlayer::loadWithNextMediaEngine): Set privacy mode on new media engine.
(WebCore::MediaPlayer::setPrivateBrowsingMode): Stash setting in m_privateBrowsing.
* platform/graphics/MediaPlayer.h:
* platform/graphics/MediaPlayerPrivate.h:
(WebCore::MediaPlayerPrivateInterface::setPrivateBrowsingMode):
* platform/graphics/mac/MediaPlayerPrivateQTKit.h:
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::MediaPlayerPrivateQTKit): Initialize m_privateBrowsing.
(WebCore::MediaPlayerPrivateQTKit::createQTMovie): Pass private browsing attribute when
creating new movie.
(WebCore::MediaPlayerPrivateQTKit::setPrivateBrowsingMode): New, store privacy setting in
m_privateBrowsing and set movie attribute.
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::MediaPlayerPrivateQuickTimeVisualContext):
Initialize m_privateBrowsing.
(WebCore::MediaPlayerPrivateQuickTimeVisualContext::setPrivateBrowsingMode): New, store
privacy setting in m_privateBrowsing and call QTMovie.
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.h:
* platform/graphics/win/QTMovie.cpp:
(QTMoviePrivate::QTMoviePrivate): Initialize m_privateBrowsing.
(QTMovie::load):Pass private browsing property when creating new movie.
(QTMovie::setPrivateBrowsingMode): New, store privacy setting in m_privateBrowsing and
set movie property.
* platform/graphics/win/QTMovie.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80442
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Mon, 7 Mar 2011 00:44:04 +0000 (00:44 +0000)]
Updated more platform-specific results after r80438.
* platform/gtk/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/mac-leopard/fast/text/hyphenate-limit-before-after-expected.txt: Removed.
* platform/mac-snowleopard/fast/text/hyphenate-limit-before-after-expected.txt: Copied from platform/mac-leopard/fast/text/hyphenate-limit-before-after-expected.txt.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80441
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Mon, 7 Mar 2011 00:34:28 +0000 (00:34 +0000)]
Updated platform-specific results after r80438.
* platform/mac-leopard/fast/text/hyphenate-limit-before-after-expected.txt: Added.
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/qt/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80440
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dbates@webkit.org [Mon, 7 Mar 2011 00:22:46 +0000 (00:22 +0000)]
2011-03-06 Daniel Bates <dbates@rim.com>
Reviewed by Darin Adler.
style.borderSpacing always returns empty string
https://bugs.webkit.org/show_bug.cgi?id=54816
Teach CSSMutableStyleDeclaration::getPropertyValue() how to reconstitute
the value for border-spacing from the value of the WebKit internal CSS
property -webkit-border-horizontal-spacing and -webkit-border-vertical-spacing.
The CSS property border-spacing describes the horizontal and vertical border
spacing for an HTML Table element. Notice, WebKit internally represents the value
of this property as two properties: -webkit-border-horizontal-spacing and
-webkit-border-vertical-spacing, for the horizontal and vertical border spacing,
respectively. And WebKit doesn't know to reconstitute these internal properties.
Therefore style.borderSpacing always returns the empty string.
Test: fast/css/table-border-spacing.html
* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::getPropertyValue):
(WebCore::CSSMutableStyleDeclaration::borderSpacingValue): Added.
* css/CSSMutableStyleDeclaration.h:
2011-03-06 Daniel Bates <dbates@rim.com>
Reviewed by Darin Adler.
style.borderSpacing always returns empty string
https://bugs.webkit.org/show_bug.cgi?id=54816
Tests that style.borderSpacing returns the correct result for valid, negative, and missing border-spacing values.
* fast/css/table-border-spacing-expected.txt: Added.
* fast/css/table-border-spacing.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80439
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sun, 6 Mar 2011 22:44:48 +0000 (22:44 +0000)]
<rdar://problem/9093327> Implement -hyphenate-limit-{before,after}
https://bugs.webkit.org/show_bug.cgi?id=55850
Reviewed by Oliver Hunt.
Source/WebCore:
Tests: fast/css/parsing-hyphenate-limit.html
fast/text/hyphenate-limit-before-after.html
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::computedProperties) Updated this array with the new properties and some old properties
that it was missing.
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Added
CSSPropertyWebkitHyphenateLimit{Before,After}.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Parse -webkit-hyphenate-limit-{before,after}, allowing
'auto' and non-negative integers.
* css/CSSPropertyNames.in: Added -webkit-hyphenate-limit-{before,after}.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty): Handle CSSPropertyWebkitHyphenateLimit{Before,After}.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::tryHyphenating): Added minimum prefix and suffix length parameters and checks to only
allow hyphenation if the prefix and the suffix are sufficiently long.
(WebCore::RenderBlock::findNextLineBreak): Pass the limits to tryHyphenating().
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::diff): A difference in hyphenation limits is a layout difference.
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::hyphenationLimitBefore): Added.
(WebCore::InheritedFlags::hyphenationLimitAfter): Added.
(WebCore::InheritedFlags::setHyphenationLimitBefore): Added.
(WebCore::InheritedFlags::setHyphenationLimitAfter): Added.
(WebCore::InheritedFlags::initialHyphenationLimitBefore): Added. Returns -1, which is the
representation of 'auto'.
(WebCore::InheritedFlags::initialHyphenationLimitAfter): Ditto.
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData): Initialize hyphenation limits.
(WebCore::StyleRareInheritedData::operator==): Compare hyphenation limits.
* rendering/style/StyleRareInheritedData.h:
LayoutTests:
* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/parsing-hyphenate-limit-expected.txt: Added.
* fast/css/parsing-hyphenate-limit.html: Added.
* fast/text/hyphenate-limit-before-after.html: Added.
* platform/mac/fast/text/hyphenate-limit-before-after-expected.checksum: Added.
* platform/mac/fast/text/hyphenate-limit-before-after-expected.png: Added.
* platform/mac/fast/text/hyphenate-limit-before-after-expected.txt: Added.
* svg/css/getComputedStyle-basic-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80438
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 6 Mar 2011 22:00:19 +0000 (22:00 +0000)]
2011-03-06 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r80436.
http://trac.webkit.org/changeset/80436
https://bugs.webkit.org/show_bug.cgi?id=55849
Broke Chromium compile across the board (Requested by dglazkov
on #webkit).
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
* src/WebFrameImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80437
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 6 Mar 2011 20:36:21 +0000 (20:36 +0000)]
2011-03-06 Sreeram Ramachandran <sreeram@google.com>
Reviewed by Dimitri Glazkov.
Expose page dismissal event status through the WebKit API for chromium
https://bugs.webkit.org/show_bug.cgi?id=55844
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::pageDismissalEventBeingDispatched):
* src/WebFrameImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80436
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Sun, 6 Mar 2011 18:39:18 +0000 (18:39 +0000)]
WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.
Reviewed by Sam Weinig.
Source/WebCore:
When Private Browsing is enabled, use cookies from a in-memory cookie storage based on the
Private Browsing Storage Session.
* WebCore.exp.in:
Add the new WKSI functions.
* platform/mac/WebCoreSystemInterface.h:
Ditto.
* platform/mac/WebCoreSystemInterface.mm:
Ditto.
* platform/mac/CookieJar.mm:
(WebCore::cookies):
If USE(CFURLSTORAGESESSIONS) and there is a Private Browsing Cookie Storage, call into WKSI.
Otherwise, behave the same as before.
(WebCore::cookieRequestHeaderFieldValue):
Ditto.
(WebCore::setCookies):
Ditto.
(WebCore::cookiesEnabled):
Ditto
(WebCore::getRawCookies):
Ditto.
(WebCore::deleteCookie):
Ditto.
* platform/network/CookieStorage.h:
* platform/network/cf/CookieStorageCFNet.cpp:
(WebCore::privateBrowsingCookieStorage):
Keep track of the Private Browsing Cookie Storage in a locally defined static inside a
function instead of at the global scope.
(WebCore::currentCookieStorage):
Use privateBrowsingCookieStorage.
(WebCore::setCurrentCookieStorage):
Ditto.
(WebCore::setCookieStoragePrivateBrowsingEnabled):
If USE(CFURLSTORAGESESSIONS), send the Private Browsing Storage Session to
wkCreatePrivateInMemoryHTTPCookieStorage.
* platform/network/mac/CookieStorageMac.mm:
(WebCore::privateBrowsingCookieStorage):
Keep track of the Private Browsing Cookie Storage.
(WebCore::setCookieStoragePrivateBrowsingEnabled):
If USE(CFURLSTORAGESESSIONS), then set or clear privateBrowsingCookieStorage().
Added a FIXME to observe changes to the Private Browsing Cookie Storage when it is defined.
* platform/network/mac/ResourceHandleMac.mm:
(WebCore::shouldRelaxThirdPartyCookiePolicy):
Refactor the logic to determine whether or not to relax the third party cookie policy here.
If USE(CFURLSTORAGESESSIONS), then get the information from the privateBrowsingCookieStorage.
(WebCore::ResourceHandle::createNSURLConnection):
Use shouldRelaxThirdPartyCookiePolicy.
(WebCore::ResourceHandle::loadResourceSynchronously):
Ditto.
Source/WebKit/mac:
When Private Browsing is enabled, use cookies from a in-memory cookie storage based on the
Private Browsing Storage Session.
* WebCoreSupport/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Add support for using the new WKSI functions in WebCore.
Source/WebKit2:
When Private Browsing is enabled, use cookies from a in-memory cookie storage based on the
Private Browsing Storage Session.
* WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
(InitWebCoreSystemInterface):
Add support for using the new WKSI functions in WebCore.
WebKitLibraries:
When Private Browsing is enabled, use cookies from a in-memory Cookie Storage based on the
Private Browsing Storage Session.
Update WebKitSystemInterface headers and libraries with the new functions.
* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* win/include/WebKitSystemInterface/WebKitSystemInterface.h:
* win/lib/WebKitSystemInterface.lib:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80435
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 6 Mar 2011 18:29:16 +0000 (18:29 +0000)]
2011-03-06 Oleg Romashin <romaxa@gmail.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt][WK2] Make Qt port compiling with ENABLE_PLUGIN_PROCESS=1, part1
Adding dummy Qt files for Plugin Process implementation,
Adding missing sources into Qt pro files
https://bugs.webkit.org/show_bug.cgi?id=55719
* DerivedSources.pro:
* PluginProcess/qt: Added.
* PluginProcess/qt/PluginControllerProxyQt.cpp: Added.
(WebKit::PluginControllerProxy::platformInitialize):
(WebKit::PluginControllerProxy::platformDestroy):
(WebKit::PluginControllerProxy::platformGeometryDidChange):
* PluginProcess/qt/PluginProcessMainQt.cpp: Added.
(WebKit::PluginProcessMain):
* PluginProcess/qt/PluginProcessQt.cpp: Added.
(WebKit::PluginProcess::platformInitialize):
* UIProcess/Plugins/qt/PluginProcessProxyQt.cpp: Added.
(WebKit::PluginProcessProxy::platformInitializePluginProcess):
* WebKit2.pri:
* WebKit2.pro:
* WebKit2API.pri:
* WebProcess/Plugins/Netscape/qt/PluginProxyQt.cpp: Added.
(WebKit::PluginProxy::needsBackingStore):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80434
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dcheng@chromium.org [Sun, 6 Mar 2011 06:23:22 +0000 (06:23 +0000)]
2011-03-05 Daniel Cheng <dcheng@chromium.org>
Reviewed by Dmitry Titov.
[chromium] Add method to WebClipboard to read images from the clipboard.
https://bugs.webkit.org/show_bug.cgi?id=55814
* public/WebClipboard.h:
(WebKit::WebClipboard::readImage):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80433
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sun, 6 Mar 2011 06:11:01 +0000 (06:11 +0000)]
Set the svn:mime-type property of some PNG files to image/png
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80432
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Sun, 6 Mar 2011 01:40:32 +0000 (01:40 +0000)]
2011-03-05 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Remove unneeded onPageClose function from DrawingArea
https://bugs.webkit.org/show_bug.cgi?id=55836
* WebProcess/WebPage/DrawingArea.h:
Remove empty function.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::close):
Remove only called
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80431
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 23:38:17 +0000 (23:38 +0000)]
2011-03-05 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r80428.
http://trac.webkit.org/changeset/80428
https://bugs.webkit.org/show_bug.cgi?id=55833
Broke SnowLeopard (Requested by xan_ on #webkit).
* http/tests/plugins/resources/dump-post.pl:
* platform/gtk/Skipped:
2011-03-05 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r80428.
http://trac.webkit.org/changeset/80428
https://bugs.webkit.org/show_bug.cgi?id=55833
Broke SnowLeopard (Requested by xan_ on #webkit).
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::handlePostReadFile):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80430
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Sat, 5 Mar 2011 22:32:57 +0000 (22:32 +0000)]
2011-03-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] Windowless plugins override the view cursor
https://bugs.webkit.org/show_bug.cgi?id=55531
manual test: manual-tests/plugins/windowless.html
* platform/gtk/WidgetGtk.cpp:
(WebCore::Widget::setCursor): Call into the ChromeClient implementation now.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::initXEvent): Instead of setting the window for windowless
plugin events, set the window value to none. This method is also used to send
focus in / focus out events to windowed plugins, but this is not one of the plugin
types where the window parameter matters. This matches what Mozilla does. Also
pass in the display of the widget itself, not the default display.
(WebCore::PluginView::handleMouseEvent): When the cursor leaves the plugin area,
reset the cursor.
(WebCore::PluginView::platformGetValue): Clean up this section slightly. Give the
widget the top-level window explicitly. This matches Mozilla.
2011-03-01 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] Windowless plugins override the view cursor
https://bugs.webkit.org/show_bug.cgi?id=55531
* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::setCursor): Moved the implementation of setCursor here
which is more fitting since it sets the cursor for the entire window.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80429
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Sat, 5 Mar 2011 22:02:00 +0000 (22:02 +0000)]
2011-03-05 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] http/tests/plugins/post-url-file.html fails on GTK+
https://bugs.webkit.org/show_bug.cgi?id=55826
* http/tests/plugins/resources/dump-post.pl: Instead of printing out the "keywords" parameter,
print out the POSTDATA parameter. Printing "keywords" did not seem to work on the version of
Apache/Perl/CGI that existed on my machine. According to the Perl CGI module documentation
using 'POSTDATA' is the correct way to print the entire POSTDATA.
* platform/gtk/Skipped: Unskip the test which is now passing.
2011-03-05 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] http/tests/plugins/post-url-file.html fails on GTK+
https://bugs.webkit.org/show_bug.cgi?id=55826
Correct the implementation of handlePostReadFile which uses GIO APIs and
actually resizes the buffer to fit the entire size of the file data. This
was likely leading to memory corruption until now.
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::handlePostReadFile): Fix this method.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80428
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bweinstein@apple.com [Sat, 5 Mar 2011 19:49:40 +0000 (19:49 +0000)]
Fix Web Process crashes caused by https://bugs.webkit.org/show_bug.cgi?id=53919.
Reviewed by Sam Weinig.
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::willSendRequestForFrame): Retain the WKURLRequestRef returned
by willSendRequestForFrame. The API expects a retained reference to the URL request.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80427
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Sat, 5 Mar 2011 18:03:18 +0000 (18:03 +0000)]
2011-03-05 Andrey Kosyakov <caseq@chromium.org>
Unreviewed. Another shot at fixing flakiness of extension-events.html.
* inspector/extensions/extensions-events.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80426
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mnaganov@chromium.org [Sat, 5 Mar 2011 17:39:51 +0000 (17:39 +0000)]
2011-03-05 Mikhail Naganov <mnaganov@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: [Chromium] Allow dynamic enabling of detailed heap profiles.
https://bugs.webkit.org/show_bug.cgi?id=55824
Detailed heap profiles can be now enabled by typing "leakz" in Profiles tab.
* inspector/front-end/DetailedHeapshotView.js:
(WebInspector.DetailedHeapshotView.prototype.isDetailedSnapshot):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.doParse):
(WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
(WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
(WebInspector.ProfilesPanel.prototype.handleShortcut):
(WebInspector.ProfilesPanel.prototype._displayDetailedHeapProfilesEnabledHint.hideHint):
(WebInspector.ProfilesPanel.prototype._displayDetailedHeapProfilesEnabledHint):
(WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles):
(WebInspector.ProfilesPanel.prototype._recognizeKeyboardCombo):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80425
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
qi.2.zhang@nokia.com [Sat, 5 Mar 2011 17:32:09 +0000 (17:32 +0000)]
2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
https://bugs.webkit.org/show_bug.cgi?id=48636
Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
* WebCore.pri:
* features.pri:
2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
https://bugs.webkit.org/show_bug.cgi?id=48636
Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
* Api/qwebpage.cpp:
(QWebPage::userAgentForUrl):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80424
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Sat, 5 Mar 2011 17:10:29 +0000 (17:10 +0000)]
2011-03-05 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: adding null check to prevent inspector tests from failing.
* inspector/front-end/TextViewer.js:
(WebInspector.TextEditorGutterChunk.prototype.get offsetTop):
(WebInspector.TextEditorMainChunk.prototype.get offsetTop):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80423
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Sat, 5 Mar 2011 16:47:59 +0000 (16:47 +0000)]
2011-03-05 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium rebaseline, flaky test fix.
* inspector/front-end/BreakpointManager.js:
(WebInspector.DOMBreakpointView.prototype.populateStatusMessageElement):
(WebInspector.DOMBreakpointView.prototype._format):
2011-03-05 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: chromium rebaseline, flaky test fix.
* http/tests/inspector/debugger-test.js:
* inspector/debugger/dom-breakpoints.html:
* platform/chromium/inspector/console/console-uncaught-exception-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80422
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Sat, 5 Mar 2011 14:34:58 +0000 (14:34 +0000)]
2011-03-05 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: inspector/extensions/extensions-events.html sometimes fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=54974
Properly serialize test output to fix flakiness due to race with output during page reload.
* inspector/extensions/extensions-events-expected.txt:
* inspector/extensions/extensions-events.html:
* platform/win/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80421
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
podivilov@chromium.org [Sat, 5 Mar 2011 13:42:30 +0000 (13:42 +0000)]
2011-03-04 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: [chromium] pause when script is running is broken.
https://bugs.webkit.org/show_bug.cgi?id=55762
* inspector/CodeGeneratorInspector.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80420
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
loislo@chromium.org [Sat, 5 Mar 2011 11:20:27 +0000 (11:20 +0000)]
2011-03-05 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: introduce protocol test for ConsoleAgent.
https://bugs.webkit.org/show_bug.cgi?id=55819
* http/tests/inspector/protocol-test.js:
(initialize_ProtocolTest.InspectorTest._dumpEvent):
(initialize_ProtocolTest.InspectorTest._dumpCallArguments):
(initialize_ProtocolTest):
(initialize_ProtocolTest.):
* inspector/protocol/console-agent-expected.txt: Added.
* inspector/protocol/console-agent.html: Added.
* inspector/protocol/runtime-agent.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80419
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 11:09:42 +0000 (11:09 +0000)]
2011-03-05 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add Derived Sources to WebCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55813
Rename the action to be friendlier.
* gyp/JavaScriptCore.gyp:
2011-03-05 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add Derived Sources to WebCore GYP build
https://bugs.webkit.org/show_bug.cgi?id=55813
Adding the derived source action to the GYP file required tweaking
DerivedSources.make. I'm not sure how DerivedSources.make worked
before beause these paths were incorrectly based.
* DerivedSources.make:
* gyp/generate-derived-sources.sh: Added.
* gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80418
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Sat, 5 Mar 2011 11:07:40 +0000 (11:07 +0000)]
2011-03-05 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: install onerror handler in inspector tests
https://bugs.webkit.org/show_bug.cgi?id=55690
* http/tests/inspector/inspector-test.js:
(initialize_InspectorTest.onError):
* http/tests/inspector/resources/extension-main.js:
(onError):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80417
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Sat, 5 Mar 2011 10:09:35 +0000 (10:09 +0000)]
2011-03-04 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix layout tests flakiness.
https://bugs.webkit.org/show_bug.cgi?id=55816
- Timeline now uses instrumentation calls, not UI representation while collecting events for tests
- No reloads in debugger tests that don't need them
- Forcing layout in timeline via calculating offsetHeight
* http/tests/inspector/inspector-test.js:
* inspector/console/console-uncaught-exception-expected.txt:
* inspector/console/console-uncaught-exception.html:
* inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt:
* inspector/debugger/debugger-autocontinue-on-syntax-error.html:
* inspector/debugger/resources/syntax-error.html: Added.
* inspector/debugger/resources/syntax-error.js: Removed.
* inspector/elements/elements-panel-limited-children-expected.txt:
* inspector/extensions/extensions-events-expected.txt:
* inspector/styles/styles-update-from-js-expected.txt:
* inspector/styles/styles-update-from-js.html:
* inspector/timeline/timeline-layout.html:
* inspector/timeline/timeline-network-resource-expected.txt:
* 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.startTimeline.addRecord):
(initialize_Timeline.InspectorTest.startTimeline):
(initialize_Timeline.InspectorTest.stopTimeline):
(initialize_Timeline.InspectorTest.performActionsAndPrint.step2):
(initialize_Timeline.InspectorTest.performActionsAndPrint):
(initialize_Timeline.InspectorTest.printTimelineRecords):
* inspector/timeline/timeline-trivial.html:
* platform/chromium/inspector/timeline/timeline-network-resource-expected.txt:
2011-03-04 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Yury Semikhatsky.
Web Inspector: fix layout tests flakiness.
https://bugs.webkit.org/show_bug.cgi?id=55816
- Order of issuing of evaluateForTestInFrontend was not guaranteed on the backend side (InspectorAgent side)
- Order of dispatching using timeouts was guaranteed via queueing. Source of all kinds of pains on SnowLeopard Release (inspector.js)
* inspector/CodeGeneratorInspector.pm:
* inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::InspectorAgent):
(WebCore::InspectorAgent::disconnectFrontend):
(WebCore::InspectorAgent::populateScriptObjects):
(WebCore::InspectorAgent::evaluateForTestInFrontend):
(WebCore::InspectorAgent::issueEvaluateForTestCommands):
* inspector/InspectorAgent.h:
* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.FormattedRecord):
* inspector/front-end/inspector.js:
(WebInspector.dispatch):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80416
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 09:50:37 +0000 (09:50 +0000)]
2011-03-05 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
WebCore GYP build should generate fewer than 10,000 compile errors per file
https://bugs.webkit.org/show_bug.cgi?id=55810
This patch adds some missing include paths. We need to figure out how
to handle separate include paths per port. It's clear that
ForwardingHeaders are only useful for Mac, but it's less clear how to
handle the others.
* WebCore.gypi:
* gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80415
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sat, 5 Mar 2011 09:20:43 +0000 (09:20 +0000)]
<rdar://problem/9082946> Make the Core Text code path in GlyphPage::fill() more robust
https://bugs.webkit.org/show_bug.cgi?id=55817
Reviewed by Cameron Zwarich.
* platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
(WebCore::GlyphPage::fill): When determining if a CTRun uses the primary font, compare against
a CGFont obtained from Core Text for the primary font. This CGFont may be different from
the CGFont stored in the FontPlatformData.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80414
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Sat, 5 Mar 2011 08:48:10 +0000 (08:48 +0000)]
Unreviewed.
[Qt] Add fast/forms/onchange-setvalueforuser.html to the Skipped
list because of missing layoutTestController.setValueForUser()
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80413
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 08:09:39 +0000 (08:09 +0000)]
2011-03-05 Ilya Sherman <isherman@chromium.org>
Reviewed by Darin Adler.
HTMLInputElement::setValue() should schedule change event when the element is focused
In service of https://code.google.com/p/chromium/issues/detail?id=42716
https://bugs.webkit.org/show_bug.cgi?id=53160
* fast/forms/onchange-change-type-expected.txt: Added.
* fast/forms/onchange-change-type.html: Added.
* fast/forms/onchange-setvalueforuser-expected.txt: Added.
* fast/forms/onchange-setvalueforuser.html: Added.
2011-03-05 Ilya Sherman <isherman@chromium.org>
Reviewed by Darin Adler.
HTMLInputElement::setValue() should schedule change event when the element is focused.
Refactored tracking of "changed since last change event" state from renderer to DOM.In service of https://code.google.com/p/chromium/issues
In service of https://code.google.com/p/chromium/issues/detail?id=42716
https://bugs.webkit.org/show_bug.cgi?id=53160
Test: fast/forms/onchange-change-type.html
Test: fast/forms/onchange-setvalueforuser.html
* WebCore.exp.in:
* dom/Document.cpp:
(WebCore::Document::setFocusedNode):
* dom/Element.h:
(WebCore::Element::wasChangedSinceLastFormControlChangeEvent): Added.
(WebCore::Element::setChangedSinceLastFormControlChangeEvent): Added.
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::HTMLFormControlElement):
(WebCore::HTMLFormControlElement::wasChangedSinceLastFormControlChangeEvent): Added.
(WebCore::HTMLFormControlElement::setChangedSinceLastFormControlChangeEvent): Added.
(WebCore::HTMLFormControlElement::dispatchFormControlChangeEvent): Also clear the "changed since last change event" flag.
(WebCore::HTMLFormControlElement::dispatchFormControlInputEvent): Also set the "changed since last change event" flag.
* html/HTMLFormControlElement.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::updateType): Also clear the "changed since last change event" flag.
(WebCore::HTMLInputElement::setValue):
For a focused text field, dispatch an input event, but delay the change event until the field loses focus.
(WebCore::HTMLInputElement::defaultEventHandler):
(WebCore::HTMLInputElement::stepUpFromRenderer):
* html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
* rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::RenderTextControl):
(WebCore::RenderTextControl::subtreeHasChanged):
* rendering/RenderTextControl.h:
* rendering/RenderTextControlMultiLine.cpp:
(WebCore::RenderTextControlMultiLine::subtreeHasChanged):
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::subtreeHasChanged):
* wml/WMLInputElement.cpp:
(WebCore::WMLInputElement::WMLInputElement):
(WebCore::WMLInputElement::defaultEventHandler):
* wml/WMLInputElement.h:
(WebCore::WMLInputElement::wasChangedSinceLastFormControlChangeEvent): Added.
(WebCore::WMLInputElement::setChangedSinceLastFormControlChangeEvent): Added.
2011-03-05 Ilya Sherman <isherman@chromium.org>
Reviewed by Darin Adler.
HTMLInputElement::setValue() should schedule change event when the element is focused
In service of https://code.google.com/p/chromium/issues/detail?id=42716
https://bugs.webkit.org/show_bug.cgi?id=53160
* DOM/WebDOMOperations.mm:
(-[DOMHTMLInputElement _setValueForUser:]): Expose HTMLInputElement::setValueForUser() to tests
* DOM/WebDOMOperationsPrivate.h:
* WebView/WebViewInternal.h:
2011-03-05 Ilya Sherman <isherman@chromium.org>
Reviewed by Darin Adler.
HTMLInputElement::setValue() should schedule change event when the element is focused
In service of https://code.google.com/p/chromium/issues/detail?id=42716
https://bugs.webkit.org/show_bug.cgi?id=53160
* DumpRenderTree/LayoutTestController.cpp:
(setValueForUserCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setValueForUser): Stubbed out; need real implementation.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setValueForUser): Expose HTMLInputElement::setValueForUser() to tests
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::setValueForUser): Stubbed out; need real implementation.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setValueForUser): Stubbed out; need real implementation.
* DumpRenderTree/wx/LayoutTestControllerWx.cpp:
(LayoutTestController::setValueForUser): Stubbed out; need real implementation.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80412
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 07:43:06 +0000 (07:43 +0000)]
2011-03-04 Victoria Kirst <vrk@google.com>
Reviewed by Eric Carlson.
[chromium] Baselines for media GPU layout tests
https://bugs.webkit.org/show_bug.cgi?id=55796
Adding baselines for some of the media GPU layout tests.
Updates test_expectations with expected media GPU failures.
* platform/chromium-gpu-linux/media/video-display-toggle-expected.checksum: Added.
* platform/chromium-gpu-linux/media/video-display-toggle-expected.png: Added.
* platform/chromium-gpu-linux/media/video-no-audio-expected.checksum: Added.
* platform/chromium-gpu-linux/media/video-no-audio-expected.png: Added.
* platform/chromium-gpu-linux/media/video-volume-slider-expected.checksum: Added.
* platform/chromium-gpu-linux/media/video-volume-slider-expected.png: Added.
* platform/chromium-gpu-linux/media/video-zoom-expected.checksum: Added.
* platform/chromium-gpu-linux/media/video-zoom-expected.png: Added.
* platform/chromium-gpu-mac/media/video-display-toggle-expected.checksum: Added.
* platform/chromium-gpu-mac/media/video-display-toggle-expected.png: Added.
* platform/chromium-gpu-mac/media/video-no-audio-expected.checksum: Added.
* platform/chromium-gpu-mac/media/video-no-audio-expected.png: Added.
* platform/chromium-gpu-mac/media/video-volume-slider-expected.checksum: Added.
* platform/chromium-gpu-mac/media/video-volume-slider-expected.png: Added.
* platform/chromium-gpu-mac/media/video-zoom-expected.checksum: Added.
* platform/chromium-gpu-mac/media/video-zoom-expected.png: Added.
* platform/chromium-gpu-win/media/video-canvas-alpha-expected.checksum: Added.
* platform/chromium-gpu-win/media/video-canvas-alpha-expected.png: Added.
* platform/chromium-gpu-win/media/video-display-toggle-expected.checksum: Added.
* platform/chromium-gpu-win/media/video-display-toggle-expected.png: Added.
* platform/chromium-gpu-win/media/video-no-audio-expected.checksum: Added.
* platform/chromium-gpu-win/media/video-no-audio-expected.png: Added.
* platform/chromium-gpu-win/media/video-volume-slider-expected.checksum: Added.
* platform/chromium-gpu-win/media/video-volume-slider-expected.png: Added.
* platform/chromium-gpu-win/media/video-zoom-expected.checksum: Added.
* platform/chromium-gpu-win/media/video-zoom-expected.png: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80411
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 07:08:29 +0000 (07:08 +0000)]
2011-03-04 Xianzhu Wang <wangxianzhu@google.com>
Reviewed by Adam Barth.
Add a test to ensure SVGImage won't cause ResourceLoader leaks.
https://bugs.webkit.org/show_bug.cgi?id=55017
* fast/images/svg-image-leak-loader-expected.txt: Added.
* fast/images/svg-image-leak-loader.html: Added.
* fast/images/resources/load-script.html: Added.
2011-03-04 Xianzhu Wang <wangxianzhu@google.com>
Reviewed by Adam Barth.
Remove fake request loading of SVGImage to avoid MainResourceLoader
leak. The frame->init() already ensures initialization of the
document loader.
https://bugs.webkit.org/show_bug.cgi?id=55017
Test: fast/images/svg-image-leak-loader.html
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::dataChanged):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80410
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 06:32:04 +0000 (06:32 +0000)]
2011-03-04 Mike Reed <reed@google.com>
Reviewed by Mihai Parparita.
[Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows
https://bugs.webkit.org/show_bug.cgi?id=49477
* platform/chromium/test_expectations.txt:
2011-03-04 Mike Reed <reed@google.com>
Reviewed by Mihai Parparita.
[Chromium] fast/canvas/canvas-arc-360-winding.html fails on Linux and Windows
https://bugs.webkit.org/show_bug.cgi?id=49477
* platform/graphics/skia/PathSkia.cpp:
(WebCore::Path::addArc):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80409
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 06:12:36 +0000 (06:12 +0000)]
2011-03-04 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
On Mac, the bounding box sent to EditorClient::showCorrectionPanel() is incorrect when the correction occurs in an iframe.
https://bugs.webkit.org/show_bug.cgi?id=55717
<rdar://problem/9018127>
manual-test: manual-tests/platforms/mac/autocorrection/autocorrection-in-iframe.html
Previously, the bounding box passed into EditorClient::showCorrectionPanel() is in the frame's
coordinate. This is incorrect when the correction occurs in an iframe. This patch added code
to convert the bounding box to window coordinate using ScrollView::contentToWindow().
* dom/Range.cpp:
(WebCore::Range::getBoundingClientRect):
(WebCore::Range::boundingRect):
* dom/Range.h:
* editing/Editor.cpp:
(WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges):
(WebCore::Editor::correctionPanelTimerFired):
(WebCore::Editor::windowRectForRange):
* editing/Editor.h:
* manual-tests/autocorrection/autocorrection-in-iframe.html: Added.
* manual-tests/autocorrection/document-for-iframe-test.html: Added.
2011-03-04 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
On Mac, the bounding box sent to EditorClient::showCorrectionPanel() is incorrect when the correction occurs in an iframe.
https://bugs.webkit.org/show_bug.cgi?id=55717
<rdar://problem/9018127>
With the change in WebCore, the bounding box passed into EditorClient::showCorrectionPanel()
is already in window coordinate. We don't need to do further conversion anymore.
* WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::showCorrectionPanel):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80408
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 06:02:45 +0000 (06:02 +0000)]
2011-03-04 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
Reviewed by Laszlo Gombos.
[Qt] Need symbian version of cryptographicallyRandomValuesFromOS
https://bugs.webkit.org/show_bug.cgi?id=55782
Implement Symbian version of cryptographicallyRandomValuesFromOS
* wtf/OSRandomSource.cpp:
(WTF::cryptographicallyRandomValuesFromOS):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80407
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
simonjam@chromium.org [Sat, 5 Mar 2011 05:41:13 +0000 (05:41 +0000)]
2011-03-04 James Simonsen <simonjam@chromium.org>
Reviewed by Adam Barth.
Test that scripts with unknown types aren't loaded.
https://bugs.webkit.org/show_bug.cgi?id=51760
* fast/dom/HTMLScriptElement/dont-load-unknown-type-expected.txt: Added.
* fast/dom/HTMLScriptElement/dont-load-unknown-type.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80406
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 05:20:23 +0000 (05:20 +0000)]
2011-03-04 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
Those checking in Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited() should be done with VisiblePosition::isNull().
https://bugs.webkit.org/show_bug.cgi?id=55731
No new tests. There's no behavioral change.
This patch improved clarity and readability of Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited().
* editing/Editor.cpp:
(WebCore::Editor::removeSpellAndCorrectionMarkersFromWordsToBeEdited):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80405
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 5 Mar 2011 04:27:08 +0000 (04:27 +0000)]
2011-03-04 John Bauman <jbauman@chromium.org>
Reviewed by Kenneth Russell.
[chromium] premultipliedAlpha WebGL context attribute is ignored.
https://bugs.webkit.org/show_bug.cgi?id=55411
Add test case for (non-)premultiplied-alpha compositing.
* compositing/webgl/webgl-nonpremultiplied-blend.html: Added.
* platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.checksum: Added.
* platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.png: Added.
* platform/chromium-gpu/compositing/webgl/webgl-nonpremultiplied-blend-expected.txt: Added.
* platform/mac-wk2/Skipped:
* platform/mac/Skipped:
2011-03-04 John Bauman <jbauman@chromium.org>
Reviewed by Kenneth Russell.
[chromium] premultipliedAlpha WebGL context attribute is ignored.
https://bugs.webkit.org/show_bug.cgi?id=55411
Update compositor to set the blending of each layer correctly.
Test: compositing/webgl/webgl-nonpremultiplied-blend.html
* platform/graphics/chromium/CanvasLayerChromium.cpp:
(WebCore::CanvasLayerChromium::CanvasLayerChromium):
(WebCore::CanvasLayerChromium::draw):
* platform/graphics/chromium/CanvasLayerChromium.h:
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::draw):
* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::drawLayers):
* platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::setContext):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80404
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jhoneycutt@apple.com [Sat, 5 Mar 2011 03:58:30 +0000 (03:58 +0000)]
WK2 Mac build fix.
* UIProcess/API/C/WKPage.cpp:
(WKPageComputePagesForPrinting):
(WKPageBeginPrinting):
* UIProcess/API/C/WKPagePrivate.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80403
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jhoneycutt@apple.com [Sat, 5 Mar 2011 02:34:21 +0000 (02:34 +0000)]
WK2 Mac build fix.
* UIProcess/API/C/WKPagePrivate.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80402
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Sat, 5 Mar 2011 01:54:26 +0000 (01:54 +0000)]
[Snow Leopard Release Tests] accessibility/plugin.html,
compositing/geometry/empty-embed-rects.html, and fast/loader/loadInProgress.html timing out.
https://bugs.webkit.org/show_bug.cgi?id=55805
https://bugs.webkit.org/show_bug.cgi?id=55807
https://bugs.webkit.org/show_bug.cgi?id=55808
Unreviewed. Add these tests to the Snow Leopard skipped list to get the bots green.
* platform/mac-snowleopard/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80401
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 01:48:23 +0000 (01:48 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
WebCore GYP build should link with the correct frameworks
https://bugs.webkit.org/show_bug.cgi?id=55804
* gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80400
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 01:44:04 +0000 (01:44 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
WebCore GYP build should Check For Inappropriate Files in Framework
https://bugs.webkit.org/show_bug.cgi?id=55806
* gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80399
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jhoneycutt@apple.com [Sat, 5 Mar 2011 01:21:09 +0000 (01:21 +0000)]
WK2 needs printing support on Windows
https://bugs.webkit.org/show_bug.cgi?id=55800
<rdar://problem/8903808>
Reviewed by Darin Adler.
* UIProcess/API/C/WKPage.cpp:
(ComputedPagesContext::ComputedPagesContext):
(computedPagesCallback):
From the Vector of WebCore::IntRects, build up a Vector of WKRects.
Call the callback, passing these rects and the scale factor.
(printInfoFromWKPrintInfo):
Return a PrintInfo structure from the WKPrintInfo.
(WKPageComputePagesForPrinting):
Call WebPageProxy::computePagesForPrinting(). Pass
computedPagesCallback as the callback function, so that we can
translate the WebCore rect type to WKRect before calling the caller's
callback function.
(WKPageBeginPrinting):
Call WebPageProxy::beginPrinting().
(WKPageDrawPagesToPDF):
Call WebPageProxy::drawPagesToPDF().
* UIProcess/API/C/WKPagePrivate.h:
Declare the WKPrintInfo type and new functions.
* UIProcess/WebPageProxy.cpp:
Compile this code on Windows.
* UIProcess/WebPageProxy.h:
Ditto.
* UIProcess/win/WebView.cpp:
(WebKit::WebView::paint):
We're painting the window; leave printing mode.
* WebProcess/WebPage/WebPage.cpp:
Compile this code on Windows.
* WebProcess/WebPage/WebPage.h:
Ditto.
* WebProcess/WebPage/WebPage.messages.in:
Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80398
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
barraclough@apple.com [Sat, 5 Mar 2011 01:15:21 +0000 (01:15 +0000)]
Bug 54945 - The web page hangs towards the end of page load in Interpreter enabled javascript code in the latest webkit trunk.
Rubber stamped by olliej.
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
(1) don't infinite loop.
(2) goto 1.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80397
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
barraclough@apple.com [Sat, 5 Mar 2011 01:08:04 +0000 (01:08 +0000)]
cmake build fix.
* CMakeLists.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80396
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sfalken@apple.com [Sat, 5 Mar 2011 01:07:24 +0000 (01:07 +0000)]
2011-03-04 Steve Falkenburg <sfalken@apple.com>
Reviewed by Darin Adler.
Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
Calculate the WebKit version for the useragent via autoversion.h
instead of reading it back from the DLL.
We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.
* WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
* WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
* WebView.cpp:
(WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
(osVersion): Removed
2011-03-04 Steve Falkenburg <sfalken@apple.com>
Reviewed by Darin Adler.
Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
<rdar://problem/9021320>
We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.
Fetch the WebKit version from a string resource instead of the version resource.
* UIProcess/win/WebPageProxyWin.cpp:
(WebKit::userVisibleWebKitVersionString): Fetch version from a string resource.
* win/WebKit2.rc: Removed version, added stringtable.
* win/WebKit2WebProcess.rc: Removed.
* win/WebKit2WebProcess.vcproj:
* win/WebKit2WebProcessPostBuild.cmd: Don't run autoversion script. It isn't used in this project.
* win/WebKit2WebProcessPreBuild.cmd: Stamp version.
* win/WebKitPostBuild.cmd: Stamp version.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80395
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jeffm@apple.com [Sat, 5 Mar 2011 00:58:10 +0000 (00:58 +0000)]
Add WKPageValidateCommand()
https://bugs.webkit.org/show_bug.cgi?id=55793
Reviewed by Darin Adler.
On the Mac, validation of edit menu commands is handled within WebKit2 in WKView.mm.
However, on Windows we need to do this in the client, so expose this functionality
in the API via WKPageValidateCommand().
Change the Mac implementation to call WebPageProxy::validateCommand() with a callback
to match this new API, so it no longer has to go through PageClient to get notified
when a command is validated. This makes PageClient::setEditCommandState() obsolete,
so I removed the stub implementations in qt and gtk as well.
* UIProcess/API/C/WKPage.cpp:
(WKPageValidateCommand): Added.
* UIProcess/API/C/WKPage.h: Added WKPageValidateCommand().
* UIProcess/API/mac/PageClientImpl.h: Removed setEditCommandState().
* UIProcess/API/mac/PageClientImpl.mm: Removed setEditCommandState().
* UIProcess/API/mac/WKView.mm:
(validateCommandCallback): Added.
(-[WKView validateUserInterfaceItem:]): Pass callback to validateCommand().
* UIProcess/API/qt/qwkpage.cpp: Removed setEditCommandState().
* UIProcess/API/qt/qwkpage_p.h: Removed setEditCommandState().
* UIProcess/PageClient.h: Removed setEditCommandState().
* UIProcess/WebPageProxy.cpp: Removed didValidateCommand().
(WebKit::WebPageProxy::validateCommand): This now takes a callback.
(WebKit::WebPageProxy::validateCommandCallback): Added.
(WebKit::WebPageProxy::processDidCrash): Invalidate m_validateCommandCallbacks.
* UIProcess/WebPageProxy.h: Removed didValidateCommand(), validateCommand() now takes a callback.
(WebKit::ValidateCommandCallback::create): Added.
(WebKit::ValidateCommandCallback::~ValidateCommandCallback): Added.
(WebKit::ValidateCommandCallback::performCallbackWithReturnValue): Added.
(WebKit::ValidateCommandCallback::invalidate): Added.
(WebKit::ValidateCommandCallback::ValidateCommandCallback): Added.
* UIProcess/WebPageProxy.messages.in: Removed DidValidateCommand, added ValidateCommandCallback.
* UIProcess/gtk/WebView.cpp: Removed setEditCommandState().
* UIProcess/gtk/WebView.h: Removed setEditCommandState().
* UIProcess/win/WebView.cpp: Removed setEditCommandState().
* UIProcess/win/WebView.h: Removed setEditCommandState().
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::validateCommand): This now takes a callbackID.
* WebProcess/WebPage/WebPage.h: validateCommand now takes a callbackID.
* WebProcess/WebPage/WebPage.messages.in: ValidateCommand now takes a callbackID.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80394
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 00:55:55 +0000 (00:55 +0000)]
2011-03-04 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Adam Barth.
Add skeletal WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=55802
* Source/gyp/configure: Added WebCore.
2011-03-04 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Adam Barth.
Add skeletal WebCore.gyp
https://bugs.webkit.org/show_bug.cgi?id=55802
This doesn't yet build, but the basic structure is there.
* WebCore.gypi: Added headers and include directories variables.
* gyp/WebCore.gyp: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80393
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bweinstein@apple.com [Sat, 5 Mar 2011 00:35:35 +0000 (00:35 +0000)]
Reference-counting for WKBundlePageResourceLoadClient::willSendRequestForFrame seems unclear/wrong
https://bugs.webkit.org/show_bug.cgi?id=53919
<rdar://problem/8966020>
Reviewed by Darin Adler.
Adopt the result of m_client.willSendRequestForFrame (which will be leaked by the client).
* WebProcess/InjectedBundle/InjectedBundlePageResourceLoadClient.cpp:
(WebKit::InjectedBundlePageResourceLoadClient::willSendRequestForFrame):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80392
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin@apple.com [Sat, 5 Mar 2011 00:23:48 +0000 (00:23 +0000)]
2011-03-04 Darin Adler <darin@apple.com>
Reviewed by Mark Rowe.
WebKit2 session state should include even loads too new to be in the back/forward list
https://bugs.webkit.org/show_bug.cgi?id=55781
part of <rdar://problem/8968847>
* UIProcess/cf/WebPageProxyCF.cpp:
(WebKit::WebPageProxy::sessionStateData): Save URLs that are early enough in the loading
process to not be included in the back/forward list yet: The pending API request URL and
the provisional URL.
(WebKit::WebPageProxy::restoreFromSessionStateData): Call loadURL if the back/forward
list is not restored and a URL is present. Later we can improve the way we handle the
case where we have both a back/forward list and a URL.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80391
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 00:19:59 +0000 (00:19 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add Copy Files step to JavaScriptCore GYP build for apitest and minidom
https://bugs.webkit.org/show_bug.cgi?id=55798
* JavaScriptCore.gypi:
* gyp/JavaScriptCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80390
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 00:16:45 +0000 (00:16 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795
* JavaScriptCore.gyp/JavaScriptCore.gyp:
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795
* WebKit.gyp:
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Remove unneeded round-trips through ../Source in the Chromium GYP build
https://bugs.webkit.org/show_bug.cgi?id=55795
This is just cleanup work, but it was bugging me.
* WebCore.gyp/WebCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80389
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 00:13:55 +0000 (00:13 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add a basic configure script for the GYP build
https://bugs.webkit.org/show_bug.cgi?id=55791
This script just calls GYP on the various gyp projects. As we add more
build systems, this script should be able to select which of them you'd
like to generate the project for.
* Source/gyp/configure: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80388
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sat, 5 Mar 2011 00:11:19 +0000 (00:11 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790
This file contains GYP declarations that are shared by all the modules.
Currently, we use this to set up the configurations, albeit primitively.
* Source/gyp/common.gypi: Added.
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790
Instead of setting up the configuration in each target, just defer to
target_defaults. Also, removed a define that was redundant with the
xcconfig.
* gyp/JavaScriptCore.gyp:
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Use target_defaults to reduce boilerplate in GYP build system
https://bugs.webkit.org/show_bug.cgi?id=55790
Instead of setting up the configuration in each target, just defer to
target_defaults. Also, removed a define that was redundant with the
xcconfig.
* gyp/JavaScriptGlue.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80387
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jamesr@google.com [Sat, 5 Mar 2011 00:00:40 +0000 (00:00 +0000)]
2011-03-04 Mike Reed <reed@google.com>
Reviewed by James Robinson.
Option to use skia's native text drawing APIs when drawing text
on Windows, rather than from outlines using drawPath(). This will
only have a significant effect when the skia-gpu backend is enabled.
https://bugs.webkit.org/show_bug.cgi?id=55609
No new tests. This is disabled by default. When enabled, it will draw
essentially the same, but with slightly different antialiased edges, due
to differences between the current scanconverter and GDI's font scaler.
When enabled, we will have to recalibrate layouttest image results.
* platform/graphics/skia/SkiaFontWin.cpp:
(WebCore::skiaDrawText):
(WebCore::setupPaintForFont):
(WebCore::paintSkiaText):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80386
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tonyg@chromium.org [Fri, 4 Mar 2011 23:59:38 +0000 (23:59 +0000)]
2011-03-04 Tony Gentilcore <tonyg@chromium.org>
[chromium] Fail new test for JSC feature introduced by r80378
https://bugs.webkit.org/show_bug.cgi?id=55801
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80385
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
enne@google.com [Fri, 4 Mar 2011 23:57:25 +0000 (23:57 +0000)]
2011-03-04 Adrienne Walker <enne@google.com>
Reviewed by James Robinson.
Turn on pixel tests for huge-layer-img.html for better test coverage.
https://bugs.webkit.org/show_bug.cgi?id=55679
Also, modify this test to be more pixel test friendly.
* compositing/tiling/huge-layer-img-expected.checksum: Added.
* compositing/tiling/huge-layer-img-expected.png: Added.
* compositing/tiling/huge-layer-img-expected.txt: Added.
* compositing/tiling/huge-layer-img.html:
* platform/chromium-gpu-win/compositing/tiling/huge-layer-img-expected.txt: Removed.
* platform/chromium-gpu/compositing/tiling/huge-layer-img-expected.txt: Added.
* platform/mac/compositing/tiling/huge-layer-img-expected.txt: Removed.
2011-03-04 Adrienne Walker <enne@google.com>
Reviewed by James Robinson.
[chromium] Fix texture stride issues on large content and image layers.
https://bugs.webkit.org/show_bug.cgi?id=55679
This was an error caused during the refactoring in r80081.
Tests: LayoutTests/compositing/tiling/huge-layer-img.html
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::updateTexture):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::updateTextureIfNeeded):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80384
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tonyg@chromium.org [Fri, 4 Mar 2011 23:38:47 +0000 (23:38 +0000)]
2011-03-04 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r80379.
http://trac.webkit.org/changeset/80379
https://bugs.webkit.org/show_bug.cgi?id=55799
"Breaks leopard compile (implicit conversion)" (Requested by
tonyg-cr on #webkit).
* transitions/matched-transform-functions.html:
* transitions/retargetted-transition.html:
2011-03-04 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r80379.
http://trac.webkit.org/changeset/80379
https://bugs.webkit.org/show_bug.cgi?id=55799
"Breaks leopard compile (implicit conversion)" (Requested by
tonyg-cr on #webkit).
* css/CSSStyleSelector.cpp:
(WebCore::convertToLength):
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::createTransformOperations):
* platform/Length.h:
(WebCore::Length::Length):
(WebCore::Length::operator==):
(WebCore::Length::operator!=):
(WebCore::Length::rawValue):
(WebCore::Length::type):
(WebCore::Length::quirk):
(WebCore::Length::setValue):
(WebCore::Length::setRawValue):
(WebCore::Length::calcFloatValue):
(WebCore::Length::isZero):
(WebCore::Length::blend):
* rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
(WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcWidthArray):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80383
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrowe@apple.com [Fri, 4 Mar 2011 23:36:59 +0000 (23:36 +0000)]
<rdar://problem/9055252> DumpRenderTree is crashing with GuardMalloc
Reviewed by Alexey Proskuryakov.
GuardMalloc does not expect the memory containing its malloc_zone_t to ever be read-only.
* DumpRenderTree/mac/CheckedMalloc.cpp:
(protectionOfRegion): Retrieve the protection flags for the VM region containing the given address.
(makeLargeMallocFailSilently): Save the initial protection flags, temporarily make the region writeable,
and then restore the initial protection flags when we're done.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80382
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Fri, 4 Mar 2011 23:09:26 +0000 (23:09 +0000)]
WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.
Reviewed by Darin Adler.
Add in the CFURLSTORAGESESSIONS guards that I incorrectly left out because the code was
contained within guards that made USE(CFURLSTORAGESESSIONS) always be true.
Source/WebCore:
* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::makeFinalRequest):
(WebCore::ResourceHandle::willSendRequest):
* platform/network/cf/ResourceRequestCFNet.cpp:
* platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::createNSURLConnection):
(WebCore::ResourceHandle::willSendRequest):
* platform/network/mac/ResourceRequestMac.mm:
Source/WebKit2:
* UIProcess/mac/WebContextMac.mm:
(WebKit::WebContext::platformInitializeWebProcess):
* UIProcess/win/WebContextWin.cpp:
(WebKit::WebContext::platformInitializeWebProcess):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80381
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Fri, 4 Mar 2011 23:07:15 +0000 (23:07 +0000)]
2011-03-04 Yuqiang Xian <yuqiang.xian@intel.com>
Reviewed by Darin Adler.
improve layout performance by reducing the traversal time of the floating objects
https://bugs.webkit.org/show_bug.cgi?id=55440
We observered large overhead on traversing the floating objects list
in logicalLeftOffsetForLine() and logicalRightOffsetForLine() especially
when the list becomes enormous, for example in the default 30x30 maze test
from http://ie.microsoft.com/testdrive/Performance/MazeSolver/Default.html
there're >3700 floating objects. When placing a new floating object the
entire list (from begin to end) is traversed for multiple times.
There's a low hanging fruit to reduce the chances to do the traversal
which is especially applicable in logicalLeftOffsetForLine and logicalRightOffsetForLine.
As the two routines either cares about FloatLeft objects or FloatRight objects only,
if we know there's no corresponding type floating objects in the list
we can avoid the traversal actually. One thing we could do is to record
the number of FloatLeft objects and the number of FloatRight objects and
add a check before doing the traversal. This can reduce the time by 45%
to resolve the 30x30 Maze measured on N470 Netbook MeeGo using latest
Chromium browser 11 (from 503s to 269s).
No new tests, relying on existing layout tests.
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::~RenderBlock):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::repaintOverhangingFloats):
(WebCore::RenderBlock::paintFloats):
(WebCore::RenderBlock::selectionGaps):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::removeFloatingObject):
(WebCore::RenderBlock::removeFloatingObjectsBelow):
(WebCore::RenderBlock::positionNewFloats):
(WebCore::RenderBlock::positionNewFloatOnLine):
(WebCore::RenderBlock::logicalLeftOffsetForLine):
(WebCore::RenderBlock::logicalRightOffsetForLine):
(WebCore::RenderBlock::nextFloatLogicalBottomBelow):
(WebCore::RenderBlock::lowestFloatLogicalBottom):
(WebCore::RenderBlock::clearFloats):
(WebCore::RenderBlock::addOverhangingFloats):
(WebCore::RenderBlock::addIntrudingFloats):
(WebCore::RenderBlock::containsFloat):
(WebCore::RenderBlock::hitTestFloats):
(WebCore::RenderBlock::adjustForBorderFit):
(WebCore::RenderBlock::FloatingObjects::clear):
(WebCore::RenderBlock::FloatingObjects::increaseObjectsCount):
(WebCore::RenderBlock::FloatingObjects::decreaseObjectsCount):
* rendering/RenderBlock.h:
(WebCore::RenderBlock::containsFloats):
(WebCore::RenderBlock::FloatingObjects::FloatingObjects):
(WebCore::RenderBlock::FloatingObjects::hasLeftObjects):
(WebCore::RenderBlock::FloatingObjects::hasRightObjects):
(WebCore::RenderBlock::FloatingObjects::set):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::matchedEndLine):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80380
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Fri, 4 Mar 2011 23:05:51 +0000 (23:05 +0000)]
2011-03-04 Rik Cabanier <cabanier@gmail.com>
Reviewed by David Hyatt.
Fix that allows fixed length values to be floating point
https://bugs.webkit.org/show_bug.cgi?id=52699
Transitions now return matrices in floating point. 2 of the transition tests were failing
because they expected integer values.
* transitions/matched-transform-functions.html:
* transitions/retargetted-transition.html:
2011-03-04 Rik Cabanier <cabanier@gmail.com>
Reviewed by David Hyatt.
Fix that allows fixed length values to be floating point
https://bugs.webkit.org/show_bug.cgi?id=52699
* WebCore.xcodeproj/project.pbxproj:
* css/CSSStyleSelector.cpp:
(WebCore::convertToLength):
(WebCore::convertToIntLength):
(WebCore::convertToFloatLength):
(WebCore::CSSStyleSelector::applyProperty):
(WebCore::CSSStyleSelector::createTransformOperations):
* platform/Length.h:
(WebCore::Length::Length):
(WebCore::Length::operator==):
(WebCore::Length::operator!=):
(WebCore::Length::rawValue):
(WebCore::Length::type):
(WebCore::Length::quirk):
(WebCore::Length::setValue):
(WebCore::Length::calcFloatValue):
(WebCore::Length::isZero):
(WebCore::Length::blend):
(WebCore::Length::getIntValue):
(WebCore::Length::getFloatValue):
* rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
(WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcWidthArray):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80379
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
barraclough@apple.com [Fri, 4 Mar 2011 22:34:48 +0000 (22:34 +0000)]
Bug 55736 - Implement seal/freeze/preventExtensions for normal object types.
Provide basic functionallity from section 15.2.4 of ECMA-262.
This support will need expanding to cover arrays, too.
Reviewed by Sam Weinig.
Source/JavaScriptCore:
Shows a 0.5% progression on SunSpidey, this seems to be due to changing
ObjectConstructor to use a static table.
* DerivedSources.make:
* JavaScriptCore.exp:
* interpreter/CallFrame.h:
(JSC::ExecState::objectConstructorTable):
Add a static table for ObjectConstructor.
* runtime/CommonIdentifiers.h:
* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):
(JSC::JSGlobalData::~JSGlobalData):
Add a static table for ObjectConstructor.
* runtime/JSGlobalData.h:
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::reset):
Add a static table for ObjectConstructor.
* runtime/JSObject.cpp:
(JSC::JSObject::seal):
(JSC::JSObject::freeze):
(JSC::JSObject::preventExtensions):
Transition the object's structure.
(JSC::JSObject::defineOwnProperty):
Check isExtensible.
* runtime/JSObject.h:
(JSC::JSObject::isSealed):
(JSC::JSObject::isFrozen):
(JSC::JSObject::isExtensible):
These wrap method on structure.
(JSC::JSObject::putDirectInternal):
Check isExtensible.
* runtime/ObjectConstructor.cpp:
(JSC::ObjectConstructor::ObjectConstructor):
(JSC::ObjectConstructor::getOwnPropertySlot):
(JSC::ObjectConstructor::getOwnPropertyDescriptor):
Change ObjectConstructor to use a static table.
(JSC::objectConstructorSeal):
(JSC::objectConstructorFreeze):
(JSC::objectConstructorPreventExtensions):
(JSC::objectConstructorIsSealed):
(JSC::objectConstructorIsFrozen):
(JSC::objectConstructorIsExtensible):
Add new methods on Object.
* runtime/ObjectConstructor.h:
(JSC::ObjectConstructor::createStructure):
* runtime/Structure.cpp:
(JSC::Structure::Structure):
init/propagate m_preventExtensions
(JSC::Structure::sealTransition):
(JSC::Structure::freezeTransition):
(JSC::Structure::preventExtensionsTransition):
transition the structure, materializing the property map, setting m_preventExtensions & changing attributes.
(JSC::Structure::isSealed):
(JSC::Structure::isFrozen):
check attributes to detect if object is sealed/frozen.
* runtime/Structure.h:
(JSC::Structure::isExtensible):
checks the m_preventExtensions flag.
LayoutTests:
Update results - many more tests PASS.
Also adds a new testcase.
* fast/js/Object-getOwnPropertyNames-expected.txt:
* fast/js/script-tests/Object-getOwnPropertyNames.js:
* ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.10-1-expected.txt:
* ietestcenter/Javascript/15.2.3.10-2-expected.txt:
* ietestcenter/Javascript/15.2.3.11-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.11-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.11-1-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-1-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-10-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-11-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-12-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-13-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-14-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-15-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-16-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-17-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-18-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-19-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-2-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-20-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-21-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-22-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-23-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-24-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-25-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-26-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-27-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-3-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-4-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-5-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-6-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-7-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-8-expected.txt:
* ietestcenter/Javascript/15.2.3.11-4-9-expected.txt:
* ietestcenter/Javascript/15.2.3.12-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.12-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.12-1-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-1-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-10-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-11-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-12-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-13-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-14-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-15-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-16-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-17-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-18-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-19-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-2-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-20-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-21-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-22-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-23-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-24-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-25-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-26-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-27-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-3-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-4-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-5-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-6-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-7-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-8-expected.txt:
* ietestcenter/Javascript/15.2.3.12-3-9-expected.txt:
* ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
* ietestcenter/Javascript/15.2.3.13-1-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
* ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
* ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
* ietestcenter/Javascript/15.2.3.14-2-5-expected.txt:
* ietestcenter/Javascript/15.2.3.14-2-6-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-20-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-21-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-23-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-24-expected.txt:
* ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
* ietestcenter/Javascript/15.2.3.4-4-2-expected.txt:
* ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
* ietestcenter/Javascript/15.2.3.8-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.8-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.8-1-expected.txt:
* ietestcenter/Javascript/15.2.3.9-0-1-expected.txt:
* ietestcenter/Javascript/15.2.3.9-0-2-expected.txt:
* ietestcenter/Javascript/15.2.3.9-1-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80378
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sfalken@apple.com [Fri, 4 Mar 2011 22:08:12 +0000 (22:08 +0000)]
Fix ChangeLog
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80377
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
evan@chromium.org [Fri, 4 Mar 2011 22:07:57 +0000 (22:07 +0000)]
2011-03-04 Evan Martin <evan@chromium.org>
Reviewed by Tony Chang.
[gdb] pretty-print KURL in gdb
https://bugs.webkit.org/show_bug.cgi?id=55788
* gdb/webkit.py: extend the pretty-printers to print WTF::CString
and KURLGooglePrivate. As always, "p/r" can be used to sidestep
pretty-printing.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80376
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sfalken@apple.com [Fri, 4 Mar 2011 22:06:45 +0000 (22:06 +0000)]
Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
Reviewed by NOBODY Jon Honeycutt.
We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.
* WebCore.vcproj/QTMovieWin.rc: Removed.
* WebCore.vcproj/QTMovieWin.vcproj:
* WebCore.vcproj/QTMovieWinPostBuild.cmd: Stamp version with VersionStamper.
* WebCore.vcproj/QTMovieWinPreBuild.cmd: Don't run auto-version.sh. We don't use autoversion.h in this project.
* WebCore.vcproj/WebCoreMediaQT.vsprops: Remove unnecessary include paths for resource files.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80375
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sfalken@apple.com [Fri, 4 Mar 2011 22:05:34 +0000 (22:05 +0000)]
Adopt VersionStamper tool for Windows WebKit DLLs
https://bugs.webkit.org/show_bug.cgi?id=55784
<rdar://problem/9021273>
Reviewed by Jon Honeycutt.
We now use a tool to stamp the version number onto the Apple WebKit DLLs
during the post-build step.
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.rc: Removed.
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePostBuild.cmd:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCorePreBuild.cmd:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80374
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
pfeldman@chromium.org [Fri, 4 Mar 2011 22:03:58 +0000 (22:03 +0000)]
2011-03-04 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: follow up to 80355, fixing Qt tests.
* http/tests/inspector/inspector-test.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80373
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Fri, 4 Mar 2011 21:59:51 +0000 (21:59 +0000)]
2011-03-04 Mihai Parparita <mihaip@chromium.org>
Unreviewed Chromium Snow Leopard rebaseline.
Rebaseline fast/blockflow.
* platform/chromium-mac-leopard/fast/blockflow/english-lr-text-expected.checksum: Copied from LayoutTests/platform/chromium-mac/fast/blockflow/english-lr-text-expected.checksum.
* platform/chromium-mac-leopard/fast/blockflow/english-lr-text-expected.png: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
* platform/chromium-mac-leopard/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
* platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
* platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.checksum:
* platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.png:
* platform/chromium-mac/fast/blockflow/english-lr-text-expected.checksum:
* platform/chromium-mac/fast/blockflow/english-lr-text-expected.png: Added.
* platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.checksum:
* platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.png:
* platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.checksum:
* platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.png:
* platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.checksum:
* platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.png:
* platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.checksum:
* platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.png: Added.
* platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
* platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
* platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.checksum:
* platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.png:
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80372
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Fri, 4 Mar 2011 21:28:09 +0000 (21:28 +0000)]
2011-03-04 Cosmin Truta <ctruta@chromium.org>
Reviewed by Adam Barth.
Clarify comment about potential memory leak in SVGImage
https://bugs.webkit.org/show_bug.cgi?id=55362
No functionality change. No new tests.
* svg/graphics/SVGImage.cpp:
(WebCore::SVGImage::dataChanged):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80371
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Fri, 4 Mar 2011 20:37:53 +0000 (20:37 +0000)]
WebKit2: Use CFNetwork Sessions API.
https://bugs.webkit.org/show_bug.cgi?id=55435.
Reviewed by Maciej Stachowiak.
When Private Browsing is enabled, get the cached url response from the cache associated with
the Private Browsing Storage Session.
Source/WebCore:
* WebCore.exp.in:
Export the symbol for ResourceHandle::privateBrowsingStorageSession.
Source/WebKit/mac:
* WebView/WebView.mm:
(-[WebView _cachedResponseForURL:]):
Source/WebKit2:
* WebProcess/WebPage/mac/WebPageMac.mm:
(WebKit::WebPage::platformHasLocalDataForURL):
If Private Browsing is enabled, call into WKSI to get the response.
(WebKit::WebPage::cachedResponseMIMETypeForURL):
Ditto.
* WebProcess/WebPage/win/WebPageWin.cpp:
(WebKit::WebPage::platformHasLocalDataForURL):
If Private Browsing is enabled, call into WKSI to get the CFURLCacheRef.
(WebKit::WebPage::cachedResponseMIMETypeForURL):
Ditto.
WebKitLibraries:
Update WebKitSystemInterface headers and libraries with the new functions.
* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:
* win/include/WebKitSystemInterface/WebKitSystemInterface.h:
* win/lib/WebKitSystemInterface.lib:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80370
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mdelaney@apple.com [Fri, 4 Mar 2011 20:30:45 +0000 (20:30 +0000)]
2011-03-03 Matthew Delaney <mdelaney@apple.com>
Reviewed by Darin Adler.
Incorrect location for expected result for 2d.line.cap.closed.html
https://bugs.webkit.org/show_bug.cgi?id=55637
* platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.closed-expected.txt: Copied from LayoutTests/platform/mac/canvas/philip/tests/2d.line.cap.closed-expected.txt.
* platform/mac/canvas/philip/tests/2d.line.cap.closed-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80369
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Fri, 4 Mar 2011 19:21:20 +0000 (19:21 +0000)]
2011-03-04 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
JavaScriptCore GYP build should use a header map
https://bugs.webkit.org/show_bug.cgi?id=55712
This patch moves the os-win32 files into their own variable so that we
can use a header map in the Apple Mac Xcode build. The problem is that
the header map searches the whole project rather than just the files
included in a given target. Another solution to this problem is to
make GYP smarter about filtering out what files are added to the
project file.
* JavaScriptCore.gypi:
* gyp/JavaScriptCore.gyp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80368
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
steveblock@google.com [Fri, 4 Mar 2011 19:17:28 +0000 (19:17 +0000)]
2011-03-04 Steve Block <steveblock@google.com>
Reviewed by Jeremy Orlow.
JSC and V8 versions of Java bridge should share JobjectWrapper
https://bugs.webkit.org/show_bug.cgi?id=55763
No new tests, refactoring only.
* Android.jscbindings.mk:
* Android.v8bindings.mk:
* WebCore.gypi:
* WebCore.order:
* WebCore.xcodeproj/project.pbxproj:
* bridge/jni/JobjectWrapper.cpp:
(JobjectWrapper::JobjectWrapper):
(JobjectWrapper::~JobjectWrapper):
* bridge/jni/JobjectWrapper.h:
(JSC::Bindings::JobjectWrapper::instance):
(JSC::Bindings::JobjectWrapper::setInstance):
(JSC::Bindings::JobjectWrapper::ref):
(JSC::Bindings::JobjectWrapper::deref):
* bridge/jni/jsc/JNIBridgeJSC.cpp:
(JavaField::JavaField):
(JavaArray::JavaArray):
* bridge/jni/jsc/JNIBridgeJSC.h:
* bridge/jni/jsc/JavaInstanceJSC.cpp:
(JavaInstance::JavaInstance):
* bridge/jni/jsc/JavaInstanceJSC.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80367
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mihaip@chromium.org [Fri, 4 Mar 2011 18:32:01 +0000 (18:32 +0000)]
2011-03-04 Mihai Parparita <mihaip@chromium.org>
Unreviewed Chromium expectations update.
Add one expected failure for Snow Leopard, make other failure lines
more specific (since the tests pass on SL) and remove some flaky test
entries for tests that are no longer flaky.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80366
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jeffm@apple.com [Fri, 4 Mar 2011 18:08:52 +0000 (18:08 +0000)]
2011-03-04 Jeff Miller <jeffm@apple.com>
Reviewed by Darin Adler.
Move WKViewExecuteCommand() to WKPageExecuteCommand()
https://bugs.webkit.org/show_bug.cgi?id=55744
Executing a command operates on a page, so it makes more sense for it to be in WKPage.
This also makes it available on all platforms, not just Windows.
* UIProcess/API/C/WKPage.cpp:
(WKPageExecuteCommand): Added.
* UIProcess/API/C/WKPage.h: Add WKPageExecuteCommand().
* UIProcess/API/C/win/WKView.cpp: Remove WKViewExecuteCommand().
* UIProcess/API/C/win/WKView.h: Remove WKViewExecuteCommand().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80365
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tonyg@chromium.org [Fri, 4 Mar 2011 18:08:43 +0000 (18:08 +0000)]
2011-03-04 Tony Gentilcore <tonyg@chromium.org>
Unreviewed expectations update.
[chromium] Rebaseline to match r80351
https://bugs.webkit.org/show_bug.cgi?id=55783
* platform/chromium/inspector/timeline/timeline-network-resource-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80364
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jberlin@webkit.org [Fri, 4 Mar 2011 17:55:39 +0000 (17:55 +0000)]
[Windows 7 WebKit2 Release Tests] fast/frames/iframe-plugin-load-remove-document-crash.html
and platform/win/plugins/get-value-netscape-window.html crashing.
https://bugs.webkit.org/show_bug.cgi?id=55778
https://bugs.webkit.org/show_bug.cgi?id=55780
Unreviewed. Add these tests to the Windows WebKit2 Skipped list to get the bots green.
* platform/win-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80363
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
paroga@webkit.org [Fri, 4 Mar 2011 17:38:24 +0000 (17:38 +0000)]
2011-03-04 Patrick Gansterer <paroga@webkit.org>
Reviewed by Nikolas Zimmermann.
Move shared code into SVGStyledTransformableElement::svgAttributeChanged
https://bugs.webkit.org/show_bug.cgi?id=55771
All sub classes of SVGStyledTransformableElement request a relayout
the same way. So move that code into the common base class.
* svg/SVGCircleElement.cpp:
(WebCore::SVGCircleElement::svgAttributeChanged):
* svg/SVGEllipseElement.cpp:
(WebCore::SVGEllipseElement::svgAttributeChanged):
* svg/SVGForeignObjectElement.cpp:
(WebCore::SVGForeignObjectElement::svgAttributeChanged):
* svg/SVGGElement.cpp:
(WebCore::SVGGElement::svgAttributeChanged):
* svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::svgAttributeChanged):
* svg/SVGLineElement.cpp:
(WebCore::SVGLineElement::svgAttributeChanged):
* svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::svgAttributeChanged):
* svg/SVGPolyElement.cpp:
(WebCore::SVGPolyElement::svgAttributeChanged):
* svg/SVGRectElement.cpp:
(WebCore::SVGRectElement::svgAttributeChanged):
* svg/SVGStyledTransformableElement.cpp:
(WebCore::SVGStyledTransformableElement::svgAttributeChanged):
* svg/SVGStyledTransformableElement.h:
* svg/SVGUseElement.cpp:
(WebCore::SVGUseElement::svgAttributeChanged):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80362
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jam@chromium.org [Fri, 4 Mar 2011 17:22:51 +0000 (17:22 +0000)]
2011-03-03 John Abd-El-Malek <jam@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Get rid of IsContentFiltered flags since they're not used anymore
https://bugs.webkit.org/show_bug.cgi?id=55748
* DEPS:
* public/WebURLResponse.h:
* src/WebURLResponse.cpp:
2011-03-03 John Abd-El-Malek <jam@chromium.org>
Reviewed by Dimitri Glazkov.
[chromium] Get rid of IsContentFiltered flags since they're not used anymore
https://bugs.webkit.org/show_bug.cgi?id=55748
* platform/network/chromium/ResourceResponse.cpp:
(WebCore::ResourceResponse::doPlatformCopyData):
(WebCore::ResourceResponse::doPlatformAdopt):
* platform/network/chromium/ResourceResponse.h:
(WebCore::ResourceResponse::ResourceResponse):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80361
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
philn@webkit.org [Fri, 4 Mar 2011 17:22:45 +0000 (17:22 +0000)]
2011-03-04 Philippe Normand <pnormand@igalia.com>
Reviewed by Martin Robinson.
[GTK] media/audio-repaint.html times out
https://bugs.webkit.org/show_bug.cgi?id=55761
* media/audio-repaint.html: Register the seeked event listener
before performing the seek and thus avoid a timeout of the test.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80360
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Fri, 4 Mar 2011 17:20:30 +0000 (17:20 +0000)]
LLVM Compiler build fix.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::runJavaScriptInMainFrame):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80359
268f45cc-cd09-0410-ab3c-
d52691b4dbfc