1. 28 Sep, 2009 30 commits
    • ggaren@apple.com's avatar
      NotNullPassRefPtr: smart pointer optimized for passing references that are not null · 6740e6f2
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29822
              
      Patch by Geoffrey Garen <ggaren@apple.com> on 2009-09-28
      Reviewed by Darin Adler.
      
      JavaScriptCore: 
      
      Added NotNullPassRefPtr, and deployed it in all places that initialize
      JavaScript objects.
              
      2.2% speedup on bench-allocate-nonretained.js.
      
      * API/JSCallbackConstructor.cpp:
      (JSC::JSCallbackConstructor::JSCallbackConstructor):
      * API/JSCallbackConstructor.h:
      * API/JSCallbackObject.h:
      * API/JSCallbackObjectFunctions.h:
      (JSC::JSCallbackObject::JSCallbackObject):
      * JavaScriptCore.exp:
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::addFunctionDecl):
      (JSC::CodeBlock::addFunctionExpr):
      * runtime/ArrayConstructor.cpp:
      (JSC::ArrayConstructor::ArrayConstructor):
      * runtime/ArrayConstructor.h:
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::ArrayPrototype):
      * runtime/ArrayPrototype.h:
      * runtime/BooleanConstructor.cpp:
      (JSC::BooleanConstructor::BooleanConstructor):
      * runtime/BooleanConstructor.h:
      * runtime/BooleanObject.cpp:
      (JSC::BooleanObject::BooleanObject):
      * runtime/BooleanObject.h:
      * runtime/BooleanPrototype.cpp:
      (JSC::BooleanPrototype::BooleanPrototype):
      * runtime/BooleanPrototype.h:
      * runtime/DateConstructor.cpp:
      (JSC::DateConstructor::DateConstructor):
      * runtime/DateConstructor.h:
      * runtime/DateInstance.cpp:
      (JSC::DateInstance::DateInstance):
      * runtime/DateInstance.h:
      * runtime/DatePrototype.cpp:
      (JSC::DatePrototype::DatePrototype):
      * runtime/DatePrototype.h:
      * runtime/ErrorConstructor.cpp:
      (JSC::ErrorConstructor::ErrorConstructor):
      * runtime/ErrorConstructor.h:
      * runtime/ErrorInstance.cpp:
      (JSC::ErrorInstance::ErrorInstance):
      * runtime/ErrorInstance.h:
      * runtime/ErrorPrototype.cpp:
      (JSC::ErrorPrototype::ErrorPrototype):
      * runtime/ErrorPrototype.h:
      * runtime/FunctionConstructor.cpp:
      (JSC::FunctionConstructor::FunctionConstructor):
      * runtime/FunctionConstructor.h:
      * runtime/FunctionPrototype.cpp:
      (JSC::FunctionPrototype::FunctionPrototype):
      * runtime/FunctionPrototype.h:
      * runtime/GlobalEvalFunction.cpp:
      (JSC::GlobalEvalFunction::GlobalEvalFunction):
      * runtime/GlobalEvalFunction.h:
      * runtime/InternalFunction.cpp:
      (JSC::InternalFunction::InternalFunction):
      * runtime/InternalFunction.h:
      (JSC::InternalFunction::InternalFunction):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::JSActivation):
      * runtime/JSActivation.h:
      (JSC::JSActivation::JSActivationData::JSActivationData):
      * runtime/JSArray.cpp:
      (JSC::JSArray::JSArray):
      * runtime/JSArray.h:
      * runtime/JSByteArray.cpp:
      (JSC::JSByteArray::JSByteArray):
      * runtime/JSByteArray.h:
      * runtime/JSFunction.cpp:
      (JSC::JSFunction::JSFunction):
      * runtime/JSFunction.h:
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::JSGlobalObject):
      * runtime/JSONObject.h:
      (JSC::JSONObject::JSONObject):
      * runtime/JSObject.h:
      (JSC::JSObject::JSObject):
      (JSC::JSObject::setStructure):
      * runtime/JSVariableObject.h:
      (JSC::JSVariableObject::JSVariableObject):
      * runtime/JSWrapperObject.h:
      (JSC::JSWrapperObject::JSWrapperObject):
      * runtime/MathObject.cpp:
      (JSC::MathObject::MathObject):
      * runtime/MathObject.h:
      * runtime/NativeErrorConstructor.cpp:
      (JSC::NativeErrorConstructor::NativeErrorConstructor):
      * runtime/NativeErrorConstructor.h:
      * runtime/NativeErrorPrototype.cpp:
      (JSC::NativeErrorPrototype::NativeErrorPrototype):
      * runtime/NativeErrorPrototype.h:
      * runtime/NumberConstructor.cpp:
      (JSC::NumberConstructor::NumberConstructor):
      * runtime/NumberConstructor.h:
      * runtime/NumberObject.cpp:
      (JSC::NumberObject::NumberObject):
      * runtime/NumberObject.h:
      * runtime/NumberPrototype.cpp:
      (JSC::NumberPrototype::NumberPrototype):
      * runtime/NumberPrototype.h:
      * runtime/ObjectConstructor.cpp:
      (JSC::ObjectConstructor::ObjectConstructor):
      * runtime/ObjectConstructor.h:
      * runtime/ObjectPrototype.cpp:
      (JSC::ObjectPrototype::ObjectPrototype):
      * runtime/ObjectPrototype.h:
      * runtime/PropertyNameArray.h:
      (JSC::PropertyNameArrayData::setCachedPrototypeChain):
      * runtime/PrototypeFunction.cpp:
      (JSC::PrototypeFunction::PrototypeFunction):
      * runtime/PrototypeFunction.h:
      * runtime/RegExpConstructor.cpp:
      (JSC::RegExpConstructor::RegExpConstructor):
      * runtime/RegExpConstructor.h:
      * runtime/RegExpObject.cpp:
      (JSC::RegExpObject::RegExpObject):
      * runtime/RegExpObject.h:
      (JSC::RegExpObject::RegExpObjectData::RegExpObjectData):
      * runtime/RegExpPrototype.cpp:
      (JSC::RegExpPrototype::RegExpPrototype):
      * runtime/RegExpPrototype.h:
      * runtime/StringConstructor.cpp:
      (JSC::StringConstructor::StringConstructor):
      * runtime/StringConstructor.h:
      * runtime/StringObject.cpp:
      (JSC::StringObject::StringObject):
      * runtime/StringObject.h:
      * runtime/StringObjectThatMasqueradesAsUndefined.h:
      (JSC::StringObjectThatMasqueradesAsUndefined::StringObjectThatMasqueradesAsUndefined):
      * runtime/StringPrototype.cpp:
      (JSC::StringPrototype::StringPrototype):
      * runtime/StringPrototype.h:
      * wtf/PassRefPtr.h:
      (WTF::NotNullPassRefPtr::NotNullPassRefPtr):
      (WTF::NotNullPassRefPtr::~NotNullPassRefPtr):
      (WTF::NotNullPassRefPtr::get):
      (WTF::NotNullPassRefPtr::clear):
      (WTF::NotNullPassRefPtr::releaseRef):
      (WTF::NotNullPassRefPtr::operator*):
      (WTF::NotNullPassRefPtr::operator->):
      (WTF::NotNullPassRefPtr::operator!):
      (WTF::NotNullPassRefPtr::operator UnspecifiedBoolType):
      * wtf/RefPtr.h:
      (WTF::RefPtr::RefPtr):
      (WTF::operator==):
      
      WebCore: 
      
      Added NotNullPassRefPtr, and deployed it in all places that initialize
      JavaScript objects.
      
      * bindings/js/DOMObjectWithSVGContext.h:
      (WebCore::DOMObjectWithSVGContext::DOMObjectWithSVGContext):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMBinding.h:
      (WebCore::DOMObject::DOMObject):
      (WebCore::DOMObjectWithGlobalPointer::DOMObjectWithGlobalPointer):
      (WebCore::DOMConstructorObject::DOMConstructorObject):
      (WebCore::DOMConstructorWithDocument::DOMConstructorWithDocument):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::JSDOMGlobalObject):
      * bindings/js/JSDOMGlobalObject.h:
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::JSDOMWindowBase):
      * bindings/js/JSDOMWindowBase.h:
      * bindings/js/JSHTMLAllCollection.h:
      (WebCore::JSHTMLAllCollection::JSHTMLAllCollection):
      * bindings/js/JSInspectedObjectWrapper.cpp:
      (WebCore::JSInspectedObjectWrapper::JSInspectedObjectWrapper):
      * bindings/js/JSInspectedObjectWrapper.h:
      * bindings/js/JSInspectorCallbackWrapper.cpp:
      (WebCore::JSInspectorCallbackWrapper::JSInspectorCallbackWrapper):
      * bindings/js/JSInspectorCallbackWrapper.h:
      * bindings/js/JSQuarantinedObjectWrapper.cpp:
      (WebCore::JSQuarantinedObjectWrapper::JSQuarantinedObjectWrapper):
      * bindings/js/JSQuarantinedObjectWrapper.h:
      * bindings/js/JSWorkerContextBase.cpp:
      (WebCore::JSWorkerContextBase::JSWorkerContextBase):
      * bindings/js/JSWorkerContextBase.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      * bridge/runtime_object.cpp:
      (JSC::RuntimeObjectImp::RuntimeObjectImp):
      * bridge/runtime_object.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6740e6f2
    • eric@webkit.org's avatar
      2009-09-28 Jakub Wieczorek <faw217@gmail.com> · 4a711bcb
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Add the expected result for the fast/xsl/document-function test.
              https://bugs.webkit.org/show_bug.cgi?id=29817
      
              * platform/qt/fast/xsl/document-function-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48835 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a711bcb
    • eric@webkit.org's avatar
      2009-09-28 Nate Chapin <japhet@chromium.org> · 47d0673b
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Allow V8 to handle x/y parameters in a WebKitPoint constructor.
              https://bugs.webkit.org/show_bug.cgi?id=29823
      
              Fixes V8's handling of LayoutTests/fast/dom/Window/webkitConvertPoint.html
      
              * bindings/v8/custom/V8WebKitPointConstructor.cpp: Allow for x/y parameters in constructor.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47d0673b
    • eric@webkit.org's avatar
      2009-09-25 Eric Seidel <eric@webkit.org> · 5430fc37
      eric@webkit.org authored
              Reviewed by Simon Fraser.
      
              REGRESSION: media/video-pause-empty-events.html is occasionally timing out on bots
              https://bugs.webkit.org/show_bug.cgi?id=28624
      
              No longer skip media tests now that we're disabling hardware compositing instead.
              Add leopard-specific results for 2 tests expected to fail with HW compositing disabled.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-leopard/fast/media/mq-transform-02-expected.checksum: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-02-expected.checksum.
              * platform/mac-leopard/fast/media/mq-transform-02-expected.png: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-02-expected.png.
              * platform/mac-leopard/fast/media/mq-transform-02-expected.txt: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-02-expected.txt.
              * platform/mac-leopard/fast/media/mq-transform-03-expected.checksum: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-03-expected.checksum.
              * platform/mac-leopard/fast/media/mq-transform-03-expected.png: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-03-expected.png.
              * platform/mac-leopard/fast/media/mq-transform-03-expected.txt: Copied from LayoutTests/platform/mac-tiger/fast/media/mq-transform-03-expected.txt.
      2009-09-27  Jakub Wieczorek  <faw217@gmail.com>
      
              Reviewed by Darin Adler.
      
              run-webkit-tests: Do not strip the metrics when there is no expected result for a test.
              https://bugs.webkit.org/show_bug.cgi?id=29771
      
              * Scripts/run-webkit-tests:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5430fc37
    • mrowe@apple.com's avatar
      Fix the build by doing something approximating reasonableness in the Xcode project. · a4827ef8
      mrowe@apple.com authored
      * WebCore.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4827ef8
    • mitz@apple.com's avatar
      <rdar://problem/7240911> REGRESSION (r48586): Crash occurs when loading · 81213daa
      mitz@apple.com authored
      a PDF
      
      Reviewed by Anders Carlsson.
      
      CGPDFObjectRef is not a CFTypeRef, and cannot be retained or released.
      Its lifetime is managed by its container. Just use a Vector to store
      CGPDFObjectRefs, relying on the CGPDFDocument to keep them alive.
      
      * WebView/WebPDFDocumentExtras.mm:
      (appendValuesInPDFNameSubtreeToVector):
      (getAllValuesInPDFNameTree):
      (web_PDFDocumentAllScripts):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81213daa
    • oliver@apple.com's avatar
      Hard dependency on SSE2 instruction set with JIT · 8e5ea206
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29779
      
      Reviewed by Geoff Garen
      
      Add floating point support checks to op_jfalse and op_jtrue, and
      fix the logic for the slow case of op_add
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e5ea206
    • hausmann@webkit.org's avatar
      Prospective Tiger build fix. · bd0151f3
      hausmann@webkit.org authored
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-09-28
      * WebCore.xcodeproj/project.pbxproj: Try to use unique IDs for the new files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd0151f3
    • pfeldman@chromium.org's avatar
      2009-09-28 Pavel Feldman <pfeldman@chromium.org> · 7459fedb
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Add explicit frontend event for commit load.
      
              https://bugs.webkit.org/show_bug.cgi?id=29814
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::didCommitLoad):
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::didCommitLoad):
              * inspector/InspectorFrontend.h:
              * inspector/front-end/DOMAgent.js:
              (WebInspector.DOMAgent.prototype._setDocument):
              * inspector/front-end/inspector.js:
              (WebInspector.addResource):
              (WebInspector.didCommitLoad):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7459fedb
    • eric@webkit.org's avatar
      2009-09-28 Yaar Schnitman <yaar@chromium.org> · 6fe9ead1
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Chromium port - recognize we are being built independently
              of chromium and look for dependencies under webkit/chromium rather
              than chromium/src.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * JavaScriptCore.gyp/JavaScriptCore.gyp:
      2009-09-28  Yaar Schnitman  <yaar@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Chromium port - recognize we are being built independently
              of chromium and look for dependencies under webkit/chromium rather
              than chromium/src.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * WebCore.gyp/WebCore.gyp: See above. Also removed a few files from
                the sources list, since they are not supposed to be built here.
      2009-09-28  Yaar Schnitman  <yaar@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              https://bugs.webkit.org/show_bug.cgi?id=29722
      
              * chromium/DEPS: Describes the chromium port's dependencies and
                is used by gclient to fetch them.
              * chromium/webkit.gyp: Currently only builds webcore but in
                the future will also build the webkit api.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fe9ead1
    • hausmann@webkit.org's avatar
      [Qt] Implement XSLT support with QtXmlPatterns. · 06b7e555
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28303
      
      Patch by Jakub Wieczorek <faw217@gmail.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      JavaScriptCore:
      
      * wtf/Platform.h: Add a WTF_USE_QXMLQUERY #define.
      
      WebCore:
      
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCoreSources.bkl:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::~Document):
      (WebCore::Document::setTransformSource):
      * dom/Document.h:
      (WebCore::Document::transformSource):
      * dom/TransformSource.h: Added.
      (WebCore::TransformSource::platformSource):
      * dom/TransformSourceLibxslt.cpp: Added.
      (WebCore::TransformSource::TransformSource): Wraps a libxml2 document.
      (WebCore::TransformSource::~TransformSource):
      * dom/TransformSourceQt.cpp: Added.
      (WebCore::TransformSource::TransformSource): Wraps a plain string.
      (WebCore::TransformSource::~TransformSource):
      * dom/XMLTokenizerLibxml2.cpp:
      (WebCore::XMLTokenizer::doEnd):
      * dom/XMLTokenizerQt.cpp:
      (WebCore::XMLTokenizer::doEnd):
      (WebCore::XMLTokenizer::parseProcessingInstruction):
      * xml/XSLStyleSheet.h:
      (WebCore::XSLStyleSheet::sheetString):
      * xml/XSLStyleSheetLibxslt.cpp:
      (WebCore::XSLStyleSheet::document):
      * xml/XSLStyleSheetQt.cpp: Added.
      * xml/XSLTProcessor.h:
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xmlDocPtrFromNode):
      * xml/XSLTProcessorQt.cpp: Added.
      (WebCore::XSLTMessageHandler::XSLTMessageHandler): A subclass of QAbstractMessageHandler.
      (WebCore::XSLTMessageHandler::handleMessage): Forwards all processor messages to the Console.
      (WebCore::XSLTProcessor::transformToString): Uses QXmlQuery.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06b7e555
    • eric@webkit.org's avatar
      2009-09-28 Yongjun Zhang <yongjun.zhang@nokia.com> · f1a58635
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              https://bugs.webkit.org/show_bug.cgi?id=28054
      
              Use derefInNotNull() to work around winscw compiler forward declaration bug
              regarding templated classes.
      
              The compiler bug is reported at
              https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812.
      
              The change should be reverted when the above bug is fixed in winscw compiler.
      
              Add parenthesis around (RefPtr::*UnspecifiedBoolType) to make winscw compiler
              work with the default UnSpecifiedBoolType() operator, which removes the winscw hack.
      
              * wtf/RefPtr.h:
              (WTF::RefPtr::~RefPtr):
              (WTF::RefPtr::clear):
              (WTF::RefPtr::operator UnspecifiedBoolType):
      2009-09-28  Yongjun Zhang  <yongjun.zhang@nokia.com>
      
              Reviewed by Eric Seidel.
      
              Make JObjectWrapper::ref() and deref() public accessible to derefIfNull().
      
              Will be reverted when the following winscw compiler bug is fixed.
              https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812
      
              * bridge/jni/jni_instance.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1a58635
    • hausmann@webkit.org's avatar
      Remove __clear_cache which is an internal function of GCC · ce6c608e
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28886
      
      Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      Although __clear_cache is exported from GCC, this is an internal
      function. GCC makes no promises about it.
      
      * jit/ExecutableAllocator.h:
      (JSC::ExecutableAllocator::cacheFlush):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce6c608e
    • eric@webkit.org's avatar
      2009-09-28 Shinichiro Hamaji <hamaji@chromium.org> · 59443ae6
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Move message-port-multi.js from resources to script-tests
              https://bugs.webkit.org/show_bug.cgi?id=29798
      
              * fast/events/message-port-multi-expected.txt:
              * fast/events/message-port-multi.html:
              * fast/events/resources/message-port-multi.js: Removed.
              * fast/events/script-tests/message-port-multi.js: Added.
              (channel.port2.onmessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59443ae6
    • eric@webkit.org's avatar
      2009-09-28 Andrew Scherkus <scherkus@chromium.org> · 65ab9de1
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              Delegate implementation of rendererIsNeeded() for media control elements to RenderTheme.
      
              https://bugs.webkit.org/show_bug.cgi?id=28689
      
              Covered by LayoutTests/media/video-no-audio.html
      
              * rendering/MediaControlElements.cpp: Removed subclass implementations of rendererIsNeeded().
              (WebCore::MediaControlElement::rendererIsNeeded): Include calling shouldRenderMediaControlPart().
              (WebCore::MediaControlInputElement::rendererIsNeeded): Include calling shouldRenderMediaControlPart().
              * rendering/MediaControlElements.h:
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::shouldRenderMediaControlPart): New method.  Contains logic moved from subclass implementations of rendererIsNeeded().
              * rendering/RenderTheme.h:
              * rendering/RenderThemeChromiumSkia.cpp:
              (WebCore::RenderThemeChromiumSkia::shouldRenderMediaControlPart): Override to always render mute button.
              * rendering/RenderThemeChromiumSkia.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65ab9de1
    • jianli@chromium.org's avatar
      [chromium] DragData::asURL should return file URL. · 08568b5a
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=29109
      
      Reviewed by David Levin.
      
      Tested by LayoutTests/fast/events/drag-to-navigate.html.
      
      * platform/FileSystem.h:
      * platform/chromium/ChromiumBridge.h:
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::asURL):
      * platform/chromium/FileSystemChromium.cpp:
      (WebCore::getAbsolutePath):
      (WebCore::isDirectory):
      (WebCore::filePathToURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08568b5a
    • dglazkov@chromium.org's avatar
      2009-09-28 Dimitri Glazkov <dglazkov@chromium.org> · dbc15cc1
      dglazkov@chromium.org authored
              Reviewed by David Levin.
      
              [V8] Add a special case to handle index arguments, because we need to be
              able to see if they're < 0.
              https://bugs.webkit.org/show_bug.cgi?id=29810
      
              Test: LayoutTests/dom/html/level1/core/hc_characterdataindexsizeerrdeletedatacountnegative.html
      
              * bindings/scripts/CodeGeneratorV8.pm: Added special case (matching CodeGeneratorJS.pm)
                for index arguments.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbc15cc1
    • weinig@apple.com's avatar
      Fix an absolute path to somewhere in Oliver's machine to a relative path · 635d20da
      weinig@apple.com authored
      for derived JSONObject.lut.h.
      
      Reviewed by Oliver Hunt.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      635d20da
    • mitz@apple.com's avatar
      Extend the MediaWiki/KHTMLFixes.css workaround to cover older MediaWiki versions · 9545758d
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=29792
      
      Reviewed by Darin Adler.
      
      * html/HTMLLinkElement.cpp:
      (WebCore::HTMLLinkElement::setCSSStyleSheet): If site specific hacks are
      enabled, check if the linked style sheet is one of two versions of the
      MediaWiki KHTMLFixes.css. If so, remove the offending rule.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9545758d
    • dglazkov@chromium.org's avatar
      2009-09-28 Dimitri Glazkov <dglazkov@chromium.org> · 20b9693e
      dglazkov@chromium.org authored
              Reviewed by Adam Barth.
      
              [V8] Fix an error in type logic in CodeGeneratorV8.pm, where
              unsigned ints are accidentally used as signed.
              https://bugs.webkit.org/show_bug.cgi?id=29810
      
              Test: LayoutTests/fast/forms/textarea-maxlength.html
      
              * bindings/scripts/CodeGeneratorV8.pm: Made sure "unsigned long" in IDL is
                properly generates on "unsigned" return value.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20b9693e
    • simon.fraser@apple.com's avatar
      2009-09-25 Simon Fraser <simon.fraser@apple.com> · dcacba1e
      simon.fraser@apple.com authored
              Reviewed by Darin Adler.
      
              ASSERTION FAILED: !repaintContainer || repaintContainer == this
              https://bugs.webkit.org/show_bug.cgi?id=29755
      
              It's possible for RenderObject::container() to return an object that is higher
              in the hierarchy than the repaintContainer that is being used to repaint an
              object. For example, this can happen when running an accelerated opacity
              transition on an element with a position:absolute parent, and a position:absolute child.
      
              In this case we need to detect when RenderObject::container() will skip over
              repaintContainer, and in that case adjust the coords to shift into repaintContainer's space.
      
              Test: compositing/repaint/opacity-between-absolute.html
      
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::mapLocalToContainer):
              (WebCore::RenderBox::computeRectForRepaint):
              * rendering/RenderInline.cpp:
              (WebCore::RenderInline::computeRectForRepaint):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::container):
              * rendering/RenderObject.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcacba1e
    • hausmann@webkit.org's avatar
      Rename XSLStyleSheet.cpp to XSLStyleSheetLibxslt.cpp. · 4d535766
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28303
      
      Patch by Jakub Wieczorek <faw217@gmail.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      In preparation for adding XSLT support with QtXmlPatterns to the Qt
      port, rename XSLStyleSheet.cpp to XSLStyleSheetLibxslt.cpp as we will
      have our own implementation which most likely will not share any code
      with the current one.
      
      Additionally, fix some coding style issues.
      
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * WebCoreSources.bkl:
      * xml/XSLStyleSheet.cpp: Renamed to XSLStyleSheetLibxslt.cpp.
      * xml/XSLStyleSheetLibxslt.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d535766
    • hausmann@webkit.org's avatar
      Prospective build fix for r48812. · af34fe77
      hausmann@webkit.org authored
      Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2009-09-28
      Forgot to remove the inline reset() implementation when reverting the indentation
      changes in the file.
      
      * xml/XSLTProcessor.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af34fe77
    • pfeldman@chromium.org's avatar
      2009-09-28 Pavel Feldman <pfeldman@chromium.org> · 68ec544c
      pfeldman@chromium.org authored
              Reviewed by nobody (trivial follow up fix), Joseph Pecoraro LGTM-ed.
      
              Web Inspector: Follow up to r48809.
              InspectorController.wrapObject should only be called on the inspectable page side.
      
              https://bugs.webkit.org/show_bug.cgi?id=17429
      
              * inspector/front-end/EventListenersSidebarPane.js:
              (WebInspector.EventListenersSidebarPane.prototype.update.callback):
              (WebInspector.EventListenersSidebarPane.prototype.update):
              (WebInspector.EventListenersSection):
              (WebInspector.EventListenersSection.prototype.update):
              (WebInspector.EventListenerBar):
              (WebInspector.EventListenerBar.prototype.update):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68ec544c
    • hausmann@webkit.org's avatar
      Move the libxslt specific part of XSLTProcessor to a separate file. · 34a3f963
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=28303
      
      Patch by Jakub Wieczorek <faw217@gmail.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      In preparation for adding XSLT support with QtXmlPatterns to the Qt
      port, move the libxslt part of the XSLTProcessor implementation into
      another file and leave the part that can be reused and shared.
      
      Additionally, fix some coding style issues.
      
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * WebCoreSources.bkl:
      * xml/XSLTProcessor.cpp:
      (WebCore::XSLTProcessor::createDocumentFromSource): Remove trailing whitespaces.
      (WebCore::createFragmentFromSource): Remove trailing whitespaces.
      (WebCore::XSLTProcessor::transformToFragment): Remove trailing whitespaces.
      (WebCore::XSLTProcessor::reset): Moved out of the class definition.
      * xml/XSLTProcessorLibxslt.cpp: Added.
      (WebCore::XSLTProcessor::genericErrorFunc): Moved.
      (WebCore::XSLTProcessor::parseErrorFunc): Moved.
      (WebCore::docLoaderFunc): Moved.
      (WebCore::setXSLTLoadCallBack): Moved.
      (WebCore::writeToVector): Moved.
      (WebCore::saveResultToString): Moved.
      (WebCore::xsltParamArrayFromParameterMap): Moved.
      (WebCore::freeXsltParamArray): Moved.
      (WebCore::xsltStylesheetPointer): Moved.
      (WebCore::xmlDocPtrFromNode): Moved.
      (WebCore::resultMIMEType): Moved.
      (WebCore::XSLTProcessor::transformToString): Moved.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34a3f963
    • staikos@webkit.org's avatar
      Minor correction to Copyright notice. Not reviewed. · 3ed36f52
      staikos@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ed36f52
    • eric@webkit.org's avatar
      2009-09-28 Charles Wei <charles.wei@torchmobile.com.cn> · 31958da0
      eric@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              Fix the crash of SVG that crashes when use a non-exist symbol
              https://bugs.webkit.org/show_bug.cgi?id=27693
      
              * svg/custom/use-non-existing-symbol-crash-expected.txt: Added.
              * svg/custom/use-non-existing-symbol-crash.svg: Added.
      2009-09-28  Charles Wei  <charles.wei@torchmobile.com.cn>
      
              Reviewed by Nikolas Zimmermann.
      
              Fix the crash of SVG that crashes when use a non-exist symbol
              https://bugs.webkit.org/show_bug.cgi?id=27693
      
              Test: svg/custom/use-non-existing-symbol-crash.svg
      
              * svg/SVGUseElement.cpp:
              (WebCore::shadowTreeContainsChangedNodes):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31958da0
    • pfeldman@chromium.org's avatar
      2009-09-28 Joseph Pecoraro <joepeck@webkit.org> · a5c785e8
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Inspector Should Show Event Listeners/Handlers Registered on each Node
              https://bugs.webkit.org/show_bug.cgi?id=17429
              
                Extracted a method from dispatchEvent to get the event ancestor chain
              
              * dom/Node.cpp:
              (WebCore::Node::eventAncestors): the extracted method
              (WebCore::Node::dispatchGenericEvent): use eventAncestors
              * dom/Node.h:
      
                Asynchronous Flow For the Inspector, Backend -> DOM Agent -> Frontend
                The DOMAgent's getEventListenersForNode handles the logic of finding
                all the relevant listeners in the event flow.
      
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::getEventListenersForNode):
              * inspector/InspectorBackend.h:
              * inspector/InspectorBackend.idl:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::getEventListenersForNode):
              (WebCore::InspectorDOMAgent::buildObjectForEventListener):
              (WebCore::InspectorDOMAgent::buildObjectForNode): added localName
              * inspector/InspectorDOMAgent.h:
              (WebCore::EventListenerInfo::EventListenerInfo):
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::didGetEventListenersForNode):
              * inspector/InspectorFrontend.h:
              (WebCore::InspectorFrontend::scriptState):
              * inspector/front-end/DOMAgent.js: added localName to WebInspector.DOMNode from payload
              (WebInspector.EventListeners.getEventListenersForNodeAsync.mycallback):
              (WebInspector.EventListeners.getEventListenersForNodeAsync):
      
                New Sidebar Pane in the Element's Panel
                Includes Gear Menu for filtering the Event Listeners on the
                "Selected Node Only" or "All Nodes"
      
              * inspector/front-end/ElementsPanel.js: Handles refreshing the Pane when necessary
              (WebInspector.ElementsPanel.this.treeOutline.focusedNodeChanged):
              (WebInspector.ElementsPanel):
              (WebInspector.ElementsPanel.prototype.updateEventListeners):
              * inspector/front-end/EventListenersSidebarPane.js: Added. 
              (WebInspector.EventListenersSidebarPane): The 1st level in the Pane
              (WebInspector.EventListenersSidebarPane.prototype.update.callback):
              (WebInspector.EventListenersSidebarPane.prototype.update):
              (WebInspector.EventListenersSection): The 2nd level in the Pane
              (WebInspector.EventListenersSection.prototype.update): filters on Preference
              (WebInspector.EventListenersSection.prototype.addListener):
              (WebInspector.EventListenerBar): The 3rd level in the Pane
              (WebInspector.EventListenerBar.prototype._getNodeDisplayName):
              (WebInspector.EventListenerBar.prototype._getFunctionDisplayName):
              (WebInspector.EventListenersSidebarPane.prototype._changeSetting): For the Gear Menu
              
                Consolidated "appropriateSelectorForNode"
      
              * inspector/front-end/StylesSidebarPane.js:
              * inspector/front-end/utilities.js:
      
                Miscellaneous Updates
      
              * English.lproj/localizedStrings.js: "Event Listeners", "No Event Listeners", "Selected Node Only", "All Nodes"
              * WebCore.gypi: included the new inspector files
              * WebCore.vcproj/WebCore.vcproj: included source files that were missing
              * inspector/front-end/Images/grayConnectorPoint.png: Added. Thanks to Timothy Hatcher.
              * inspector/front-end/Images/whiteConnectorPoint.png: Added. Thanks to Timothy Hatcher.
              * inspector/front-end/inspector.js: Preferences for the Gear Menu Event Listeners filter
              * inspector/front-end/inspector.css: reused as much as possible
              * inspector/front-end/inspector.html: include the new script
              * inspector/front-end/WebKit.qrc: included the new inspector files
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5c785e8
    • hausmann@webkit.org's avatar
      Compile fix with namespaced Qt. · 75b3d3a0
      hausmann@webkit.org authored
      Patch by Andre Poenitz <andre.poenitz@trolltech.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      * Api/qwebinspector_p.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75b3d3a0
    • hausmann@webkit.org's avatar
      Add ARM version detection for Windows CE. · d7c6229f
      hausmann@webkit.org authored
      Patch by Joerg Bornemann <joerg.bornemann@nokia.com> on 2009-09-28
      Reviewed by Simon Hausmann.
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48807 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7c6229f
  2. 27 Sep, 2009 10 commits
    • weinig@apple.com's avatar
      WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=29760 · a09f5201
      weinig@apple.com authored
      Implement CSSOM Range.getClientRects/getBoundingClientRect 
      
      Reviewed by Dan Bernstein.
      
      Tests: fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html
             fast/dom/Range/getBoundingClientRect.html
             fast/dom/Range/getClientRects.html
      
      * dom/Range.cpp:
      (WebCore::Range::getClientRects):
      (WebCore::Range::getBoundingClientRect):
      (WebCore::adjustFloatQuadsForScrollAndAbsoluteZoom):
      (WebCore::Range::getBorderAndTextQuads):
      * dom/Range.h:
      * dom/Range.idl:
      Implement Range.getClientRects/getBoundingClientRect.
      
      * dom/Element.cpp:
      * rendering/RenderObject.h: 
      (WebCore::adjustForAbsoluteZoom):
      (WebCore::adjustIntRectForAbsoluteZoom):
      (WebCore::adjustFloatPointForAbsoluteZoom):
      (WebCore::adjustFloatQuadForAbsoluteZoom):
      Move point/quad adjustment methods from Element.cpp to RenderObject.h
      so that Range.cpp can use them as well.
      
      LayoutTests: Tests for https://bugs.webkit.org/show_bug.cgi?id=29760
      Implement CSSOM Range.getClientRects/getBoundingClientRect 
      
      Reviewed by Dan Bernstein.
      
      * fast/dom/Element/getBoundingClientRect-expected.txt: Copied from LayoutTests/fast/dom/getBoundingClientRect-expected.txt.
      * fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport-expected.txt: Copied from LayoutTests/fast/dom/getBoundingClientRect-getClientRects-relative-to-viewport-expected.txt.
      * fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html: Copied from LayoutTests/fast/dom/getBoundingClientRect-getClientRects-relative-to-viewport.html.
      * fast/dom/Element/getBoundingClientRect.html: Copied from LayoutTests/fast/dom/getBoundingClientRect.html.
      * fast/dom/Element/getClientRects-expected.txt: Copied from LayoutTests/fast/dom/getClientRects-expected.txt.
      * fast/dom/Element/getClientRects.html: Copied from LayoutTests/fast/dom/getClientRects.html.
      * fast/dom/Range/getBoundingClientRect-expected.txt: Added.
      * fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport-expected.txt: Added.
      * fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html: Added.
      * fast/dom/Range/getBoundingClientRect.html: Added.
      * fast/dom/Range/getClientRects-expected.txt: Added.
      * fast/dom/Range/getClientRects.html: Added.
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/getBoundingClientRect-expected.txt: Removed.
      * fast/dom/getBoundingClientRect-getClientRects-relative-to-viewport-expected.txt: Removed.
      * fast/dom/getBoundingClientRect-getClientRects-relative-to-viewport.html: Removed.
      * fast/dom/getBoundingClientRect.html: Removed.
      * fast/dom/getClientRects-expected.txt: Removed.
      * fast/dom/getClientRects.html: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a09f5201
    • eric@webkit.org's avatar
      2009-09-27 Joe Ligman <joseph.ligman@mindspring.com> · ea151061
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Adding API setFocus and hasFocus to QWebElement. This API is needed for
              clients that want to check/set the focus node of the document.
              https://bugs.webkit.org/show_bug.cgi?id=29682
      
              * Api/qwebelement.cpp:
              (QWebElement::hasFocus):
              (QWebElement::setFocus):
              * Api/qwebelement.h:
              * tests/qwebelement/tst_qwebelement.cpp:
              (tst_QWebElement::hasSetFocus):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea151061
    • hausmann@webkit.org's avatar
      Unreviewed fix for WebInspector with Qt build. · c66ece35
      hausmann@webkit.org authored
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-09-27
      Simply re-generate the Qt resource file by running
      WebKitTools/Scripts/generate-qt-inspector-resource
      
      * inspector/front-end/WebKit.qrc:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c66ece35
    • eric@webkit.org's avatar
      2009-09-27 Jakub Wieczorek <faw217@gmail.com> · 154ff8cb
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              run-webkit-tests: Do not strip the metrics when there is no expected result for a test.
              https://bugs.webkit.org/show_bug.cgi?id=29771
      
              * Scripts/run-webkit-tests:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      154ff8cb
    • eric@webkit.org's avatar
      2009-09-27 Jakub Wieczorek <faw217@gmail.com> · 3dd3a289
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Remove tests that are passing from the Skipped list after implementing
              the waitForPolicyDelegate() function in LayoutTestController.
              https://bugs.webkit.org/show_bug.cgi?id=25037
      
              * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3dd3a289
    • eric@webkit.org's avatar
      2009-09-27 Jakub Wieczorek <faw217@gmail.com> · d524163b
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] Implement layoutTestController.waitForPolicyDelegate.
              https://bugs.webkit.org/show_bug.cgi?id=25037
      
              * DumpRenderTree/qt/DumpRenderTree.cpp:
              (WebCore::WebPage::acceptNavigationRequest):
              * DumpRenderTree/qt/DumpRenderTree.pro:
              * DumpRenderTree/qt/jsobjects.cpp:
              (LayoutTestController::reset):
              (LayoutTestController::notifyDone):
              (LayoutTestController::waitForPolicyDelegate):
              * DumpRenderTree/qt/jsobjects.h:
              (LayoutTestController::waitForPolicy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d524163b
    • pfeldman@chromium.org's avatar
      2009-09-27 Pavel Feldman <pfeldman@chromium.org> · da096d58
      pfeldman@chromium.org authored
              Reviewed by nobody (trivial ChangeLog fix).
      
              Restore WebCore/ChangeLog truncated in r48778.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da096d58
    • pfeldman@chromium.org's avatar
      2009-09-27 Pavel Feldman <pfeldman@chromium.org> · 6cf9e180
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: DOM store is being unbound twice, leading to assertion failure.
      
              https://bugs.webkit.org/show_bug.cgi?id=29770
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::didOpenDatabase):
              (WebCore::InspectorController::didUseDOMStorage):
              * inspector/InspectorDOMStorageResource.cpp:
              (WebCore::InspectorDOMStorageResource::unbind):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cf9e180
    • pfeldman@chromium.org's avatar
      2009-09-26 Pavel Feldman <pfeldman@chromium.org> · b8105144
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Do not track DOM changes while inspector window is closed.
      
              https://bugs.webkit.org/show_bug.cgi?id=29769
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
              (WebCore::InspectorController::populateScriptObjects):
              (WebCore::InspectorController::resetScriptObjects):
              (WebCore::InspectorController::didCommitLoad):
              * inspector/InspectorController.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::setDocument):
              * inspector/InspectorDOMAgent.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::dispatchWindowObjectAvailable):
              * page/android/InspectorControllerAndroid.cpp:
              (WebCore::InspectorController::inspectedWindowScriptObjectCleared):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8105144
    • pfeldman@chromium.org's avatar
      2009-09-26 Pavel Feldman <pfeldman@chromium.org> · 89f7ae77
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: [REGRESSION] Double Clicking Resources Fails to Open in New Window
      
              https://bugs.webkit.org/show_bug.cgi?id=29762
      
              * inspector/front-end/InjectedScript.js:
              (InjectedScript.setStyleText):
              (InjectedScript.openInInspectedWindow):
              * inspector/front-end/InjectedScriptAccess.js:
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourceSidebarTreeElement.prototype.ondblclick):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89f7ae77