1. 13 Aug, 2010 11 commits
    • zimmermann@webkit.org's avatar
      2010-08-12 Nikolas Zimmermann <nzimmermann@rim.com> · cff3134e
      zimmermann@webkit.org authored
              Reviewed by Dirk Schulze.
      
              Window size changes + resources on absolute sized content leads to pixelation
              https://bugs.webkit.org/show_bug.cgi?id=43921
      
              Avoid pixelation when using resources on absolute sized objects. Be sure to invalidate the used resources if window size changes.
              Otherwhise masks etc. will be scaled up and pixelate. As nice side-effect, this fixes run-webkit-tests --singly svg/W3C-SVG-1.1, which
              used to produce wrong results for the gradient tests, as the window size change from 800x600 for 480x360 (svg/W3C-SVG-1.1 specific DRT quirk)
              didn't invalidate the resources.
      
              Renamed invalidateClient -> removeClientFromCache and invalidateClients -> removeAllClientsFromCache.
              Add a boolean "markForInvalidation" parameter, that controls wheter the clients should be marked for repaint/boundaries invalidation/layout
              or wheter we only want to notify the parents that the resource changed, to avoid doing unncessary work in SVGRenderSupport::layoutChildren.
      
              Test: svg/custom/absolute-sized-content-with-resources.xhtml
      
              * rendering/RenderSVGGradientStop.cpp:
              (WebCore::RenderSVGGradientStop::styleDidChange): Don't do anything for StyleDifferenceEqual.
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::imageChanged):
              * rendering/RenderSVGResource.cpp:
              (WebCore::RenderSVGResource::markForLayoutAndParentResourceInvalidation):
              * rendering/RenderSVGResource.h:
              * rendering/RenderSVGResourceClipper.cpp:
              (WebCore::RenderSVGResourceClipper::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceClipper::removeClientFromCache):
              * rendering/RenderSVGResourceClipper.h:
              * rendering/RenderSVGResourceContainer.cpp:
              (WebCore::RenderSVGResourceContainer::layout):
              (WebCore::RenderSVGResourceContainer::idChanged):
              (WebCore::RenderSVGResourceContainer::markAllClientsForInvalidation):
              (WebCore::RenderSVGResourceContainer::markClientForInvalidation):
              * rendering/RenderSVGResourceContainer.h:
              (WebCore::RenderSVGResourceContainer::):
              * rendering/RenderSVGResourceFilter.cpp:
              (WebCore::RenderSVGResourceFilter::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceFilter::removeClientFromCache):
              (WebCore::RenderSVGResourceFilter::postApplyResource):
              * rendering/RenderSVGResourceFilter.h:
              * rendering/RenderSVGResourceGradient.cpp:
              (WebCore::RenderSVGResourceGradient::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceGradient::removeClientFromCache):
              (WebCore::RenderSVGResourceGradient::applyResource):
              * rendering/RenderSVGResourceGradient.h:
              * rendering/RenderSVGResourceMarker.cpp:
              (WebCore::RenderSVGResourceMarker::layout):
              (WebCore::RenderSVGResourceMarker::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceMarker::removeClientFromCache):
              * rendering/RenderSVGResourceMarker.h:
              * rendering/RenderSVGResourceMasker.cpp:
              (WebCore::RenderSVGResourceMasker::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceMasker::removeClientFromCache):
              * rendering/RenderSVGResourceMasker.h:
              * rendering/RenderSVGResourcePattern.cpp:
              (WebCore::RenderSVGResourcePattern::removeAllClientsFromCache):
              (WebCore::RenderSVGResourcePattern::removeClientFromCache):
              (WebCore::RenderSVGResourcePattern::applyResource):
              * rendering/RenderSVGResourcePattern.h:
              * rendering/RenderSVGResourceSolidColor.h:
              (WebCore::RenderSVGResourceSolidColor::removeAllClientsFromCache):
              (WebCore::RenderSVGResourceSolidColor::removeClientFromCache):
              * rendering/SVGRenderSupport.cpp:
              (WebCore::invalidateResourcesOfChildren): Add new helper funtion recursively invalidating resources of a sub render tree.
              (WebCore::SVGRenderSupport::layoutChildren): Keep track of all objects that didn't need layout, as we still have to invalidate their resources, if window size changes.
              * rendering/SVGResources.cpp:
              (WebCore::SVGResources::removeClientFromCache):
              (WebCore::SVGResources::resourceDestroyed):
              * rendering/SVGResources.h:
              * rendering/SVGResourcesCache.cpp:
              (WebCore::SVGResourcesCache::clientLayoutChanged):
      
      2010-08-12  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Dirk Schulze.
      
              Window size changes + resources on absolute sized content leads to pixelation
              https://bugs.webkit.org/show_bug.cgi?id=43921
      
              * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.checksum: Added.
              * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.png: Added.
              * platform/mac/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
              * svg/custom/absolute-sized-content-with-resources.xhtml: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff3134e
    • pfeldman@chromium.org's avatar
      2010-08-13 Pavel Feldman <pfeldman@chromium.org> · 75e45425
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: brush up test expectations.
              https://bugs.webkit.org/show_bug.cgi?id=43959
      
              * platform/chromium/inspector/console-dir-expected.txt: Added.
              * platform/chromium/inspector/console-format-expected.txt: Added.
              * platform/chromium/inspector/timeline-event-dispatch-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-event-dispatch-expected.txt.
              * platform/chromium/inspector/timeline-mark-timeline-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-mark-timeline-expected.txt.
              * platform/chromium/inspector/timeline-network-resource-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-network-resource-expected.txt.
              * platform/chromium/inspector/timeline-paint-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-paint-expected.txt.
              * platform/chromium/inspector/timeline-parse-html-expected.txt: Renamed from LayoutTests/platform/chromium-win/inspector/timeline-parse-html-expected.txt.
              * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75e45425
    • commit-queue@webkit.org's avatar
      2010-08-13 Kenichi Ishibashi <bashi@google.com> · 4b9d90c0
      commit-queue@webkit.org authored
              Reviewed by Shinichiro Hamaji.
      
              Add test_expectations.txt syntax checker to check-webkit-style.
              https://bugs.webkit.org/show_bug.cgi?id=43899
      
              Just utilizing layout_tests/layout_package/test_expectations.py for checking
              the syntax of test_expectations.txt.
              This change also moves tab checking class from style/checkers/text.py to
              style/checkers/common.py for sharing code.
      
              * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
              * Scripts/webkitpy/style/checker.py:
              * Scripts/webkitpy/style/checkers/common.py:
              * Scripts/webkitpy/style/checkers/common_unittest.py:
              * Scripts/webkitpy/style/checkers/test_expectations.py: Added.
              * Scripts/webkitpy/style/checkers/test_expectations_unittest.py: Added.
              * Scripts/webkitpy/style/checkers/text.py:
              * Scripts/webkitpy/style_references.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b9d90c0
    • pfeldman@chromium.org's avatar
      2010-08-13 Pavel Feldman <pfeldman@chromium.org> · 675ae0f4
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Chromium DevTools: [CRASH] Autocomplete on arrays causes crashes.
              https://bugs.webkit.org/show_bug.cgi?id=43955
      
              * bindings/v8/ScriptValue.cpp:
              (WebCore::v8ToInspectorValue):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      675ae0f4
    • commit-queue@webkit.org's avatar
      2010-08-13 Patrick Gansterer <paroga@paroga.com> · 29ab9d2f
      commit-queue@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              [CMake] Add missing FIND_PACKAGE(Gperf)
              https://bugs.webkit.org/show_bug.cgi?id=43937
      
              * CMakeLists.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29ab9d2f
    • barraclough@apple.com's avatar
      Unify UString::UTF8String() & String::utf8() methods, · 3158a387
      barraclough@apple.com authored
      remove UString::cost() & make atArrayIndex a free function.
      
      Reviewed by Sam Weinig
      
      JavaScriptCore: 
      
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.cpp:
      (JSC::constantName):
      (JSC::idName):
      (JSC::CodeBlock::registerName):
      (JSC::regexpName):
      (JSC::printGlobalResolveInfo):
      (JSC::printStructureStubInfo):
      (JSC::CodeBlock::printStructure):
      (JSC::CodeBlock::printStructures):
      * jsc.cpp:
      (functionPrint):
      (functionDebug):
      (runInteractive):
      (fillBufferWithContentsOfFile):
      * pcre/pcre_exec.cpp:
      (Histogram::~Histogram):
      * profiler/CallIdentifier.h:
      (JSC::CallIdentifier::c_str):
      * profiler/Profile.cpp:
      (JSC::Profile::debugPrintDataSampleStyle):
      * profiler/ProfileGenerator.cpp:
      (JSC::ProfileGenerator::willExecute):
      (JSC::ProfileGenerator::didExecute):
      * profiler/ProfileNode.cpp:
      (JSC::ProfileNode::debugPrintData):
      (JSC::ProfileNode::debugPrintDataSampleStyle):
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::put):
      (JSC::Arguments::deleteProperty):
      * runtime/DateConversion.cpp:
      (JSC::parseDate):
      * runtime/Identifier.h:
      (JSC::Identifier::toStrictUInt32):
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      (JSC::toArrayIndex):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::encode):
      (JSC::parseInt):
      (JSC::globalFuncJSCPrint):
      * runtime/JSString.h:
      (JSC::RopeBuilder::JSString):
      * runtime/UString.cpp:
      (JSC::UString::toDouble):
      (JSC::putUTF8Triple):
      (JSC::UString::utf8):
      * runtime/UString.h:
      (JSC::UString::~UString):
      (JSC::UString::isNull):
      (JSC::UString::isEmpty):
      (JSC::UString::impl):
      * wtf/text/WTFString.cpp:
      (WTF::String::utf8):
      * wtf/text/WTFString.h:
      (WTF::String::~String):
      (WTF::String::swap):
      (WTF::String::isNull):
      (WTF::String::isEmpty):
      (WTF::String::impl):
      (WTF::String::length):
      (WTF::String::String):
      (WTF::String::isHashTableDeletedValue):
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      * bridge/NP_jsobject.cpp:
      (_NPN_Enumerate):
      * bridge/c/c_utility.cpp:
      (JSC::Bindings::convertValueToNPVariant):
      * bridge/jni/JNIBridge.cpp:
      (JavaParameter::JavaParameter):
      (JavaMethod::JavaMethod):
      (JavaMethod::signature):
      (JavaMethod::methodID):
      * bridge/jni/JNIBridge.h:
      (JSC::Bindings::JavaString::utf8):
      (JSC::Bindings::JavaParameter::type):
      (JSC::Bindings::JavaMethod::returnType):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::call):
      (JavaJSObject::eval):
      (JavaJSObject::getMember):
      (JavaJSObject::setMember):
      (JavaJSObject::removeMember):
      (JavaJSObject::convertJObjectToValue):
      * bridge/jni/jsc/JNIBridgeJSC.cpp:
      (JavaField::JavaField):
      (JavaField::valueFromInstance):
      (JavaField::setValueToInstance):
      * bridge/jni/jsc/JNIBridgeJSC.h:
      (JSC::Bindings::JavaField::type):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaInstance::invokeMethod):
      * bridge/jni/jsc/JavaStringJSC.h:
      (JSC::Bindings::JavaStringImpl::utf8):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::put):
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::enumerate):
      
      WebKit/wx: 
      
      * WebFrame.cpp:
      (wxWebFrame::RunScript):
      
      WebKit2: 
      
      * WebProcess/Plugins/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      * WebProcess/Plugins/NPJSObject.cpp:
      (WebKit::NPJSObject::enumerate):
      * WebProcess/Plugins/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3158a387
    • yurys@chromium.org's avatar
      2010-08-12 Yury Semikhatsky <yurys@chromium.org> · 5ec4820e
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: allow interrupting long running JS to execute inspector command
              https://bugs.webkit.org/show_bug.cgi?id=43900
      
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::):
              (WebCore::ScriptDebugServer::pause):
              (WebCore::ScriptDebugServer::interruptAndRun):
              (WebCore::ScriptDebugServer::runPendingTasks):
              (WebCore::ScriptDebugServer::handleV8DebugEvent):
              * bindings/v8/ScriptDebugServer.h:
              (WebCore::ScriptDebugServer::Task::~Task):
      
      2010-08-12  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: allow interrupting long running JS to execute inspector command
              https://bugs.webkit.org/show_bug.cgi?id=43900
      
              * public/WebDevToolsAgent.h:
              (WebKit::WebDevToolsAgent::MessageDescriptor::~MessageDescriptor):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgent::interruptAndDispatch):
              (WebKit::WebDevToolsAgent::shouldInterruptForMessage):
              (WebKit::WebDevToolsAgent::processPendingMessages):
              * src/WebDevToolsFrontendImpl.cpp:
              (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
              * src/WebDevToolsFrontendImpl.h:
              * src/js/DevTools.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ec4820e
    • zherczeg@webkit.org's avatar
      Refactoring the fpu code generator for the ARM port · b6994145
      zherczeg@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=43842
      
      Reviewed by Gavin Barraclough.
      
      Support up to 32 double precision registers, and the
      recent VFP instruction formats. This patch is mainly
      a style change which keeps the current functionality.
      
      * assembler/ARMAssembler.h:
      (JSC::ARMRegisters::):
      (JSC::ARMAssembler::):
      (JSC::ARMAssembler::emitInst):
      (JSC::ARMAssembler::emitDoublePrecisionInst):
      (JSC::ARMAssembler::emitSinglePrecisionInst):
      (JSC::ARMAssembler::vadd_f64_r):
      (JSC::ARMAssembler::vdiv_f64_r):
      (JSC::ARMAssembler::vsub_f64_r):
      (JSC::ARMAssembler::vmul_f64_r):
      (JSC::ARMAssembler::vcmp_f64_r):
      (JSC::ARMAssembler::vsqrt_f64_r):
      (JSC::ARMAssembler::vmov_vfp_r):
      (JSC::ARMAssembler::vmov_arm_r):
      (JSC::ARMAssembler::vcvt_f64_s32_r):
      (JSC::ARMAssembler::vcvt_s32_f64_r):
      (JSC::ARMAssembler::vmrs_apsr):
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::addDouble):
      (JSC::MacroAssemblerARM::divDouble):
      (JSC::MacroAssemblerARM::subDouble):
      (JSC::MacroAssemblerARM::mulDouble):
      (JSC::MacroAssemblerARM::sqrtDouble):
      (JSC::MacroAssemblerARM::convertInt32ToDouble):
      (JSC::MacroAssemblerARM::branchDouble):
      (JSC::MacroAssemblerARM::branchConvertDoubleToInt32):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6994145
    • ossy@webkit.org's avatar
      2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com> · eb7ea4be
      ossy@webkit.org authored
              Unreviewed, rolling out r65295.
              http://trac.webkit.org/changeset/65295
              https://bugs.webkit.org/show_bug.cgi?id=43950
      
              It broke 4 sputnik tests (Requested by Ossy on #webkit).
      
              * JavaScriptCore.exp:
              * bytecode/CodeBlock.cpp:
              (JSC::constantName):
              (JSC::idName):
              (JSC::CodeBlock::registerName):
              (JSC::regexpName):
              (JSC::printGlobalResolveInfo):
              (JSC::printStructureStubInfo):
              (JSC::CodeBlock::printStructure):
              (JSC::CodeBlock::printStructures):
              * jsc.cpp:
              (functionPrint):
              (functionDebug):
              (runInteractive):
              (fillBufferWithContentsOfFile):
              * pcre/pcre_exec.cpp:
              (Histogram::~Histogram):
              * profiler/CallIdentifier.h:
              (JSC::CallIdentifier::c_str):
              * profiler/Profile.cpp:
              (JSC::Profile::debugPrintDataSampleStyle):
              * profiler/ProfileGenerator.cpp:
              (JSC::ProfileGenerator::willExecute):
              (JSC::ProfileGenerator::didExecute):
              * profiler/ProfileNode.cpp:
              (JSC::ProfileNode::debugPrintData):
              (JSC::ProfileNode::debugPrintDataSampleStyle):
              * runtime/Arguments.cpp:
              (JSC::Arguments::getOwnPropertySlot):
              (JSC::Arguments::getOwnPropertyDescriptor):
              (JSC::Arguments::put):
              (JSC::Arguments::deleteProperty):
              * runtime/DateConversion.cpp:
              (JSC::parseDate):
              * runtime/Identifier.h:
              (JSC::Identifier::Identifier):
              (JSC::Identifier::toArrayIndex):
              * runtime/JSArray.cpp:
              (JSC::JSArray::getOwnPropertySlot):
              (JSC::JSArray::getOwnPropertyDescriptor):
              (JSC::JSArray::put):
              (JSC::JSArray::deleteProperty):
              * runtime/JSArray.h:
              * runtime/JSGlobalObjectFunctions.cpp:
              (JSC::encode):
              (JSC::parseInt):
              (JSC::globalFuncJSCPrint):
              * runtime/JSString.h:
              (JSC::RopeBuilder::JSString):
              * runtime/UString.cpp:
              (JSC::UString::toDouble):
              (JSC::UString::UTF8String):
              * runtime/UString.h:
              (JSC::UString::isNull):
              (JSC::UString::isEmpty):
              (JSC::UString::impl):
              (JSC::UString::cost):
              (JSC::UString::~UString):
              (JSC::UString::toArrayIndex):
              * wtf/text/WTFString.cpp:
              (WTF::String::utf8):
              * wtf/text/WTFString.h:
              (WTF::String::String):
              (WTF::String::isHashTableDeletedValue):
              (WTF::String::length):
              (WTF::String::operator[]):
              (WTF::String::isNull):
              (WTF::String::isEmpty):
              (WTF::String::impl):
      2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r65295.
              http://trac.webkit.org/changeset/65295
              https://bugs.webkit.org/show_bug.cgi?id=43950
      
              It broke 4 sputnik tests (Requested by Ossy on #webkit).
      
              * WebFrame.cpp:
              (wxWebFrame::RunScript):
      2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r65295.
              http://trac.webkit.org/changeset/65295
              https://bugs.webkit.org/show_bug.cgi?id=43950
      
              It broke 4 sputnik tests (Requested by Ossy on #webkit).
      
              * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
              (WebKit::NetscapePluginInstanceProxy::enumerate):
      2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r65295.
              http://trac.webkit.org/changeset/65295
              https://bugs.webkit.org/show_bug.cgi?id=43950
      
              It broke 4 sputnik tests (Requested by Ossy on #webkit).
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::getOwnPropertySlot):
              (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
              * bridge/NP_jsobject.cpp:
              (_NPN_Enumerate):
              * bridge/c/c_utility.cpp:
              (JSC::Bindings::convertValueToNPVariant):
              * bridge/jni/JNIBridge.cpp:
              (JavaParameter::JavaParameter):
              (JavaMethod::JavaMethod):
              (JavaMethod::signature):
              (JavaMethod::methodID):
              * bridge/jni/JNIBridge.h:
              (JSC::Bindings::JavaString::UTF8String):
              (JSC::Bindings::JavaParameter::type):
              (JSC::Bindings::JavaMethod::returnType):
              * bridge/jni/jni_jsobject.mm:
              (JavaJSObject::call):
              (JavaJSObject::eval):
              (JavaJSObject::getMember):
              (JavaJSObject::setMember):
              (JavaJSObject::removeMember):
              (JavaJSObject::convertJObjectToValue):
              * bridge/jni/jsc/JNIBridgeJSC.cpp:
              (JavaField::JavaField):
              (JavaField::valueFromInstance):
              (JavaField::setValueToInstance):
              * bridge/jni/jsc/JNIBridgeJSC.h:
              (JSC::Bindings::JavaField::type):
              * bridge/jni/jsc/JavaInstanceJSC.cpp:
              (JavaInstance::invokeMethod):
              * bridge/jni/jsc/JavaStringJSC.h:
              (JSC::Bindings::JavaStringImpl::UTF8String):
              * bridge/runtime_array.cpp:
              (JSC::RuntimeArray::getOwnPropertySlot):
              (JSC::RuntimeArray::getOwnPropertyDescriptor):
              (JSC::RuntimeArray::put):
      2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r65295.
              http://trac.webkit.org/changeset/65295
              https://bugs.webkit.org/show_bug.cgi?id=43950
      
              It broke 4 sputnik tests (Requested by Ossy on #webkit).
      
              * WebProcess/Plugins/JSNPObject.cpp:
              (WebKit::npIdentifierFromIdentifier):
              * WebProcess/Plugins/NPJSObject.cpp:
              (WebKit::NPJSObject::enumerate):
              * WebProcess/Plugins/NPRuntimeObjectMap.cpp:
              (WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb7ea4be
    • pfeldman@chromium.org's avatar
      2010-08-12 Pavel Feldman <pfeldman@chromium.org> · 7fb61822
      pfeldman@chromium.org authored
              Not reviewed. Fixed typo in inspector js.
              Follow up to r65300.
      
              * inspector/front-end/inspector.js:
              (WebInspector.log.isLogAvailable):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fb61822
    • pfeldman@chromium.org's avatar
      2010-08-12 Pavel Feldman <pfeldman@chromium.org> · 5a732bd4
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: Make getPrototypes return objects, not names.
              https://bugs.webkit.org/show_bug.cgi?id=43934
      
              * inspector/front-end/InjectedScript.js:
              (injectedScriptConstructor):
              (injectedScriptConstructor.):
              * inspector/front-end/PropertiesSidebarPane.js:
              (WebInspector.PropertiesSidebarPane.prototype.update.callback):
              * inspector/front-end/inspector.js:
              (WebInspector.log):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a732bd4
  2. 12 Aug, 2010 29 commits
    • jamesr@google.com's avatar
      2010-08-12 James Robinson <jamesr@chromium.org> · d91ed91f
      jamesr@google.com authored
              Unreviewed, rolling out r65284 and r65288.  Broke chromium compile.
              https://bugs.webkit.org/show_bug.cgi?id=43725
              http://trac.webkit.org/changeset/65284
              http://trac.webkit.org/changeset/65288
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::namedItemAdded):
              (WebCore::ScriptController::namedItemRemoved):
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
              * bindings/v8/V8DOMWindowShell.h:
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::instantiateV8Object):
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              (WebCore::V8HTMLDocument::namedPropertyDeleter):
              (WebCore::V8HTMLDocument::namedPropertyGetter):
              (WebCore::V8HTMLDocument::indexedPropertyGetter):
              (WebCore::V8HTMLDocument::allAccessorSetter):
              (WebCore::toV8):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::removeItemFromMap):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d91ed91f
    • weinig@apple.com's avatar
      Add more files to the WebKit2 skipped list. · 419ef0f8
      weinig@apple.com authored
      Reviewed by Gavin Barraclough.
      
      * platform/mac-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      419ef0f8
    • jamesr@google.com's avatar
      2010-08-12 James Robinson <jamesr@chromium.org> · a52277b9
      jamesr@google.com authored
              Unreviewed. Mark play-state.html and isindex-with-no-form.html as flaky because they are.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a52277b9
    • barraclough@apple.com's avatar
      Windows build fix. · 0fd687a6
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fd687a6
    • barraclough@apple.com's avatar
      Unify UString::UTF8String() & String::utf8() methods, · d22274e7
      barraclough@apple.com authored
      remove UString::cost() & make atArrayIndex a free function.
      
      Reviewed by Sam Weinig
      
      JavaScriptCore: 
      
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.cpp:
      (JSC::constantName):
      (JSC::idName):
      (JSC::CodeBlock::registerName):
      (JSC::regexpName):
      (JSC::printGlobalResolveInfo):
      (JSC::printStructureStubInfo):
      (JSC::CodeBlock::printStructure):
      (JSC::CodeBlock::printStructures):
      * jsc.cpp:
      (functionPrint):
      (functionDebug):
      (runInteractive):
      (fillBufferWithContentsOfFile):
      * pcre/pcre_exec.cpp:
      (Histogram::~Histogram):
      * profiler/CallIdentifier.h:
      (JSC::CallIdentifier::c_str):
      * profiler/Profile.cpp:
      (JSC::Profile::debugPrintDataSampleStyle):
      * profiler/ProfileGenerator.cpp:
      (JSC::ProfileGenerator::willExecute):
      (JSC::ProfileGenerator::didExecute):
      * profiler/ProfileNode.cpp:
      (JSC::ProfileNode::debugPrintData):
      (JSC::ProfileNode::debugPrintDataSampleStyle):
      * runtime/Arguments.cpp:
      (JSC::Arguments::getOwnPropertySlot):
      (JSC::Arguments::getOwnPropertyDescriptor):
      (JSC::Arguments::put):
      (JSC::Arguments::deleteProperty):
      * runtime/DateConversion.cpp:
      (JSC::parseDate):
      * runtime/Identifier.h:
      (JSC::Identifier::toStrictUInt32):
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertySlot):
      (JSC::JSArray::getOwnPropertyDescriptor):
      (JSC::JSArray::put):
      (JSC::JSArray::deleteProperty):
      * runtime/JSArray.h:
      (JSC::toArrayIndex):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::encode):
      (JSC::parseInt):
      (JSC::globalFuncJSCPrint):
      * runtime/JSString.h:
      (JSC::RopeBuilder::JSString):
      * runtime/UString.cpp:
      (JSC::UString::toDouble):
      (JSC::putUTF8Triple):
      (JSC::UString::utf8):
      * runtime/UString.h:
      (JSC::UString::~UString):
      (JSC::UString::isNull):
      (JSC::UString::isEmpty):
      (JSC::UString::impl):
      * wtf/text/WTFString.cpp:
      (WTF::String::utf8):
      * wtf/text/WTFString.h:
      (WTF::String::~String):
      (WTF::String::swap):
      (WTF::String::isNull):
      (WTF::String::isEmpty):
      (WTF::String::impl):
      (WTF::String::length):
      (WTF::String::String):
      (WTF::String::isHashTableDeletedValue):
      
      WebCore: 
      
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::getOwnPropertySlot):
      (WebCore::JSDOMWindow::getOwnPropertyDescriptor):
      * bridge/NP_jsobject.cpp:
      (_NPN_Enumerate):
      * bridge/c/c_utility.cpp:
      (JSC::Bindings::convertValueToNPVariant):
      * bridge/jni/JNIBridge.cpp:
      (JavaParameter::JavaParameter):
      (JavaMethod::JavaMethod):
      (JavaMethod::signature):
      (JavaMethod::methodID):
      * bridge/jni/JNIBridge.h:
      (JSC::Bindings::JavaString::utf8):
      (JSC::Bindings::JavaParameter::type):
      (JSC::Bindings::JavaMethod::returnType):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::call):
      (JavaJSObject::eval):
      (JavaJSObject::getMember):
      (JavaJSObject::setMember):
      (JavaJSObject::removeMember):
      (JavaJSObject::convertJObjectToValue):
      * bridge/jni/jsc/JNIBridgeJSC.cpp:
      (JavaField::JavaField):
      (JavaField::valueFromInstance):
      (JavaField::setValueToInstance):
      * bridge/jni/jsc/JNIBridgeJSC.h:
      (JSC::Bindings::JavaField::type):
      * bridge/jni/jsc/JavaInstanceJSC.cpp:
      (JavaInstance::invokeMethod):
      * bridge/jni/jsc/JavaStringJSC.h:
      (JSC::Bindings::JavaStringImpl::utf8):
      * bridge/runtime_array.cpp:
      (JSC::RuntimeArray::getOwnPropertySlot):
      (JSC::RuntimeArray::getOwnPropertyDescriptor):
      (JSC::RuntimeArray::put):
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::enumerate):
      
      WebKit/wx: 
      
      * WebFrame.cpp:
      (wxWebFrame::RunScript):
      
      WebKit2: 
      
      * WebProcess/Plugins/JSNPObject.cpp:
      (WebKit::npIdentifierFromIdentifier):
      * WebProcess/Plugins/NPJSObject.cpp:
      (WebKit::NPJSObject::enumerate):
      * WebProcess/Plugins/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d22274e7
    • jhoneycutt@apple.com's avatar
      WebKitTestRunner does not correctly resize WebView for W3C SVG tests · c8e427da
      jhoneycutt@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=43945
      
      Reviewed by Sam Weinig.
      
      * WebKitTestRunner/TestInvocation.cpp:
      (WTR::sizeWebViewForCurrentTest):
      Allow for a Windows-style path.
      
      * WebKitTestRunner/win/PlatformWebViewWin.cpp:
      (WTR::PlatformWebView::resizeTo):
      Call SetWindowPos to resize the view window.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8e427da
    • jhoneycutt@apple.com's avatar
      WebKit2 needs to initialize SafariTheme · 0519163b
      jhoneycutt@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=43901
      
      Reviewed by Sam Weinig.
      
      * WebProcess/win/WebProcessMainWin.cpp:
      (WebKit::initializeSafariTheme):
      Copied from old WebKit.
      (WebKit::WebProcessMain):
      If we're using SafariTheme, initialize it.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0519163b
    • mjs@apple.com's avatar
      2010-08-12 Maciej Stachowiak <mjs@apple.com> · cf163dc1
      mjs@apple.com authored
              Reviewed by Sam Weinig.
      
              WebKit2 crashes when WebFrame outlives WebPage
              https://bugs.webkit.org/show_bug.cgi?id=43939
      
              * WebProcess/WebCoreSupport/WebChromeClient.h:
              (WebKit::WebChromeClient::page): Add this method, to allow
              WebFrame to retrieve its WebPage following WebCore pointers.
              * WebProcess/WebPage/WebFrame.cpp:
              (WebKit::WebFrame::WebFrame): Do not initialize m_page (it's gone).
              (WebKit::WebFrame::page): Don't use the data member, get it from
              WebCore.
              (WebKit::WebFrame::invalidate): Use method to get page() and null check.
              (WebKit::WebFrame::isMainFrame): ditto
              * WebProcess/WebPage/WebFrame.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf163dc1
    • rniwa@webkit.org's avatar
      2010-08-12 Ryosuke Niwa <rniwa@webkit.org> · a60cb2e1
      rniwa@webkit.org authored
              Unreviewed, fixing the previous commit.
      
              Added PASS CRASH expectation for editing/pasteboard/smart-paste-004.html.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a60cb2e1
    • rniwa@webkit.org's avatar
      2010-08-12 Ryosuke Niwa <rniwa@webkit.org> · 717257eb
      rniwa@webkit.org authored
              Unreviewed.
      
              Added PASS CRASH expectation for editing/pasteboard/smart-paste-003.html and
              editing/pasteboard/smart-paste-004.html reported by japhet.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      717257eb
    • barraclough@apple.com's avatar
      Eeerk! - revert accidentally committed changes in UString! · a7233f1c
      barraclough@apple.com authored
      * JavaScriptCore.exp:
      * runtime/UString.cpp:
      (JSC::UString::UString):
      * runtime/UString.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7233f1c
    • barraclough@apple.com's avatar
      Speculative build fix for chromium bindings (someone added the old include style!). · 7990e38b
      barraclough@apple.com authored
      * bindings/v8/V8DOMWindowShell.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7990e38b
    • morrita@google.com's avatar
      2010-08-12 MORITA Hajime <morrita@google.com> · 4d5f5470
      morrita@google.com authored
              Reviewed by Tony Chang.
      
              [Refactoring] TextEvent class has to many flags
              https://bugs.webkit.org/show_bug.cgi?id=43893
      
              Turned TextEvent::m_isLineBreak, TextEvent::m_isBacktab, TextEvent::m_isPaste
              into single TextEvent::m_inputType enumeration.
      
              No functional change. No new tests.
      
              * dom/TextEvent.cpp:
              (WebCore::TextEvent::selectInputType):
              (WebCore::TextEvent::create):
              (WebCore::TextEvent::createForPlainTextPaste):
              (WebCore::TextEvent::createForFragmentPaste):
              (WebCore::TextEvent::TextEvent):
              * dom/TextEvent.h:
              (WebCore::TextEvent::):
              (WebCore::TextEvent::isLineBreak):
              (WebCore::TextEvent::isBackTab):
              (WebCore::TextEvent::isPaste):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::handleTextInputEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d5f5470
    • barraclough@apple.com's avatar
      Change UString constructors to match those in WTF::String. · f1dafcfd
      barraclough@apple.com authored
      This changes behaviour of UString((char*)0) to create null
      strings, akin to UString() rather than UString::empty().
      (This matches String).  Remove unused constructors from
      UString, and add null-terminated UTF-16 constructor, to
      match String.  Move String's constructor into the .cpp to
      match UString.
      
      Reviewed by Sam Weinig
      
      * JavaScriptCore.exp:
      * debugger/DebuggerCallFrame.cpp:
      (JSC::DebuggerCallFrame::calculatedFunctionName):
      * runtime/RegExpKey.h:
      (JSC::RegExpKey::RegExpKey):
      * runtime/SmallStrings.cpp:
      (JSC::SmallStrings::createSingleCharacterString):
      * runtime/UString.cpp:
      (JSC::UString::UString):
      * runtime/UString.h:
      (JSC::UString::UString):
      (JSC::UString::swap):
      (JSC::UString::adopt):
      (JSC::UString::operator[]):
      * wtf/text/WTFString.h:
      (WTF::String::String):
      (WTF::String::adopt):
      (WTF::String::operator[]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1dafcfd
    • kbr@google.com's avatar
      2010-08-12 Kenneth Russell <kbr@google.com> · 2d654f0f
      kbr@google.com authored
              Reviewed by David Levin.
      
              Delete obsolete CanvasNumberArray
              https://bugs.webkit.org/show_bug.cgi?id=38619
      
              Deleted unreferenced code. Built WebKit and Chromium to test.
      
              * Android.derived.jscbindings.mk:
              * Android.derived.v8bindings.mk:
              * Android.jscbindings.mk:
              * Android.mk:
              * bindings/js/JSCanvasNumberArrayCustom.cpp: Removed.
              * html/canvas/CanvasNumberArray.cpp: Removed.
              * html/canvas/CanvasNumberArray.h: Removed.
              * html/canvas/CanvasNumberArray.idl: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d654f0f
    • antonm@chromium.org's avatar
      2010-08-12 Anton Muhin <antonm@chromium.org> · 37c68c01
      antonm@chromium.org authored
              Reviewed by Nate Chapin.
      
              [v8] Create callbacks for named access of elements from document object on fly.
              https://bugs.webkit.org/show_bug.cgi?id=43725
      
              That should speed up access to methods on document as there is no need to
              consult with interceptor before invoking the method.
      
              This reapplies http://trac.webkit.org/changeset/60670 reverted with
              http://trac.webkit.org/changeset/63845.  The main difference is in treatment
              of removed named elements: we don't remove an accessor any more, but leave it.
              Therefore any accessor should be able to treat the case when there is no
              expando property.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::namedItemAdded):
              (WebCore::ScriptController::namedItemRemoved):
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::checkDocumentWrapper):
              (WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
              (WebCore::getter):
              (WebCore::V8DOMWindowShell::namedItemAdded):
              (WebCore::V8DOMWindowShell::namedItemRemoved):
              * bindings/v8/V8DOMWindowShell.h:
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::instantiateV8Object):
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              (WebCore::V8HTMLDocument::WrapInShadowObject):
              (WebCore::V8HTMLDocument::GetNamedProperty):
              (WebCore::V8HTMLDocument::allAccessorSetter):
              (WebCore::toV8):
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::removeItemFromMap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37c68c01
    • tony@chromium.org's avatar
      2010-08-12 Tony Chang <tony@chromium.org> · 0445dbdc
      tony@chromium.org authored
              Unreviewed, landing google-chrome linux 64 test results.
      
              * platform/google-chrome-linux64/fast/borders/borderRadiusGroove01-expected.checksum: Added.
              * platform/google-chrome-linux64/fast/borders/borderRadiusGroove01-expected.png: Added.
              * platform/google-chrome-linux64/fast/borders/borderRadiusGroove02-expected.checksum: Added.
              * platform/google-chrome-linux64/fast/borders/borderRadiusGroove02-expected.png: Added.
              * platform/google-chrome-linux64/fast/borders/borderRadiusRidge01-expected.checksum: Added.
              * platform/google-chrome-linux64/fast/borders/borderRadiusRidge01-expected.png: Added.
              * platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.checksum: Added.
              * platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.png: Added.
              * platform/google-chrome-linux64/svg/W3C-SVG-1.1/paths-data-12-t-expected.txt: Added.
              * platform/google-chrome-linux64/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.checksum: Added.
              * platform/google-chrome-linux64/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png: Added.
              * platform/google-chrome-linux64/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.checksum: Added.
              * platform/google-chrome-linux64/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png: Added.
              * platform/google-chrome-linux64/svg/hixie/perf/001-expected.txt: Added.
              * platform/google-chrome-linux64/svg/hixie/perf/002-expected.txt: Added.
              * platform/google-chrome-linux64/svg/zoom/page/zoom-coords-viewattr-01-b-expected.checksum: Added.
              * platform/google-chrome-linux64/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0445dbdc
    • dglazkov@chromium.org's avatar
      2010-08-12 Dimitri Glazkov <dglazkov@chromium.org> · 8581dfee
      dglazkov@chromium.org authored
              Reviewed by David Levin.
      
              Add more Chromium-related dependency directories to .gitignore.
              https://bugs.webkit.org/show_bug.cgi?id=43940
      
              * .gitignore: Added all existing that are created by update-webkit --chromium.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8581dfee
    • dglazkov@chromium.org's avatar
      2010-08-12 Dimitri Glazkov <dglazkov@chromium.org> · f811b72e
      dglazkov@chromium.org authored
              Reviewed by Adam Barth.
      
              Ensure that parser doesn't attach children that have been removed by JavaScript event handlers.
              https://bugs.webkit.org/show_bug.cgi?id=43813
      
              This patch re-fixes bug 40742 in a way that keeps allowing HTMLLinkElement
              to lazy-attach.
      
              * html/HTMLConstructionSite.cpp:
              (WebCore::HTMLConstructionSite::attach): Added parent check.
              * html/HTMLLinkElement.cpp: Basically undoes changes introduced by r61424.
              * html/HTMLLinkElement.h: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f811b72e
    • jschuh@chromium.org's avatar
      2010-08-12 Justin Schuh <jschuh@chromium.org> · 2229da06
      jschuh@chromium.org authored
              Reviewed by Dumitru Daniliuc.
      
              Clear PluginData's page pointer on page refresh
              https://bugs.webkit.org/show_bug.cgi?id=43888
      
              Test: plugins/access-after-page-destroyed.html
      
              * page/Page.cpp:
              (WebCore::Page::refreshPlugins):
      2010-08-12  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Dumitru Daniliuc.
      
              Clear PluginData's page pointer on page refresh
              https://bugs.webkit.org/show_bug.cgi?id=43888
      
              * plugins/access-after-page-destroyed.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2229da06
    • zmo@google.com's avatar
      2010-08-12 Zhenyao Mo <zmo@google.com> · 51cb1660
      zmo@google.com authored
              Reviewed by Dimitri Glazkov.
      
              getParameter(STENCIL_VALUE_MASK) (and others) returns the wrong value
              https://bugs.webkit.org/show_bug.cgi?id=31842
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getUnsignedLongParameter): Casting from int to unsigned long correctly.
      2010-08-12  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              getParameter(STENCIL_VALUE_MASK) (and others) returns the wrong value
              https://bugs.webkit.org/show_bug.cgi?id=31842
      
              * fast/canvas/webgl/gl-get-calls-expected.txt: Bring back the commented out STENCIL tests.
              * fast/canvas/webgl/gl-get-calls.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51cb1660
    • pfeldman@chromium.org's avatar
      2010-08-12 Pavel Feldman <pfeldman@chromium.org> · aefc84e8
      pfeldman@chromium.org authored
              Reviewed by Joseph Pecoraro.
      
              Web Inspector: mimic FireBug's array detection.
              https://bugs.webkit.org/show_bug.cgi?id=30974
      
              * inspector/front-end/InjectedScript.js:
              (injectedScriptConstructor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aefc84e8
    • zmo@google.com's avatar
      2010-08-12 Zhenyao Mo <zmo@google.com> · f80ed605
      zmo@google.com authored
              Reviewed by Dimitri Glazkov.
      
              regression in generateMipmap
              https://bugs.webkit.org/show_bug.cgi?id=43873
      
              * html/canvas/WebGLTexture.cpp:
              (WebCore::WebGLTexture::generateMipmapLevelInfo): should set m_needToUseBlackTexture to false if generateMipmapLevelInfo runs through successfully.
      2010-08-12  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              regression in generateMipmap
              https://bugs.webkit.org/show_bug.cgi?id=43873
      
              * fast/canvas/webgl/texture-npot-expected.txt: Add more test cases on NPOT/POT texture behaviors.
              * fast/canvas/webgl/texture-npot.html: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f80ed605
    • ariya@webkit.org's avatar
      2010-08-12 Ariya Hidayat <ariya@sencha.com> · e2cf8c8a
      ariya@webkit.org authored
              Reviewed by David Hyatt.
      
              [Qt] Split TransparencyLayer into its own header file.
              https://bugs.webkit.org/show_bug.cgi?id=43935
      
              * WebCore.pro: Include TransparencyLayer.h.
              * platform/graphics/qt/GraphicsContextQt.cpp:
              * platform/graphics/qt/TransparencyLayer.h: Added.
              (WebCore::TransparencyLayer::TransparencyLayer):
              (WebCore::TransparencyLayer::operator=):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2cf8c8a
    • commit-queue@webkit.org's avatar
      2010-08-12 François Sausset <sausset@gmail.com> · eebc35ce
      commit-queue@webkit.org authored
              Reviewed by Beth Dakin.
      
              Update the tests to take into account padding changes for the mrow element.
              https://bugs.webkit.org/show_bug.cgi?id=43908
      
              * platform/mac/mathml/presentation/fractions-expected.checksum:
              * platform/mac/mathml/presentation/fractions-expected.png:
              * platform/mac/mathml/presentation/fractions-expected.txt:
              * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.checksum:
              * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.png:
              * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
              * platform/mac/mathml/presentation/roots-expected.checksum:
              * platform/mac/mathml/presentation/roots-expected.png:
              * platform/mac/mathml/presentation/roots-expected.txt:
              * platform/mac/mathml/presentation/row-alignment-expected.checksum:
              * platform/mac/mathml/presentation/row-alignment-expected.png:
              * platform/mac/mathml/presentation/row-alignment-expected.txt:
              * platform/mac/mathml/presentation/row-expected.checksum:
              * platform/mac/mathml/presentation/row-expected.png:
              * platform/mac/mathml/presentation/row-expected.txt:
              * platform/mac/mathml/presentation/subsup-expected.checksum:
              * platform/mac/mathml/presentation/subsup-expected.png:
              * platform/mac/mathml/presentation/subsup-expected.txt:
              * platform/mac/mathml/presentation/underover-expected.checksum:
              * platform/mac/mathml/presentation/underover-expected.png:
              * platform/mac/mathml/presentation/underover-expected.txt:
      2010-08-12  François Sausset  <sausset@gmail.com>
      
              Reviewed by Beth Dakin.
      
              Horizontal padding should be 0 on mrow elements.
              https://bugs.webkit.org/show_bug.cgi?id=43908
      
              Updated tests in /mathml
      
              * css/mathml.css:
              (mrow, mfenced):
              (mfenced):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eebc35ce
    • levin@chromium.org's avatar
      Build break fix. · ab409c8e
      levin@chromium.org authored
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::resetStateToConsistentValues): Removed usage
      of a variable that doesn't exist in the class.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab409c8e
    • aa@chromium.org's avatar
      2010-08-12 Aaron Boodman <aa@chromium.org> · c150aba7
      aa@chromium.org authored
              Reviewed by David Hyatt.
      
              Make the cascade level of "user" styles configurable
              https://bugs.webkit.org/show_bug.cgi?id=43457
      
              * WebCore.exp.in:
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              * dom/Document.cpp:
              (WebCore::Document::pageGroupUserSheets):
              * page/PageGroup.cpp:
              (WebCore::PageGroup::addUserStyleSheetToWorld):
              * page/PageGroup.h:
              * page/UserStyleSheet.h:
              (WebCore::UserStyleSheet::):
              (WebCore::UserStyleSheet::UserStyleSheet):
              (WebCore::UserStyleSheet::level):
      2010-08-12  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by David Hyatt.
      
              Make the cascade level of "user" styles configurable
              https://bugs.webkit.org/show_bug.cgi?id=43457
      
              * src/WebViewImpl.cpp:
              (WebKit::WebView::addUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c150aba7
    • jianli@chromium.org's avatar
      Fix qt build break. · d2525bb7
      jianli@chromium.org authored
      * html/ThreadableBlobRegistry.cpp:
      (WebCore::postTaskToMainThread):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2525bb7
    • jianli@chromium.org's avatar
      Add ThreadableBlobRegistry to support calling BlobRegistry methods in · ab8d91a8
      jianli@chromium.org authored
      main thread.
      https://bugs.webkit.org/show_bug.cgi?id=43874
      
      Reviewed by David Levin.
      
      * Android.mk:
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::addBlob):
      (WebCore::ScriptExecutionContext::removeBlob):
      (WebCore::ScriptExecutionContext::createPublicBlobURL):
      (WebCore::ScriptExecutionContext::revokePublicBlobURL):
      * dom/ScriptExecutionContext.h:
      * html/Blob.cpp:
      (WebCore::Blob::Blob):
      (WebCore::Blob::~Blob):
      (WebCore::Blob::contextDestroyed):
      * html/Blob.h:
      * html/BlobRegistryImpl.cpp:
      (WebCore::BlobRegistryImpl::registerBlobURL):
      (WebCore::BlobRegistryImpl::unregisterBlobURL):
      (WebCore::BlobRegistryImpl::getBlobDataFromURL):
      * html/ThreadableBlobRegistry.cpp: Added.
      * html/ThreadableBlobRegistry.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab8d91a8