- 04 Mar, 2010 10 commits
-
-
vestbo@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. The dependencies were a bit wrong, so we ended up not generating forwarding headers for qwebkitversion.h and qwebkitglobal.h The forwardning headers are now the only targets depending on the real headers. All other targets either depend on the generated class headers, or the forwarding headers. * Api/DerivedSources.pro: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Oliver Hunt. Update existing test to check that getUniformLocation() returns null if the uniform requested is not found. https://bugs.webkit.org/show_bug.cgi?id=34669 * fast/canvas/webgl/script-tests/uniform-location.js: * fast/canvas/webgl/uniform-location-expected.txt: 2010-03-04 Vangelis Kokkevis <vangelis@chromium.org> Reviewed by Oliver Hunt. getUniformLocation() now returns null if uniform requested is not found. https://bugs.webkit.org/show_bug.cgi?id=34669 Test:LayoutTests/fast/canvas/webgl/uniform-location.html (added missing test) * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getUniformLocation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Adam Barth. Fix incorrect setup of DateExtension. https://bugs.webkit.org/show_bug.cgi?id=35710 * fast/dom/Window/resources/slow_unload_handler1.html: 2010-03-04 John Abd-El-Malek <jam@chromium.org> Reviewed by Adam Barth. Fix incorrect setup of DateExtension. https://bugs.webkit.org/show_bug.cgi?id=35710 * bindings/v8/DateExtension.cpp: (WebCore::DateExtension::setAllowSleep): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Pavel Feldman. Fix failing DevToolsSanityTest.TestResourceContentLength https://bugs.webkit.org/show_bug.cgi?id=35725 http://trac.webkit.org/changeset/55466 missed one more spot where contentLength needed to be renamed resourceSize. * src/js/Tests.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver@apple.com authored
Reviewed by Maciej Stachowiak. https://bugs.webkit.org/show_bug.cgi?id=35603 SVG incorrectly allows nested <use> elements in a <use> shadow tree Simplify the handling of invalid or missing use-targets by cloning them to empty <g> elements rather than just allowing the <use> element to be copied into the shadow tree, as this violates a number of assumptions in the shadow tree handling code. Tests: svg/custom/use-nested-disallowed-target.svg svg/custom/use-nested-missing-target-added.svg svg/custom/use-nested-missing-target-removed.svg svg/custom/use-nested-missing-target.svg svg/custom/use-nested-notarget.svg * svg/SVGUseElement.cpp: (WebCore::SVGUseElement::buildPendingResource): (WebCore::SVGUseElement::buildShadowAndInstanceTree): (WebCore::SVGUseElement::expandUseElementsInShadowTree): 2010-03-04 Oliver Hunt <oliver@apple.com> Reviewed by Maciej Stachowiak. https://bugs.webkit.org/show_bug.cgi?id=35603 SVG incorrectly allows nested <use> elements in a <use> shadow tree Add test cases for various combinations of <use> and targets that aren't present. * platform/mac/svg/custom/use-empty-reference-expected.txt: Added. * svg/custom/use-nested-disallowed-target-expected.txt: Added. * svg/custom/use-nested-disallowed-target.svg: Added. * svg/custom/use-nested-missing-target-added-expected.txt: Added. * svg/custom/use-nested-missing-target-added.svg: Added. * svg/custom/use-nested-missing-target-expected.txt: Added. * svg/custom/use-nested-missing-target-removed-expected.txt: Added. * svg/custom/use-nested-missing-target-removed.svg: Added. * svg/custom/use-nested-missing-target.svg: Added. * svg/custom/use-nested-notarget-expected.txt: Added. * svg/custom/use-nested-notarget.svg: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Gustavo Noronha Silva. Move Cairo-related font code from platform/graphics/gtk to platform/graphics/cairo, so other ports may use them. http://webkit.org/b/35539 * GNUmakefile.am: * platform/graphics/cairo/FontCacheCairo.cpp: Copied from WebCore/platform/graphics/gtk/FontCacheGtk.cpp. * platform/graphics/cairo/FontCustomPlatformData.cpp: Copied from WebCore/platform/graphics/gtk/FontCustomPlatformData.cpp. * platform/graphics/cairo/FontCustomPlatformData.h: Copied from WebCore/platform/graphics/gtk/FontCustomPlatformData.h. * platform/graphics/cairo/FontPlatformData.h: Copied from WebCore/platform/graphics/gtk/FontPlatformData.h. * platform/graphics/cairo/FontPlatformDataCairo.cpp: Copied from WebCore/platform/graphics/gtk/FontPlatformDataGtk.cpp. * platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp: Copied from WebCore/platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp. * platform/graphics/cairo/SimpleFontDataCairo.cpp: Copied from WebCore/platform/graphics/gtk/SimpleFontDataGtk.cpp. * platform/graphics/gtk/FontCacheGtk.cpp: Removed. * platform/graphics/gtk/FontCustomPlatformData.cpp: Removed. * platform/graphics/gtk/FontCustomPlatformData.h: Removed. * platform/graphics/gtk/FontPlatformData.h: Removed. * platform/graphics/gtk/FontPlatformDataGtk.cpp: Removed. * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp: Removed. * platform/graphics/gtk/SimpleFontDataGtk.cpp: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=35261 [skia] crash when attempting to render certain SVGs with Skia This test passes if it doesn't crash. * platform/mac/Skipped: Skip the test on Mac, where it crashes. * svg/custom/tiling-regular-hexagonal-crash-expected.txt: Added. * svg/custom/tiling-regular-hexagonal-crash.svg: Added. 2010-03-04 Evan Stade <estade@chromium.org> Reviewed by David Levin. https://bugs.webkit.org/show_bug.cgi?id=35261 [skia] crash when attempting to render certain SVGs This fixes the crash, but the SVG still doesn't render properly. Test: svg/custom/tiling-regular-hexagonal-crash.svg * platform/graphics/skia/ImageSkia.cpp: (WebCore::BitmapImageSingleFrameSkia::create): don't return 0 when the copy fails; instead return a blank bitmap. The caller doesn't check for 0 before dereferencing. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tony@chromium.org authored
Reviewed by Darin Fisher. Initialize m_isMultipartPayload in other ResourceResponse ctor. In r55451 (bug 35628) I added an extra bool, but only initialized it in one constructor. https://bugs.webkit.org/show_bug.cgi?id=35719 * platform/network/chromium/ResourceResponse.h: (WebCore::ResourceResponse::ResourceResponse): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Fisher. Adding touch event type and point type. Tested against the try bots. https://bugs.webkit.org/show_bug.cgi?id=35691 * public/WebInputEvent.h: (WebKit::WebInputEvent::): (WebKit::WebInputEvent::isTouchEventType): (WebKit::WebTouchEvent::WebTouchEvent): * public/WebTouchPoint.h: Added. (WebKit::WebTouchPoint::WebTouchPoint): (WebKit::WebTouchPoint::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Mar, 2010 30 commits
-
-
ukai@chromium.org authored
Reviewed by Alexey Proskuryakov. Add a new class that stores information about Web Socket handshake request. Instances of this class contain the necessary information to send a Web Socket handshake request. In the future, this class will provide request information to the Web Inspector. WebSocketHandshake needs to provide request information https://bugs.webkit.org/show_bug.cgi?id=34784 No new tests, since the current tests will suffice (LayoutTests/websocket/*). * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * websockets/WebSocketChannel.cpp: * websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::clientHandshakeMessage): (WebCore::WebSocketHandshake::clientHandshakeRequest): * websockets/WebSocketHandshake.h: * websockets/WebSocketHandshakeRequest.cpp: Added. (WebCore::WebSocketHandshakeRequest::WebSocketHandshakeRequest): (WebCore::WebSocketHandshakeRequest::~WebSocketHandshakeRequest): (WebCore::WebSocketHandshakeRequest::addExtraHeaderField): (WebCore::WebSocketHandshakeRequest::headerFields): (WebCore::WebSocketHandshakeRequest::host): * websockets/WebSocketHandshakeRequest.h: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Build fix after r55452. No new tests, this is a build fix. * page/Settings.cpp: (WebCore::Settings::setDatabasesEnabled): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alice.liu@apple.com authored
Reviewed by Jon Honeycutt. * DOMCoreClasses.cpp: (DOMElement::createInstance): Added case for DOMHTMLIFrameElement * DOMHTMLClasses.cpp: Adding the few DOMHTMLIFrameElement functions definitions that have distinct implementations (all others just call parent implementation) (DOMHTMLIFrameElement::QueryInterface): (DOMHTMLIFrameElement::contentFrame): * DOMHTMLClasses.h: Most of these function declarations have definitions that just call the parent implementation (DOMHTMLIFrameElement::DOMHTMLIFrameElement): (DOMHTMLIFrameElement::AddRef): (DOMHTMLIFrameElement::Release): (DOMHTMLIFrameElement::throwException): (DOMHTMLIFrameElement::callWebScriptMethod): (DOMHTMLIFrameElement::evaluateWebScript): (DOMHTMLIFrameElement::removeWebScriptKey): (DOMHTMLIFrameElement::stringRepresentation): (DOMHTMLIFrameElement::webScriptValueAtIndex): (DOMHTMLIFrameElement::setWebScriptValueAtIndex): (DOMHTMLIFrameElement::setException): (DOMHTMLIFrameElement::nodeName): (DOMHTMLIFrameElement::nodeValue): (DOMHTMLIFrameElement::setNodeValue): (DOMHTMLIFrameElement::nodeType): (DOMHTMLIFrameElement::parentNode): (DOMHTMLIFrameElement::childNodes): (DOMHTMLIFrameElement::firstChild): (DOMHTMLIFrameElement::lastChild): (DOMHTMLIFrameElement::previousSibling): (DOMHTMLIFrameElement::nextSibling): (DOMHTMLIFrameElement::attributes): (DOMHTMLIFrameElement::ownerDocument): (DOMHTMLIFrameElement::insertBefore): (DOMHTMLIFrameElement::replaceChild): (DOMHTMLIFrameElement::removeChild): (DOMHTMLIFrameElement::appendChild): (DOMHTMLIFrameElement::hasChildNodes): (DOMHTMLIFrameElement::cloneNode): (DOMHTMLIFrameElement::normalize): (DOMHTMLIFrameElement::isSupported): (DOMHTMLIFrameElement::namespaceURI): (DOMHTMLIFrameElement::prefix): (DOMHTMLIFrameElement::setPrefix): (DOMHTMLIFrameElement::localName): (DOMHTMLIFrameElement::hasAttributes): (DOMHTMLIFrameElement::isSameNode): (DOMHTMLIFrameElement::isEqualNode): (DOMHTMLIFrameElement::textContent): (DOMHTMLIFrameElement::setTextContent): (DOMHTMLIFrameElement::tagName): (DOMHTMLIFrameElement::getAttribute): (DOMHTMLIFrameElement::setAttribute): (DOMHTMLIFrameElement::removeAttribute): (DOMHTMLIFrameElement::getAttributeNode): (DOMHTMLIFrameElement::setAttributeNode): (DOMHTMLIFrameElement::removeAttributeNode): (DOMHTMLIFrameElement::getElementsByTagName): (DOMHTMLIFrameElement::getAttributeNS): (DOMHTMLIFrameElement::setAttributeNS): (DOMHTMLIFrameElement::removeAttributeNS): (DOMHTMLIFrameElement::getAttributeNodeNS): (DOMHTMLIFrameElement::setAttributeNodeNS): (DOMHTMLIFrameElement::getElementsByTagNameNS): (DOMHTMLIFrameElement::hasAttribute): (DOMHTMLIFrameElement::hasAttributeNS): (DOMHTMLIFrameElement::focus): (DOMHTMLIFrameElement::blur): (DOMHTMLIFrameElement::idName): (DOMHTMLIFrameElement::setIdName): (DOMHTMLIFrameElement::title): (DOMHTMLIFrameElement::setTitle): (DOMHTMLIFrameElement::lang): (DOMHTMLIFrameElement::setLang): (DOMHTMLIFrameElement::dir): (DOMHTMLIFrameElement::setDir): (DOMHTMLIFrameElement::className): (DOMHTMLIFrameElement::setClassName): (DOMHTMLIFrameElement::innerHTML): (DOMHTMLIFrameElement::setInnerHTML): (DOMHTMLIFrameElement::innerText): (DOMHTMLIFrameElement::setInnerText): * Interfaces/DOMHTML.idl: Added IDOMHTMLIFrameElement interface git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Hausmann. QScriptValue::isObject fix. Fix broken internal state evaluation from JSValue to JSNative / JSObject. New function was introduced which should take care about promoting JSValue state inside QScriptValuePrivate. It should be used instead of a direct JSC C API call. The bug exposed a weakness in autotest suite, as the QScriptValuePrivate is based on state machine with lazy state evaluation, there is a possibility that serial sequencial calls to the same public const function could return different results. The patch fix the issue. [Qt] Sometimes QScriptValue::isObject returns an incorrect value https://bugs.webkit.org/show_bug.cgi?id=35387 * qt/api/qscriptvalue_p.h: (QScriptValuePrivate::isBool): (QScriptValuePrivate::isNumber): (QScriptValuePrivate::isNull): (QScriptValuePrivate::isString): (QScriptValuePrivate::isUndefined): (QScriptValuePrivate::isError): (QScriptValuePrivate::isObject): (QScriptValuePrivate::isFunction): (QScriptValuePrivate::call): (QScriptValuePrivate::refineJSValue): * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp: (tst_QScriptValue::initScriptValues): (tst_QScriptValue::isValid_makeData): (tst_QScriptValue::isValid_test): (tst_QScriptValue::isBool_makeData): (tst_QScriptValue::isBool_test): (tst_QScriptValue::isBoolean_makeData): (tst_QScriptValue::isBoolean_test): (tst_QScriptValue::isNumber_makeData): (tst_QScriptValue::isNumber_test): (tst_QScriptValue::isFunction_test): (tst_QScriptValue::isNull_makeData): (tst_QScriptValue::isNull_test): (tst_QScriptValue::isString_makeData): (tst_QScriptValue::isString_test): (tst_QScriptValue::isUndefined_makeData): (tst_QScriptValue::isUndefined_test): (tst_QScriptValue::isObject_makeData): (tst_QScriptValue::isObject_test): (tst_QScriptValue::toString_makeData): (tst_QScriptValue::toString_test): (tst_QScriptValue::toNumber_makeData): (tst_QScriptValue::toNumber_test): (tst_QScriptValue::toBool_makeData): (tst_QScriptValue::toBool_test): (tst_QScriptValue::toBoolean_makeData): (tst_QScriptValue::toBoolean_test): (tst_QScriptValue::toInteger_makeData): (tst_QScriptValue::toInteger_test): (tst_QScriptValue::toInt32_makeData): (tst_QScriptValue::toInt32_test): (tst_QScriptValue::toUInt32_makeData): (tst_QScriptValue::toUInt32_test): (tst_QScriptValue::toUInt16_makeData): (tst_QScriptValue::toUInt16_test): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. Make keyIdentifierForQtKeyCode return the unicode backspace value on Qt PlatformKeyboardEvent LayoutTests: fast/events/key-events-in-input-text.html fast/events/special-key-events-in-input-text.html [Qt] Return the unicode backspace value in keyIdentifierForQtKeyCode on Qt PlatformKeyboardEvent https://bugs.webkit.org/show_bug.cgi?id=35694 * platform/qt/Skipped: 2010-03-03 Diego Gonzalez <diego.gonzalez@openbossa.org> Reviewed by Kenneth Rohde Christiansen. Make keyIdentifierForQtKeyCode return the unicode backspace value on Qt PlatformKeyboardEvent LayoutTests: fast/events/key-events-in-input-text.html fast/events/special-key-events-in-input-text.html [Qt] Return the unicode backspace value in keyIdentifierForQtKeyCode on Qt PlatformKeyboardEvent https://bugs.webkit.org/show_bug.cgi?id=35694 * platform/qt/PlatformKeyboardEventQt.cpp: (WebCore::keyIdentifierForQtKeyCode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Gavin Barraclough. MIPS JIT Supports https://bugs.webkit.org/show_bug.cgi?id=30144 The following changes enable MIPS YARR and YARR_JIT. * assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::Imm32::Imm32): * assembler/MIPSAssembler.h: Added. (JSC::MIPSRegisters::): (JSC::MIPSAssembler::MIPSAssembler): (JSC::MIPSAssembler::): (JSC::MIPSAssembler::JmpSrc::JmpSrc): (JSC::MIPSAssembler::JmpDst::JmpDst): (JSC::MIPSAssembler::JmpDst::isUsed): (JSC::MIPSAssembler::JmpDst::used): (JSC::MIPSAssembler::emitInst): (JSC::MIPSAssembler::nop): (JSC::MIPSAssembler::loadDelayNop): (JSC::MIPSAssembler::copDelayNop): (JSC::MIPSAssembler::move): (JSC::MIPSAssembler::li): (JSC::MIPSAssembler::lui): (JSC::MIPSAssembler::addiu): (JSC::MIPSAssembler::addu): (JSC::MIPSAssembler::subu): (JSC::MIPSAssembler::mult): (JSC::MIPSAssembler::mfhi): (JSC::MIPSAssembler::mflo): (JSC::MIPSAssembler::mul): (JSC::MIPSAssembler::andInsn): (JSC::MIPSAssembler::andi): (JSC::MIPSAssembler::nor): (JSC::MIPSAssembler::orInsn): (JSC::MIPSAssembler::ori): (JSC::MIPSAssembler::xorInsn): (JSC::MIPSAssembler::xori): (JSC::MIPSAssembler::slt): (JSC::MIPSAssembler::sltu): (JSC::MIPSAssembler::sltiu): (JSC::MIPSAssembler::sll): (JSC::MIPSAssembler::sllv): (JSC::MIPSAssembler::sra): (JSC::MIPSAssembler::srav): (JSC::MIPSAssembler::lw): (JSC::MIPSAssembler::lwl): (JSC::MIPSAssembler::lwr): (JSC::MIPSAssembler::lhu): (JSC::MIPSAssembler::sw): (JSC::MIPSAssembler::jr): (JSC::MIPSAssembler::jalr): (JSC::MIPSAssembler::jal): (JSC::MIPSAssembler::bkpt): (JSC::MIPSAssembler::bgez): (JSC::MIPSAssembler::bltz): (JSC::MIPSAssembler::beq): (JSC::MIPSAssembler::bne): (JSC::MIPSAssembler::bc1t): (JSC::MIPSAssembler::bc1f): (JSC::MIPSAssembler::newJmpSrc): (JSC::MIPSAssembler::appendJump): (JSC::MIPSAssembler::addd): (JSC::MIPSAssembler::subd): (JSC::MIPSAssembler::muld): (JSC::MIPSAssembler::lwc1): (JSC::MIPSAssembler::ldc1): (JSC::MIPSAssembler::swc1): (JSC::MIPSAssembler::sdc1): (JSC::MIPSAssembler::mtc1): (JSC::MIPSAssembler::mfc1): (JSC::MIPSAssembler::truncwd): (JSC::MIPSAssembler::cvtdw): (JSC::MIPSAssembler::ceqd): (JSC::MIPSAssembler::cngtd): (JSC::MIPSAssembler::cnged): (JSC::MIPSAssembler::cltd): (JSC::MIPSAssembler::cled): (JSC::MIPSAssembler::cueqd): (JSC::MIPSAssembler::coled): (JSC::MIPSAssembler::coltd): (JSC::MIPSAssembler::culed): (JSC::MIPSAssembler::cultd): (JSC::MIPSAssembler::label): (JSC::MIPSAssembler::align): (JSC::MIPSAssembler::getRelocatedAddress): (JSC::MIPSAssembler::getDifferenceBetweenLabels): (JSC::MIPSAssembler::size): (JSC::MIPSAssembler::executableCopy): (JSC::MIPSAssembler::getCallReturnOffset): (JSC::MIPSAssembler::linkJump): (JSC::MIPSAssembler::linkCall): (JSC::MIPSAssembler::linkPointer): (JSC::MIPSAssembler::relinkJump): (JSC::MIPSAssembler::relinkCall): (JSC::MIPSAssembler::repatchInt32): (JSC::MIPSAssembler::repatchPointer): (JSC::MIPSAssembler::repatchLoadPtrToLEA): (JSC::MIPSAssembler::relocateJumps): (JSC::MIPSAssembler::linkWithOffset): (JSC::MIPSAssembler::linkCallInternal): * assembler/MacroAssembler.h: * assembler/MacroAssemblerMIPS.h: Added. (JSC::MacroAssemblerMIPS::MacroAssemblerMIPS): (JSC::MacroAssemblerMIPS::): (JSC::MacroAssemblerMIPS::add32): (JSC::MacroAssemblerMIPS::and32): (JSC::MacroAssemblerMIPS::lshift32): (JSC::MacroAssemblerMIPS::mul32): (JSC::MacroAssemblerMIPS::not32): (JSC::MacroAssemblerMIPS::or32): (JSC::MacroAssemblerMIPS::rshift32): (JSC::MacroAssemblerMIPS::sub32): (JSC::MacroAssemblerMIPS::xor32): (JSC::MacroAssemblerMIPS::load32): (JSC::MacroAssemblerMIPS::load32WithUnalignedHalfWords): (JSC::MacroAssemblerMIPS::load32WithAddressOffsetPatch): (JSC::MacroAssemblerMIPS::loadPtrWithPatchToLEA): (JSC::MacroAssemblerMIPS::loadPtrWithAddressOffsetPatch): (JSC::MacroAssemblerMIPS::load16): (JSC::MacroAssemblerMIPS::store32WithAddressOffsetPatch): (JSC::MacroAssemblerMIPS::store32): (JSC::MacroAssemblerMIPS::supportsFloatingPoint): (JSC::MacroAssemblerMIPS::supportsFloatingPointTruncate): (JSC::MacroAssemblerMIPS::pop): (JSC::MacroAssemblerMIPS::push): (JSC::MacroAssemblerMIPS::move): (JSC::MacroAssemblerMIPS::swap): (JSC::MacroAssemblerMIPS::signExtend32ToPtr): (JSC::MacroAssemblerMIPS::zeroExtend32ToPtr): (JSC::MacroAssemblerMIPS::branch32): (JSC::MacroAssemblerMIPS::branch32WithUnalignedHalfWords): (JSC::MacroAssemblerMIPS::branch16): (JSC::MacroAssemblerMIPS::branchTest32): (JSC::MacroAssemblerMIPS::jump): (JSC::MacroAssemblerMIPS::branchAdd32): (JSC::MacroAssemblerMIPS::branchMul32): (JSC::MacroAssemblerMIPS::branchSub32): (JSC::MacroAssemblerMIPS::breakpoint): (JSC::MacroAssemblerMIPS::nearCall): (JSC::MacroAssemblerMIPS::call): (JSC::MacroAssemblerMIPS::ret): (JSC::MacroAssemblerMIPS::set32): (JSC::MacroAssemblerMIPS::setTest32): (JSC::MacroAssemblerMIPS::moveWithPatch): (JSC::MacroAssemblerMIPS::branchPtrWithPatch): (JSC::MacroAssemblerMIPS::storePtrWithPatch): (JSC::MacroAssemblerMIPS::tailRecursiveCall): (JSC::MacroAssemblerMIPS::makeTailRecursiveCall): (JSC::MacroAssemblerMIPS::loadDouble): (JSC::MacroAssemblerMIPS::storeDouble): (JSC::MacroAssemblerMIPS::addDouble): (JSC::MacroAssemblerMIPS::subDouble): (JSC::MacroAssemblerMIPS::mulDouble): (JSC::MacroAssemblerMIPS::convertInt32ToDouble): (JSC::MacroAssemblerMIPS::insertRelaxationWords): (JSC::MacroAssemblerMIPS::branchTrue): (JSC::MacroAssemblerMIPS::branchFalse): (JSC::MacroAssemblerMIPS::branchEqual): (JSC::MacroAssemblerMIPS::branchNotEqual): (JSC::MacroAssemblerMIPS::branchDouble): (JSC::MacroAssemblerMIPS::branchTruncateDoubleToInt32): (JSC::MacroAssemblerMIPS::linkCall): (JSC::MacroAssemblerMIPS::repatchCall): * jit/ExecutableAllocator.h: (JSC::ExecutableAllocator::cacheFlush): * wtf/Platform.h: * yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::generateEnter): (JSC::Yarr::RegexGenerator::generateReturn): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Darin Adler. Changed the double-click framework code to pass adjusted page coordinates for zoomed pages. Added a new test to expose mistreatment of mouse click coordinates during a double-click. https://bugs.webkit.org/show_bug.cgi?id=35690 * fast/events/zoom-dblclick-expected.txt: Added. * fast/events/zoom-dblclick.html: Added. 2010-03-03 Chad Faragher <wyck@chromium.org> Reviewed by Darin Adler. Changed the double-click framework code to pass adjusted page coordinates for zoomed pages. Added a new test to expose mistreatment of mouse click coordinates during a double-click. https://bugs.webkit.org/show_bug.cgi?id=35690 Test: fast/events/zoom-dblclick.html * dom/Node.cpp: (WebCore::Node::dispatchMouseEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
Reviewed by Simon Hausmann. Add a missing 'm_' to class variables names. [Qt] QtLauncher is not respecting class variable names https://bugs.webkit.org/show_bug.cgi?id=35542 * QtLauncher/main.cpp: (LauncherWindow::LauncherWindow): (LauncherWindow::init): (LauncherWindow::sendTouchEvent): (LauncherWindow::eventFilter): (LauncherWindow::zoomIn): (LauncherWindow::zoomOut): (LauncherWindow::resetZoom): (LauncherWindow::setEditable): (LauncherWindow::setTouchMocking): (LauncherWindow::initializeView): (LauncherWindow::createChrome): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
* JavaScriptCore.vcproj/jsc/jsc.vcproj: * JavaScriptCore.vcproj/jsc/jscCommon.vsprops: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
* JavaScriptCore.vcproj/jsc/jsc.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
The patch broke fast/frames/sandboxed-iframe-storage.html Last one (I hope). * WebCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
cleaning up some style issues. Reviewed by Dimitri Glazkov. * storage/database-lock-after-reload.html: * storage/resources/database-lock-after-reload-2.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
Exclude leaks in Java that build bot complains about. * Scripts/run-webkit-tests: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
The patch broke fast/frames/sandboxed-iframe-storage.html Unfortunately, (the webkit-patch rollout and) I missed these in r55485. WebCore: * bindings/js/JSDatabaseCallback.cpp: Removed. * bindings/js/JSDatabaseCallback.h: Removed. * bindings/v8/custom/V8DatabaseCallback.cpp: Removed. * bindings/v8/custom/V8DatabaseCallback.h: Removed. * storage/DatabaseCallback.h: Removed. LayoutTests: * storage/open-database-creation-callback-expected.txt: Removed. * storage/open-database-creation-callback-isolated-world-expected.txt: Removed. * storage/open-database-creation-callback-isolated-world.html: Removed. * storage/open-database-creation-callback.html: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
SQLTransaction::checkAndHandleClosedDatabase() should only be run when that method is invoked on the DB thread. Reviewed by Dimitri Glazkov. We cannot test this fix with a test, because the crash happens only when all of the following conditions are met: 1. A database is closing. 2. A transaction on that database is in progress. 3. The transaction is in a state where a statement/transaction success/error callback needs to be invoked (so there's a task for this transaction pending on the main thread). 4. The DB thread finished processing all its tasks and called SQLTransactionCoordinator::shutdown() before the main thread go to that task. The closest thing we have to a test is running LayoutTests/storage/database-lock-after-reload.html 1000 times in a row. Without the patch, the probability of a crash happening in one of the runs is very high. With the patch, the test should reliably run 1000 times in a row without a single crash. https://bugs.webkit.org/show_bug.cgi?id=35624 * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::checkAndHandleClosedDatabase): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@chromium.org authored
Reviewed by Mark Rowe. Page should not care about Chromium plug-in implementation details https://bugs.webkit.org/show_bug.cgi?id=35623 * WebCore.gypi: Compile PluginViewNone.cpp * page/Page.cpp: (WebCore::Page::privateBrowsingStateChanged): Remove conditional compilation for PLATFORM(CHROMIUM). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
No review, rolling out r55474. http://trac.webkit.org/changeset/55480 The patch broke fast/frames/sandboxed-iframe-storage.html * Android.jscbindings.mk: * Android.v8bindings.mk: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * bindings/js/JSDOMWindowCustom.cpp: * bindings/v8/custom/V8DOMWindowCustom.cpp: * dom/Document.cpp: (WebCore::Document::postTask): * page/DOMWindow.cpp: (WebCore::DOMWindow::openDatabase): * page/DOMWindow.h: * page/DOMWindow.idl: * storage/Database.cpp: (WebCore::Database::openDatabase): (WebCore::Database::Database): (WebCore::Database::performOpenAndVerify): * storage/Database.h: * workers/WorkerContext.cpp: (WebCore::WorkerContext::openDatabase): * workers/WorkerContext.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
levin@chromium.org authored
No review, rolling out r55480. http://trac.webkit.org/changeset/55480 The patch broke fast/frames/sandboxed-iframe-storage.html * storage/Database.cpp: * storage/Database.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrowe@apple.com authored
Reviewed by Geoff Garen. JavaScriptCore: * wtf/TCSystemAlloc.cpp: (TryMmap): Use the VM tag. * wtf/VMTags.h: Make use of VM_MEMORY_TCMALLOC and VM_MEMORY_WEBCORE_PURGEABLE_BUFFERS. WebCore: * platform/mac/PurgeableBufferMac.cpp: (WebCore::PurgeableBuffer::create): Use the VM tag. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
Try better to fix Java tests on Tiger bot. * platform/mac-tiger/Skipped: * platform/mac-tiger/java/lc3/JavaArray/ToString-001-expected.txt: Removed. This test gets different resultson each run when it fails, so it needs to be disabled on Tiger. * platform/mac-tiger/java/lc3/JavaObject/JavaObjectToString-001-expected.txt: Added a newline I didn't get when copying actual results from buildbot. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=35610 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
Database.cpp. Reviewed by nobody, build fix. * storage/Database.cpp: * storage/Database.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
missing layoutTestController.evaluateScriptInIsolatedWorld() * platform/qt/Skipped: storage/open-database-creation-callback-isolated-world.html skipped. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* WebCore.xcodeproj/project.pbxproj: Marked a couple of headers "private" so they can be used in the WebKit project. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=35700 Some of the newly added Java tests fail randomly on buildbot * fast/js/resources/js-test-post-async.js: Added a version that calls notifyDone(). I first wanted to add a notifyDone() call to js-test-post.js, but it turns out that multiple tests dump results after "TEST COMPLETE", and we need to get bots back to green fast. * java/lc3: (Many files). Don't load two scripts dynamically, WebKit has issues with order of execution in this case. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken@apple.com authored
Fix bogus xcopy that was polluting source tree at build time. * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=35044 Crash in XML tokenizer reloading zoom-coords-viewattr-01-b.svg I'm often getting a crash even when opening the test for the first time in Safari, but it doesn't seem to crash in DumpRenderTree. Still, I can't think of a stronger way to test for this condition, so no new regression test. * dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::end): Be prepared that parsing remaining input will pause parsing. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dumi@chromium.org authored
passed to openDatabase(). Reviewed by Adam Barth. Test: storage/open-database-creation-callback.html https://bugs.webkit.org/show_bug.cgi?id=34726 * Android.jscbindings.mk * Android.v8bindings.mk * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::openDatabase): * bindings/js/JSDatabaseCallback.cpp: Added. (WebCore::JSDatabaseCallback::JSDatabaseCallback): (WebCore::JSDatabaseCallback::~JSDatabaseCallback): (WebCore::JSDatabaseCallback::handleEvent): * bindings/js/JSDatabaseCallback.h: Added. (WebCore::JSDatabaseCallback::create): * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8DOMWindow::openDatabaseCallback): * bindings/v8/custom/V8DatabaseCallback.cpp: Added. (WebCore::V8DatabaseCallback::V8DatabaseCallback): (WebCore::V8DatabaseCallback::~V8DatabaseCallback): (WebCore::V8DatabaseCallback::handleEvent): * bindings/v8/custom/V8DatabaseCallback.h: Added. (WebCore::V8DatabaseCallback::create): * page/DOMWindow.cpp: (WebCore::DOMWindow::openDatabase): * page/DOMWindow.h: * page/DOMWindow.idl: * storage/Database.cpp: (WebCore::DatabaseCreationCallbackTask::create): (WebCore::DatabaseCreationCallbackTask::performTask): (WebCore::DatabaseCreationCallbackTask::DatabaseCreationCallbackTask): (WebCore::Database::openDatabase): (WebCore::Database::Database): (WebCore::Database::performOpenAndVerify): (WebCore::Database::performCreationCallback): * storage/Database.h: (WebCore::Database::isNew): * storage/DatabaseCallback.h: Added. (WebCore::DatabaseCallback::~DatabaseCallback): * workers/WorkerContext.cpp: (WebCore::WorkerContext::openDatabase): * workers/WorkerContext.h: LayoutTests: Adding a test to test the creation callback passed to openDatabase() and another one to make sure it is executed in the correct world. Reviewed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=34726 * storage/open-database-creation-callback-expected.txt: Added. * storage/open-database-creation-callback.html: Added. * storage/open-database-creation-callback-isolated-world-expected.txt: Added. * storage/open-database-creation-callback-isolated-world.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cmarrin@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bweinstein@apple.com authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-