- 20 May, 2010 20 commits
-
-
mrobinson@webkit.org authored
Unreviewed. Fix the Windows build. * WebView.cpp: (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Reviewed by Ojan Vafai. Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=38603 * editing/selection/extend-selection-after-double-click.html: Use the new DRT support for changing editing behavior. * editing/selection/extend-selection-after-double-click-expected.txt: Update expected results to reflect both behaviors. 2010-05-20 Martin Robinson <mrobinson@webkit.org> Reviewed by Ojan Vafai. Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=38603 * public/WebSettings.h: (WebKit::WebSettings::): Added an enum for EditingBehavior types. * src/WebSettingsImpl.cpp: (WebKit::WebSettingsImpl::setEditingBehavior): Added. * src/WebSettingsImpl.h: 2010-05-20 Martin Robinson <mrobinson@webkit.org> Reviewed by Ojan Vafai. Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=38603 * WebView/WebFrame.mm: (core): * WebView/WebFrameInternal.h: Added a conversion method from the API enum to the WebCore enum. * WebView/WebPreferenceKeysPrivate.h: Added a preference key for the new setting. * WebView/WebPreferences.mm: (+[WebPreferences initialize]): Initialize the EditingBehavior to Mac style. (-[WebPreferences editingBehavior]): Added. (-[WebPreferences setEditingBehavior:]): Added. * WebView/WebPreferencesPrivate.h: Added the new API points to the private API. * WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]): Set the editing behavior via the WebPreferences setting. 2010-05-20 Martin Robinson <mrobinson@webkit.org> Reviewed by Ojan Vafai. Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=38603 Expose the EditingBehavior setting in the Windows API. * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior. * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting. * WebPreferences.cpp: (WebPreferences::editingBehavior): Added. (WebPreferences::setEditingBehavior): Added. * WebPreferences.h: Add method declarations. * WebView.cpp: (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting. 2010-05-20 Martin Robinson <mrobinson@webkit.org> Reviewed by Ojan Vafai. Expose the editing behavior setting in DRT to test all editing code paths https://bugs.webkit.org/show_bug.cgi?id=38603 * DumpRenderTree/LayoutTestController.cpp: (setEditingBehaviorCallback): Added. (LayoutTestController::staticFunctions): Expose the setEditingBehaviorCallback function. * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/chromium/LayoutTestController.cpp: Add callback method for setting editing behavior. * DumpRenderTree/chromium/LayoutTestController.h: Declaration for this method. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setEditingBehavior): Implementation of editing behavior control. * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setEditingBehavior): Ditto * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control. * DumpRenderTree/qt/LayoutTestControllerQt.h: (LayoutTestController::setEditingBehavior): Add slot for controlling editor behavior. * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setEditingBehavior): Implementation of editing behavior control. * DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tkent@chromium.org authored
Reviewed by Eric Seidel. [DRT/Chromium] Increase the time out value https://bugs.webkit.org/show_bug.cgi?id=39203 Change the time out value of Chromium DRT to 30 seconds, which is the same as other ports. If a DRT process exits before new-run-webkit-tests detects time out, new-run-webkit-tests assumes the DRT process crashed. * DumpRenderTree/chromium/TestShell.cpp: (TestShell::layoutTestTimeout): Change the time out value from 10 seconds to 30 seconds. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] WINSCW compile fix for qwebframe test https://bugs.webkit.org/show_bug.cgi?id=38722 WINSCW cannot determine template type up the hierarchy to common base class. * tests/qwebframe/tst_qwebframe.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Reviewed by Simon Hausmann. When we apply the transform of the parent painter to the painter of the transparency layer, we adopt its coordinate system, thus offset should not be in page coordinates, but in the coordinate system of the parent painter. * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::TransparencyLayer::TransparencyLayer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Remove unused "old style" private APIs These symbols were introduced after QtWebKit v4.6 so no-one should be using them * WebCoreSupport/DumpRenderTreeSupportQt.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
agl@chromium.org authored
Reviewed by David Levin. [chromium] Avoid crash when msttcorefonts aren't provided https://bugs.webkit.org/show_bug.cgi?id=39015 http://code.google.com/p/chromium/issues/detail?id=43831 * platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::createFontPlatformData): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zherczeg@webkit.org authored
* platform/qt/svg/filters/feLighting-crash-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Hausmann. [Qt] QWebPage::inputMethodQuery() returns wrong values for Qt::ImCursorPosition, Qt::ImAnchorPosition https://bugs.webkit.org/show_bug.cgi?id=38779 The earlier implementation was written with the assumption that in this scenario the anchor position always corresponds to the START index and that the current cursor position always corresponds to the END index in WebKit. Updated the implementation of QWebPage::inputMethodQuery(Qt::ImCursorPosition) and QWebPage::inputMethodQuery(Qt::ImAnchorPosition) for the case where the Editor is not in composition mode. In the non-composition mode, the Anchor and the Current cursor positions correspond to the Base and Extent position offsets in WebKit. Also added the auto-tests for the RIGHT to LEFT and LEFT to RIGHT selections. * Api/qwebpage.cpp: (QWebPage::inputMethodQuery): Now returning correct values for Qt::ImCursorPosition and Qt::ImAnchorPosition when the Editor is not in composition mode. * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::inputMethods): Added auto-tests for RIGHT to LEFT and LEFT to RIGHT selections git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zherczeg@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=39004 Reviewed by Dirk Schulze. Make FELighting::apply() similar to other filters' applies to avoid an assertion fail in putUnmultipliedImageData(), when effectDrawingRect has negative location (x or y is less than 0). Test: svg/filters/feLighting-crash.svg * svg/graphics/filters/SVGFELighting.cpp: (WebCore::FELighting::apply): LayoutTests: In case of lighting SVG effects, a wider output rectangle than the input image size should not cause crash. https://bugs.webkit.org/show_bug.cgi?id=39004 Reviewed by Dirk Schulze. * platform/mac/svg/filters/feLighting-crash-expected.checksum: Added. * platform/mac/svg/filters/feLighting-crash-expected.png: Added. * platform/mac/svg/filters/feLighting-crash-expected.txt: Added. * platform/qt/svg/filters/feLighting-crash-expected.txt: Added. * svg/filters/feLighting-crash.svg: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Skipping popup focus test for maemo https://bugs.webkit.org/show_bug.cgi?id=39314 Skipping popup focus test for maemo in qwebframe auto test. The test method tst_QWebFrame::popupFocus() was testing popup focus AND input field focus. The input field focus has been removed from the method popupFocus() and a new test method named inputFieldFocus() has been added. Finally the test method popupFocus() has been skipped for maemo. * tests/qwebframe/tst_qwebframe.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cevans@google.com authored
Marking myself as a committer. * Scripts/webkitpy/common/config/committers.py: Add cevans@google.com. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cjerdonek@webkit.org authored
Reviewed by Eric Seidel. Modified FrameLoader::urlSelected() to accept a KURL instead of a ResourceRequest. https://bugs.webkit.org/show_bug.cgi?id=39320 Since ResourceRequest has non-explicit single-parameter constructors for String and KURL, urlSelected() previously accepted any of String, KURL, and ResourceRequest. This revision changes urlSelected() to accept only a KURL to make the API tighter and easier to refactor. No new functionality, so no new tests. * loader/FrameLoader.cpp: (WebCore::FrameLoader::urlSelected): - Changed the public overload to accept a KURL instead of a ResourceRequest. * loader/FrameLoader.h: - Changed the public overload to accept a KURL instead of a ResourceRequest. * wml/WMLAElement.cpp: (WebCore::WMLAElement::defaultEventHandler): - Updated the call to urlSelected(). 2010-05-20 Chris Jerdonek <cjerdonek@webkit.org> Reviewed by Eric Seidel. Modified FrameLoader::urlSelected() to accept a KURL instead of a ResourceRequest. https://bugs.webkit.org/show_bug.cgi?id=39320 Since ResourceRequest has non-explicit single-parameter constructors for String and KURL, urlSelected() previously accepted any of String, KURL, and ResourceRequest. This revision changes urlSelected() to accept only a KURL to make the API tighter and easier to refactor. * WebCoreSupport/WebContextMenuClient.cpp: (WebContextMenuClient::searchWithGoogle): - Updated the call to urlSelected(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
morrita@google.com authored
Reviewed by Kent Tamura. 2x execCommand ReadAV@NULL https://bugs.webkit.org/show_bug.cgi?id=35791 This test passes if it doesn't crash. * editing/execCommand/35791-expected.txt: Added. * editing/execCommand/35791.html: Added. 2010-05-20 MORITA Hajime <morrita@google.com> Reviewed by Kent Tamura. 2x execCommand ReadAV@NULL https://bugs.webkit.org/show_bug.cgi?id=35791 In applyBlockStyle(), a node which is referred from nextParagraphStart sometimes removed from the document and goes orphan, and that causes an assertion failed. This is because moveParagraphs() replaces the node with a new one with some new styles applied. So we re-compute nextParagraphStart in that case. Test: editing/execCommand/35791.html * dom/Position.h: (WebCore::Position::isOrphan): * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyBlockStyle): * editing/VisiblePosition.h: (WebCore::VisiblePosition::isOrphan): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=37273 Reviewed by Tor Arne Vestbo. * QtTestBrowser/QtTestBrowser.pro: Build QtLauncher as bundle in package builds git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
Reviewed by Eric Seidel. PluginView contains JSC-specific code https://bugs.webkit.org/show_bug.cgi?id=38907 Build fix only, no new tests. * plugins/PluginView.cpp: (WebCore::PluginView::start): (WebCore::PluginView::stop): (WebCore::PluginView::performRequest): * plugins/PluginView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
Reviewed by Eric Seidel. [GStreamer] enable gst support if USE_GSTREAMER macro is defined https://bugs.webkit.org/show_bug.cgi?id=39205 Include gstreamer private player in the build when the USE_GSTREAMER macro is enabled. * platform/graphics/MediaPlayer.cpp: (WebCore::installedMediaEngines): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ukai@chromium.org authored
* Scripts/new-run-webkit-websocketserver: options is named parameter for factory.get(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ukai@chromium.org authored
Reviewed by Shinichiro Hamaji. Chromium: Add --chromium option to new-run-webkit-websocketserver https://bugs.webkit.org/show_bug.cgi?id=37664 Missed to pass options to factory.get() in r59595 * Scripts/new-run-webkit-websocketserver: Pass options to factory.get(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 May, 2010 20 commits
-
-
eric@webkit.org authored
Reviewed by Darin Fisher. Implementing hardware accelerated compositing of layers for Chromium. Completely removed the existing software compositing path to replace it with code implemented using OpenGL. https://bugs.webkit.org/show_bug.cgi?id=38783 Tests: Covered by existing compositing tests. * WebCore.gyp/WebCore.gyp: * platform/graphics/chromium/GraphicsLayerChromium.cpp: (WebCore::GraphicsLayerChromium::~GraphicsLayerChromium): (WebCore::GraphicsLayerChromium::updateLayerDrawsContent): (WebCore::GraphicsLayerChromium::updateContentsRect): * platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::LayerChromium): (WebCore::LayerChromium::~LayerChromium): (WebCore::LayerChromium::updateGraphicsContext): (WebCore::LayerChromium::drawsContentUpdated): (WebCore::LayerChromium::updateContents): (WebCore::LayerChromium::setContents): (WebCore::LayerChromium::setBackingStoreSize): (WebCore::LayerChromium::setBounds): (WebCore::LayerChromium::setNeedsDisplay): * platform/graphics/chromium/LayerChromium.h: (WebCore::LayerChromium::contentsDirty): (WebCore::LayerChromium::drawsContent): * platform/graphics/chromium/LayerRendererChromium.cpp: (WebCore::): (WebCore::checkGLError): (WebCore::loadShader): (WebCore::loadShaderProgram): (WebCore::toGLMatrix): (WebCore::orthoMatrix): (WebCore::createLayerTexture): (WebCore::LayerRendererChromium::create): (WebCore::LayerRendererChromium::LayerRendererChromium): (WebCore::LayerRendererChromium::~LayerRendererChromium): (WebCore::LayerRendererChromium::drawTexturedQuad): (WebCore::LayerRendererChromium::drawLayers): (WebCore::LayerRendererChromium::getTextureId): (WebCore::LayerRendererChromium::assignTextureForLayer): (WebCore::LayerRendererChromium::freeLayerTexture): (WebCore::LayerRendererChromium::drawDebugBorder): (WebCore::LayerRendererChromium::isLayerVisible): (WebCore::LayerRendererChromium::compositeLayersRecursive): (WebCore::LayerRendererChromium::makeContextCurrent): (WebCore::LayerRendererChromium::initGL): (WebCore::LayerRendererChromium::bindCommonAttribLocation): (WebCore::LayerRendererChromium::initializeSharedGLObjects): * platform/graphics/chromium/LayerRendererChromium.h: (WebCore::LayerRendererChromium::): 2010-05-19 Vangelis Kokkevis <vangelis@chromium.org> Reviewed by Darin Fisher. Modifying WebViewImpl to support new hardware compositing for LayerChromium layers. https://bugs.webkit.org/show_bug.cgi?id=38783 * src/WebViewImpl.cpp: (WebKit::WebViewImpl::paint): (WebKit::WebViewImpl::setIsAcceleratedCompositingActive): (WebKit::WebViewImpl::updateRootLayerContents): (WebKit::WebViewImpl::setRootLayerNeedsDisplay): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Roben. WinEWS should build Debug instead of Release https://bugs.webkit.org/show_bug.cgi?id=39242 This is a workaround for https://bugs.webkit.org/show_bug.cgi?id=39197 Adam Roben and Brian Weinstein believe this may also make building faster since Debug builds take less time to link. * Scripts/webkitpy/tool/commands/earlywarningsystem.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by Geoff Garen. * bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump): * bytecode/Opcode.h: * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitReturn): * interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): * jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): * jit/JIT.h: * jit/JITCall.cpp: (JSC::JIT::emit_op_ret_object_or_this): * jit/JITOpcodes.cpp: (JSC::JIT::emit_op_ret_object_or_this): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
Reviewed by Kent Tamura. [chromium] disable spelling suggestions if spellcheck=false https://bugs.webkit.org/show_bug.cgi?id=39402 This is the Chromium fix for bug 25639 that was fixed in the other ports in r59585. * src/ContextMenuClientImpl.cpp: (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Misleading variable name in a11y test https://bugs.webkit.org/show_bug.cgi?id=38465 Use a more appropriate variable name for the return value of accessibilityController.rootElement * accessibility/aria-controls-with-tabs.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Bug 39399 - Move responsibility for verifying constructors return objects from the caller to the callee. Reviewed by Geoff Garen. This is a necessary step to move object creation from caller to callee. * bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump): * bytecode/Opcode.h: * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::BytecodeGenerator): (JSC::BytecodeGenerator::emitReturn): (JSC::BytecodeGenerator::emitConstruct): * bytecompiler/BytecodeGenerator.h: (JSC::BytecodeGenerator::isConstructor): * bytecompiler/NodesCodegen.cpp: (JSC::FunctionBodyNode::emitBytecode): * interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute): * jit/JIT.cpp: (JSC::JIT::privateCompileMainPass): (JSC::JIT::privateCompileSlowCases): * jit/JIT.h: * jit/JITCall.cpp: (JSC::JIT::emit_op_constructor_ret): * jit/JITOpcodes.cpp: (JSC::JIT::emit_op_constructor_ret): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Timothy Hatcher. Maintain focus on help screen while it's active. https://bugs.webkit.org/show_bug.cgi?id=39237 * inspector/front-end/HelpScreen.js: (WebInspector.HelpScreen): (WebInspector.HelpScreen.prototype.show): (WebInspector.HelpScreen.prototype._hide): (WebInspector.HelpScreen.prototype._onBlur): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Crash fix in the HistoryController. The problem was casued by a documented feature of the QWebFrame::setHtml(). The method doesn't affect a browsing history (doesn't create a HistoryItem instance), so m_currentItem and m_previousItem are not set. A null check was added. [Qt] The QWebPage crashes on history.pushState(). https://bugs.webkit.org/show_bug.cgi?id=38840 * loader/HistoryController.cpp: (WebCore::HistoryController::pushState): (WebCore::HistoryController::replaceState): 2010-05-19 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> Reviewed by Kenneth Rohde Christiansen. Crash fix in the HistoryController. The problem was casued by a documented feature of the QWebFrame::setHtml(). The method doesn't affect a browsing history (doesn't create a HistoryItem instance), so m_currentItem and m_previousItem are not set. A null check was added. [Qt] The QWebPage crashes on history.pushState(). https://bugs.webkit.org/show_bug.cgi?id=38840 * tests/qwebhistory/tst_qwebhistory.cpp: (tst_QWebHistory::popPushState_data): (tst_QWebHistory::popPushState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Revert r59790 due to failing Chromium npruntime tests. * bindings/v8/NPV8Object.cpp: (v8ObjectToNPObject): (npCreateV8ScriptObject): (_NPN_Invoke): (_NPN_InvokeDefault): (_NPN_Evaluate): (_NPN_EvaluateHelper): (_NPN_GetProperty): (_NPN_SetProperty): (_NPN_RemoveProperty): (_NPN_HasProperty): (_NPN_HasMethod): (_NPN_SetException): (_NPN_Enumerate): (_NPN_Construct): * bindings/v8/NPV8Object.h: * bindings/v8/V8NPObject.cpp: (forgetV8ObjectForNPObject): * bindings/v8/V8NPObject.h: * bindings/v8/V8NPUtils.cpp: (convertV8ObjectToNPVariant): (getStringIdentifier): * bindings/v8/V8NPUtils.h: * bindings/v8/npruntime.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by NOBODY (build fix). * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by NOBODY (build fix). * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by Oliver Hunt. re-landing r59800. * JavaScriptCore.exp: * interpreter/Interpreter.cpp: (JSC::Interpreter::retrieveCaller): (JSC::Interpreter::findFunctionCallFrame): * interpreter/Interpreter.h: * profiler/Profiler.cpp: (JSC::Profiler::createCallIdentifier): * runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncToString): * runtime/JSFunction.cpp: (JSC::): (JSC::JSFunction::JSFunction): (JSC::JSFunction::name): (JSC::JSFunction::displayName): (JSC::JSFunction::calculatedDisplayName): * runtime/JSFunction.h: * runtime/JSObject.cpp: (JSC::JSObject::putDirectFunction): (JSC::JSObject::putDirectFunctionWithoutTransition): * runtime/JSObject.h: * runtime/Lookup.cpp: (JSC::setUpStaticFunctionSlot): WebCore: Rubber Stamped by Sam Weinig. JSFunctions are no longer a subclass of InternalFunction. * bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::initialize): * bindings/js/ScriptCallStack.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by NOBODY (build fix). * JavaScriptCore.exp: * interpreter/Interpreter.cpp: (JSC::Interpreter::retrieveCaller): (JSC::Interpreter::findFunctionCallFrame): * interpreter/Interpreter.h: * profiler/Profiler.cpp: (JSC::Profiler::createCallIdentifier): * runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncToString): * runtime/JSFunction.cpp: (JSC::): (JSC::JSFunction::JSFunction): * runtime/JSFunction.h: * runtime/JSObject.cpp: * runtime/JSObject.h: * runtime/Lookup.cpp: (JSC::setUpStaticFunctionSlot): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
barraclough@apple.com authored
Reviewed by Oliver Hunt. This may prevent us from introducing a more useful parent class to JSFunction, e.g. a JSObject that holds an executable, which could also reference an eval or program executable. * JavaScriptCore.exp: * interpreter/Interpreter.cpp: (JSC::Interpreter::retrieveCaller): (JSC::Interpreter::findFunctionCallFrame): * interpreter/Interpreter.h: * profiler/Profiler.cpp: (JSC::Profiler::createCallIdentifier): * runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncToString): * runtime/JSFunction.cpp: (JSC::): (JSC::JSFunction::JSFunction): (JSC::JSFunction::name): (JSC::JSFunction::displayName): (JSC::JSFunction::calculatedDisplayName): * runtime/JSFunction.h: * runtime/JSObject.cpp: (JSC::JSObject::putDirectFunction): (JSC::JSObject::putDirectFunctionWithoutTransition): * runtime/JSObject.h: * runtime/Lookup.cpp: (JSC::setUpStaticFunctionSlot): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
victorw@chromium.org authored
Unreviewed. Update Chromium test expectations. * platform/chromium-linux/fast/multicol/layers-split-across-columns-expected.checksum: Added. * platform/chromium-linux/fast/multicol/layers-split-across-columns-expected.png: Added. * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.checksum: * platform/chromium-mac/fast/multicol/layers-in-multicol-expected.png: Removed. * platform/chromium-mac/fast/multicol/layers-split-across-columns-expected.checksum: Added. * platform/chromium-win/fast/multicol/layers-in-multicol-expected.txt: * platform/chromium-win/fast/multicol/layers-split-across-columns-expected.checksum: Added. * platform/chromium-win/fast/multicol/layers-split-across-columns-expected.png: Added. * platform/chromium-win/fast/multicol/layers-split-across-columns-expected.txt: Added. * platform/chromium-win/fast/multicol/nested-columns-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Geoffrey Garen. emitJumpIfNotJSCell should special case constant immediate values https://bugs.webkit.org/show_bug.cgi?id=39392 <rdar://problem/8001324> Make emitJumpSlowCaseIfNotJSCell special case constant immediate values, in addition to the immediate JSCell optimisation. Also add assertions to make sure no one else produces code that attempts to load constants from the register file. * jit/JITInlineMethods.h: (JSC::JIT::emitJumpSlowCaseIfNotJSCell): * jit/JSInterfaceJIT.h: (JSC::JSInterfaceJIT::emitJumpIfNotJSCell): (JSC::JSInterfaceJIT::emitLoadInt32): (JSC::JSInterfaceJIT::tagFor): (JSC::JSInterfaceJIT::payloadFor): (JSC::JSInterfaceJIT::emitLoadDouble): (JSC::JSInterfaceJIT::addressFor): * jit/ThunkGenerators.cpp: 2010-05-19 Oliver Hunt <oliver@apple.com> Reviewed by Geoffrey Garen. emitJumpIfNotJSCell should special case constant immediate values https://bugs.webkit.org/show_bug.cgi?id=39392 Add tests for immediate constants being used where cells are expected. * fast/js/immediate-constant-instead-of-cell-expected.txt: Added. * fast/js/immediate-constant-instead-of-cell.html: Added. * fast/js/script-tests/immediate-constant-instead-of-cell.js: Added. (): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jianli@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=39131 Reviewed by Alexey Proskuryakov. WebCore: Changed FileReader::convertToText to call TextResourceDecoder::decode to detect the encoding from BOM and decode the text. Though the File API spec says that the supplied encoding should be used if it is valid, we choose to ignore this requirement in order to be consistent with how WebKit decodes the web content: always has the BOM override the provided encoding. * html/FileReader.cpp: (WebCore::FileReader::convertToText): * html/FileReader.h: LayoutTests: Add more test coverage for FileReader. * fast/files/file-reader-expected.txt: * fast/files/file-reader.html: * fast/files/resources/binary-file: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=39388 Disabling geolocation tests until blockers are fixed. * platform/gtk/Skipped: Skipping geolocation tests for now. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yaar@chromium.org authored
Reviewed by David Hyatt. Check that the node is a text node before doing a static cast to a Text class pointer. https://bugs.webkit.org/show_bug.cgi?id=38626 Test: fast/text/text-transform-nontext-node-crash.xhtml * rendering/RenderText.cpp: (WebCore::RenderText::originalText): * rendering/RenderTextFragment.cpp: (WebCore::RenderTextFragment::originalText): (WebCore::RenderTextFragment::previousCharacter): 2010-05-19 Abhishek Arya <inferno@chromium.org> Reviewed by David Hyatt. Tests that text transformation applied to a non-text node does not result in crash. https://bugs.webkit.org/show_bug.cgi?id=38626 * fast/text/text-transform-nontext-node-crash-expected.txt: Added. * fast/text/text-transform-nontext-node-crash.xhtml: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yaar@chromium.org authored
Reviewed by Eric Seidel. Fixed warnings by JSC overloads changes. Also updated the binding reference files for JSC. https://bugs.webkit.org/show_bug.cgi?id=39390 * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/test/JS/JSTestInterface.cpp: (WebCore::): * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-