Timeline
Sep 8, 2009:
- 10:55 PM Changeset in webkit [48201] by
-
- 2 edits in trunk/WebCore
Reviewed by NOBODY (Build fix).
Remove a few incorrect changes I left in.
- 9:32 PM Changeset in webkit [48200] by
-
- 24 edits in trunk/WebCore
Support numeric index getters in bindings
https://bugs.webkit.org/show_bug.cgi?id=29067
Reviewed by Sam Weinig.
Add HasNumericIndexGetter to indicate a non-custom getter that
returns a number. The numeric index getter also uses PropertySlot's
setValue rather than setCustomIndex to avoid an additional indirect
call.
- 8:03 PM Changeset in webkit [48199] by
-
- 2 edits in trunk/WebKitTools
2009-09-08 Dimitri Glazkov <Dimitri Glazkov>
Reviewed by Mark Rowe.
Reduce dglazkov's boboiness by properly concatenating revision value.
- BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
rather than "+".
- 7:25 PM Changeset in webkit [48198] by
-
- 2 edits in trunk/WebKitTools
wxWebKit Python extension build fix - get swig.py if it doesn't exist.
- 7:20 PM Changeset in webkit [48197] by
-
- 2 edits in trunk/WebCore
wx build fix for 2.8.
- 6:45 PM Changeset in webkit [48196] by
-
- 2 edits in trunk/LayoutTests
shared-worker-exception.html needs to pause to let console messages get written out
https://bugs.webkit.org/show_bug.cgi?id=29043
Reviewed by Maciej Stachowiak.
- fast/workers/resources/shared-worker-exception.js:
(worker.onmessage):
Now invokes layoutTestController.notifyDone() via a timer so any pending ReportException tasks get a chance to fire.
- 5:29 PM Changeset in webkit [48195] by
-
- 2 edits in trunk/WebCore
2009-09-08 Jens Alfke <snej@chromium.org>
Reviewed by Eric Seidel.
In Mac Chromium, clicking below the last line of an editable area (textarea or
contenteditable) should put the caret at the end of the last line, as in Mac Safari.
Tests: LayoutTests/editing/selection/click-in-margins-inside-editable-div.html
LayoutTests/editing/selection/click-in-padding-with-multiple-line-boxes.html
- page/Settings.cpp: (WebCore::Settings::Settings): Change #if PLATFORM_MAC to be Mac-Chrome-inclusive.
- 5:01 PM Changeset in webkit [48194] by
-
- 2 edits in trunk/WebKitTools
Fix an incorrect variable name in UpdateChromiumSource.
- BuildSlaveSupport/build.webkit.org-config/master.cfg:
- 3:51 PM Changeset in webkit [48193] by
-
- 2 edits in trunk/WebKitTools
Don't check for leaks on the release SnowLeopard builder.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 3:39 PM Changeset in webkit [48192] by
-
- 2 edits in trunk/WebKitTools
Add a SnowLeopard release builder.
- BuildSlaveSupport/build.webkit.org-config/config.json:
- 3:17 PM Changeset in webkit [48191] by
-
- 2 edits in trunk/WebCore
Make sure not to do an early return when a data URL stylesheet successfully loads. We need to still
clear the old cached sheet out of all existing Frames. Fixes the data URL stylesheet layout test failure.
Reviewed by Mark Rowe.
- page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
- 3:14 PM Changeset in webkit [48190] by
-
- 2 edits in trunk/WebCore
Fix windows build.
- dom/Document.idl:
- 3:11 PM Changeset in webkit [48189] by
-
- 2 edits in trunk/WebCore
More robust wx build fix for 2.9.
- 3:02 PM Changeset in webkit [48188] by
-
- 6 edits5 adds in trunk
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=27046
Implement CSSOM DocumentView.caretRangeFromPoint
Reviewed by Timothy Hatcher.
Tests: fast/dom/Document/CaretRangeFromPoint/basic.html
fast/dom/Document/CaretRangeFromPoint/replace-element.html
- dom/Document.cpp:
(WebCore::Document::caretRangeFromPoint):
- dom/Document.h:
- dom/Document.idl:
LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=27046
Implement CSSOM DocumentView.caretRangeFromPoint
Reviewed by Timothy Hatcher.
- fast/dom/Document/CaretRangeFromPoint: Added.
- fast/dom/Document/CaretRangeFromPoint/basic-expected.txt: Added.
- fast/dom/Document/CaretRangeFromPoint/basic.html: Added.
- fast/dom/Document/CaretRangeFromPoint/replace-element-expected.txt: Added.
- fast/dom/Document/CaretRangeFromPoint/replace-element.html: Added.
- fast/dom/Window/window-properties-expected.txt:
- 2:46 PM Changeset in webkit [48187] by
-
- 2 edits in trunk/WebKitTools
Remove end of line whitespace check from check-webkit-style.
https://bugs.webkit.org/show_bug.cgi?id=29053
Patch by David Levin <levin@chromium.org> on 2009-09-08
Reviewed by Darin Adler.
- Scripts/modules/cpp_style.py:
- 2:32 PM Changeset in webkit [48186] by
-
- 4 edits in trunk
wx build fix, generate derived sources earlier in order to make sure
they're found by the build system when generating the list of sources to build.
- 2:11 PM Changeset in webkit [48185] by
-
- 2 edits in trunk/WebCore
2009-09-08 Nate Chapin <Nate Chapin>
Reviewed by Dimitri Glazkov.
<iterator> include in V8Proxy.h is spurious and causing ObjC compile issues for Chromium.
Test: Chromium mac canary build is fixed.
- 2:05 PM Changeset in webkit [48184] by
-
- 3 edits in trunk/LayoutTests
2009-09-08 Brian Weinstein <bweinstein@apple.com>
Rubber-stamped by Adam Roben.
Updated results for media/audio-controls-rendering.html, and added 3 failing
tests to the Skipped list to investigate further <http://webkit.org/b/29047>.
- platform/win/Skipped:
- platform/win/media/audio-controls-rendering-expected.txt:
- 2:01 PM Changeset in webkit [48183] by
-
- 3 edits in trunk/WebKit/gtk
2009-09-08 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=29044
[GTK] Should update suggested-filename when the response is received
Set suggested filename also when the response only comes after the
download has started.
- webkit/webkitdownload.cpp: (webkit_download_set_response): (webkit_download_set_suggested_filename):
- webkit/webkitwebview.cpp: (webkit_web_view_request_download):
- 1:34 PM Changeset in webkit [48182] by
-
- 2 edits in trunk/WebCore
2009-09-08 Xan Lopez <xlopez@igalia.com>
Unreviewed attempt to fix the GTK+ build.
- GNUmakefile.am:
- 1:26 PM Changeset in webkit [48181] by
-
- 9 edits in trunk/WebCore
https://bugs.webkit.org/show_bug.cgi?id=28987, make the Document cache the page's user stylesheet in
parsed form. Allows the sheet to survive across destruction/re-creation of the CSSStyleSelector.
Reviewed by Eric Seidel.
- css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::CSSStyleSelector):
- css/CSSStyleSelector.h:
- dom/Document.cpp:
(WebCore::Document::attach):
(WebCore::Document::pageUserSheet):
(WebCore::Document::clearPageUserSheet):
(WebCore::Document::recalcStyleSelector):
- dom/Document.h:
- loader/PlaceholderDocument.cpp:
(WebCore::PlaceholderDocument::attach):
- page/Page.cpp:
(WebCore::Page::userStyleSheetLocationChanged):
- page/Settings.cpp:
(WebCore::Settings::setUserStyleSheetLocation):
- 1:23 PM Changeset in webkit [48180] by
-
- 2 edits in trunk/WebCore
Unreviewed buildfix.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Fix Qt build after 48167, by adding the new cpp/h files
added to WebCore.gypi to WebCore.pro as well.
- WebCore.pro:
- 1:11 PM Changeset in webkit [48179] by
-
- 2 edits in trunk/WebKit/qt
Unreviewed build fix.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Potential build fix for Qt 4.5
- Api/qwebpage.cpp:
(QWebPagePrivate::mousePressEvent):
- 1:06 PM Changeset in webkit [48178] by
-
- 2 edits in trunk/WebCore
2009-09-08 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
should not pass URI fragments to libsoup
https://bugs.webkit.org/show_bug.cgi?id=28687
Strip the fragment from the URI before passing it to soup, since
it forwards it to servers in some cases (like when using a proxy)
which confuses them and makes them return 403/404.
- platform/network/soup/ResourceHandleSoup.cpp: (WebCore::startHttp): (WebCore::):
- 12:40 PM Changeset in webkit [48177] by
-
- 8 edits in trunk
WebCore: Add QGraphicsScene events support to the Qt platform events.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Reviewed by Simon Hausmann.
- platform/PlatformMouseEvent.h:
- platform/PlatformWheelEvent.h:
- platform/qt/PlatformMouseEventQt.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent):
- platform/qt/WheelEventQt.cpp:
(WebCore::PlatformWheelEvent::applyDelta):
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
WebKit/qt: Add support for handling QGraphicsScene events.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Reviewed by Simon Hausmann.
- Api/qwebpage.cpp:
(QWebPagePrivate::mouseMoveEvent):
(QWebPagePrivate::mousePressEvent):
(QWebPagePrivate::mouseDoubleClickEvent):
(QWebPagePrivate::mouseTripleClickEvent):
(QWebPagePrivate::handleClipboard):
(QWebPagePrivate::mouseReleaseEvent):
(QWebPagePrivate::wheelEvent):
(QWebPagePrivate::dragEnterEvent):
(QWebPagePrivate::dragLeaveEvent):
(QWebPagePrivate::dragMoveEvent):
(QWebPagePrivate::dropEvent):
(QWebPage::event):
- Api/qwebpage_p.h:
- 12:40 PM Changeset in webkit [48176] by
-
- 2 edits in trunk/WebKitSite
Update Security Group Members list.
Reviewed by Adele Peterson.
- security/security-group-members.html:
- 12:28 PM Changeset in webkit [48175] by
-
- 3 edits in trunk/WebCore
2009-09-08 Michael Nordman <Michael Nordman>
Reviewed by Eric Seidel.
[Chromium] Cleanup: remove a few deprecated methods.
https://bugs.webkit.org/show_bug.cgi?id=28960
No new tests, just syntactic sugar.
- platform/network/chromium/ResourceRequest.h:
- platform/network/chromium/ResourceResponse.h:
- 12:21 PM Changeset in webkit [48174] by
-
- 2 edits in trunk/WebCore
2009-09-08 Yongjun Zhang <yongjun.zhang@nokia.com>
Reviewed by Ariya Hidayat.
[Qt] make npapi.h compile in winscw compiler.
Add XP_SYMBIAN macro to identify Symbian OS; this macro should be used for Symbian
specific changes in npapi.h.
Undefine XP_WIN when building for Symbian to avoid including Windows specific code.
- bridge/npapi.h:
- 12:06 PM Changeset in webkit [48173] by
-
- 6 edits in trunk/WebKit/gtk
2009-09-08 Priit Laes <plaes@plaes.org>
Reviewed by Gustavo Noronha.
Fix up erroneus 'Since: @version@' tags in documentation.
- webkit/webkitwebdatasource.cpp:
- webkit/webkitwebresource.cpp: (webkit_web_resource_class_init):
- webkit/webkitwebsettings.cpp: (webkit_web_settings_class_init):
- webkit/webkitwebview.cpp: (webkit_web_view_class_init):
- webkit/webkitwebwindowfeatures.cpp:
- 12:02 PM Changeset in webkit [48172] by
-
- 2 edits in trunk/WebCore
Web Inspector assertion failure related to marking
https://bugs.webkit.org/show_bug.cgi?id=28997
Reviewed by Geoff Garen.
When wrapping the callback the JSInspectorCallbackWrapper creator was using
inheritorID for the prototype structure which is unsafe for anything other
than a pure JS object. Instead we now create a new structure, which while
inefficient is not problematic as this code is not hit frequently.
- 11:34 AM Changeset in webkit [48171] by
-
- 2 edits in trunk/WebCore
2009-09-08 Kelly Norton <knorton@google.com>
Reviewed by Dimitri Glazkov.
Add missing extension to the file entry in WebCore.vcproj.
- WebCore.vcproj/WebCore.vcproj: Added "cpp".
- 11:02 AM Changeset in webkit [48170] by
-
- 2 edits in trunk/WebKitTools
2009-09-08 Cameron McCormack <cam@mcc.id.au>
Reviewed by Darin Adler.
Fix DumpRenderTree build from clean tree on Tiger
https://bugs.webkit.org/show_bug.cgi?id=28927
- DumpRenderTree/mac/PerlSupport/Makefile: Ensure the DerivedSources/DumpRenderTree directory exists when building on Tiger.
- 11:02 AM Changeset in webkit [48169] by
-
- 5 edits in trunk
WebCore: dataTransfer.types() should not return Files if file list is empty in the clipboard.
https://bugs.webkit.org/show_bug.cgi?id=28891
Reviewed by David Levin.
We change the behavior to handle the empty file list in order to match the spec.
Tested by clipboard-file-access.html.
- platform/mac/ClipboardMac.mm:
(WebCore::addHTMLClipboardTypesForCocoaType):
(WebCore::ClipboardMac::types):
LayoutTests: dataTransfer.types() should not return Files if file list is empty in the clipboard.
https://bugs.webkit.org/show_bug.cgi?id=28891
Reviewed by David Levin.
Update the test script and expected result to reflect the behavior change.
- http/tests/security/clipboard/clipboard-file-access-expected.txt:
- http/tests/security/clipboard/resources/clipboard-file-access.js:
- 10:58 AM Changeset in webkit [48168] by
-
- 7 edits3 adds in trunk
2009-09-08 Steve VanDeBogart <vandebo@chromium.org>
Reviewed by Eric Seidel.
Handle middle click in Chromium like QT
https://bugs.webkit.org/show_bug.cgi?id=28696
Tested by middle-click-onpaste.html.
- 10:55 AM Changeset in webkit [48167] by
-
- 20 edits7 adds in trunk/WebCore
2009-09-08 Kelly Norton <knorton@google.com>
Reviewed by Eric Seidel.
WebInspector: Adds a timeline agent to InspectorController that collects
high-level timing data about event dispatch, layout, painting and HTML
parsing and makes it available to Inspector.
https://bugs.webkit.org/show_bug.cgi?id=25503
- WebCore.gypi:
- WebCore.xcodeproj/project.pbxproj:
- dom/Document.cpp: (WebCore::Document::recalcStyle):
- dom/Document.h: (WebCore::Document::inspectorTimelineAgent):
- dom/Node.cpp: (WebCore::Node::dispatchGenericEvent):
- html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::write):
- inspector/DOMDispatchTimelineItem.cpp: Added. (WebCore::DOMDispatchTimelineItem::DOMDispatchTimelineItem): (WebCore::DOMDispatchTimelineItem::convertToScriptObject):
- inspector/DOMDispatchTimelineItem.h: Added. (WebCore::DOMDispatchTimelineItem::~DOMDispatchTimelineItem):
- inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::enableTimeline): (WebCore::InspectorBackend::disableTimeline): (WebCore::InspectorBackend::timelineEnabled):
- inspector/InspectorBackend.h:
- inspector/InspectorBackend.idl:
- inspector/InspectorController.cpp: (WebCore::InspectorController::setFrontendProxyObject): (WebCore::InspectorController::close): (WebCore::InspectorController::resetScriptObjects): (WebCore::InspectorController::enableTimeline): (WebCore::InspectorController::disableTimeline): (WebCore::InspectorController::timelineEnabled):
- inspector/InspectorController.h: (WebCore::InspectorController::timelineAgent):
- inspector/InspectorFrontend.cpp: (WebCore::InspectorFrontend::timelineWasEnabled): (WebCore::InspectorFrontend::timelineWasDisabled): (WebCore::InspectorFrontend::addItemToTimeline):
- inspector/InspectorFrontend.h:
- inspector/InspectorTimelineAgent.cpp: Added. (WebCore::InspectorTimelineAgent::InspectorTimelineAgent): (WebCore::InspectorTimelineAgent::~InspectorTimelineAgent): (WebCore::InspectorTimelineAgent::willDispatchDOMEvent): (WebCore::InspectorTimelineAgent::didDispatchDOMEvent): (WebCore::InspectorTimelineAgent::willLayout): (WebCore::InspectorTimelineAgent::didLayout): (WebCore::InspectorTimelineAgent::willRecalculateStyle): (WebCore::InspectorTimelineAgent::didRecalculateStyle): (WebCore::InspectorTimelineAgent::willPaint): (WebCore::InspectorTimelineAgent::didPaint): (WebCore::InspectorTimelineAgent::willWriteHTML): (WebCore::InspectorTimelineAgent::didWriteHTML): (WebCore::InspectorTimelineAgent::reset): (WebCore::InspectorTimelineAgent::didCompleteCurrentRecord): (WebCore::InspectorTimelineAgent::currentTimeInMilliseconds): (WebCore::InspectorTimelineAgent::sessionTimeInMilliseconds):
- inspector/InspectorTimelineAgent.h: Added.
- inspector/TimelineItem.cpp: Added. (WebCore::TimelineItem::TimelineItem): (WebCore::TimelineItem::addToTimeline): (WebCore::TimelineItem::convertToScriptObject): (WebCore::TimelineItem::convertChildrenToScriptArray): (WebCore::TimelineItem::addChildItem):
- inspector/TimelineItem.h: Added. (WebCore::): (WebCore::TimelineItem::~TimelineItem): (WebCore::TimelineItem::previous): (WebCore::TimelineItem::releasePrevious): (WebCore::TimelineItem::setEndTime): (WebCore::TimelineItem::type):
- inspector/front-end/TimelineAgent.js: Added. (WebInspector.TimelineAgent): (WebInspector.addItemToTimeline): (WebInspector.timelineWasEnabled): (WebInspector.timelineWasDisabled):
- inspector/front-end/inspector.html:
- page/FrameView.cpp: (WebCore::FrameView::layout): (WebCore::FrameView::paintContents):
- page/FrameView.h: (WebCore::FrameView::inspectorTimelineAgent):
- page/Page.cpp: (WebCore::Page::inspectorTimelineAgent):
- page/Page.h:
- 10:44 AM Changeset in webkit [48166] by
-
- 2 edits in trunk/WebKit/qt
2009-09-08 Benjamin Poulain <benjamin.poulain@nokia.com>
Reviewed by Simon Hausmann.
https://bugs.webkit.org/show_bug.cgi?id=29007
Add a test for the signal QWebFrame::javaScriptWindowObjectCleared()
- tests/qwebframe/tst_qwebframe.cpp:
- 10:37 AM Changeset in webkit [48165] by
-
- 7 edits in trunk
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Simon Hausmann.
[Qt] Fix unused variable warnings
https://bugs.webkit.org/show_bug.cgi?id=29018
No functional change, no tests.
- history/qt/HistoryItemQt.cpp: (WebCore::HistoryItem::restoreState):
- platform/graphics/qt/ImageBufferQt.cpp: (WebCore::putImageData):
- platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::paintMenuList):
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Simon Hausmann.
[Qt] Fix unused variable warnings
https://bugs.webkit.org/show_bug.cgi?id=29018
- Api/qwebpage.cpp: (QWebPagePrivate::keyPressEvent):
- WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::startDownload): (WebCore::FrameLoaderClientQt::createFrame):
- 10:30 AM Changeset in webkit [48164] by
-
- 5 edits in trunk
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Ariya Hidayat.
[Qt] Use the declaration order in initializer lists
https://bugs.webkit.org/show_bug.cgi?id=29017
No functional change, no new tests.
- platform/graphics/qt/FontCacheQt.cpp: (WebCore::FontPlatformDataCacheKey::FontPlatformDataCacheKey):
- platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Ariya Hidayat.
[Qt] Use the declaration order in initializer lists
https://bugs.webkit.org/show_bug.cgi?id=29017
- Api/qwebframe_p.h:
- 10:23 AM Changeset in webkit [48163] by
-
- 5 edits3 adds in trunk
2009-09-08 Kent Tamura <tkent@chromium.org>
Reviewed by Eric Seidel.
Tests for ValidityState::typeMismatch() for <input type=number>.
https://bugs.webkit.org/show_bug.cgi?id=28934
- fast/forms/ValidityState-typeMismatch-number-expected.txt: Added.
- fast/forms/ValidityState-typeMismatch-number.html: Added.
- fast/forms/resources/ValidityState-typeMismatch-number.js: Added.
2009-09-08 Kent Tamura <tkent@chromium.org>
Reviewed by Eric Seidel.
Implement ValidityState::typeMismatch() for <input type=number>.
https://bugs.webkit.org/show_bug.cgi?id=28934
Test: fast/forms/ValidityState-typeMismatch-number.html
- html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::formStringToDouble):
- html/HTMLInputElement.h:
- html/ValidityState.cpp: (WebCore::ValidityState::typeMismatch):
- html/ValidityState.h:
- 10:19 AM Changeset in webkit [48162] by
-
- 2 edits in trunk/WebKitTools
wx build fix after introduction of platform/mock directory.
- 10:15 AM Changeset in webkit [48161] by
-
- 2 edits in trunk/JavaScriptCore
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Simon Hausmann.
Build fix when USE(LOCKFREE_THREADSAFESHARED) is not defined
https://bugs.webkit.org/show_bug.cgi?id=29011
- wtf/Threading.h: Use LOCKFREE_THREADSAFESHARED guard for atomicIncrement and atomicDecrement
- 9:39 AM Changeset in webkit [48160] by
-
- 2 edits in trunk/WebKitTools
Unreviewed.
Patch by Yael Aharon <yael.aharon@nokia.com> on 2009-09-08
Add myself to list of committers.
- Scripts/modules/committers.py:
- 9:08 AM Changeset in webkit [48159] by
-
- 2 edits in trunk/WebKitTools
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Unreviewed.
Add myself to list of committers.
- Scripts/modules/committers.py:
- 8:51 AM Changeset in webkit [48158] by
-
- 2 edits in trunk/WebKitTools
2009-09-08 Cameron McCormack <cam@mcc.id.au>
Reviewed by Darin Adler.
prepare-ChangeLog too chatty on file additions
https://bugs.webkit.org/show_bug.cgi?id=29019
- Scripts/prepare-ChangeLog: Omit description of added properties on newly added files.
- 8:49 AM Changeset in webkit [48157] by
-
- 2 edits in trunk/WebCore
2009-09-08 Andras Becsi <becsi.andras@stud.u-szeged.hu>
Reviewed by Gustavo Noronha.
[Gtk] Another attempt of a buildfix.
- GNUmakefile.am: Modified. Remove some extra IDL files added in r48153.
- 8:43 AM Changeset in webkit [48156] by
-
- 6 edits6 adds in trunk
2009-09-08 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a LayoutTestController method to set the permission state for Geolocation.
This is required to use the mock Geolocation service for testing.
https://bugs.webkit.org/show_bug.cgi?id=29027
- fast/dom/Geolocation/resources/permission-denied.js: Added. Tests that the error callback is invoked with a permission error code when Geolocation permission is denied and the Geolocation service provides a good position fix.
- fast/dom/Geolocation/permission-denied-expected.txt: Added. Expected result for above test.
- fast/dom/Geolocation/permission-denied.html: Added. Wrapper for above test.
- fast/dom/Geolocation/resources/success.js: Added. Tests that the success callback is invoked when the Geolocation service provides a good position fix.
- fast/dom/Geolocation/success-expected.txt: Added. Expected result for above test.
- fast/dom/Geolocation/success.html: Added. Wrapper for above test.
- platform/gtk/Skipped:
2009-09-08 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a LayoutTestController method to set the permission state for Geolocation.
This is required to use the mock Geolocation service for testing.
https://bugs.webkit.org/show_bug.cgi?id=29027
- DumpRenderTree/LayoutTestController.cpp: Modified. (setDatabaseQuotaCallback): Modified. Style fix. (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state. (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
- DumpRenderTree/LayoutTestController.h: Modified. (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state. (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set. (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
- DumpRenderTree/mac/UIDelegate.mm: Modified. (-[UIDelegate webView:frame:requestGeolocationPermission:securityOrigin:]): Added. Implement chrome method to respond to request for Geolocation permission state. Response is made using above methods to access permission state.
- 8:17 AM WebKit Team edited by
- (diff)
- 8:00 AM Changeset in webkit [48155] by
-
- 2 edits in trunk/JavaScriptCore
2009-09-07 Zoltan Horvath <zoltan@webkit.org>
Reviewed by Darin Adler.
Allow custom memory allocation control in Yarr's RegexInterpreter
https://bugs.webkit.org/show_bug.cgi?id=29025
Inherits RegexInterpreter classes from FastAllocBase (bug #20422), which has
been instantiated by 'new':
class ByteDisjunction
-> instantiated in JavaScriptCore/yarr/RegexInterpreter.cpp:1462
struct BytecodePattern
-> instantiated in JavaScriptCore/yarr/RegexInterpreter.cpp:1279
- yarr/RegexInterpreter.h:
- 7:58 AM WebKit Team edited by
- (diff)
- 7:43 AM Changeset in webkit [48154] by
-
- 6 edits in trunk
WebCore: [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack.
https://bugs.webkit.org/show_bug.cgi?id=28865
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Reviewed by Simon Hausmann.
Save the QCursor as a property in WidgetQt::setCursor
and actually change the cursor in QWebView::event() by making use
of the QEvent::DynamicPropertyChange event type.
When unsetCursor() is called on the QWidget we can fallback to
the cursor set by WebCore.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> and
Antonio Gomes <antonio.gomes@openbossa.org> on 2009-09-07
- platform/qt/WidgetQt.cpp:
(WebCore::Widget::setCursor):
WebKit/qt: [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack.
https://bugs.webkit.org/show_bug.cgi?id=28865
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-08
Reviewed by Simon Hausmann.
Clean up the unserCursor hack to use the QCursor set
as a property of the QWidget by WebCore::WidgetQt.
Remove all code that are no longer necessary for getting
cursor change events.
Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> and
Antonio Gomes <antonio.gomes@openbossa.org> on 2009-09-07
- Api/qwebpage.cpp:
- Api/qwebpage_p.h:
- Api/qwebview.cpp:
(QWebViewPrivate::QWebViewPrivate):
(QWebView::event):
- 7:34 AM Changeset in webkit [48153] by
-
- 2 edits in trunk/WebCore
2009-09-08 Andras Becsi <becsi.andras@stud.u-szeged.hu>
Reviewed by Gustavo Noronha.
[Gtk] Buildfix for build error introduced in r48150.
- GNUmakefile.am: Modified. Added missing IDL files.
- 7:05 AM Changeset in webkit [48152] by
-
- 2 edits in trunk/WebCore
[Qt] Buildfix. Build error caused by r48150.
Patch by Csaba Osztrogonac <oszi@inf.u-szeged.hu> on 2009-09-08
Reviewed by Tor Arne Vestbø.
- WebCore.pro: missing IDL files added
- 6:44 AM QtWebKitContrib edited by
- (diff)
- 6:31 AM QtWebKitContrib edited by
- (diff)
- 6:27 AM Changeset in webkit [48151] by
-
- 8 edits in trunk
2009-09-08 Laszlo Gombos <Laszlo Gombos>
Reviewed by Simon Hausmann.
[Qt] QtWebKit single API to enable persistency
https://bugs.webkit.org/show_bug.cgi?id=28682
Disable LocalStorage, ApplicationCache, HTML5 offline storage by
default.
If persistency is enabled the default directory for LocalStorage and
ApplicationCache is now based on QDesktopServices::DataLocation and not
QDesktopServices::CacheLocation (as it is expected to keep this data
around after a reboot).
If persistency is enabled initialize HTML5 offline storage as well - this
fixed offline Storage for QtLauncher.
- 6:01 AM Changeset in webkit [48150] by
-
- 17 edits48 adds in trunk/WebCore
Update Canvas 3D implementation to match spec
https://bugs.webkit.org/show_bug.cgi?id=29010
This adds several new CanvasXXXArray classes each of which has a custom constructor
and custom getters and setters. Also changed CanvasRenderingContext3D and GraphicsContext3D
to match the new and changed API.
- 5:35 AM Changeset in webkit [48149] by
-
- 1 edit2 adds in trunk/LayoutTests
[Qt] Add expected files for new tests since we pass them.
Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-09-08
Reviewed by Tor Arne Vestbø.
- platform/qt/fast/reflections/abs-position-in-reflection-expected.txt: Added.
- platform/qt/fast/repaint/rel-positioned-inline-with-overflow-expected.txt: Added.
- 5:27 AM Changeset in webkit [48148] by
-
- 2 edits in trunk/WebKitTools
Refactor --strict switch to --ignore-metrics and correct the
implementation to make the feature usable on all platforms.
https://bugs.webkit.org/show_bug.cgi?id=28907
Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-09-07
Reviewed by Tor Arne Vestbø.
run-webkit-tests --ignore-metrics strips the font related metrics from
the actual and expected data before comparing them.
In this way the render trees can be checked for obvious differences but
a successful test implies by no means that the layout is actually correct.
- Scripts/run-webkit-tests:
- 2:51 AM Changeset in webkit [48147] by
-
- 1 edit in trunk/WebKitTools/Scripts/modules/committers.py
Unreviewed.
Change my mail address on the list of committers.
- 12:45 AM Changeset in webkit [48146] by
-
- 2 edits in trunk/WebCore
Make m_windowVisible more consistent with the actual visibility of the inspector.
Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2009-09-08
Reviewed by Timothy Hatcher.
- inspector/InspectorController.cpp:
(WebCore::InspectorController::setWindowVisible):
Sep 7, 2009:
- 11:22 PM Changeset in webkit [48145] by
-
- 2 edits in trunk/WebCore
2009-09-07 Adam Barth <abarth@webkit.org>
Unreviewed speculative build fix for Snow Leopard.
- platform/GeolocationService.cpp: (WebCore::createGeolocationServiceNull):
- 11:13 PM Changeset in webkit [48144] by
-
- 30 edits2 copies6 adds in trunk
2009-09-07 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a mock Geolocation service. This will be used to provide predictable behavior of the
Geolocation API for use in LayoutTests. Later changes will integrate the the mock
Geolocation service with DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=28264
- fast/dom/Geolocation/resources/error.js: Added. Tests that the error callback is called when the service reports an error.
- fast/dom/Geolocation/error-expected.txt: Added. Expected result for above test.
- fast/dom/Geolocation/error.html: Added. Wrapper for above test.
2009-09-07 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a mock Geolocation service. This will be used to provide predictable behavior of the
Geolocation API for use in LayoutTests. Later changes will integrate the the mock
Geolocation service with DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=28264
The mock Geolocation service returns a fixed position or error. This position or error can be
set through static methods on the GeolocationService class. The position or error is shared
between all instances of the mock Geolocation service.
Implementation details.
The GeolocationService object maintains a pointer to a factory function which it uses to create
Geolocation service instances. Each platform implementing Geolocation sets this pointer
to the factory function for their platform's implementation. When the mock Geolocation service
is activated, the factory function pointer is reset to the factory function for the mock service.
Test: fast/dom/Geolocation/error.html
- WebCore.base.exp: Modified. Exports GeolocationServiceMock methods.
- GNUMakefile.am: Modified. Added GeolocationServiceMock files.
- WebCore.gypi: Modified. Added GeolocationServiceMock files.
- WebCore.pro: Modified. Added GeolocationServiceMock files.
- WebCore.vcproj/WebCore.vcproj: Modified. Added GeolocationServiceMock files.
- WebCore.vcproj/WebCoreCommon.vsprops: Modified. Added mock directory to includes.
- WebCore.xcodeproj/project.pbxproj: Modified. Added GeolocationServiceMock files and exports some headers.
- WebCoreSources.bkl: Modified. Added GeolocationServiceMock files.
- page/ChromeClient.h: Modified. Fixed comment.
- page/Geolocation.cpp: Modified. (WebCore::Geolocation::setIsAllowed): Modified. Fixed error string.
- platform/GeolocationService.cpp: Modified. (WebCore::createGeolocationServiceNull): Added. Returns null in place of a Geolocation service. Used to avoid link errors on platforms where Geolocation is not implemented. (WebCore::GeolocationService::create): Added. Uses the factory function pointer to create a Geolocation service implementation. (WebCore::GeolocationService::useMock): Added. Configures the GeolocationServie to use the mock implementation.
- platform/GeolocationService.h: Modified.
- platform/mock: Added.
- platform/mock/GeolocationServiceMock.cpp: Added. (WebCore::GeolocationServiceMock::create): Added. Creates a GeolocationServiceMock object. (WebCore::GeolocationServiceMock::GeolocationServiceMock): Added. Constructor. (WebCore::GeolocationServiceMock::~GeolocationServiceMock): Added. Destructor. (WebCore::GeolocationServiceMock::setPosition): Added. Sets the position that will be returned by the object. (WebCore::GeolocationServiceMock::setError): Added. Sets the error that will be returned by the object. (WebCore::GeolocationServiceMock::startUpdating): Added. GeolocationService implementation. Starts the service. (WebCore::GeolocationServiceMock::stopUpdating): Added. GeolocationService implementation. Stops the service. (WebCore::GeolocationServiceMock::timerFired): Added. Used to provide an asynchronous callback when the service is started. (WebCore::GeolocationServiceMock::makeGeolocationCallbackFromAllInstances): Added. Used to call back when the position or error is updated. (WebCore::GeolocationServiceMock::makeGeolocationCallback): Added. Used to call back when the service starts. (WebCore::GeolocationServiceMock::initStatics): Added. Initializes statics members with constructors. (WebCore::GeolocationServiceMock::cleanUpStatics): Added. Cleans up static members with constructors.
- platform/mock/GeolocationServiceMock.h: Added. (WebCore::GeolocationServiceMock::lastPosition): Added. Returns the fixed position. (WebCore::GeolocationServiceMock::lastError): Added. Returns the fixed error.
- platform/gtk/GeolocationServiceGtk.cpp: Modified. (WebCore::GeolocationServiceGtk::create): Added. Creates an instance of GeolocationServiceGtk.
- platform/gtk/GeolocationServiceGtk.h: Modified.
- platform/mac/GeolocationServiceMac.h: Modified.
- platform/mac/GeolocationServiceMac.mm: Modified. (WebCore::GeolocationServiceMac::create): Added. Creates an instance of GeolocationServiceMac.
2009-09-07 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a mock Geolocation service. This will be used to provide predictable behavior of the
Geolocation API for use in LayoutTests. Later changes will integrate the the mock
Geolocation service with DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=28264
- WebKit.xcodeproj/project.pbxproj: Modified. Adds WebGeolocationMock.
2009-09-07 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a mock Geolocation service. This will be used to provide predictable behavior of the
Geolocation API for use in LayoutTests. Later changes will integrate the the mock
Geolocation service with DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=28264
- WebCoreSupport/WebGeolocationMockPrivate.h: Added.
- WebCoreSupport/WebGeolocationMock.mm: Added. (+[WebGeolocationMock setError:code:]): Added. Used by DumpRender tree to configure the mock Geolocation service. (+[WebGeolocationMock setPosition:latitude:longitude:accuracy:]): Added. Used by DumpRender tree to configure the mock Geolocation service.
- WebKit.exp: Modified. Exports WebGeolocationMock.
2009-09-07 Steve Block <steveblock@google.com>
Reviewed by Adam Barth.
Adds a mock Geolocation service. This will be used to provide predictable behavior of the
Geolocation API for use in LayoutTests. Later changes will integrate the the mock
Geolocation service with DumpRenderTree.
https://bugs.webkit.org/show_bug.cgi?id=28264
- DumpRenderTree/LayoutTestController.cpp: Modified. (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service. (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service. (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
- DumpRenderTree/LayoutTestController.h: Modified.
- DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified. (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service. (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
- 10:19 PM Changeset in webkit [48143] by
-
- 6 edits2 adds in trunk/LayoutTests
2009-09-07 Jeremy Orlow <jorlow@chromium.org>
Reviewed by Eric Seidel.
Clean up localStorage.clear() layout test.
https://bugs.webkit.org/show_bug.cgi?id=28939
This is the first step of https://bugs.webkit.org/show_bug.cgi?id=27897 which
is a pretty major cleanup of all the dom storage layout tests. I'm just
changing this one to begin with to get buy-in on the approach.
This also adds a new method to the fast/js/js-test-pre.js that runs a command
and prints it to the screen. This should really help with making the output of
the tests readable without looking at the source code.
- fast/js/resources/js-test-pre.js: (tryAndLog): Runs a command and logs it to the screen.
- storage/domstorage/localstorage/clear-expected.txt:
- storage/domstorage/localstorage/clear.html:
- storage/domstorage/resources: Added.
- storage/domstorage/resources/clear.js: Added.
The meat of the test is now in this file.
- storage/domstorage/sessionstorage/clear-expected.txt:
- storage/domstorage/sessionstorage/clear.html:
- 6:25 PM Changeset in webkit [48142] by
-
- 2 edits in trunk/WebCore
2009-09-07 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
We need to be slightly more careful about how we pick up a script
execution context. In particular, we were getting the wrong document
for frames that had been navigated somewhere else.
In the long term, we should think about a better algorithm for
computing the script context.
Fixes LayoutTests/http/tests/xmlhttprequest/detaching-frame-2.html
- bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::retrieveFrame):
- 5:32 PM Changeset in webkit [48141] by
-
- 4 edits in trunk/LayoutTests
Rubber-stamped by Sam Weinig.
Rebaseline tests for GTK platform, and skipping shared worker XHR tests (worker XHR tests are already skipped).
Tracked as https://bugs.webkit.org/show_bug.cgi?id=29020.
- platform/gtk/Skipped:
- platform/gtk/fast/dom/Window/window-properties-expected.txt:
- platform/gtk/fast/dom/prototype-inheritance-2-expected.txt:
- 5:08 PM Changeset in webkit [48140] by
-
- 2 edits in trunk/LayoutTests
Unreviewed test fixup.
Added shared worker lifecycle tests to Skipped test list due to missing DRT functionality on Qt platform.
- platform/qt/Skipped:
- 4:55 PM Changeset in webkit [48139] by
-
- 1 edit21 moves in trunk/LayoutTests
Enable shared worker tests.
https://bugs.webkit.org/show_bug.cgi?id=28977
Reviewed by David Levin.
Just moved tests from shared-worker-xxxx.html-disabled to shared-worker-xxxx.html. No other changes.
- fast/workers/shared-worker-constructor.html: Renamed from LayoutTests/fast/workers/shared-worker-constructor.html-disabled.
- fast/workers/shared-worker-context-gc.html: Renamed from LayoutTests/fast/workers/shared-worker-context-gc.html-disabled.
- fast/workers/shared-worker-event-listener.html: Renamed from LayoutTests/fast/workers/shared-worker-event-listener.html-disabled.
- fast/workers/shared-worker-exception.html: Renamed from LayoutTests/fast/workers/shared-worker-exception.html-disabled.
- fast/workers/shared-worker-frame-lifecycle.html: Renamed from LayoutTests/fast/workers/shared-worker-frame-lifecycle.html-disabled.
- fast/workers/shared-worker-gc.html: Renamed from LayoutTests/fast/workers/shared-worker-gc.html-disabled.
- fast/workers/shared-worker-lifecycle.html: Renamed from LayoutTests/fast/workers/shared-worker-lifecycle.html-disabled.
- fast/workers/shared-worker-load-error.html: Renamed from LayoutTests/fast/workers/shared-worker-load-error.html-disabled.
- fast/workers/shared-worker-location.html: Renamed from LayoutTests/fast/workers/shared-worker-location.html-disabled.
- fast/workers/shared-worker-navigator.html: Renamed from LayoutTests/fast/workers/shared-worker-navigator.html-disabled.
- fast/workers/shared-worker-replace-global-constructor.html: Renamed from LayoutTests/fast/workers/shared-worker-replace-global-constructor.html-disabled.
- fast/workers/shared-worker-replace-self.html: Renamed from LayoutTests/fast/workers/shared-worker-replace-self.html-disabled.
- fast/workers/shared-worker-script-error.html: Renamed from LayoutTests/fast/workers/shared-worker-script-error.html-disabled.
- fast/workers/shared-worker-shared.html: Renamed from LayoutTests/fast/workers/shared-worker-shared.html-disabled.
- fast/workers/shared-worker-simple.html: Renamed from LayoutTests/fast/workers/shared-worker-simple.html-disabled.
- http/tests/workers/shared-worker-importScripts.html: Renamed from LayoutTests/http/tests/workers/shared-worker-importScripts.html-disabled.
- http/tests/workers/shared-worker-redirect.html: Renamed from LayoutTests/http/tests/workers/shared-worker-redirect.html-disabled.
- http/tests/xmlhttprequest/workers/shared-worker-close.html: Renamed from LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-close.html-disabled.
- http/tests/xmlhttprequest/workers/shared-worker-methods-async.html: Renamed from LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods-async.html-disabled.
- http/tests/xmlhttprequest/workers/shared-worker-methods.html: Renamed from LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-methods.html-disabled.
- http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html: Renamed from LayoutTests/http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html-disabled.
- 4:05 PM Changeset in webkit [48138] by
-
- 2 edits in trunk/WebCore
wx build fix for 2.8 compilation.
- 3:23 PM Changeset in webkit [48137] by
-
- 18 edits5 deletes in trunk
JavaScriptCore: Reverting r48121 to fix Windows build errors.
- JavaScriptCore.exp:
WebCore: Unreviewed build fix.
Reverting r48121 to fix Windows build errors.
- DerivedSources.cpp:
- GNUmakefile.am:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSDOMWindowCustom.cpp:
- bindings/js/JSEventTarget.cpp:
(WebCore::toJS):
(WebCore::toEventTarget):
- dom/EventTarget.cpp:
- dom/EventTarget.h:
- page/DOMWindow.idl:
- websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):
(WebCore::WebSocket::send):
(WebCore::WebSocket::close):
(WebCore::WebSocket::bufferedAmount):
(WebCore::WebSocket::addEventListener):
(WebCore::WebSocket::removeEventListener):
(WebCore::WebSocket::dispatchEvent):
(WebCore::WebSocket::didConnect):
(WebCore::WebSocket::didReceiveMessage):
(WebCore::WebSocket::didClose):
(WebCore::WebSocket::dispatchOpenEvent):
(WebCore::WebSocket::dispatchMessageEvent):
(WebCore::WebSocket::dispatchCloseEvent):
- websockets/WebSocket.h:
(WebCore::WebSocket::create):
(WebCore::WebSocket::):
(WebCore::WebSocket::setOnopen):
(WebCore::WebSocket::onopen):
(WebCore::WebSocket::setOnmessage):
(WebCore::WebSocket::onmessage):
(WebCore::WebSocket::setOnclose):
(WebCore::WebSocket::onclose):
(WebCore::WebSocket::toWebSocket):
(WebCore::WebSocket::refEventTarget):
(WebCore::WebSocket::derefEventTarget):
- websockets/WebSocketChannel.cpp: Removed.
- websockets/WebSocketChannel.h: Removed.
- websockets/WebSocketChannelClient.h: Removed.
- websockets/WebSocketHandshake.cpp: Removed.
- websockets/WebSocketHandshake.h: Removed.
LayoutTests: Unreviewed build fix.
Reverting r48121 to fix Windows build errors.
- fast/dom/Window/window-properties-expected.txt:
- fast/dom/prototype-inheritance-2-expected.txt:
- fast/dom/prototype-inheritance-expected.txt:
- fast/js/global-constructors-expected.txt:
- 2:29 PM Changeset in webkit [48136] by
-
- 2 edits in trunk/WebCore
Unreviewed speculative build fix.
Reverted previous build fix as it didn't fix the problem.
- bindings/js/JSEventTarget.cpp:
(WebCore::toEventTarget):
- 2:20 PM Changeset in webkit [48135] by
-
- 2 edits in trunk/WebCore
2009-09-07 Laszlo Gombos <Laszlo Gombos>
Unreviewed, build fix.
[Qt] Fix build after SHARED_WORKERS are enabled by default (r48131)
- WebCore.pro:
- 1:50 PM Changeset in webkit [48134] by
-
- 2 edits in trunk/WebCore
Unreviewed build fix.
Temporarily removed depenency between JSEventTarget.cpp and WebSocket.h in an attempt to fix a windows build break.
- bindings/js/JSEventTarget.cpp:
(WebCore::toEventTarget):
- 1:10 PM Changeset in webkit [48133] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Link new objects documents in the main document.
- docs/webkitgtk-docs.sgml:
- 1:04 PM Changeset in webkit [48132] by
-
- 3 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Documentation control files updated for 1.1.14.
- docs/webkitgtk-docs.sgml:
- docs/webkitgtk-sections.txt:
- 12:53 PM Changeset in webkit [48131] by
-
- 27 edits in trunk
JavaScriptCore: Enable SHARED_WORKERS by default
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
- Configurations/FeatureDefines.xcconfig:
WebCore: Enable SHARED_WORKERS by default.
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
Tests (enabled in a separate patch):
fast/workers/shared-worker-constructor.html
fast/workers/shared-worker-context-gc.html
fast/workers/shared-worker-event-listener.html
fast/workers/shared-worker-exception.html
fast/workers/shared-worker-frame-lifecycle.html
fast/workers/shared-worker-gc.html
fast/workers/shared-worker-lifecycle.html
fast/workers/shared-worker-load-error.html
fast/workers/shared-worker-location.html
fast/workers/shared-worker-navigator.html
fast/workers/shared-worker-replace-global-constructor.html
fast/workers/shared-worker-replace-self.html
fast/workers/shared-worker-shared.html
fast/workers/shared-worker-simple.html
http/tests/workers/shared-worker-importScripts.html
http/tests/workers/shared-worker-redirect.html
http/tests/xmlhttprequest/workers/shared-worker-close.html
http/tests/xmlhttprequest/workers/shared-worker-methods-async.html
http/tests/xmlhttprequest/workers/shared-worker-methods.html
http/tests/xmlhttprequest/workers/shared-worker-xhr-file-not-found.html
- config.h: Removed some whitespace/touched the file to force a full rebuild on the build-bots.
- Configurations/FeatureDefines.xcconfig:
- WebCore.pro:
- WebCore.vcproj/WebCoreCommon.vsprops:
- WebCore.vcproj/build-generated-files.sh:
- dom/DOMWindow.idl: Removed unnecessary whitespace to force a rebuild on the build-bots to pickup the flag change.
- workers/DefaultSharedWorkerRepository.cpp:
(WebCore::SharedWorkerScriptLoader::load):
Clean up bitrot in SharedWorker code - DenyCrossOriginRedirect is now DenyCrossOriginRequests.
- workers/SharedWorkerContext.cpp:
(WebCore::SharedWorkerContext::dispatchConnect):
Clean up bitrot - updated SharedWorker code to reflect new MessageEvent API.
WebKit/mac: Enable SHARED_WORKERS by default.
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
- Configurations/FeatureDefines.xcconfig:
WebKit/win: Enable SHARED_WORKERS by default.
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
- WebKit.vcproj/WebKit.vcproj:
WebKitTools: Enable SHARED_WORKERS by default
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
- Scripts/build-webkit:
LayoutTests: Enable SHARED_WORKERS by default
https://bugs.webkit.org/show_bug.cgi?id=28959
Reviewed by David Levin.
Update test expectations to reflect the availability of the SharedWorker constructor.
Fixup bitrot in disabled tests - now reflects new MessagePort API.
- fast/dom/Window/window-properties-expected.txt:
Updated expectations now that window.SharedWorkers is defined.
- fast/dom/prototype-inheritance-2-expected.txt:
Updated expectations now that window.SharedWorkers is defined.
- fast/dom/prototype-inheritance-expected.txt:
Updated expectations now that window.SharedWorkers is defined.
- fast/workers/shared-worker-script-error-expected.txt
Updated expectations to reflect current (correct) behavior (unhandled exceptions are logged to console).
- fast/workers/shared-worker-script-error.html
Pauses before exiting the test to allow pending console errors to get emitted (makes test less flaky).
- fast/workers/resources/shared-worker-script-error.js
(onerror):
Now properly handles the exception (onerror function has to return false to swallow the exception).
- fast/js/global-constructors-expected.txt:
Updated expectations now that window.SharedWorkers is defined.
- http/tests/workers/resources/worker-importScripts.js:
Clean up bitrot in tests - MessageEvent.messagePort => MessageEvent.ports.
(handleConnect.self.postMessage):
(handleConnect):
- http/tests/workers/resources/worker-redirect-target.js:
Clean up bitrot in tests - MessageEvent.messagePort => MessageEvent.ports.
(self.onconnect):
- http/tests/xmlhttprequest/workers/resources/worker-pre.js:
Clean up bitrot in tests - MessageEvent.messagePort => MessageEvent.ports.
- 12:47 PM Changeset in webkit [48130] by
-
- 1 copy in releases/WebKitGTK/webkit-1.1.14
Tagging 1.1.14.
- 12:27 PM Changeset in webkit [48129] by
-
- 2 edits in trunk/LayoutTests
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Skipping one more test affected by the libsoup issue, a new test,
and tests that require eventSender.
- platform/gtk/Skipped:
- 11:57 AM Changeset in webkit [48128] by
-
- 2 edits in trunk/LayoutTests
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Unreviewed. Skipping tests that are failing because of a libsoup
problem. Bug reported.
- platform/gtk/Skipped:
- 11:52 AM Changeset in webkit [48127] by
-
- 2 edits in trunk/WebKit/qt
[PATCH 2/6] Speed up the QWebPluginInfo::supportsMimeType() function.
https://bugs.webkit.org/show_bug.cgi?id=27651
Instead of going through the MIME types list constructed with
mimeTypes() function, look up the internal mimeToDescriptions map.
- 11:16 AM Changeset in webkit [48126] by
-
- 2 edits in trunk/WebCore
2009-09-07 Xan Lopez <xlopez@igalia.com>
Unreviewed build fix.
Add new file to sources list.
- GNUmakefile.am:
- 10:53 AM Changeset in webkit [48125] by
-
- 7 edits in trunk
wx build fixes for wx SVN trunk.
- 10:21 AM Changeset in webkit [48124] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
What's new for 1.1.14.
- NEWS:
- 10:16 AM Changeset in webkit [48123] by
-
- 2 edits in trunk
2009-09-07 Xan Lopez <xlopez@igalia.com>
Rubber-stamped by Gustavo Noronha.
Bump versions in preparation for 1.1.14 release.
- configure.ac:
- 10:07 AM Changeset in webkit [48122] by
-
- 2 edits in trunk/WebCore
[Qt] Use direct includes for Phonon, not the pretty ones
Patch by Chris Hills <chaz@chaz6.com> on 2009-09-07
Reviewed by Tor Arne Vestbø.
- platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
- 10:02 AM Changeset in webkit [48121] by
-
- 18 edits5 adds in trunk
2009-09-07 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
Export WTF::tryFastMalloc used in WebSocketChannel.
https://bugs.webkit.org/show_bug.cgi?id=28038
- JavaScriptCore.exp:
2009-09-07 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
Add WebSocket API.
https://bugs.webkit.org/show_bug.cgi?id=28038
WebSocket constructor is available in window object.
- fast/dom/Window/window-properties-expected.txt:
- fast/dom/prototype-inheritance-2-expected.txt:
- fast/dom/prototype-inheritance-expected.txt:
- fast/js/global-constructors-expected.txt:
2009-09-07 Fumitoshi Ukai <ukai@chromium.org>
Reviewed by Alexey Proskuryakov.
WebSocket API implementation.
https://bugs.webkit.org/show_bug.cgi?id=28038
Add build systems only for GNUmakefile.am and WebCore.xcodeproj now.
Other build systems will be updated once the code is functional.
Tests will be landed once the code is completed and functional.
- DerivedSources.cpp:
- GNUmakefile.am:
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::webSocket):
- bindings/js/JSEventTarget.cpp: (WebCore::toJS): (WebCore::toEventTarget):
- dom/EventTarget.cpp: (WebCore::EventTarget::toWebSocket):
- dom/EventTarget.h:
- page/DOMWindow.idl:
- websockets/WebSocket.cpp: (WebCore::ProcessWebSocketEventTask::create): (WebCore::ProcessWebSocketEventTask::performTask): (WebCore::ProcessWebSocketEventTask::ProcessWebSocketEventTask): (WebCore::isValidProtocolString): (WebCore::WebSocket::connect): (WebCore::WebSocket::send): (WebCore::WebSocket::close): (WebCore::WebSocket::bufferedAmount): (WebCore::WebSocket::addEventListener): (WebCore::WebSocket::removeEventListener): (WebCore::WebSocket::dispatchEvent): (WebCore::WebSocket::didConnect): (WebCore::WebSocket::didReceiveMessage): (WebCore::WebSocket::didClose): (WebCore::WebSocket::dispatchOpenEvent): (WebCore::WebSocket::dispatchMessageEvent): (WebCore::WebSocket::dispatchCloseEvent):
- websockets/WebSocket.h: (WebCore::WebSocket::create): (WebCore::WebSocket::): (WebCore::WebSocket::setOnopen): (WebCore::WebSocket::onopen): (WebCore::WebSocket::setOnmessage): (WebCore::WebSocket::onmessage): (WebCore::WebSocket::setOnclose): (WebCore::WebSocket::onclose): (WebCore::WebSocket::toWebSocket): (WebCore::WebSocket::eventListeners): (WebCore::WebSocket::refEventTarget): (WebCore::WebSocket::derefEventTarget):
- websockets/WebSocketChannel.cpp: Added.
- websockets/WebSocketChannel.h: Added.
- websockets/WebSocketChannelClient.h: Added.
- websockets/WebSocketHandshake.cpp: Added.
- websockets/WebSocketHandshake.h: Added.
- 9:31 AM Changeset in webkit [48120] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Rubber-stamped by Xan Lopez.
Use g_return_if_fail to check for the SoupURI creation, instead of
printing a custom warning.
- webkit/webkitnetworkrequest.cpp: (webkit_network_request_set_uri):
- 9:29 AM Changeset in webkit [48119] by
-
- 1 edit in trunk/WebKit/gtk/ChangeLog
Fixing name of reviewer in some older commits. Xan suggested the fix,
but Jan reviewed.
- 9:27 AM Changeset in webkit [48118] by
-
- 17 edits4 adds in trunk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=26854
[GTK] Needs API to allow more control over outgoing requests
- GNUmakefile.am: new files added to the build for new class WebKitNetworkResponse
WebCore:
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=26854
[GTK] Needs API to allow more control over outgoing requests
Add infrastructure required to provide the new
WebKitNetworkResponse object in our API.
- GNUmakefile.am: Add new files to the build.
- platform/network/soup/ResourceRequestSoup.cpp: (WebCore::ResourceRequest::updateFromSoupMessage):
- platform/network/soup/ResourceResponse.h:
- platform/network/soup/ResourceResponseSoup.cpp: Added. (WebCore::ResourceResponse::toSoupMessage):
WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=26854
[GTK] Needs API to allow more control over outgoing requests
Map the willSendRequest delegate to the 'resource-request-starting'
signal, allowing more control of the resources that are fetched.
Mapping willSendRequest properly requires an appropriate Response
object, so we are introducing WebKitNetworkResponse, which works in a
way similar to WebKitNetworkRequest.
- WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchWillSendRequest): (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest): (WebKit::FrameLoaderClient::dispatchDidFinishLoading): (WebKit::FrameLoaderClient::dispatchDidFailLoading):
- tests/testnetworkresponse.c: Added. (test_network_response_create_destroy): (test_network_response_properties): (main):
- tests/testwebresource.c: (resource_request_starting_cb): (load_finished_cb): (test_web_resource_loading): (main):
- webkit/webkit.h:
- webkit/webkitdefines.h:
- webkit/webkitnetworkrequest.cpp:
- webkit/webkitnetworkresponse.cpp: Added. (webkit_network_response_dispose): (webkit_network_response_finalize): (webkit_network_response_get_property): (webkit_network_response_set_property): (webkit_network_response_class_init): (webkit_network_response_init): (webkit_network_response_new_with_core_response): (webkit_network_response_new): (webkit_network_response_set_uri): (webkit_network_response_get_uri): (webkit_network_response_get_message):
- webkit/webkitnetworkresponse.h: Added.
- webkit/webkitprivate.cpp: (WTF::SoupMessage): (WTF::WebKitNetworkRequest): (WTF::WebKitNetworkResponse): (WTF::WebKitWebResource):
- webkit/webkitprivate.h:
- webkit/webkitwebresource.cpp: (webkit_web_resource_cleanup): (webkit_web_resource_finalize): (webkit_web_resource_class_init): (webkit_web_resource_set_property): (webkit_web_resource_get_uri):
- webkit/webkitwebview.cpp: (webkit_web_view_class_init):
- webkitmarshal.list:
- 8:28 AM Changeset in webkit [48117] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=28979
[GTK] Misc improvments to NetworkRequest
Unref message in dispose, as it should be, not in finalize.
- webkit/webkitnetworkrequest.cpp: (webkit_network_request_dispose): (webkit_network_request_finalize): (webkit_network_request_class_init):
- 8:28 AM Changeset in webkit [48116] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
https://bugs.webkit.org/show_bug.cgi?id=28979
[GTK] Misc improvments to NetworkRequest
Bring documentation up-to-date with reality regarding NetworkRequest.
- webkit/webkitnetworkrequest.cpp:
- 8:11 AM Changeset in webkit [48115] by
-
- 2 edits in trunk/WebKit/gtk
2009-09-07 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
Make the auth dialog usable when libsoup does not have a
SoupPasswordManager, since it might go away in the next
development cycle.
- webkit/webkitsoupauthdialog.c: (response_callback): (session_can_save_passwords): (session_authenticate):
- 7:49 AM Changeset in webkit [48114] by
-
- 2 edits in trunk/WebCore
2009-09-07 Mads Ager <ager@chromium.org>
Reviewed by Adam Barth.
[V8] Cleanup document/frame null-checking in V8DOMWindowCustom.cpp
https://bugs.webkit.org/show_bug.cgi?id=29009
Be consistent in document and frame null checks.
- bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8Custom::WindowSetTimeoutImpl): (WebCore::ACCESSOR_GETTER): (WebCore::ACCESSOR_SETTER): (WebCore::CALLBACK_FUNC_DECL): (WebCore::NAMED_PROPERTY_GETTER): (WebCore::V8Custom::ClearTimeoutImpl):
- 7:21 AM Changeset in webkit [48113] by
-
- 4 edits in trunk/WebKit/qt
2009-09-07 Jakub Wieczorek <faw217@gmail.com>
Reviewed by Simon Hausmann.
Speed up the QWebPluginInfo::mimeTypes() function.
https://bugs.webkit.org/show_bug.cgi?id=27651
Instead of constructing a list of MIME types every time it is called,
do this only once.
- Api/qwebplugindatabase.cpp: (QWebPluginInfo::mimeTypes): (QWebPluginInfo::operator=):
- Api/qwebplugindatabase.h:
- tests/qwebplugindatabase/tst_qwebplugindatabase.cpp: (tst_QWebPluginDatabase::operatorassign_data): (tst_QWebPluginDatabase::operatorassign):
- 7:15 AM Changeset in webkit [48112] by
-
- 3 edits1 delete in trunk/WebKit/qt
2009-09-07 Jakub Wieczorek <faw217@gmail.com>
Reviewed by Simon Hausmann.
Remove the private classes from QWebPluginDatabase.
https://bugs.webkit.org/show_bug.cgi?id=27651
Instead, hold the PluginDatabase and PluginPackage objects as class
members and take care of refcounting on our own instead of using RefPtr.
This way we not only made the code cleaner but also got rid of
redundant allocations when constructing null QWebPluginInfo objects.
The private classes have been forward-declared and the d-pointers left
to be on the safe side.
- Api/qwebplugindatabase.cpp: (QWebPluginInfo::QWebPluginInfo): (QWebPluginInfo::~QWebPluginInfo): (QWebPluginInfo::name): (QWebPluginInfo::description): (QWebPluginInfo::mimeTypes): (QWebPluginInfo::path): (QWebPluginInfo::isNull): (QWebPluginInfo::setEnabled): (QWebPluginInfo::isEnabled): (QWebPluginInfo::operator==): (QWebPluginInfo::operator!=): (QWebPluginInfo::operator=): (QWebPluginDatabase::QWebPluginDatabase): (QWebPluginDatabase::~QWebPluginDatabase): (QWebPluginDatabase::plugins): (QWebPluginDatabase::searchPaths): (QWebPluginDatabase::setSearchPaths): (QWebPluginDatabase::addSearchPath): (QWebPluginDatabase::refresh): (QWebPluginDatabase::pluginForMimeType): (QWebPluginDatabase::setPreferredPluginForMimeType):
- Api/qwebplugindatabase.h:
- Api/qwebplugindatabase_p.h: Removed.
- 6:38 AM Changeset in webkit [48111] by
-
- 2 edits in trunk/WebCore
2009-09-07 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
[Soup] Limit the number of connections
https://bugs.webkit.org/show_bug.cgi?id=18431
Increase the maximum number of per host and total connections to
similar values than those used by the other modern browsers. Seems
to significantly improve page loading time in many cases.
- platform/network/soup/ResourceHandleSoup.cpp: (WebCore::ensureSessionIsInitialized):
- 3:09 AM Changeset in webkit [48110] by
-
- 2 edits in trunk/LayoutTests
[Qt] Disable a few tests that require missing controller features
Patch by Andras Becsi <becsi.andras@stud.u-szeged.hu> on 2009-09-07
Reviewed by Tor Arne Vestbø
- platform/qt/Skipped:
- 12:35 AM Changeset in webkit [48109] by
-
- 4 edits in trunk/WebCore
2009-09-07 Michael Nordman <Michael Nordman>
Reviewed by Darin Fisher.
Various minor chromium appcache modifications.
https://bugs.webkit.org/show_bug.cgi?id=28960
No new tests.
- bindings/v8/custom/V8DOMApplicationCacheCustom.cpp: Fix a null pointer exception. (WebCore::ACCESSOR_GETTER):
- platform/network/chromium/ResourceRequest.h: Switch from appCache 'context' to 'host' terminology. Note: leaving the old deprecated accessors in place until the matching change in chrome is landed to use the new accessors. (WebCore::ResourceRequest::ResourceRequest): (WebCore::ResourceRequest::appCacheHostID): (WebCore::ResourceRequest::setAppCacheHostID): (WebCore::ResourceRequest::appCacheContextID): (WebCore::ResourceRequest::setAppCacheContextID):
- platform/network/chromium/ResourceResponse.h: Add an appCacheManifestURL getter/setter. Drop the 'get' prefix from the appCacheID getter. Note: leaving the old deprecated 'get' prefixed accessor in place until the matching change in chrome is landed to use the new accessor. (WebCore::ResourceResponse::appCacheID): (WebCore::ResourceResponse::appCacheManifestURL): (WebCore::ResourceResponse::setAppCacheManifestURL): (WebCore::ResourceResponse::getAppCacheID):
- 12:28 AM Changeset in webkit [48108] by
-
- 5 edits2 adds in trunk
2009-09-07 Michael Nordman <Michael Nordman>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=28359
Test to ensure the the window.applicationCache attribute is defined but non-functional
with the feature disabled.
- http/tests/appcache/disabled-expected.txt: Added.
- http/tests/appcache/disabled.html: Added.
2009-09-07 Michael Nordman <Michael Nordman>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=28359
Cleanup: Undo some accidental changes around DOMApplicationCache.
- Restore support for constructing a DOMApplicationCache object with a null frame ptr.
- Return a non-null object for window.applicationCache when the feature is disabled.
- Simplify the swapCache method.
Test: http/tests/appcache/disabled.html
- loader/appcache/DOMApplicationCache.cpp: (WebCore::DOMApplicationCache::DOMApplicationCache): (WebCore::DOMApplicationCache::swapCache): (WebCore::DOMApplicationCache::scriptExecutionContext):
- loader/appcache/DOMApplicationCache.h:
- page/DOMWindow.cpp: (WebCore::DOMWindow::applicationCache):