- 02 Feb, 2010 20 commits
-
-
tkent@chromium.org authored
Unreviewed. Add two more test cases which I forgot to add in r54197. https://bugs.webkit.org/show_bug.cgi?id=34462 * fast/js/math-expected.txt: * fast/js/script-tests/math.js: git-svn-id: svn://svn.chromium.org/blink/trunk@54198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tkent@chromium.org authored
Reviewed by Darin Adler. Fix a bug that Math.round() retunrs incorrect results for huge integers https://bugs.webkit.org/show_bug.cgi?id=34462 * runtime/MathObject.cpp: (JSC::mathProtoFuncRound): Avoid "arg + 0.5". 2010-02-01 Kent Tamura <tkent@chromium.org> Reviewed by Darin Adler. Fix a bug that Math.round() retunrs incorrect results for huge integers https://bugs.webkit.org/show_bug.cgi?id=34462 * fast/js/math-expected.txt: * fast/js/script-tests/math.js: Add test cases for Math.round() for huge numbers. git-svn-id: svn://svn.chromium.org/blink/trunk@54197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hamaji@chromium.org authored
[Chromium] Unreviewed attempt to fix the chromium build. Corresponding change: http://trac.webkit.org/changeset/54182 * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::processingUserGesture): * bindings/v8/ScriptController.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54196 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hamaji@chromium.org authored
Unreviewed attempt to fix the broken build. This was introduced in http://trac.webkit.org/changeset/54182 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::performMediaPlayerAction): git-svn-id: svn://svn.chromium.org/blink/trunk@54195 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dimich@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=34382 Reviewed by David Levin. WebCore: Test: fast/frames/iframe-reparenting-new-page.html * html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::setName): Move the code setting the frame name into a separate function. (WebCore::HTMLFrameElementBase::setNameAndOpenURL): (WebCore::HTMLFrameElementBase::updateLiveFrame): Update frame tree, reset page in the contentFrame and re-set the name. (WebCore::HTMLFrameElementBase::insertedIntoDocument): * html/HTMLFrameElementBase.h: * page/Frame.cpp: (WebCore::Frame::setPage): * page/Frame.h: Add setPage method. It is only currently used when iframe is moved between pages (so the ASSERT(m_ownerElement). LayoutTests: * fast/frames/iframe-reparenting-new-page-expected.txt: Added. * fast/frames/iframe-reparenting-new-page.html: Added. * fast/frames/resources/iframe-reparenting-new-page-1.html: Added. * fast/frames/resources/iframe-reparenting-new-page-2.html: Added. * fast/frames/resources/iframe-reparenting-new-page-iframe.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54194 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
beidson@apple.com authored
<rdar://problem/7593895> and https://bugs.webkit.org/show_bug.cgi?id=34451 Reviewed by Tim Hatcher. * platform/KURL.cpp: (WebCore::portAllowed): LayoutTests: Add common IRC ports to port blocking. <rdar://problem/7593895> and https://bugs.webkit.org/show_bug.cgi?id=34451 * platform/mac-tiger/security/block-test-expected.txt: * platform/mac/security/block-test-expected.txt: * security/block-test.html: Reviewed by Tim Hatcher. git-svn-id: svn://svn.chromium.org/blink/trunk@54193 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hamaji@chromium.org authored
Unreviewed fix for an invalid function call. check-webkit-style: Remove filename parameter from all functions where no longer used https://bugs.webkit.org/show_bug.cgi?id=34249 * Scripts/webkitpy/style/checker.py: git-svn-id: svn://svn.chromium.org/blink/trunk@54192 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jorlow@chromium.org authored
Reviewed by Eric Seidel. Add support for addUserScript to chromium port. * public/WebView.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::addUserScript): (WebKit::WebViewImpl::removeAllUserContent): * src/WebViewImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54191 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
jorlow@chromium.org authored
Reviewed by Nate Chapin. [V8] Add compile time guards for IndexedDB custom functions https://bugs.webkit.org/show_bug.cgi?id=34368 * bindings/v8/custom/V8IDBRequestCustom.cpp: * bindings/v8/custom/V8IndexedDatabaseRequestCustom.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@54190 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Eric Seidel. [BREWMP] Port WTF's currentTime https://bugs.webkit.org/show_bug.cgi?id=33567 Combine GETUTCSECONDS and GETTIMEMS to calculate the number of milliseconds since 1970/01/01 00:00:00 UTC. * wtf/CurrentTime.cpp: (WTF::currentTime): git-svn-id: svn://svn.chromium.org/blink/trunk@54183 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
WebCore: Reviewed by Sam Weinig + Oliver Hunt. Change HTMLMediaElement methods that require checking whether the event is a user gesture to be passed a boolean. This may be passed from the JSC bindings (where we have an exec state), or read from the event. Add a Flag to the IDL to mark this information is required. * WebCore.Video.exp: * bindings/js/JSDOMBinding.cpp: (WebCore::processingUserGesture): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::domWindowAllowPopUp): (WebCore::JSDOMWindow::open): (WebCore::JSDOMWindow::showModalDialog): * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::setLocation): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::processingUserGesture): (WebCore::ScriptController::processingUserGestureEvent): (WebCore::ScriptController::anyPageIsProcessingUserGesture): * bindings/js/ScriptController.h: * bindings/scripts/CodeGeneratorJS.pm: * dom/Event.cpp: (WebCore::Event::isUserEvent): * dom/Event.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::removedFromDocument): (WebCore::HTMLMediaElement::load): (WebCore::HTMLMediaElement::play): (WebCore::HTMLMediaElement::pause): (WebCore::HTMLMediaElement::beginScrubbing): (WebCore::HTMLMediaElement::documentDidBecomeActive): (WebCore::HTMLMediaElement::webkitEnterFullScreen): * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: * loader/FrameLoader.cpp: (WebCore::FrameLoader::isProcessingUserGesture): * loader/MediaDocument.cpp: (WebCore::MediaDocument::defaultEventHandler): * page/DOMWindow.cpp: (WebCore::DOMWindow::allowPopUp): * rendering/MediaControlElements.cpp: (WebCore::MediaControlSeekButtonElement::defaultEventHandler): WebKit/mac: Reviewed by Sam Weinig + Oliver Hunt. Pass processeing user gensture flag to media play/pause methods. * WebView/WebVideoFullscreenHUDWindowController.mm: (-[WebVideoFullscreenHUDWindowController setPlaying:]): WebKit/win: Reviewed by Sam Weinig + Oliver Hunt. Pass processeing user gensture flag to media play/pause methods. * FullscreenVideoController.cpp: (FullscreenVideoController::play): (FullscreenVideoController::pause): LayoutTests: Reviewed by Sam Weinig. * http/tests/security/isolatedWorld/resources/userGestureEvents-second-window.html: Added. * http/tests/security/isolatedWorld/userGestureEvents-expected.txt: Added. * http/tests/security/isolatedWorld/userGestureEvents.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54182 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Use the fallback style on Maemo 5 https://bugs.webkit.org/show_bug.cgi?id=34376 * platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::RenderThemeQt): (WebCore::RenderThemeQt::fallbackStyle): (WebCore::RenderThemeQt::qStyle): (WebCore::RenderThemeQt::setPaletteFromPageClientIfExists): * platform/qt/RenderThemeQt.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54180 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Nate Chapin. [V8] Making V8 generated classes' GetTemplate() function public https://bugs.webkit.org/show_bug.cgi?id=34026 * bindings/scripts/CodeGeneratorV8.pm: Generated code need not depend on V8CustomBinding.h, made GetTemplate() signature public. git-svn-id: svn://svn.chromium.org/blink/trunk@54179 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rdar://problem/7044385mitz@apple.com authored
Reviewed by Anders Carlsson. The crash was caused by having two streams with a streamID of 1. * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Fixed a typo. Now correctly increments m_currentURLRequestID to account for the manual stream. (WebKit::NetscapePluginInstanceProxy::disconnectStream): If the stream is the manual stream, null it out instead of trying to remove it from the map. Added an assertion. (WebKit::NetscapePluginInstanceProxy::loadRequest): Added an assertion. git-svn-id: svn://svn.chromium.org/blink/trunk@54178 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. [Qt] WinCE buildfix after r52729 and fix for Q_BIG_ENDIAN typo. https://bugs.webkit.org/show_bug.cgi?id=34378 * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54176 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=34166 Reviewed by Ariya Hidayat. This is the V8 equivalent of bridge/jni/jsc/JNIBridgeJSC. No new tests, build fix only. * Android.v8bindings.mk: Modified. Added JNIBridge.cpp and JNIBridgeV8.cpp * bridge/Bridge.h: Modified. Added missing include for Noncopyable.h * bridge/jni/v8/JNIBridgeV8.cpp: Added. (JavaField::JavaField): * bridge/jni/v8/JNIBridgeV8.h: Added. (JSC::Bindings::JavaField::name): (JSC::Bindings::JavaField::type): (JSC::Bindings::JavaField::getJNIType): git-svn-id: svn://svn.chromium.org/blink/trunk@54175 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=33901 Reviewed by Ariya Hidayat. This is the V8 equivalent of bridge/jni/jsc/JNIUtilityPrivate. No new tests, build fix only. * Android.v8bindings.mk: Modified. Add JNIUtilityPrivate.cpp * bridge/jni/v8/JNIUtilityPrivate.cpp: Added. (JSC::Bindings::convertNPVariantToJValue): (JSC::Bindings::convertJValueToNPVariant): * bridge/jni/v8/JNIUtilityPrivate.h: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54171 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=33898 Reviewed by Ariya Hidayat. This is the V8 equivalent of bridge/jni/jsc/JavaClassJSC No new tests, build fix only. * Android.v8bindings.mk: Modified. Added JavaClassV8.cpp * bridge/jni/v8/JavaClassV8.cpp: Added. (JavaClass::JavaClass): (JavaClass::~JavaClass): (JavaClass::methodsNamed): (JavaClass::fieldNamed): * bridge/jni/v8/JavaClassV8.h: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54169 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hamaji@chromium.org authored
Reviewed by Darin Adler. REGRESSION: editing/selection/doubleclick-beside-cr-span.html times out on Windows https://bugs.webkit.org/show_bug.cgi?id=34069 Make the sleep time shorter as this test timed out on Windows bot. * editing/selection/doubleclick-beside-cr-span.html: git-svn-id: svn://svn.chromium.org/blink/trunk@54166 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=33951 Reviewed by Ariya Hidayat. This is the V8 equivalent of bridge/jni/jsc/JavaInstanceJSC. Also fixes a typo in a comment in JavaInstanceJSC.cpp. No new tests, build fix only. * Android.v8bindings.mk: Modified. Added JavaInstanceV8.cpp * bridge/jni/jsc/JavaInstanceJSC.cpp: Modified. (JavaInstance::invokeMethod): Modified. Fixed comment * bridge/jni/v8/JavaInstanceV8.cpp: Added. (JavaInstance::JavaInstance): (JavaInstance::~JavaInstance): (JavaInstance::getClass): (JavaInstance::invokeMethod): (JObjectWrapper::JObjectWrapper): (JObjectWrapper::~JObjectWrapper): * bridge/jni/v8/JavaInstanceV8.h: Added. (JSC::Bindings::JObjectWrapper::instance): (JSC::Bindings::JObjectWrapper::setInstance): (JSC::Bindings::JObjectWrapper::ref): (JSC::Bindings::JObjectWrapper::deref): (JSC::Bindings::JavaInstance::javaInstance): (JSC::Bindings::JavaInstance::begin): (JSC::Bindings::JavaInstance::end): (JSC::Bindings::JavaInstance::virtualBegin): (JSC::Bindings::JavaInstance::virtualEnd): git-svn-id: svn://svn.chromium.org/blink/trunk@54165 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 01 Feb, 2010 20 commits
-
-
dumi@chromium.org authored
the database thread before they're destroyed. Otherwise, SQLiteTransaction's destructor will try to do a rollback and that would cause an assertion failure, if the object is not destroyed on the DB thread. Reviewed by Eric Seidel. https://bugs.webkit.org/show_bug.cgi?id=34152 * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::stop): * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::notifyDatabaseThreadIsShuttingDown): * storage/SQLTransaction.h: * storage/SQLTransactionCoordinator.cpp: (WebCore::SQLTransactionCoordinator::shutdown): git-svn-id: svn://svn.chromium.org/blink/trunk@54162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Beth Dakin. * page/EventHandler.h: * page/mac/EventHandlerMac.mm: (WebCore::EventHandler::currentNSEvent): (WebCore::EventHandler::currentKeyboardEvent): (WebCore::EventHandler::mouseDown): (WebCore::EventHandler::mouseDragged): (WebCore::EventHandler::mouseUp): (WebCore::EventHandler::mouseMoved): (WebCore::EventHandler::keyEvent): (WebCore::EventHandler::wheelEvent): (WebCore::EventHandler::sendContextMenuEvent): (WebCore::EventHandler::eventMayStartDrag): (WebCore::EventHandler::sendFakeEventsAfterWidgetTracking): git-svn-id: svn://svn.chromium.org/blink/trunk@54156 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] DRT Provide global flag ability https://bugs.webkit.org/show_bug.cgi?id=34418 Add the globalFlag property to the Qt LayoutTestController to allow cross-domain indications. * platform/qt/Skipped: 2010-02-01 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. [Qt] DRT Provide global flag ability https://bugs.webkit.org/show_bug.cgi?id=34418 Add the globalFlag property to the Qt LayoutTestController to allow cross-domain indications. * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::reset): * DumpRenderTree/qt/LayoutTestControllerQt.h: (LayoutTestController::globalFlag): (LayoutTestController::setGlobalFlag): git-svn-id: svn://svn.chromium.org/blink/trunk@54155 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
Unreviewed, Chromium build fix. Failed to properly add new files for http://trac.webkit.org/changeset/54150. * bindings/v8/custom/V8BarInfoCustom.cpp: Added. * bindings/v8/custom/V8CSSRuleCustom.cpp: Added. * bindings/v8/custom/V8CSSStyleSheetCustom.cpp: Added. * bindings/v8/custom/V8CSSValueCustom.cpp: Added. * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Added. * bindings/v8/custom/V8DOMSelectionCustom.cpp: Added. * bindings/v8/custom/V8HTMLElementCustom.cpp: Added. * bindings/v8/custom/V8SVGDocumentCustom.cpp: Added. * bindings/v8/custom/V8SVGElementCustom.cpp: Added. * bindings/v8/custom/V8SVGPathSegCustom.cpp: Added. * bindings/v8/custom/V8ScreenCustom.cpp: Added. * bindings/v8/custom/V8StyleSheetCustom.cpp: Added. * bindings/v8/custom/V8WebGLArrayCustom.cpp: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54153 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mpcomplete@chromium.org authored
git-svn-id: svn://svn.chromium.org/blink/trunk@54152 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Dan Bernstein. https://bugs.webkit.org/show_bug.cgi?id=34448 <rdar://problem/7598130> RenderVideo::intrinsicSizeChanged infinite recursion * rendering/RenderImage.h: (WebCore::RenderImage::intrinsicSizeChanged): Make protected instead of private so it can be called by RenderVideo. * rendering/RenderVideo.cpp: (WebCore::RenderVideo::intrinsicSizeChanged): Call RenderMedia::intrinsicSizeChanged, not RenderVideo::intrinsicSizeChanged. (WebCore::RenderVideo::imageChanged): Call RenderMedia::imageChanged instead of RenderImage::imageChanged. git-svn-id: svn://svn.chromium.org/blink/trunk@54151 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
Reviewed by Dimitri Glazkov. [V8] Generate toV8() converter for most WebCore->V8 conversions, and defined custom converters in their respective V8<class>Custom.cpp. Old converters in V8DOMWrapper will be deleted in a later patch. https://bugs.webkit.org/show_bug.cgi?id=32563 * Android.v8bindings.mk: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/V8Collection.h: * bindings/v8/V8DOMWrapper.cpp: * bindings/v8/V8DOMWrapper.h: * bindings/v8/V8Proxy.h: * bindings/v8/custom/V8BarInfoCustom.cpp: Added. * bindings/v8/custom/V8CSSRuleCustom.cpp: Added. * bindings/v8/custom/V8CSSStyleSheetCustom.cpp: Added. * bindings/v8/custom/V8CSSValueCustom.cpp: Added. * bindings/v8/custom/V8CanvasPixelArrayCustom.cpp: Added. * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp: * bindings/v8/custom/V8ConsoleCustom.cpp: * bindings/v8/custom/V8DOMSelectionCustom.cpp: Added. * bindings/v8/custom/V8DOMWindowCustom.cpp: * bindings/v8/custom/V8DocumentCustom.cpp: * bindings/v8/custom/V8ElementCustom.cpp: * bindings/v8/custom/V8EventCustom.cpp: * bindings/v8/custom/V8HTMLDocumentCustom.cpp: * bindings/v8/custom/V8HTMLElementCustom.cpp: Added. * bindings/v8/custom/V8HTMLSelectElementCustom.cpp: * bindings/v8/custom/V8HistoryCustom.cpp: * bindings/v8/custom/V8LocationCustom.cpp: * bindings/v8/custom/V8NamedNodeMapCustom.cpp: * bindings/v8/custom/V8NavigatorCustom.cpp: * bindings/v8/custom/V8NodeCustom.cpp: * bindings/v8/custom/V8SVGDocumentCustom.cpp: Added. * bindings/v8/custom/V8SVGElementCustom.cpp: Added. * bindings/v8/custom/V8SVGPathSegCustom.cpp: Added. * bindings/v8/custom/V8ScreenCustom.cpp: Added. * bindings/v8/custom/V8StyleSheetCustom.cpp: Added. * bindings/v8/custom/V8TreeWalkerCustom.cpp: * bindings/v8/custom/V8WebGLArrayCustom.cpp: Added. * bindings/v8/custom/V8WebGLByteArrayCustom.cpp: * bindings/v8/custom/V8WebGLFloatArrayCustom.cpp: * bindings/v8/custom/V8WebGLIntArrayCustom.cpp: * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: * bindings/v8/custom/V8WebGLShortArrayCustom.cpp: * bindings/v8/custom/V8WebGLUnsignedByteArrayCustom.cpp: * bindings/v8/custom/V8WebGLUnsignedIntArrayCustom.cpp: * bindings/v8/custom/V8WebGLUnsignedShortArrayCustom.cpp: * dom/make_names.pl: Add options to generate wrapper factory for V8 bindings. git-svn-id: svn://svn.chromium.org/blink/trunk@54150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bweinstein@apple.com authored
Check in (failing) expected results for fast/dom/Window/window-postmessage-clone-frames. This fails because of <rdar://problem/5230396> eventSender.beginDragWithFiles is unimplemented. * platform/win/fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54149 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Pavel Feldman. Web Inspector: lazy-load textual resources to avoid UI hangup https://bugs.webkit.org/show_bug.cgi?id=34332 * inspector/front-end/ResourceView.js: (WebInspector.ResourceView.prototype._innerSelectContentTab): * inspector/front-end/SourceView.js: (WebInspector.SourceView.prototype.show): (WebInspector.SourceView.prototype.contentTabSelected): git-svn-id: svn://svn.chromium.org/blink/trunk@54148 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
No review, build fix. https://bugs.webkit.org/show_bug.cgi?id=34447 http/tests/media/video-referer.html fails on Windows * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54147 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
Platform dependent expected file updated after r54143. * platform/qt/fast/dom/Window/window-properties-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@54146 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
beidson@apple.com authored
<rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444 Reviewed by Adele Peterson. WebCore: Test: fast/loader/crash-copying-backforwardlist.html * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadItem): Null check currentItem(). * page/Page.cpp: (WebCore::Page::goToItem): Ditto. WebKitTools: Add a mode (Mac-only for now) that exercises the WebView SPI _loadBackForwardListFromOtherView: * DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (setNewWindowsCopyBackForwardListCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: (LayoutTestController::newWindowsCopyBackForwardList): (LayoutTestController::setNewWindowsCopyBackForwardList): * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:createWebViewWithRequest:]): LayoutTests: * fast/loader/crash-copying-backforwardlist-expected.txt: Added. * fast/loader/crash-copying-backforwardlist.html: Added. * platform/gtk/Skipped: * platform/qt/Skipped: * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
[wx] Remove unused file that doesn't seem to belong to the port. https://bugs.webkit.org/show_bug.cgi?id=34445 git-svn-id: svn://svn.chromium.org/blink/trunk@54144 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Adele Peterson. Fullscreen API should be on HTMLVideoElement https://bugs.webkit.org/show_bug.cgi?id=34438 Move fullscreen DOM APIs from HTMLMediaElement to HTMLVideoElement. * html/HTMLMediaElement.cpp: * html/HTMLMediaElement.h: * html/HTMLMediaElement.idl: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::paint): Removed outdated FIXME. (WebCore::HTMLVideoElement::paintCurrentFrameInContext): Ditto. (WebCore::HTMLVideoElement::webkitEnterFullScreen): Moved from HTMLMediaElement. (WebCore::HTMLVideoElement::webkitExitFullScreen): Ditto. (WebCore::HTMLVideoElement::webkitSupportsFullscreen): Ditto. (WebCore::HTMLVideoElement::webkitDisplayingFullscreen): Ditto. * html/HTMLVideoElement.h: * html/HTMLVideoElement.idl: 2010-02-01 Eric Carlson <eric.carlson@apple.com> Reviewed by Adele Peterson. Fullscreen API should be on HTMLVideoElement https://bugs.webkit.org/show_bug.cgi?id=34438 Update fullscreen tests now that <audio> doesn't have fullscreen API. * fast/dom/Window/window-properties-expected.txt: * media/media-fullscreen-inline-expected.txt: * media/media-fullscreen-not-in-document-expected.txt: * media/media-fullscreen.js: (buttonClickHandler): (canplaythrough): git-svn-id: svn://svn.chromium.org/blink/trunk@54143 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
carol.szabo@nokia.com authored
Unreviewed. Add myself to list of committers. * Scripts/webkitpy/committers.py: git-svn-id: svn://svn.chromium.org/blink/trunk@54142 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Gavin Barraclough. Structure not accounting for anonymous slots when computing property storage size https://bugs.webkit.org/show_bug.cgi?id=34441 Previously any Structure with anonymous storage would have a property map, so we were only including anonymous slot size if there was a property map. Given this is no longer the case we should always include the anonymous slot count in the property storage size. * runtime/Structure.h: (JSC::Structure::propertyStorageSize): git-svn-id: svn://svn.chromium.org/blink/trunk@54141 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
japhet@chromium.org authored
Rubber-stamped by David Levin. Add myself to reviewer list. * Scripts/webkitpy/committers.py: git-svn-id: svn://svn.chromium.org/blink/trunk@54140 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: Syntax highlighting in source view of Resources pane stops half-way. There were two problems here: (1) styles for html highlighter were not added into the css file (they used to be injected manually in the SourceFrame before). (2) 'Tag' needed to be lexer's state, not parser's. Otherwise unbalanced quotes in the text nodes were matching too match into the string tokens. https://bugs.webkit.org/show_bug.cgi?id=34359 * inspector/front-end/NativeTextViewer.js: (WebInspector.NativeTextViewer.prototype._createLineDivs): (WebInspector.NativeTextViewer.prototype._lineHeight): (WebInspector.NativeTextViewer.prototype.initFontMetrics): * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._createEditorIfNeeded): * inspector/front-end/SourceHTMLTokenizer.js: (WebInspector.SourceHTMLTokenizer): (WebInspector.SourceHTMLTokenizer.prototype.nextToken): * inspector/front-end/SourceHTMLTokenizer.re2js: * inspector/front-end/TextEditor.js: (WebInspector.TextEditor.prototype.initFontMetrics): (WebInspector.TextEditor.prototype._registerShortcuts): * inspector/front-end/inspectorSyntaxHighlight.css: git-svn-id: svn://svn.chromium.org/blink/trunk@54139 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
benm@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=34335 Reviewed by Darin Adler. WebCore: * bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): If the caller is unknown, the line number and source information is still availble so pass it to the ScriptCallFrame being constructed. LayoutTests: Update layout tests that did not have source and line number information for their console messages, as this information is now available to the ScriptCallFrame and thus can be passed to the inspector, for example. * fast/js/console-non-string-values-expected.txt: Add console line number/source. * userscripts/script-not-run-for-fragments-expected.txt: ditto. * userscripts/script-run-at-start-expected.txt: ditto. * platform/gtk/inspector/console-log-before-inspector-open-expected.txt: Removed as platform workarounds no longer necessary. * platform/mac/inspector/console-log-before-inspector-open-expected.txt: ditto. * platform/win/inspector/console-log-before-inspector-open-expected.txt: ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@54138 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
krit@webkit.org authored
Reviewed by Simon Fraser. Add back an AffineTransform class for use by SVG https://bugs.webkit.org/show_bug.cgi?id=33750 These are the first steps on reimplementing AffineTransform. Unlike the old affine code, this one is platform independent like TransformationMatrix. AffineTransform has the benefit, that it stores just 6 doubles instead of 16 in TransformationMatrix. The calculations of transformations are not that complex and can improve the memory usage and speed of SVG. AffineTransform can be used by HTML Canvas3D or SVG, since they are 2D related (at least for the moment). HTML Canvas is the first that makes use of the new AffineTransform. Next patches will introduce the affine code to SVG. No new tests. The new AffineTransformation code is tested by fast/canvas. * Android.mk: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::scale): (WebCore::CanvasRenderingContext2D::rotate): (WebCore::CanvasRenderingContext2D::translate): (WebCore::CanvasRenderingContext2D::transform): (WebCore::CanvasRenderingContext2D::setTransform): (WebCore::CanvasRenderingContext2D::isPointInPath): (WebCore::CanvasRenderingContext2D::willDraw): * html/canvas/CanvasRenderingContext2D.h: * platform/graphics/GraphicsContext.h: * platform/graphics/Path.h: * platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::getAffineCTM): (WebCore::GraphicsContext::concatCTM): * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: (WebCore::GraphicsContextPlatformPrivate::concatCTM): * platform/graphics/cairo/PathCairo.cpp: (WebCore::Path::transform): * platform/graphics/cairo/TransformationMatrixCairo.cpp: (WebCore::AffineTransform::operator cairo_matrix_t): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::concatCTM): (WebCore::GraphicsContext::getAffineCTM): * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: (WebCore::GraphicsContextPlatformPrivate::concatCTM): * platform/graphics/cg/PathCG.cpp: (WebCore::Path::transform): * platform/graphics/cg/TransformationMatrixCG.cpp: (WebCore::AffineTransform::operator CGAffineTransform): * platform/graphics/haiku/GraphicsContextHaiku.cpp: (WebCore::GraphicsContext::getAffineCTM): (WebCore::GraphicsContext::concatCTM): * platform/graphics/haiku/PathHaiku.cpp: (WebCore::Path::transform): * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::getAffineCTM): (WebCore::GraphicsContext::concatCTM): * platform/graphics/qt/PathQt.cpp: (WebCore::Path::transform): * platform/graphics/qt/TransformationMatrixQt.cpp: (WebCore::AffineTransform::operator QTransform): * platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::concatCTM): (WebCore::GraphicsContext::getAffineCTM): * platform/graphics/skia/PathSkia.cpp: (WebCore::Path::transform): * platform/graphics/skia/TransformationMatrixSkia.cpp: (WebCore::AffineTransform::operator SkMatrix): * platform/graphics/transforms/AffineTransform.cpp: Added. (WebCore::affineTransformDecompose): (WebCore::affineTransformCompose): (WebCore::AffineTransform::AffineTransform): (WebCore::AffineTransform::reset): (WebCore::AffineTransform::setMatrix): (WebCore::AffineTransform::isIdentity): (WebCore::AffineTransform::det): (WebCore::AffineTransform::isInvertible): (WebCore::AffineTransform::inverse): (WebCore::AffineTransform::multiply): (WebCore::AffineTransform::multLeft): (WebCore::AffineTransform::rotate): (WebCore::AffineTransform::scale): (WebCore::AffineTransform::translate): (WebCore::AffineTransform::scaleNonUniform): (WebCore::AffineTransform::rotateFromVector): (WebCore::AffineTransform::flipX): (WebCore::AffineTransform::flipY): (WebCore::AffineTransform::shear): (WebCore::AffineTransform::skew): (WebCore::AffineTransform::skewX): (WebCore::AffineTransform::skewY): (WebCore::makeMapBetweenRects): (WebCore::AffineTransform::map): (WebCore::AffineTransform::mapPoint): (WebCore::AffineTransform::mapRect): (WebCore::AffineTransform::blend): (WebCore::AffineTransform::toTransformationMatrix): * platform/graphics/transforms/AffineTransform.h: Added. (WebCore::AffineTransform::a): (WebCore::AffineTransform::setA): (WebCore::AffineTransform::b): (WebCore::AffineTransform::setB): (WebCore::AffineTransform::c): (WebCore::AffineTransform::setC): (WebCore::AffineTransform::d): (WebCore::AffineTransform::setD): (WebCore::AffineTransform::e): (WebCore::AffineTransform::setE): (WebCore::AffineTransform::f): (WebCore::AffineTransform::setF): (WebCore::AffineTransform::operator== ): (WebCore::AffineTransform::operator!=): (WebCore::AffineTransform::operator*=): (WebCore::AffineTransform::operator*): (WebCore::AffineTransform::setMatrix): * platform/graphics/win/GraphicsContextWin.cpp: (WebCore::GraphicsContextPlatformPrivate::concatCTM): * platform/graphics/wince/GraphicsContextWince.cpp: (WebCore::GraphicsContext::concatCTM): (WebCore::GraphicsContext::getAffineCTM): * platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::getAffineCTM): (WebCore::GraphicsContext::concatCTM): * platform/graphics/wx/PathWx.cpp: (WebCore::Path::transform): * platform/graphics/wx/TransformationMatrixWx.cpp: (WebCore::AffineTransform::operator wxGraphicsMatrix): git-svn-id: svn://svn.chromium.org/blink/trunk@54137 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-