abarth@webkit.org [Mon, 13 Sep 2010 17:40:44 +0000 (17:40 +0000)]
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Fix </sarcasm>
https://bugs.webkit.org/show_bug.cgi?id=45645
Test that </sarcasm> works properly.
* html5lib/resources/webkit02.dat:
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Fix </sarcasm>
https://bugs.webkit.org/show_bug.cgi?id=45645
Umm... Yeah.
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTagForInBody):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67396
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 17:21:54 +0000 (17:21 +0000)]
2010-09-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
Reviewed by Darin Adler.
[WML] Fix build breaks when WML is enabled
https://bugs.webkit.org/show_bug.cgi?id=45628
There are build breaks by Bug 22382 when WML is enabled. The handleLinkClick() has an event parameter.
So, we need to set an event when wml invoke the handleLinkClick(). And, doTextFieldCommandFromEvent()
was moved to editor. So, we need to mofidy the invocation in WMLInputElement.cpp
* wml/WMLAElement.cpp:
(WebCore::WMLAElement::defaultEventHandler):
* wml/WMLInputElement.cpp:
(WebCore::WMLInputElement::defaultEventHandler):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67395
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yurys@chromium.org [Mon, 13 Sep 2010 17:00:12 +0000 (17:00 +0000)]
2010-09-13 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Rebaseline inspector/extensions-events.html
* inspector/extensions-events-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67394
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sullivan@apple.com [Mon, 13 Sep 2010 16:32:21 +0000 (16:32 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=45677
[WebView canMarkAllTextMatches] can crash if called after [WebView close]
Reviewed by Adam Roben.
<rdar://problem/8404890>
* WebView/WebView.mm:
(-[WebView canMarkAllTextMatches]):
Return NO immediately if the webview has already been closed. This was an overlooked
case from the fix for 45175.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67393
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Mon, 13 Sep 2010 16:26:27 +0000 (16:26 +0000)]
2010-09-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Xan Lopez.
[GTK] When a feature is disabled by default, the source necessary to build it are not included in the distribution
https://bugs.webkit.org/show_bug.cgi?id=45230
No new tests as this is just a build change.
* GNUmakefile.am: Move as many sources as possible to the SOURCES primary.
Others should be moved over time as we solve issues with them.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67392
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ossy@webkit.org [Mon, 13 Sep 2010 16:17:53 +0000 (16:17 +0000)]
2010-09-13 Csaba Osztrogonác <ossy@webkit.org>
Reviewed by Andreas Kling.
jscPath() is incorrect in Windows' cmd.exe shell
https://bugs.webkit.org/show_bug.cgi?id=45651
* Scripts/webkitdirs.pm: Add ".exe" suffix to $jscName on Windows.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67391
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
cfleizach@apple.com [Mon, 13 Sep 2010 16:03:00 +0000 (16:03 +0000)]
REGRESSION (r64816-r64889): Crash in WebCore::AccessibilityRenderObject
https://bugs.webkit.org/show_bug.cgi?id=43807
Reviewed by Darin Adler.
WebCore:
Ensure that visiblePositionForPoint can handle non RenderBoxModelObject types.
Test: platform/mac/accessibility/visible-position-crash-for-text-node.html
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::visiblePositionForPoint):
WebKitTools:
* DumpRenderTree/AccessibilityUIElement.cpp:
(textMarkerForPointCallback):
(AccessibilityUIElement::textMarkerForPoint):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::textMarkerForPoint):
LayoutTests:
* platform/mac/accessibility/visible-position-crash-for-text-node-expected.txt: Added.
* platform/mac/accessibility/visible-position-crash-for-text-node.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67390
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Mon, 13 Sep 2010 15:25:36 +0000 (15:25 +0000)]
2010-09-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Andreas Kling.
[Qt] DOM listeners get wrong keycodes for some keys
https://bugs.webkit.org/show_bug.cgi?id=43365
* platform/qt/Skipped: Unskip tests that are now passing.
2010-09-13 Martin Robinson <mrobinson@igalia.com>
Reviewed by Andreas Kling.
[Qt] DOM listeners get wrong keycodes for some keys
https://bugs.webkit.org/show_bug.cgi?id=43365
Produce the proper keycodes for the print screen key as well as the
keypad insert and delete keys.
* platform/qt/PlatformKeyboardEventQt.cpp:
(WebCore::windowsKeyCodeForKeyEvent): Fix keycode translation for the mentioned keys.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67389
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben@apple.com [Mon, 13 Sep 2010 15:13:17 +0000 (15:13 +0000)]
Copy JavaScriptCore's generated sources to the right directory
* JavaScriptCore.vcproj/JavaScriptCore.make: Fixed typo.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67388
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 14:20:38 +0000 (14:20 +0000)]
2010-09-13 Jonathan Dixon <joth@chromium.org>
Reviewed by Steve Block.
[chromium] Port test shell geolocation fixes to DRT
https://bugs.webkit.org/show_bug.cgi?id=45313
Remove exceptions for tests that now pass (in DRT and downstream test_shell)
* platform/chromium/drt_expectations.txt:
* platform/chromium/test_expectations.txt:
2010-09-13 Jonathan Dixon <joth@chromium.org>
Reviewed by Steve Block.
[chromium] Port test shell geolocation fixes to DRT
https://bugs.webkit.org/show_bug.cgi?id=45313
Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :-
Add missing virtual destructor to the abstract base class.
* platform/chromium/GeolocationServiceChromium.cpp:
(WebCore::GeolocationServiceBridge::~GeolocationServiceBridge):
* platform/chromium/GeolocationServiceChromium.h:
2010-09-13 Jonathan Dixon <joth@chromium.org>
Reviewed by Steve Block.
[chromium] Port test shell geolocation fixes to DRT
https://bugs.webkit.org/show_bug.cgi?id=45313
Ports over fixes from test shell:
- http://codereview.chromium.org/3294007
- http://codereview.chromium.org/333800
Resets state between service instances, which fixes delayed-permission-allowed-for-multiple-requests.html
Also re-apply rolled out patch http://trac.webkit.org/changeset/66886 :-
Access to out-of-scope WebGeolocationServiceBridgeImpl
https://bugs.webkit.org/show_bug.cgi?id=45112
Keep the WebGeolocationService pointer for lifetime of the bridge, to
ensure it can be detached reliably
Includes follow-up review comment to rename onWebGeolocationServiceDestroyed to didDestroyGeolocationService
* public/WebGeolocationService.h:
(WebKit::WebGeolocationService::~WebGeolocationService):
* public/WebGeolocationServiceBridge.h:
(WebKit::WebGeolocationServiceBridge::onWebGeolocationServiceDestroyed):
* public/WebGeolocationServiceMock.h:
* src/WebGeolocationServiceBridgeImpl.cpp:
(WebKit::WebGeolocationServiceBridgeImpl::WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::~WebGeolocationServiceBridgeImpl):
(WebKit::WebGeolocationServiceBridgeImpl::startUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::stopUpdating):
(WebKit::WebGeolocationServiceBridgeImpl::suspend):
(WebKit::WebGeolocationServiceBridgeImpl::resume):
(WebKit::WebGeolocationServiceBridgeImpl::attachBridgeIfNeeded):
(WebKit::WebGeolocationServiceBridgeImpl::setIsAllowed):
(WebKit::WebGeolocationServiceBridgeImpl::setLastPosition):
(WebKit::WebGeolocationServiceBridgeImpl::setLastError):
(WebKit::WebGeolocationServiceBridgeImpl::didDestroyGeolocationService):
(WebKit::WebGeolocationServiceBridgeImpl::isAttached):
* src/WebGeolocationServiceMock.cpp:
(WebKit::WebGeolocationServiceMock::setMockGeolocationPermission):
(WebKit::WebGeolocationServiceMockImpl::WebGeolocationServiceMockImpl):
(WebKit::WebGeolocationServiceMockImpl::~WebGeolocationServiceMockImpl):
(WebKit::WebGeolocationServiceMockImpl::setMockGeolocationPermission):
(WebKit::WebGeolocationServiceMockImpl::requestPermissionForFrame):
(WebKit::WebGeolocationServiceMockImpl::notifyPendingPermissions):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67387
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yurys@chromium.org [Mon, 13 Sep 2010 14:17:40 +0000 (14:17 +0000)]
2010-09-13 Yury Semikhatsky <yurys@chromium.org>
Unreviewed. Skip new debugger test on Qt.
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67386
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
yurys@chromium.org [Mon, 13 Sep 2010 13:39:58 +0000 (13:39 +0000)]
2010-09-13 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: upstream testExpandScope debugger test
https://bugs.webkit.org/show_bug.cgi?id=45260
Test that scope sections in Scripts panel are expandable and
contain correct data.
* inspector/debugger-expand-scope-expected.txt: Added.
* inspector/debugger-expand-scope.html: Added.
* platform/chromium/inspector/debugger-expand-scope-expected.txt: Added.
2010-09-13 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: upstream testExpandScope debugger test
https://bugs.webkit.org/show_bug.cgi?id=45260
Test: inspector/debugger-expand-scope.html
* inspector/front-end/InjectedScript.js: return "Arguments" as class name for arguments variable in v8.
(injectedScriptConstructor.):
2010-09-13 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Web Inspector: upstream testExpandScope debugger test
https://bugs.webkit.org/show_bug.cgi?id=45260
* src/js/DebuggerScript.js: copy scope variables into a new object, but for global scope object,
with statement parameter and catch block exception variable pass the object itself to the injected
script.
* src/js/Tests.js: moved testExpandScope to LayoutTests
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67385
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
caseq@chromium.org [Mon, 13 Sep 2010 13:03:05 +0000 (13:03 +0000)]
2010-09-13 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] add viewport meta tag tests to expectations
https://bugs.webkit.org/show_bug.cgi?id=45655
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67384
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 12:29:26 +0000 (12:29 +0000)]
2010-09-13 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[GTK] ATs should be able to select/unselect text
https://bugs.webkit.org/show_bug.cgi?id=25673
Implement AtkText's setSelection and removeSelection functions
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::visiblePositionRangeForRange):
Moved some GTK specific code from a ifdef-endif region to
AccessibilityObjectAtk.cpp
* accessibility/AccessibilityObject.h:
* accessibility/gtk/AccessibilityObjectAtk.cpp:
(WebCore::AccessibilityObject::getLengthForTextRange): New.
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(webkit_accessible_text_remove_selection): Implemented following
the lead of GAIL's implementation of the AtkText interface.
(webkit_accessible_text_set_selection): Implemented following
the lead of GAIL's implementation of the AtkText interface.
(webkit_accessible_text_set_caret_offset): Changed to directly use
visiblePositionRangeForRange now that there's no longer a problem
with that, as it was in the past (only worked for text controls).
2010-09-13 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[GTK] Provide unit tests for AtkText's text selection functions
https://bugs.webkit.org/show_bug.cgi?id=43919
New tests to check getting, setting and removing text selections
* tests/testatk.c:
(testWekitAtkTextSelections): New unit tests to check all the text
selection related functions altogether through a single test
function.
(main):
Make sure that code dependant on getting information from the
clipboard gets executed only when there's a GDK window associated
to the webview widget, as that's not the case when executing the
unit tests (the wedbview is not inside of any toplevel window) and
will make the tests crash if not taken into account.
* WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::respondToChangedSelection):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67383
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Mon, 13 Sep 2010 12:09:41 +0000 (12:09 +0000)]
2010-09-13 MORITA Hajime <morrita@google.com>
Reviewed by Kent Tamura.
[Chromium][Test] custom-scrollbar-with-incomplete-style.html need expectation files.
https://bugs.webkit.org/show_bug.cgi?id=45646
Added missing expectations.
* platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum: Added.
* platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.png: Added.
* platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Added.
* platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum: Added.
* platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.png: Added.
* platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Added.
* platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum: Added.
* platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png: Added.
* platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Added.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67382
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Mon, 13 Sep 2010 12:06:08 +0000 (12:06 +0000)]
2010-09-13 MORITA Hajime <morrita@google.com>
Reviewed by Dirk Schulze.
[chromium] svg/filters/filter-empty-g.svg crashes in linux/mac debug after r63530
https://bugs.webkit.org/show_bug.cgi?id=42486
Removed skip line.
This looks fixed with a fix for http://webkit.org/b/41175.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67381
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Mon, 13 Sep 2010 11:35:48 +0000 (11:35 +0000)]
2010-09-13 Andreas Kling <andreas.kling@nokia.com>
Unreviewed.
[Qt] Skip three viewport meta tag tests that fail on the bot.
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67380
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Mon, 13 Sep 2010 11:19:05 +0000 (11:19 +0000)]
2010-09-13 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] build-webkit: Add --v8 option to build against V8
Note that V8 is picked up from QtScript, so this currently requires building
against the experimental qt-script-v8 branch.
* Scripts/build-webkit:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67379
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hans@chromium.org [Mon, 13 Sep 2010 11:05:04 +0000 (11:05 +0000)]
2010-09-13 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
Add WebDeviceOrientationClientMock::create() and use it from DRT.
https://bugs.webkit.org/show_bug.cgi?id=45650
Since the virtual member functions of WebDeviceOrientationClientMock
are not exported from the DLL, construction of the object must be done inside
the DLL, or else the linker will complain (because the vtable cannot
be set up). Clients should use the create() member function, and the constructor
will be made private in a subsequent patch.
* public/WebDeviceOrientationClientMock.h:
(WebKit::WebDeviceOrientationClientMock::WebDeviceOrientationClientMock):
* src/WebDeviceOrientationClientMock.cpp:
(WebKit::WebDeviceOrientationClientMock::create):
2010-09-13 Hans Wennborg <hans@chromium.org>
Reviewed by Jeremy Orlow.
Add WebDeviceOrientationClientMock::create() and use it from DRT.
https://bugs.webkit.org/show_bug.cgi?id=45650
Do not use the WebDeviceOrientationClientMock constructor directly,
but use the create() member function.
This should fix the linker errors for the multi-DLL Chromium DRT build.
* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::setMockDeviceOrientation):
(LayoutTestController::deviceOrientationClient):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67378
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
apavlov@chromium.org [Mon, 13 Sep 2010 10:58:34 +0000 (10:58 +0000)]
2010-09-13 Pavel Podivilov <podivilov@chromium.org>
Reviewed by Pavel Feldman.
[Chromium] update test expectations for tests that pass after rolling out r67328
https://bugs.webkit.org/show_bug.cgi?id=45642
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67377
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kenneth@webkit.org [Mon, 13 Sep 2010 10:37:28 +0000 (10:37 +0000)]
WebCore: Update support for the viewport meta tag algorithm, to
match the following draft spec:
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2010-08-27
Reviewed by Antti Koivisto.
http://people.opera.com/rune/TR/ED-css-viewport-
20100806/
Add common handling of viewport meta tag based on new Opera spec
https://bugs.webkit.org/show_bug.cgi?id=44201
Tests: fast/viewport/viewport-1.html
fast/viewport/viewport-10.html
fast/viewport/viewport-100.html
fast/viewport/viewport-101.html
fast/viewport/viewport-102.html
fast/viewport/viewport-103.html
fast/viewport/viewport-104.html
fast/viewport/viewport-105.html
fast/viewport/viewport-106.html
fast/viewport/viewport-107.html
fast/viewport/viewport-108.html
fast/viewport/viewport-109.html
fast/viewport/viewport-11.html
fast/viewport/viewport-110.html
fast/viewport/viewport-111.html
fast/viewport/viewport-112.html
fast/viewport/viewport-113.html
fast/viewport/viewport-114.html
fast/viewport/viewport-115.html
fast/viewport/viewport-116.html
fast/viewport/viewport-117.html
fast/viewport/viewport-118.html
fast/viewport/viewport-119.html
fast/viewport/viewport-12.html
fast/viewport/viewport-120.html
fast/viewport/viewport-121.html
fast/viewport/viewport-122.html
fast/viewport/viewport-123.html
fast/viewport/viewport-124.html
fast/viewport/viewport-125.html
fast/viewport/viewport-126.html
fast/viewport/viewport-127.html
fast/viewport/viewport-13.html
fast/viewport/viewport-14.html
fast/viewport/viewport-15.html
fast/viewport/viewport-16.html
fast/viewport/viewport-17.html
fast/viewport/viewport-18.html
fast/viewport/viewport-19.html
fast/viewport/viewport-2.html
fast/viewport/viewport-20.html
fast/viewport/viewport-21.html
fast/viewport/viewport-22.html
fast/viewport/viewport-23.html
fast/viewport/viewport-24.html
fast/viewport/viewport-25.html
fast/viewport/viewport-26.html
fast/viewport/viewport-27.html
fast/viewport/viewport-28.html
fast/viewport/viewport-29.html
fast/viewport/viewport-3.html
fast/viewport/viewport-30.html
fast/viewport/viewport-31.html
fast/viewport/viewport-32.html
fast/viewport/viewport-33.html
fast/viewport/viewport-34.html
fast/viewport/viewport-35.html
fast/viewport/viewport-36.html
fast/viewport/viewport-37.html
fast/viewport/viewport-38.html
fast/viewport/viewport-39.html
fast/viewport/viewport-4.html
fast/viewport/viewport-40.html
fast/viewport/viewport-41.html
fast/viewport/viewport-42.html
fast/viewport/viewport-43.html
fast/viewport/viewport-44.html
fast/viewport/viewport-45.html
fast/viewport/viewport-46.html
fast/viewport/viewport-47.html
fast/viewport/viewport-48.html
fast/viewport/viewport-49.html
fast/viewport/viewport-5.html
fast/viewport/viewport-50.html
fast/viewport/viewport-51.html
fast/viewport/viewport-52.html
fast/viewport/viewport-53.html
fast/viewport/viewport-54.html
fast/viewport/viewport-55.html
fast/viewport/viewport-56.html
fast/viewport/viewport-57.html
fast/viewport/viewport-58.html
fast/viewport/viewport-59.html
fast/viewport/viewport-6.html
fast/viewport/viewport-60.html
fast/viewport/viewport-61.html
fast/viewport/viewport-62.html
fast/viewport/viewport-63.html
fast/viewport/viewport-64.html
fast/viewport/viewport-65.html
fast/viewport/viewport-66.html
fast/viewport/viewport-67.html
fast/viewport/viewport-68.html
fast/viewport/viewport-69.html
fast/viewport/viewport-7.html
fast/viewport/viewport-70.html
fast/viewport/viewport-71.html
fast/viewport/viewport-72.html
fast/viewport/viewport-73.html
fast/viewport/viewport-74.html
fast/viewport/viewport-75.html
fast/viewport/viewport-76.html
fast/viewport/viewport-77.html
fast/viewport/viewport-78.html
fast/viewport/viewport-79.html
fast/viewport/viewport-8.html
fast/viewport/viewport-80.html
fast/viewport/viewport-81.html
fast/viewport/viewport-82.html
fast/viewport/viewport-83.html
fast/viewport/viewport-84.html
fast/viewport/viewport-85.html
fast/viewport/viewport-86.html
fast/viewport/viewport-87.html
fast/viewport/viewport-88.html
fast/viewport/viewport-9.html
fast/viewport/viewport-90.html
* dom/ViewportArguments.cpp:
(WebCore::findConfigurationForViewportData):
(WebCore::findSizeValue):
(WebCore::findScaleValue):
(WebCore::findUserScalableValue):
(WebCore::findTargetDensityDPIValue):
(WebCore::setViewportFeature):
* dom/ViewportArguments.h:
(WebCore::ViewportArguments::):
(WebCore::ViewportArguments::ViewportArguments):
(WebCore::ViewportArguments::hasCustomArgument):
WebKit/qt: Add a Qt API for the viewport meta tag support based on the
following draft spec:
Reviewed by Antti Koivisto.
http://people.opera.com/rune/TR/ED-css-viewport-
20100806/
Add common handling of viewport meta tag based on new Opera spec
https://bugs.webkit.org/show_bug.cgi?id=44201
* Api/qwebframe_p.h:
(QWebFramePrivate::QWebFramePrivate):
* Api/qwebpage.cpp:
(QWebPage::ViewportConfiguration::ViewportConfiguration):
(QWebPage::ViewportConfiguration::~ViewportConfiguration):
(QWebPage::ViewportConfiguration::operator=):
(QWebPage::viewportConfigurationForSize):
(QWebPage::setPreferredContentsSize):
* Api/qwebpage.h:
* Api/qwebpage_p.h:
(QtViewportConfigurationPrivate::QtViewportConfigurationPrivate):
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::didReceiveViewportArguments):
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::viewportAsText):
* WebCoreSupport/DumpRenderTreeSupportQt.h:
* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
WebKitTools: Add support for testing the viewport meta tag algorithm,
based on the following draft spec:
Reviewed by Antti Koivisto.
http://people.opera.com/rune/TR/ED-css-viewport-
20100806/
Add common handling of viewport meta tag based on new Opera spec
https://bugs.webkit.org/show_bug.cgi?id=44201
* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::dumpConfigurationForViewport):
* DumpRenderTree/qt/LayoutTestControllerQt.h:
LayoutTests: Add tests for the viewport meta tag algorithm and parsing,
based on a test suite developed by Opera employees
Rune Lillesveen and Øyvind Stenhaug.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2010-08-27
Reviewed by Antti Koivisto.
* fast/viewport/viewport-1-expected.txt: Added.
* fast/viewport/viewport-1.html: Added.
* fast/viewport/viewport-10-expected.txt: Added.
* fast/viewport/viewport-10.html: Added.
* fast/viewport/viewport-100-expected.txt: Added.
* fast/viewport/viewport-100.html: Added.
* fast/viewport/viewport-101-expected.txt: Added.
* fast/viewport/viewport-101.html: Added.
* fast/viewport/viewport-102-expected.txt: Added.
* fast/viewport/viewport-102.html: Added.
* fast/viewport/viewport-103-expected.txt: Added.
* fast/viewport/viewport-103.html: Added.
* fast/viewport/viewport-104-expected.txt: Added.
* fast/viewport/viewport-104.html: Added.
* fast/viewport/viewport-105-expected.txt: Added.
* fast/viewport/viewport-105.html: Added.
* fast/viewport/viewport-106-expected.txt: Added.
* fast/viewport/viewport-106.html: Added.
* fast/viewport/viewport-107-expected.txt: Added.
* fast/viewport/viewport-107.html: Added.
* fast/viewport/viewport-108-expected.txt: Added.
* fast/viewport/viewport-108.html: Added.
* fast/viewport/viewport-109-expected.txt: Added.
* fast/viewport/viewport-109.html: Added.
* fast/viewport/viewport-11-expected.txt: Added.
* fast/viewport/viewport-11.html: Added.
* fast/viewport/viewport-110-expected.txt: Added.
* fast/viewport/viewport-110.html: Added.
* fast/viewport/viewport-111-expected.txt: Added.
* fast/viewport/viewport-111.html: Added.
* fast/viewport/viewport-112-expected.txt: Added.
* fast/viewport/viewport-112.html: Added.
* fast/viewport/viewport-113-expected.txt: Added.
* fast/viewport/viewport-113.html: Added.
* fast/viewport/viewport-114-expected.txt: Added.
* fast/viewport/viewport-114.html: Added.
* fast/viewport/viewport-115-expected.txt: Added.
* fast/viewport/viewport-115.html: Added.
* fast/viewport/viewport-116-expected.txt: Added.
* fast/viewport/viewport-116.html: Added.
* fast/viewport/viewport-117-expected.txt: Added.
* fast/viewport/viewport-117.html: Added.
* fast/viewport/viewport-118-expected.txt: Added.
* fast/viewport/viewport-118.html: Added.
* fast/viewport/viewport-119-expected.txt: Added.
* fast/viewport/viewport-119.html: Added.
* fast/viewport/viewport-12-expected.txt: Added.
* fast/viewport/viewport-12.html: Added.
* fast/viewport/viewport-120-expected.txt: Added.
* fast/viewport/viewport-120.html: Added.
* fast/viewport/viewport-121-expected.txt: Added.
* fast/viewport/viewport-121.html: Added.
* fast/viewport/viewport-122-expected.txt: Added.
* fast/viewport/viewport-122.html: Added.
* fast/viewport/viewport-123-expected.txt: Added.
* fast/viewport/viewport-123.html: Added.
* fast/viewport/viewport-124-expected.txt: Added.
* fast/viewport/viewport-124.html: Added.
* fast/viewport/viewport-125-expected.txt: Added.
* fast/viewport/viewport-125.html: Added.
* fast/viewport/viewport-126.html: Added.
* fast/viewport/viewport-127.html: Added.
* fast/viewport/viewport-13-expected.txt: Added.
* fast/viewport/viewport-13.html: Added.
* fast/viewport/viewport-14-expected.txt: Added.
* fast/viewport/viewport-14.html: Added.
* fast/viewport/viewport-15-expected.txt: Added.
* fast/viewport/viewport-15.html: Added.
* fast/viewport/viewport-16-expected.txt: Added.
* fast/viewport/viewport-16.html: Added.
* fast/viewport/viewport-17-expected.txt: Added.
* fast/viewport/viewport-17.html: Added.
* fast/viewport/viewport-18-expected.txt: Added.
* fast/viewport/viewport-18.html: Added.
* fast/viewport/viewport-19-expected.txt: Added.
* fast/viewport/viewport-19.html: Added.
* fast/viewport/viewport-2-expected.txt: Added.
* fast/viewport/viewport-2.html: Added.
* fast/viewport/viewport-20-expected.txt: Added.
* fast/viewport/viewport-20.html: Added.
* fast/viewport/viewport-21-expected.txt: Added.
* fast/viewport/viewport-21.html: Added.
* fast/viewport/viewport-22-expected.txt: Added.
* fast/viewport/viewport-22.html: Added.
* fast/viewport/viewport-23-expected.txt: Added.
* fast/viewport/viewport-23.html: Added.
* fast/viewport/viewport-24-expected.txt: Added.
* fast/viewport/viewport-24.html: Added.
* fast/viewport/viewport-25-expected.txt: Added.
* fast/viewport/viewport-25.html: Added.
* fast/viewport/viewport-26-expected.txt: Added.
* fast/viewport/viewport-26.html: Added.
* fast/viewport/viewport-27-expected.txt: Added.
* fast/viewport/viewport-27.html: Added.
* fast/viewport/viewport-28-expected.txt: Added.
* fast/viewport/viewport-28.html: Added.
* fast/viewport/viewport-29-expected.txt: Added.
* fast/viewport/viewport-29.html: Added.
* fast/viewport/viewport-3-expected.txt: Added.
* fast/viewport/viewport-3.html: Added.
* fast/viewport/viewport-30-expected.txt: Added.
* fast/viewport/viewport-30.html: Added.
* fast/viewport/viewport-31-expected.txt: Added.
* fast/viewport/viewport-31.html: Added.
* fast/viewport/viewport-32-expected.txt: Added.
* fast/viewport/viewport-32.html: Added.
* fast/viewport/viewport-33-expected.txt: Added.
* fast/viewport/viewport-33.html: Added.
* fast/viewport/viewport-34-expected.txt: Added.
* fast/viewport/viewport-34.html: Added.
* fast/viewport/viewport-35-expected.txt: Added.
* fast/viewport/viewport-35.html: Added.
* fast/viewport/viewport-36-expected.txt: Added.
* fast/viewport/viewport-36.html: Added.
* fast/viewport/viewport-37-expected.txt: Added.
* fast/viewport/viewport-37.html: Added.
* fast/viewport/viewport-38-expected.txt: Added.
* fast/viewport/viewport-38.html: Added.
* fast/viewport/viewport-39-expected.txt: Added.
* fast/viewport/viewport-39.html: Added.
* fast/viewport/viewport-4-expected.txt: Added.
* fast/viewport/viewport-4.html: Added.
* fast/viewport/viewport-40-expected.txt: Added.
* fast/viewport/viewport-40.html: Added.
* fast/viewport/viewport-41-expected.txt: Added.
* fast/viewport/viewport-41.html: Added.
* fast/viewport/viewport-42-expected.txt: Added.
* fast/viewport/viewport-42.html: Added.
* fast/viewport/viewport-43-expected.txt: Added.
* fast/viewport/viewport-43.html: Added.
* fast/viewport/viewport-44-expected.txt: Added.
* fast/viewport/viewport-44.html: Added.
* fast/viewport/viewport-45-expected.txt: Added.
* fast/viewport/viewport-45.html: Added.
* fast/viewport/viewport-46-expected.txt: Added.
* fast/viewport/viewport-46.html: Added.
* fast/viewport/viewport-47-expected.txt: Added.
* fast/viewport/viewport-47.html: Added.
* fast/viewport/viewport-48-expected.txt: Added.
* fast/viewport/viewport-48.html: Added.
* fast/viewport/viewport-49-expected.txt: Added.
* fast/viewport/viewport-49.html: Added.
* fast/viewport/viewport-5-expected.txt: Added.
* fast/viewport/viewport-5.html: Added.
* fast/viewport/viewport-50-expected.txt: Added.
* fast/viewport/viewport-50.html: Added.
* fast/viewport/viewport-51-expected.txt: Added.
* fast/viewport/viewport-51.html: Added.
* fast/viewport/viewport-52-expected.txt: Added.
* fast/viewport/viewport-52.html: Added.
* fast/viewport/viewport-53-expected.txt: Added.
* fast/viewport/viewport-53.html: Added.
* fast/viewport/viewport-54-expected.txt: Added.
* fast/viewport/viewport-54.html: Added.
* fast/viewport/viewport-55-expected.txt: Added.
* fast/viewport/viewport-55.html: Added.
* fast/viewport/viewport-56-expected.txt: Added.
* fast/viewport/viewport-56.html: Added.
* fast/viewport/viewport-57-expected.txt: Added.
* fast/viewport/viewport-57.html: Added.
* fast/viewport/viewport-58-expected.txt: Added.
* fast/viewport/viewport-58.html: Added.
* fast/viewport/viewport-59-expected.txt: Added.
* fast/viewport/viewport-59.html: Added.
* fast/viewport/viewport-6-expected.txt: Added.
* fast/viewport/viewport-6.html: Added.
* fast/viewport/viewport-60-expected.txt: Added.
* fast/viewport/viewport-60.html: Added.
* fast/viewport/viewport-61-expected.txt: Added.
* fast/viewport/viewport-61.html: Added.
* fast/viewport/viewport-62-expected.txt: Added.
* fast/viewport/viewport-62.html: Added.
* fast/viewport/viewport-63-expected.txt: Added.
* fast/viewport/viewport-63.html: Added.
* fast/viewport/viewport-64-expected.txt: Added.
* fast/viewport/viewport-64.html: Added.
* fast/viewport/viewport-65.html: Added.
* fast/viewport/viewport-66-expected.txt: Added.
* fast/viewport/viewport-66.html: Added.
* fast/viewport/viewport-67-expected.txt: Added.
* fast/viewport/viewport-67.html: Added.
* fast/viewport/viewport-68-expected.txt: Added.
* fast/viewport/viewport-68.html: Added.
* fast/viewport/viewport-69-expected.txt: Added.
* fast/viewport/viewport-69.html: Added.
* fast/viewport/viewport-7-expected.txt: Added.
* fast/viewport/viewport-7.html: Added.
* fast/viewport/viewport-70-expected.txt: Added.
* fast/viewport/viewport-70.html: Added.
* fast/viewport/viewport-71-expected.txt: Added.
* fast/viewport/viewport-71.html: Added.
* fast/viewport/viewport-72-expected.txt: Added.
* fast/viewport/viewport-72.html: Added.
* fast/viewport/viewport-73-expected.txt: Added.
* fast/viewport/viewport-73.html: Added.
* fast/viewport/viewport-74-expected.txt: Added.
* fast/viewport/viewport-74.html: Added.
* fast/viewport/viewport-75-expected.txt: Added.
* fast/viewport/viewport-75.html: Added.
* fast/viewport/viewport-76-expected.txt: Added.
* fast/viewport/viewport-76.html: Added.
* fast/viewport/viewport-77-expected.txt: Added.
* fast/viewport/viewport-77.html: Added.
* fast/viewport/viewport-78-expected.txt: Added.
* fast/viewport/viewport-78.html: Added.
* fast/viewport/viewport-79-expected.txt: Added.
* fast/viewport/viewport-79.html: Added.
* fast/viewport/viewport-8-expected.txt: Added.
* fast/viewport/viewport-8.html: Added.
* fast/viewport/viewport-80-expected.txt: Added.
* fast/viewport/viewport-80.html: Added.
* fast/viewport/viewport-81-expected.txt: Added.
* fast/viewport/viewport-81.html: Added.
* fast/viewport/viewport-82.html: Added.
* fast/viewport/viewport-83-expected.txt: Added.
* fast/viewport/viewport-83.html: Added.
* fast/viewport/viewport-84.html: Added.
* fast/viewport/viewport-85-expected.txt: Added.
* fast/viewport/viewport-85.html: Added.
* fast/viewport/viewport-86-expected.txt: Added.
* fast/viewport/viewport-86.html: Added.
* fast/viewport/viewport-87.html: Added.
* fast/viewport/viewport-88-expected.txt: Added.
* fast/viewport/viewport-88.html: Added.
* fast/viewport/viewport-9-expected.txt: Added.
* fast/viewport/viewport-9.html: Added.
* fast/viewport/viewport-90-expected.txt: Added.
* fast/viewport/viewport-90.html: Added.
* platform/gtk/Skipped: Skip tests due to missing DRT support.
* platform/mac/Skipped: Skip tests due to missing DRT support.
* platform/win/Skipped: Skip tests due to missing DRT support.
* platform/qt/Skipped: Skip failing tests.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67376
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Mon, 13 Sep 2010 10:15:35 +0000 (10:15 +0000)]
2010-09-13 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Don't add empty strings to list of supported image MIME types
https://bugs.webkit.org/show_bug.cgi?id=45643
After <http://trac.webkit.org/changeset/67355> getMIMETypeForExtension()
returns an empty string instead of "application/octet-stream" for unsupported
extensions. Don't add these to the list of supported types, and clean out
the logic that removed "application/octet-stream" from supported types.
Fixes crash in initializeMIMETypeRegistry() due to inserting String() into
a HashSet<String>.
* platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypes):
(WebCore::initializeSupportedImageMIMETypesForEncoding):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67375
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Mon, 13 Sep 2010 10:12:27 +0000 (10:12 +0000)]
2010-09-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by Dan Bernstein.
Re-skip some layout tests that fail on the bots but not on my system
https://bugs.webkit.org/show_bug.cgi?id=45626
* platform/mac-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67374
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 09:50:15 +0000 (09:50 +0000)]
2010-09-13 Adam Barth <abarth@webkit.org>
Attempted Qt build fix.
* html/parser/HTMLElementStack.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67373
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 09:19:27 +0000 (09:19 +0000)]
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Apply spec changes to InForeignContentMode
https://bugs.webkit.org/show_bug.cgi?id=45636
Add some tests of breaking out of foreign content.
* html5lib/resources/webkit01.dat:
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Apply spec changes to InForeignContentMode
https://bugs.webkit.org/show_bug.cgi?id=45636
Now breaking out of foreign content doesn't always bring you back to
HTML. If you have a foreign content element that can contain HTML, you
just get brought back to that element.
* html/parser/HTMLElementStack.cpp:
(WebCore::HTMLNames::isForeignContentScopeMarker):
(WebCore::HTMLElementStack::popUntilForeignContentScopeMarker):
* html/parser/HTMLElementStack.h:
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTag):
(WebCore::HTMLTreeBuilder::processEndOfFile):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67372
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 08:58:13 +0000 (08:58 +0000)]
2010-09-13 Kwang Yul Seo <skyul@company100.net>
Reviewed by Kent Tamura.
[BREWMP] Don't call _msize
https://bugs.webkit.org/show_bug.cgi?id=45556
Because Brew MP uses its own memory allocator, it is not correct to use
_msize in fastMallocSize. Add !PLATFORM(BREWMP) guard.
* wtf/FastMalloc.cpp:
(WTF::fastMallocSize):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67371
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 08:39:36 +0000 (08:39 +0000)]
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Convert notImplemented() to ASSERT_NOT_REACHED
https://bugs.webkit.org/show_bug.cgi?id=45639
The reason we never implemented this state is because it's not actually
reachable.
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTag):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67370
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 08:20:59 +0000 (08:20 +0000)]
2010-09-13 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
[WINCE] Buildfix for ScrollAnimatorWin
https://bugs.webkit.org/show_bug.cgi?id=45595
Use fabs() instead of abs().
* platform/ScrollAnimatorWin.cpp:
(WebCore::ScrollAnimatorWin::scroll):
(WebCore::ScrollAnimatorWin::animateScroll):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67369
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 08:03:23 +0000 (08:03 +0000)]
2010-09-13 Patrick Gansterer <paroga@paroga.com>
Reviewed by Kenneth Rohde Christiansen.
Add FrameNetworkingContextWinCE
https://bugs.webkit.org/show_bug.cgi?id=45474
* WebCoreSupport/FrameNetworkingContextWinCE.cpp: Added.
(WebKit::FrameNetworkingContextWinCE::FrameNetworkingContextWinCE):
(WebKit::FrameNetworkingContextWinCE::userAgent):
(WebKit::FrameNetworkingContextWinCE::referrer):
* WebCoreSupport/FrameNetworkingContextWinCE.h: Added.
(WebKit::FrameNetworkingContextWinCE::create):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67368
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 07:22:52 +0000 (07:22 +0000)]
2010-09-13 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove fixed FIXME
https://bugs.webkit.org/show_bug.cgi?id=45637
The spec made assertions that were false. Hixie fixed the spec by
removing the assertions. There's no need to keep these FIXMEs in the
code.
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processEndTagForInCell):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67367
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 06:43:31 +0000 (06:43 +0000)]
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove FIXME now that the HTML5 spec has been updated
https://bugs.webkit.org/show_bug.cgi?id=45634
Add tests recommended by Hixie.
* fast/parser/form-pointer-1-expected.txt: Added.
* fast/parser/form-pointer-1.html: Added.
* fast/parser/form-pointer-2-expected.txt: Added.
* fast/parser/form-pointer-2.html: Added.
* fast/parser/form-pointer-3-expected.txt: Added.
* fast/parser/form-pointer-3.html: Added.
* fast/parser/form-pointer-4-expected.txt: Added.
* fast/parser/form-pointer-4.html: Added.
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove FIXME now that the HTML5 spec has been updated
https://bugs.webkit.org/show_bug.cgi?id=45634
The spec changed to say what we do here so this FIXME isn't needed
anymore.
Tests: fast/parser/form-pointer-1.html
fast/parser/form-pointer-2.html
fast/parser/form-pointer-3.html
fast/parser/form-pointer-4.html
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInTable):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67366
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Mon, 13 Sep 2010 06:24:41 +0000 (06:24 +0000)]
2010-09-12 Robin Qiu <robin.qiu@torchmobile.com.cn>
Reviewed by Antonio Gomes.
https://bugs.webkit.org/show_bug.cgi?id=18768
Fixed a bug in scroll flow. When we don't have scrollbars, we need to
repaintFixedElementsAfterScrolling(), sendScrollEvent() ... as well as
scrollContents();
* scrollbars/resources/scrollable-iframe.html: Added.
* scrollbars/scrollevent-iframe-no-scrolling-expected.txt: Added.
* scrollbars/scrollevent-iframe-no-scrolling-wheel-expected.txt: Added.
* scrollbars/scrollevent-iframe-no-scrolling-wheel.html: Added.
* scrollbars/scrollevent-iframe-no-scrolling.html: Added.
2010-09-12 Robin Qiu <robin.qiu@torchmobile.com.cn>
Reviewed by Antonio Gomes.
https://bugs.webkit.org/show_bug.cgi?id=18768
Fixed a bug in scroll flow. When we don't have scrollbars, we need to
repaintFixedElementsAfterScrolling(), sendScrollEvent() ... as well as
scrollContents();
Tests: scrollbars/scrollevent-iframe-no-scrolling-wheel.html
scrollbars/scrollevent-iframe-no-scrolling.html
* page/FrameView.cpp:
(WebCore::FrameView::valueChanged): Added.
* page/FrameView.h: Added a new method.
* platform/ScrollView.cpp:
(WebCore::ScrollView::valueChanged): Added.
(WebCore::ScrollView::updateScrollbars):
* platform/ScrollView.h: Added a new method.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67365
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 05:45:17 +0000 (05:45 +0000)]
2010-09-12 Adam Barth <abarth@webkit.org>
Revert mistaken changes to test baselines.
* platform/mac/http/tests/navigation/post-goback1-expected.txt:
* platform/mac/http/tests/navigation/postredirect-basic-expected.txt:
* platform/mac/http/tests/navigation/postredirect-frames-expected.txt:
* platform/mac/http/tests/navigation/postredirect-goback1-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67364
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
tkent@chromium.org [Mon, 13 Sep 2010 04:21:26 +0000 (04:21 +0000)]
2010-09-12 Kent Tamura <tkent@chromium.org>
Reviewed by Tony Chang.
[DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
https://bugs.webkit.org/show_bug.cgi?id=45517
* DEPS: Roll Chromium revision to r59033 to have webkit_support_gfx.h.
* WebKit.gyp:
2010-09-12 Kent Tamura <tkent@chromium.org>
Reviewed by Tony Chang.
[DRT/Chromium] Remove dependency to base/string16.h and gfx/codec/png_codec.h
https://bugs.webkit.org/show_bug.cgi?id=45517
Use webkit_support_gfx.h for PNG encoding/decoding instead of png_codec.h
* DumpRenderTree/chromium/ImageDiff.cpp:
(Image::craeteFromStdin):
(Image::createFromFilename):
(diffImages):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::dumpImage):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67363
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
morrita@google.com [Mon, 13 Sep 2010 04:21:00 +0000 (04:21 +0000)]
2010-09-10 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Chromium] Implement textInputController.hasSpellingMarker() for Chromium
https://bugs.webkit.org/show_bug.cgi?id=45441
Add an note for API readiness.
* platform/chromium/test_expectations.txt:
2010-09-10 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Chromium] Implement textInputController.hasSpellingMarker() for Chromium
https://bugs.webkit.org/show_bug.cgi?id=45441
Added an API for testing marker state.
We locate this here instead of DRT for sharing the logic between
multiple ports.
* WebCore.exp.in:
* editing/Editor.cpp:
(WebCore::Editor::selectionStartHasSpellingMarkerFor):
* editing/Editor.h:
2010-09-10 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Chromium] Implement textInputController.hasSpellingMarker() for Chromium
https://bugs.webkit.org/show_bug.cgi?id=45441
Exported Frame::selectionStartHasSpellingMarkerFor() for DRT use.
* public/WebFrame.h:
* src/WebFrameImpl.cpp:
(WebKit::WebFrameImpl::selectionStartHasSpellingMarkerFor):
* src/WebFrameImpl.h:
2010-09-10 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Chromium] Implement textInputController.hasSpellingMarker() for Chromium
https://bugs.webkit.org/show_bug.cgi?id=45441
Moved the actual logic of hasSpellingMarker into WebCore to share
it with other ports.
* WebView/WebFrame.mm:
(-[WebFrame hasSpellingMarker:length:]):
2010-09-10 MORITA Hajime <morrita@google.com>
Reviewed by Tony Chang.
[Chromium] Implement textInputController.hasSpellingMarker() for Chromium
https://bugs.webkit.org/show_bug.cgi?id=45441
Added TextInputController::hasSpellingMarker().
* DumpRenderTree/chromium/TextInputController.cpp:
(TextInputController::TextInputController):
(TextInputController::hasSpellingMarker):
* DumpRenderTree/chromium/TextInputController.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67362
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Mon, 13 Sep 2010 03:30:54 +0000 (03:30 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change.
Think this is the last set.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67361
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Mon, 13 Sep 2010 03:19:04 +0000 (03:19 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change.
Suppress some more failures so I can triage the WebKit roll
without the tree being red.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67360
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Mon, 13 Sep 2010 02:39:05 +0000 (02:39 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change. Suppress some failures so I can
triage the WebKit roll without the tree being red.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67359
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Mon, 13 Sep 2010 01:09:50 +0000 (01:09 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change. Fix a duplicate expectation and
remove some passing tests.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67358
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 01:04:35 +0000 (01:04 +0000)]
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Adoption agency should use takeAllChildrenFrom
https://bugs.webkit.org/show_bug.cgi?id=45570
Before this patch, we were using an unsafe pattern of walking the
sibling list without grabbing references. Instead, we should use the
shiny new takeAllChildrenFrom method that shoves the children into a
vector first. Also, update takeAllChildrenFrom to handle the case
where the old parent is attached.
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::takeAllChildrenFrom):
* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
* html/parser/HTMLTreeBuilder.h:
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Adoption agency should use takeAllChildrenFrom
https://bugs.webkit.org/show_bug.cgi?id=45570
More test cases.
* html5lib/resources/webkit01.dat:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67357
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Mon, 13 Sep 2010 00:42:45 +0000 (00:42 +0000)]
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
isParsingFragment assert hit in new treebuilder
https://bugs.webkit.org/show_bug.cgi?id=45621
Add new tests and (minor) test progression.
* html5lib/resources/webkit01.dat:
* html5lib/runner-expected.txt:
2010-09-12 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
isParsingFragment assert hit in new treebuilder
https://bugs.webkit.org/show_bug.cgi?id=45621
Update our list of special tags to match the spec.
* html/parser/HTMLTreeBuilder.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67356
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
robert@webkit.org [Mon, 13 Sep 2010 00:19:43 +0000 (00:19 +0000)]
2010-09-12 Robert Hogan <robert@webkit.org>
Reviewed by Andreas Kling.
[Qt] Fix http/tests/navigation/reload-subframe-object.html
Unskip http/tests/navigation/reload-subframe-object.html
https://bugs.webkit.org/show_bug.cgi?id=45613
* platform/qt/Skipped:
2010-09-12 Robert Hogan <robert@webkit.org>
Reviewed by Andreas Kling.
[Qt] Fix http/tests/navigation/reload-subframe-object.html
We need to bring our use of getMimeTypeForPath() and
getMimeTypeForExtension() into line with WebCore expectations.
We should use MIMETypeRegistry::getMIMETypeForExtension() for cases
where an empty mimetype should be returned if no match is found, and
MIMETypeRegistry::getMIMETypeForPath() for cases where
'application/octet-stream' should be returned if no match is found.
Fixes http/tests/navigation/reload-subframe-object.html
Based on findings in webkit.org/b/31398 and webkit.org/b/15554.
https://bugs.webkit.org/show_bug.cgi?id=45613
* platform/network/qt/QNetworkReplyHandler.cpp:
(WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
* platform/qt/MIMETypeRegistryQt.cpp:
(WebCore::MIMETypeRegistry::getMIMETypeForExtension):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67355
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Mon, 13 Sep 2010 00:02:04 +0000 (00:02 +0000)]
2010-09-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by James Robinson.
Remove some tests from the WebKit2 skipped list that are now passing
https://bugs.webkit.org/show_bug.cgi?id=45625
* platform/mac-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67354
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Sun, 12 Sep 2010 23:40:51 +0000 (23:40 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67353
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Sun, 12 Sep 2010 23:37:46 +0000 (23:37 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, build fix.
My last change accidentally contained a local change to the
rebaselinig script; webkit-patch land picked it up without telling
me and committed it :(
* Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67352
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dpranke@chromium.org [Sun, 12 Sep 2010 23:34:37 +0000 (23:34 +0000)]
2010-09-12 Dirk Pranke <dpranke@chromium.org>
Unreviewed, expectations change.
* platform/chromium/test_expectations.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67351
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mitz@apple.com [Sun, 12 Sep 2010 23:04:16 +0000 (23:04 +0000)]
Neglect unlikely hyphenation opportunities
https://bugs.webkit.org/show_bug.cgi?id=45606
Reviewed by Adele Peterson.
Avoid looking for hyphenation points in about 40% of the cases at the cost of missing about
3% of the hyphenation opportunities.
* rendering/RenderBlockLineLayout.cpp:
(WebCore::tryHyphenating): Bail out if the widest the prefix before the hyphen can be is no more
than 5/4 the font size.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67350
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jamesr@google.com [Sun, 12 Sep 2010 22:58:56 +0000 (22:58 +0000)]
2010-09-12 James Robinson <jamesr@chromium.org>
Unreviewed, rolling out r67328.
http://trac.webkit.org/changeset/67328
https://bugs.webkit.org/show_bug.cgi?id=45610
Broke layout tests on mac and chromium.
* http/tests/navigation/post-basic-expected.txt: Removed.
* http/tests/navigation/post-basic.html:
* http/tests/navigation/post-frames-expected.txt: Removed.
* http/tests/navigation/post-frames.html:
* http/tests/navigation/resources/page-that-posts.html: Removed.
* http/tests/navigation/resources/postresult.pl:
* platform/chromium-linux/http/tests/navigation/post-basic-expected.checksum: Added.
* platform/chromium-linux/http/tests/navigation/post-basic-expected.png: Added.
* platform/chromium-linux/http/tests/navigation/post-frames-expected.checksum: Added.
* platform/chromium-linux/http/tests/navigation/post-frames-expected.png: Added.
* platform/chromium-win/http/tests/navigation/post-basic-expected.checksum: Added.
* platform/chromium-win/http/tests/navigation/post-basic-expected.png: Added.
* platform/chromium-win/http/tests/navigation/post-basic-expected.txt: Added.
* platform/chromium-win/http/tests/navigation/post-frames-expected.checksum: Added.
* platform/chromium-win/http/tests/navigation/post-frames-expected.png: Added.
* platform/chromium-win/http/tests/navigation/post-frames-expected.txt: Added.
* platform/chromium/test_expectations.txt:
* platform/mac/http/tests/navigation/post-basic-expected.checksum: Copied from LayoutTests/platform/mac/http/tests/navigation/post-goback1-expected.checksum.
* platform/mac/http/tests/navigation/post-basic-expected.png: Copied from LayoutTests/platform/mac/http/tests/navigation/post-goback1-expected.png.
* platform/mac/http/tests/navigation/post-basic-expected.txt: Added.
* platform/mac/http/tests/navigation/post-frames-expected.checksum: Added.
* platform/mac/http/tests/navigation/post-frames-expected.png: Added.
* platform/mac/http/tests/navigation/post-frames-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67349
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 21:19:15 +0000 (21:19 +0000)]
doc: Changed the title so lists of contents sort better.
Patch by Martin Smith <martin.smith@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
* docs/qtwebkit.qdoc:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67348
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 21:08:55 +0000 (21:08 +0000)]
Doc: More work on the QML documentation.
Patch by David Boddie <david.boddie@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
* declarative/qdeclarativewebview.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67347
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 20:58:30 +0000 (20:58 +0000)]
[Qml] Ensure WebView gets focus when an editable node is clicked on.
Patch by Martin Jones <martin.jones@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
Task-number: QTBUG-13342
* declarative/qdeclarativewebview.cpp:
(GraphicsWebView::mousePressEvent):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67346
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 20:56:59 +0000 (20:56 +0000)]
Doc: qdoc fixes.
Patch by David Boddie <david.boddie@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
* declarative/qdeclarativewebview.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67345
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 20:53:56 +0000 (20:53 +0000)]
[Qt] fix qt_webkit_version.pri install for in-Qt builds
Patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
Always add the target, even if building inside Qt - as opposed to the
headers and libraries, there are no rules for that coming from
qbase.pri.
Task-number: QTBUG-13306
* WebCore.pro:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67344
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 20:50:22 +0000 (20:50 +0000)]
WebCore: [Qt] Let QtWebKit inject itself into the qt configuration
Patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
i.e., don't explicitly deal with qt_webkit_version.pri outside of the
webkit source directory.
Task-number: QTBUG-12379
* WebCore.pro:
WebKit/qt: [Qt] let WebKit inject itself into the qt configuration
Patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
Task-number: QTBUG-12379
* qt_webkit_version.pri: Use the faster + instead of *
operator to add webkit to the config.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67343
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 20:44:02 +0000 (20:44 +0000)]
[Qt] Fix group of declarative web view in QML docs.
Patch by Martin Smith <martin.smith@nokia.com> on 2010-09-12
Reviewed by Simon Hausmann.
* declarative/qdeclarativewebview.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67342
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 19:08:43 +0000 (19:08 +0000)]
[Qt] Rebase a bunch of tests after r67200.
Reviewed by Antonio Gomes.
* platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
* platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
* platform/qt/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt:
* platform/qt/svg/zoom/text/zoom-svg-float-border-padding-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67341
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:40:43 +0000 (18:40 +0000)]
[Qt] Build fix.
* WebCore.pro: Re-add erroneously removed sources.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67340
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Sun, 12 Sep 2010 18:35:58 +0000 (18:35 +0000)]
2010-09-12 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Remove Path::closeSubpath() workaround for broken miter joins
https://bugs.webkit.org/show_bug.cgi?id=45618
Removed Path::closeCanvasSubpath() and share the logic between Canvas and SVG
paths. The problem was actually in Qt's path stroker and has been fixed for Qt 4.7.1.
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::closePath):
* platform/graphics/Path.h:
* platform/graphics/qt/PathQt.cpp:
2010-09-12 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] Remove Path::closeSubpath() workaround for broken miter joins
https://bugs.webkit.org/show_bug.cgi?id=45618
Skip fast/canvas/canvas-closePath-single-point.html - it can be unskipped again
once the bot is upgraded to Qt 4.7.1.
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67339
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:32:15 +0000 (18:32 +0000)]
Fix the Gtk and minimal builds.
* plugins/PluginView.cpp:
(WebCore::PluginView::npObject): Correct the #ifdefs.
(WebCore::PluginView::bindingInstance): Moved npErr variable
into npObject() function where it is used.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67338
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:28:20 +0000 (18:28 +0000)]
[Qt] Prospective build fix for minimal build.
* plugins/PluginView.cpp: Guard newly added function
by ENABLE_NETSCAPE_PLUGIN feature.
(WebCore::PluginView::npObject):
* plugins/PluginView.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67337
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:21:59 +0000 (18:21 +0000)]
[Qt] Partial implementation of Qt bridge using V8 and QtScript.
Reviewed by Andreas Kling.
* Api/qwebelement.cpp:
(QWebElement::evaluateJavaScript): Stub it out for now,
to compile, until we have a conversion path between v8::Object
and QScriptValue.
* Api/qwebframe.cpp:
(QWebFrame::addToJavaScriptWindowObject): Implemented using
few lines of QtScript code.
(QWebFrame::evaluateJavaScript): Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67336
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:19:53 +0000 (18:19 +0000)]
[Qt] Add support for binding QtWebKit to a QScriptEngine.
Reviewed by Andreas Kling.
The ScriptController owns the V8 context, and this patch
for the Qt build also gives it a QScriptEngine, that has
been instructed to adopt the V8 context.
This is the enabler for the QObject bindings, used in
the API and DRT.
* WebCore.pro:
* bindings/v8/ScriptController.cpp: Include QScriptEngine
for the Qt build, to let the ~ScriptController destructor
find the QScriptEngine destructor (via OwnPtr).
* bindings/v8/ScriptController.h: Declare getters.
* bindings/v8/ScriptControllerQt.cpp: Added.
(WebCore::ScriptController::qtScriptEngine): Implement
engine adoption.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67335
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:15:17 +0000 (18:15 +0000)]
[Qt] Last bits and pieces for a V8 build.
Reviewed by Andreas Kling.
When building with V8, get it from QtScript.
* WebCore.pro: Use QtScript, removed non-existant
bridge files from the build.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67334
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:12:27 +0000 (18:12 +0000)]
[Qt] Add PlatformBridge for V8 build.
Reviewed by Andreas Kling.
Add the minimalisting platform bridge with the two
methods needed by NPV8Object.cpp.
* WebCore.pro:
* platform/qt/PlatformBridge.h: Added.
* platform/qt/PlatformBridgeQt.cpp: Added.
(WebCore::PlatformBridge::popupsAllowed):
(WebCore::PlatformBridge::pluginScriptableObject):
* plugins/PluginView.cpp: Refactor the plugin object
retrieval code into a separate function, called by
bindingInstance() and PlatformBridge.
(WebCore::PluginView::npObject):
(WebCore::PluginView::bindingInstance):
* plugins/PluginView.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67333
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:08:22 +0000 (18:08 +0000)]
Fix the build with V8.
Reviewed by Andreas Kling.
This is a temporary kludge until the scriptworld stuff is properly
ported, as part of the upcoming DRT work.
* Api/qwebscriptworld.cpp:
(QWebScriptWorld::QWebScriptWorld):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67332
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 18:08:07 +0000 (18:08 +0000)]
Fix compilation of the V8 bindings on X11 with Qt.
Reviewed by Andreas Kling.
This changes brings the file in sync with its copy in bridge/,
adding additional conflicting X11 keywords to undef. This is
a temporary fix until the file is removed altogether, which is
tracked in https://bugs.webkit.org/show_bug.cgi?id=45617
* bindings/v8/npruntime_internal.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67331
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
jer.noble@apple.com [Sun, 12 Sep 2010 17:38:08 +0000 (17:38 +0000)]
2010-09-11 Jer Noble <jer.noble@apple.com>
Reviewed by Eric Carlson.
http/tests/media/text-served-as-text.html failing on Windows (Debug+Release)
https://bugs.webkit.org/show_bug.cgi?id=45603
Disable the eat/text components under Windows the same way as we do on the Mac.
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
* platform/graphics/win/QTMovie.cpp:
* platform/graphics/win/QTMovie.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67330
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 16:57:06 +0000 (16:57 +0000)]
Fix compilation of the V8 bindings on X11 with Qt.
Reviewed by Andreas Kling.
These headers include npruntime, which drag on X11Resources.h, which
among other things #define's None and Boolean. Later on v8.h is included,
which declares these in enums and therefore conflicts. npruntime_internal.h
was introduced exactly to address this problem by including npruntime.h
and undeff'ing the offending constants.
* bindings/v8/V8Helpers.h:
* bindings/v8/V8NPObject.h:
* bindings/v8/V8NPUtils.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67329
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dglazkov@chromium.org [Sun, 12 Sep 2010 15:11:24 +0000 (15:11 +0000)]
2010-09-12 Mihai Parparita <mihaip@chromium.org>
Reviewed by Dimitri Glazkov.
post-basic.html and post-frames.html in http/tests/navigation should not be pixel tests
https://bugs.webkit.org/show_bug.cgi?id=45610
post-basic.html and post-frames.html would be a lot simpler if
they weren't pixel tests (post-frames.html doesn't even have the right
expectations for Chromium/Mac). Since all they test is that form
POSTs are handled correctly, they can just use dumpAsText.
* http/tests/navigation/post-basic-expected.txt: Added.
* http/tests/navigation/post-basic.html:
* http/tests/navigation/post-frames-expected.txt: Added.
* http/tests/navigation/post-frames.html:
* http/tests/navigation/resources/page-that-posts.html: Added.
* http/tests/navigation/resources/postresult.pl:
* platform/chromium-linux/http/tests/navigation/post-basic-expected.checksum: Removed.
* platform/chromium-linux/http/tests/navigation/post-basic-expected.png: Removed.
* platform/chromium-linux/http/tests/navigation/post-frames-expected.checksum: Removed.
* platform/chromium-linux/http/tests/navigation/post-frames-expected.png: Removed.
* platform/chromium-win/http/tests/navigation/post-basic-expected.checksum: Removed.
* platform/chromium-win/http/tests/navigation/post-basic-expected.png: Removed.
* platform/chromium-win/http/tests/navigation/post-basic-expected.txt: Removed.
* platform/chromium-win/http/tests/navigation/post-frames-expected.checksum: Removed.
* platform/chromium-win/http/tests/navigation/post-frames-expected.png: Removed.
* platform/chromium-win/http/tests/navigation/post-frames-expected.txt: Removed.
* platform/chromium/test_expectations.txt:
* platform/mac/http/tests/navigation/post-basic-expected.checksum: Removed.
* platform/mac/http/tests/navigation/post-basic-expected.png: Removed.
* platform/mac/http/tests/navigation/post-basic-expected.txt: Removed.
* platform/mac/http/tests/navigation/post-frames-expected.checksum: Removed.
* platform/mac/http/tests/navigation/post-frames-expected.png: Removed.
* platform/mac/http/tests/navigation/post-frames-expected.txt: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67328
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 14:47:42 +0000 (14:47 +0000)]
Gtk build fix.
Use false instead of False after
http://trac.webkit.org/changeset/67323
* plugins/gtk/PluginViewGtk.cpp:
(WebCore::PluginView::updatePluginWidget):
(WebCore::PluginView::paint):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67327
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 14:28:12 +0000 (14:28 +0000)]
[Qt] Fix the compilation of V8Binding.cpp when compiling with Qt.
Reviewed by Andreas Kling.
* bindings/v8/V8Binding.cpp:
(WebCore::WebCoreStringResource::WebCoreStringResource): In this
line an AtomicString should be converted to a WTF::String. The former
has a conversion operator to the latter, to be able to call the
WTF::String copy constructor. When compiling with Qt, then AtomicString
also has a conversion operator to QString _and_ WTF::String has an
implicit constructor that takes a QString. Therefore the compiler is
confused and not sure which conversion to prefer, the one that isn't
actually a conversion - going to WTF::String - or the conversion from
AtomicString to QString and then constructing the WTF::String from
a QString. To resolve this ambiguity we explicitly call the string()
helper function on the AtomicString, which is equivalent to the
operator WTF::String().
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67326
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 13:57:54 +0000 (13:57 +0000)]
Fix the build without JSC.
Reviewed by Andreas Kling.
Complement http://trac.webkit.org/changeset/59826 and
add missing JSC guards.
* plugins/PluginView.cpp:
(WebCore::PluginView::bindingInstance):
(WebCore::PluginView::privateBrowsingStateChanged):
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::dispatchNPEvent):
(WebCore::PluginView::setNPWindowIfNeeded):
(WebCore::PluginView::platformStart):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67325
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 13:57:40 +0000 (13:57 +0000)]
Fix compilation with V8 and XPath enabled.
Reviewed by Andreas Kling.
V8XPathNSResolver.cpp includes V8XPathNSResolver.h,
which includes V8DOMWrapper.h as its first header.
V8DOMWrapper.h then uses V8XPathNSResolver in an inline
function, and gcc doesn't seem to like this, because
at this point the type isn't known ("V8XPathNSResolver
has not been declared"). Forward declaring the type
doesn't help unfortunately: "incomplete type
'WebCore::V8XPathNSResolver' used in nested name
specifier".
To resolve this circular dependency, this patch moves
the inline function into the .cpp file.
* bindings/v8/V8DOMWrapper.cpp:
(WebCore::V8DOMWrapper::getXPathNSResolver):
* bindings/v8/V8DOMWrapper.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67324
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 13:33:34 +0000 (13:33 +0000)]
[Qt][X11] Fix build with V8 against X11 headers.
Reviewed by Andreas Kling.
Added "True" and "False" to the list of words
we free from the X11 macro jail.
* bridge/npruntime_internal.h:
* config.h: The V8 bindings end up indirectly pulling
in X11 headers and they use True/False. There's no
central header apart from this one, so include the
x11 fixing header here for Qt/X11/V8.
* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::paint): Use false instead of False
since False isn't available anymore.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67323
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 13:28:33 +0000 (13:28 +0000)]
[Qt] Fix compilation with V8 and Qt.
Reviewed by Andreas Kling.
Use WebKit's page cache for ScriptCachedFrameData.
* bindings/v8/ScriptCachedFrameData.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67322
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sun, 12 Sep 2010 13:25:25 +0000 (13:25 +0000)]
Fix compiler warning.
Reviewed by Andreas Kling.
NPClass has 13 members, the last one (NPConstructFunctionPtr construct) wasn't
initialized explicitly.
* bindings/v8/NPV8Object.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67321
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sun, 12 Sep 2010 11:16:14 +0000 (11:16 +0000)]
2010-09-12 Mario Sanchez Prada <msanchez@igalia.com>
Reviewed by Martin Robinson.
[Gtk] get_n_selections and get_selection fail when selecting text across object boundaries
https://bugs.webkit.org/show_bug.cgi?id=26991
Fix AtkText getNSelections() and getSelection() to work properly
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
(selectionBelongsToObject): Check that both the selection intersects
the node AND that the selection is not just "touching" one of the
boundaries for the selected node. We want to check whether the
node is actually inside the region, at least partially
(getSelectionOffsetsForObject): New function to get the start and
end offsets of a selection for a given accessible object.
(webkit_accessible_text_get_selection): Return zero when both
start and end offsets are equal, following the lead of GAIL.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67320
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Sun, 12 Sep 2010 07:37:02 +0000 (07:37 +0000)]
2010-09-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by Adam Barth.
Animations don't seem to run in multiple WebKit2 animation tests
https://bugs.webkit.org/show_bug.cgi?id=42137
* platform/mac-wk2/Skipped:
These tests no longer fail, so simply unskip them.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67319
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
dbates@webkit.org [Sun, 12 Sep 2010 06:37:59 +0000 (06:37 +0000)]
2010-09-11 Daniel Bates <dbates@rim.com>
Attempt to fix the Qt Linux Release build after changeset 67312 <http://trac.webkit.org/changeset/67312>.
* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::QWKPage): Add missing ',' in WKPageUIClient initialization list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67318
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Sun, 12 Sep 2010 04:58:08 +0000 (04:58 +0000)]
2010-09-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by Anders Carlsson.
Attempt to fix Windows MiniBrowser build (untested)
https://bugs.webkit.org/show_bug.cgi?id=45609
* MiniBrowser/win/BrowserView.cpp:
(runJavaScriptConfirm):
(runJavaScriptPrompt):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67317
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
abarth@webkit.org [Sun, 12 Sep 2010 02:28:10 +0000 (02:28 +0000)]
2010-09-11 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Make SecurityOrigin::canDisplay an instance function
https://bugs.webkit.org/show_bug.cgi?id=45219
This function was secretly an instance function because callers needed
to pass in a document (which owns a SecurityOrigin). Only the
FrameLoader actually needs the method to be static.
* WebCore.exp.in:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::isSafeToLoadURL):
* loader/Cache.cpp:
(WebCore::Cache::requestResource):
- Notice that DocLoader::doc() can never be 0.
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadFrameRequest):
* loader/PingLoader.cpp:
(WebCore::PingLoader::loadImage):
* loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
(WebCore::SubframeLoader::createJavaAppletWidget):
(WebCore::SubframeLoader::loadSubframe):
(WebCore::SubframeLoader::loadPlugin):
* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::create):
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::canDisplay):
(WebCore::SecurityOrigin::deprecatedCanDisplay):
* page/SecurityOrigin.h:
* plugins/PluginView.cpp:
(WebCore::PluginView::load):
2010-09-11 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Make SecurityOrigin::canDisplay an instance function
https://bugs.webkit.org/show_bug.cgi?id=45219
* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::loadRequest):
* Plugins/WebNetscapePluginStream.mm:
(WebNetscapePluginStream::WebNetscapePluginStream):
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
* Plugins/WebPluginContainerCheck.mm:
(-[WebPluginContainerCheck _isForbiddenFileLoad]):
* WebView/WebFrame.mm:
(-[WebFrame _allowsFollowingLink:]):
2010-09-11 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Make SecurityOrigin::canDisplay an instance function
https://bugs.webkit.org/show_bug.cgi?id=45219
* WebFrame.cpp:
(WebFrame::allowsFollowingLink):
2010-09-11 Adam Barth <abarth@webkit.org>
Reviewed by Sam Weinig.
Make SecurityOrigin::canDisplay an instance function
https://bugs.webkit.org/show_bug.cgi?id=45219
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::performFrameLoadURLRequest):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67316
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Sun, 12 Sep 2010 02:17:42 +0000 (02:17 +0000)]
2010-09-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam Weinig.
Remove nonexistent test from skipped list
https://bugs.webkit.org/show_bug.cgi?id=45608
* platform/mac-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67315
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Sun, 12 Sep 2010 02:15:59 +0000 (02:15 +0000)]
Fix zoom related tests when testing WebKit2.
Reviewed by Maciej Stachowiak.
* WebKitTestRunner/InjectedBundle/EventSendingController.cpp:
(WTR::EventSendingController::zoomPageIn): Zoom in and zoom out are not the same.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67314
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs@apple.com [Sun, 12 Sep 2010 02:08:33 +0000 (02:08 +0000)]
2010-09-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam Weinig.
Skip some new tests that depend on APIs missing from WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=45607
* platform/mac-wk2/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67313
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Sun, 12 Sep 2010 01:50:30 +0000 (01:50 +0000)]
Implement WebKit2 callback equivalent to - [WebUIDelegate webView:setStatusText:]
<rdar://problem/8359252>
https://bugs.webkit.org/show_bug.cgi?id=45605
Reviewed by Dan Bernstein.
WebKit2:
* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
* UIProcess/API/C/WKPage.h:
* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::QWKPage):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::setStatusText):
* UIProcess/WebPageProxy.h:
* UIProcess/WebUIClient.cpp:
(WebKit::WebUIClient::setStatusText):
* UIProcess/WebUIClient.h:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::setStatusbarText):
WebKitTools:
* MiniBrowser/mac/BrowserWindowController.m:
(setStatusText):
(contentsSizeChanged):
(-[BrowserWindowController awakeFromNib]):
* MiniBrowser/win/BrowserView.cpp:
(runJavaScriptConfirm):
(runJavaScriptPrompt):
(setStatusText):
(contentsSizeChanged):
(BrowserView::create):
* WebKitTestRunner/TestController.cpp:
(WTR::createOtherPage):
(WTR::TestController::initialize):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67312
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
weinig@apple.com [Sun, 12 Sep 2010 01:17:52 +0000 (01:17 +0000)]
Add callback mechanism for the getting the source of a frame
<rdar://problem/8364681>
https://bugs.webkit.org/show_bug.cgi?id=45604
Reviewed by Dan Bernstein.
WebKit2:
* Shared/CoreIPCSupport/WebPageMessageKinds.h:
* Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
* UIProcess/API/C/WKPage.cpp:
(WKPageGetSourceForFrame):
(callGetSourceForFrameBlockBlockAndDispose):
(WKPageGetSourceForFrame_b):
* UIProcess/API/C/WKPage.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::getSourceForFrame):
(WebKit::WebPageProxy::didReceiveMessage):
(WebKit::WebPageProxy::didGetSourceForFrame):
(WebKit::WebPageProxy::processDidExit):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::source):
* WebProcess/WebPage/WebFrame.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::getSourceForFrame):
(WebKit::WebPage::didReceiveMessage):
* WebProcess/WebPage/WebPage.h:
WebKitTools:
Add ability to dump the main frame's source to the console.
* MiniBrowser/mac/BrowserWindowController.h:
* MiniBrowser/mac/BrowserWindowController.m:
(-[BrowserWindowController dumpSourceToConsole:]):
* MiniBrowser/mac/MainMenu.xib:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67311
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric@webkit.org [Sat, 11 Sep 2010 23:25:17 +0000 (23:25 +0000)]
2010-09-11 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
Remove unneeded Empty Queue messages
https://bugs.webkit.org/show_bug.cgi?id=45602
We already have a /gc job to delete these.
recentstatus.py is already smart enough to use the
most recent of the workitems last update or the most recent status,
so removing these should not change the _last_status_date() return
value more than a few milliseconds.
These messages just spam the recent status log.
* Scripts/webkitpy/tool/commands/queues.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67310
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sat, 11 Sep 2010 19:15:45 +0000 (19:15 +0000)]
Unreviewed.
[Qt] Trivial V8 build fix.
* WebCore.pri: Add storage, workers and css to the include paths for the
JS code generator.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67309
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Sat, 11 Sep 2010 18:28:51 +0000 (18:28 +0000)]
2010-09-11 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Simon Hausmann.
[Qt] V8 port: Fix "WTF::String::utf8" returns incomplete type WTF::CString
https://bugs.webkit.org/show_bug.cgi?id=45157
Include CString.h where necessary. Chromium builds would get it from
KURLGooglePrivate.h so this is only an issue for Qt + V8.
* bindings/v8/V8Proxy.cpp:
* inspector/InspectorDebuggerAgent.cpp:
* inspector/InspectorProfilerAgent.cpp:
* plugins/PluginDatabase.cpp:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67308
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sat, 11 Sep 2010 18:22:14 +0000 (18:22 +0000)]
[Qt] V8 port: webkit project files changes
https://bugs.webkit.org/show_bug.cgi?id=45140
Reviewed by Andreas Kling.
.:
* WebKit.pro: Don't compile JavaScriptCore and jsc when
building with v8.
WebCore:
* WebCore.pro: Removed unecessary common.pri inclusion from earlier patch.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67307
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hausmann@webkit.org [Sat, 11 Sep 2010 18:11:05 +0000 (18:11 +0000)]
JavaScriptCore: [Qt] V8 port: webcore project files changes
https://bugs.webkit.org/show_bug.cgi?id=45141
Reviewed by Andreas Kling.
* JavaScriptCore.pro: Moved wtf specific files to wtf.pri,
so that they can also be used from WebCore.pro for v8 builds.
* wtf/wtf.pri: Added.
WebCore: [Qt] V8 port: webcore project files changes
https://bugs.webkit.org/show_bug.cgi?id=45141
Reviewed by Andreas Kling.
Modify webcore project files to include V8 javascript engine. By default disabled.
* WebCore.pri:
* WebCore.pro:
* features.pri:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67306
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Sat, 11 Sep 2010 18:09:54 +0000 (18:09 +0000)]
2010-09-11 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Simon Hausmann.
Web Inspector: Include CString.h in generated files
This is necessary for generated code that uses the CString
returned by String::utf8() (from generateBackendDispatcher)
Chromium builds already get CString.h from KURLGooglePrivate.h
so this issue only occurs when building Qt against V8.
* inspector/CodeGeneratorInspector.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67305
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Sat, 11 Sep 2010 17:44:17 +0000 (17:44 +0000)]
2010-09-11 Andreas Kling <andreas.kling@nokia.com>
Reviewed by Simon Hausmann.
[Qt] V8 port for Qt platform: Qt WebCoreSupport changes
https://bugs.webkit.org/show_bug.cgi?id=45149
Original patch by Vlad Burlik <volodimir.burlik@nokia.com>
Implemented the V8 specifics needed in DumpRenderTreeSupportQt and
FrameLoaderClientQt.
* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::javaScriptObjectsCount):
(DumpRenderTreeSupportQt::garbageCollectorCollect):
(DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
(DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
* WebCoreSupport/FrameLoaderClientQt.cpp:
(WebCore::FrameLoaderClientQt::didCreateScriptContextForFrame):
(WebCore::FrameLoaderClientQt::didDestroyScriptContextForFrame):
(WebCore::FrameLoaderClientQt::didCreateIsolatedScriptContext):
(WebCore::FrameLoaderClientQt::createDocumentLoader):
* WebCoreSupport/FrameLoaderClientQt.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67304
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mrobinson@webkit.org [Sat, 11 Sep 2010 17:42:29 +0000 (17:42 +0000)]
2010-09-11 Martin Robinson <mrobinson@igalia.com>
Add a platform-specific result after r67281.
* platform/gtk/fast/dynamic/first-letter-display-change-expected.txt: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67303
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 11 Sep 2010 17:09:07 +0000 (17:09 +0000)]
2010-09-11 Mihai Parparita <mihaip@chromium.org>
Reviewed by Adam Barth.
Fix Python exception when generating synthetic patch IDs
https://bugs.webkit.org/show_bug.cgi?id=45592
Can't concatenate strings and numbers directly.
* QueueStatusServer/handlers/queuestatus.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67302
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andreas.kling@nokia.com [Sat, 11 Sep 2010 17:06:57 +0000 (17:06 +0000)]
2010-09-11 Vlad Burlik <volodimir.burlik@nokia.com>
Reviewed by Andreas Kling.
[Qt] V8 port for QT platform: QT API implementation changes
https://bugs.webkit.org/show_bug.cgi?id=45148
V8 Implementation of QWebFrame::addToJavaScriptWindowObject()
and QWebFrame::evaluateJavaScript()
* Api/qwebelement.cpp:
(setupScriptContext): JSC and V8 variations
(QWebElement::evaluateJavaScript):
* Api/qwebelement.h:
* Api/qwebframe.cpp: QObject injection to V8 world
(QWebFrame::addToJavaScriptWindowObject):
(QWebFrame::evaluateJavaScript):
* Api/qwebpage.cpp: Use ScriptController type definitions instead of direct references to JSC or V8
(QWebPagePrivate::QWebPagePrivate):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67301
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
xan@webkit.org [Sat, 11 Sep 2010 16:25:58 +0000 (16:25 +0000)]
2010-09-11 Xan Lopez <xlopez@igalia.com>
Reviewed by Martin Robinson.
[GTK] Make introspection work with g-o-i 0.9.5
https://bugs.webkit.org/show_bug.cgi?id=45590
Bump required gobject-introspection version to 0.9.5.
* configure.ac:
WebKit/gtk:
2010-09-11 Xan Lopez <xlopez@igalia.com>
Reviewed by Martin Robinson.
[GTK] Make introspection work with g-o-i 0.9.5
https://bugs.webkit.org/show_bug.cgi?id=45590
Use new type syntax and bump version number of the gir file.
* JSCore.gir.in:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67300
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eric@webkit.org [Sat, 11 Sep 2010 16:19:30 +0000 (16:19 +0000)]
2010-09-10 Eric Seidel <eric@webkit.org>
Reviewed by Adam Barth.
chromium fast/dom/replaceChild.html regression by r67182
https://bugs.webkit.org/show_bug.cgi?id=45527
Turns out this is a progression! Our new images
match minefield (and sanity). The old image had a
border drawn which should have been removed when the
iframe was replaced.
Other platforms may need to update their results as well.
* platform/mac/fast/dom/replaceChild-expected.checksum:
* platform/mac/fast/dom/replaceChild-expected.png:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67299
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
robert@webkit.org [Sat, 11 Sep 2010 16:09:25 +0000 (16:09 +0000)]
2010-09-11 Robert Hogan <robert@webkit.org>
Unreviewed, unskip passing test.
Test fixed by http://trac.webkit.org/changeset/56511
See https://bugs.webkit.org/show_bug.cgi?id=36492
* platform/qt/Skipped:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67298
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
commit-queue@webkit.org [Sat, 11 Sep 2010 15:04:58 +0000 (15:04 +0000)]
2010-09-11 Ryuan Choi <ryuan.choi@samsung.com>
Reviewed by Antonio Gomes.
[EFL] Fix EFL build after r67274
https://bugs.webkit.org/show_bug.cgi?id=45584
Remove include of ZoomMode.h and change setZoomFactor and zoomFactor
to proper apis chaged by r67264.
* ewk/ewk_frame.cpp:
(ewk_frame_zoom_get):
(ewk_frame_zoom_set):
(ewk_frame_zoom_text_only_get):
(ewk_frame_zoom_text_only_set):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@67297
268f45cc-cd09-0410-ab3c-
d52691b4dbfc