1. 11 Apr, 2012 40 commits
    • msaboff@apple.com's avatar
      Invalid Union Reference in StructureStubInfo.{cpp.h} · fc7e29f1
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83735
      
      Reviewed by Filip Pizlo.
      
      Changed the references to u.getByIdProtoList and u.getByIdSelfList
      to be consistent.
      
      * bytecode/StructureStubInfo.cpp:
      (JSC::StructureStubInfo::visitWeakReferences):
      * bytecode/StructureStubInfo.h:
      (JSC::StructureStubInfo::initGetByIdSelfList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc7e29f1
    • fpizlo@apple.com's avatar
      Unreviewed attempting to make Qt's eccentric hardware work. · 9c149ea1
      fpizlo@apple.com authored
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::compare8):
      (MacroAssemblerARM):
      * assembler/MacroAssemblerMIPS.h:
      (JSC::MacroAssemblerMIPS::compare8):
      (MacroAssemblerMIPS):
      * assembler/MacroAssemblerSH4.h:
      (JSC::MacroAssemblerSH4::compare8):
      (MacroAssemblerSH4):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c149ea1
    • jer.noble@apple.com's avatar
      Layout Test webaudio/* is flaky · efefe67a
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83624
      
      Reviewed by Chris Rogers.
      
      Source/WebCore:
      
      No new tests; fixes webaudio/ layout tests.
      
      A merge error led to an Mutex overunlock situation, which caused all future mutex trylock
      attempts to fail, but only on Windows. Remove the extraneous mutex unlock().
      
      * Modules/webaudio/AudioBufferSourceNode.cpp:
      (WebCore::AudioBufferSourceNode::process):
      
      LayoutTests:
      
      Re-enable webaudio/ layout tests on chromium-win.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efefe67a
    • leviw@chromium.org's avatar
      Correct pixel snapping error in RenderBox::pixelSnappedClientWidth/Height · 318e4392
      leviw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83621
      
      Reviewed by Eric Seidel.
      
      Though the problem wouldn't yet manifest itself since we haven't flipped the switch on sub-pixel
      layout, clientWidth and clientHeight, when pixel snapped, need to take the RenderBox's location
      into account. Previously, ClientLeft/Top were used, but these are simply the width of the borders,
      and don't include the box's sub-pixel location, which is needed to properly snap the width/height.
      
      No new tests. Untestable until we switch to FractionalLayoutUnits. A test case that covers this
      is in the subpixellayout branch and will land with the switch.
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::pixelSnappedClientWidth):
      (WebCore::RenderBox::pixelSnappedClientHeight):
      (WebCore::RenderBox::scrollWidth): Replacing a raw zero with ZERO_LAYOUT_UNIT.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      318e4392
    • arv@chromium.org's avatar
      Add support for [ArrayClass] and use that on NodeList · 2148ab5b
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81573
      
      Reviewed by Adam Barth.
      
      With this patch NodeLists now have Array.prototype on their prototype chain which allows
      methods such as forEach and map to work on NodeLists.
      
      http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-nodelist
      
      For V8 we need to set a flag on the WrapperTypeInfo since V8 uses FunctionTemplates which
      does not allow setting the prototype to a non FunctionTemplate so the prototype is therefore
      set when the constructor is created.
      
      For JSC we just pass the right prototype object when creating the NodeList prototype. JSC has
      a bug (81588) that prevents toString to work as specced on Array.prototype.toString. This
      causes test failures in the tests until that has been fixed.
      
      Source/WebCore:
      
      Test: fast/dom/NodeList/node-list-array-class.html
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader): Include ArrayPrototype.h if an ArrayClass.
      (GenerateImplementation): If ArrayClass use arrayPrototype as prototype.
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNamedConstructorCallback):
      (GenerateImplementation): Adds a flag to the WrapperTypeInfo.
      * bindings/scripts/IDLAttributes.txt: Adds new attribute: ArrayClass.
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::JSTestObj::createPrototype):
      * bindings/scripts/test/JS/JSTestObj.h:
      * bindings/scripts/test/TestObj.idl:
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore):
      * bindings/v8/V8BindingPerContextData.cpp:
      (WebCore::V8BindingPerContextData::init): Get the array prototype too.
      (WebCore::V8BindingPerContextData::createWrapperFromCacheSlowCase):
      (WebCore::V8BindingPerContextData::constructorForTypeSlowCase): If this is an ArrayClass we need to
      set the [[Prototype]].
      * bindings/v8/V8BindingPerContextData.h:
      (V8BindingPerContextData):
      * bindings/v8/V8HiddenPropertyName.h:
      (WebCore):
      * bindings/v8/WrapperTypeInfo.h:
      (WrapperTypeInfo):
      * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
      (WebCore):
      * dom/NodeList.idl:
      
      LayoutTests:
      
      * fast/dom/HTMLSelectElement/named-options-expected.txt:
      * fast/dom/HTMLSelectElement/script-tests/named-options.js:
      * fast/dom/NodeList/node-list-array-class-expected.txt: Added.
      * fast/dom/NodeList/node-list-array-class.html: Added.
      * fast/dom/NodeList/nodelist-item-call-as-function-expected.txt:
      * platform/chromium/fast/dom/HTMLSelectElement/named-options-expected.txt: Copied from LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt.
      * platform/chromium/inspector/console/command-line-api-expected.txt: Added.
      * platform/chromium/inspector/console/console-dir-expected.txt:
      * platform/chromium/inspector/console/console-format-collections-expected.txt:
      * platform/mac/fast/dom/prototype-inheritance-2-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2148ab5b
    • fpizlo@apple.com's avatar
      op_is_foo should be optimized · 1d21689e
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83666
      
      Reviewed by Gavin Barraclough.
              
      This implements inlining of op_is_undefined, op_is_string, op_is_number,
      and op_is_boolean in LLInt and the baseline JIT. op_is_object and
      op_is_function are not inlined because they are quite a bit more complex.
              
      This also implements all of the op_is_foo opcodes in the DFG, but it does
      not do any type profiling based optimizations, yet.
      
      * assembler/MacroAssemblerARMv7.h:
      (JSC::MacroAssemblerARMv7::compare8):
      (MacroAssemblerARMv7):
      * assembler/MacroAssemblerX86Common.h:
      (JSC::MacroAssemblerX86Common::compare8):
      (MacroAssemblerX86Common):
      * assembler/MacroAssemblerX86_64.h:
      (MacroAssemblerX86_64):
      (JSC::MacroAssemblerX86_64::testPtr):
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGCCallHelpers.h:
      (JSC::DFG::CCallHelpers::setupArguments):
      (CCallHelpers):
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::performNodeCSE):
      * dfg/DFGCapabilities.h:
      (JSC::DFG::canCompileOpcode):
      * dfg/DFGNodeType.h:
      (DFG):
      * dfg/DFGOperations.cpp:
      * dfg/DFGOperations.h:
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::callOperation):
      (JSC::DFG::SpeculativeJIT::appendCallSetResult):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompileMainPass):
      * jit/JIT.h:
      (JIT):
      * jit/JITOpcodes.cpp:
      (JSC::JIT::emit_op_is_undefined):
      (JSC):
      (JSC::JIT::emit_op_is_boolean):
      (JSC::JIT::emit_op_is_number):
      (JSC::JIT::emit_op_is_string):
      * jit/JITOpcodes32_64.cpp:
      (JSC::JIT::emit_op_is_undefined):
      (JSC):
      (JSC::JIT::emit_op_is_boolean):
      (JSC::JIT::emit_op_is_number):
      (JSC::JIT::emit_op_is_string):
      * jit/JITStubs.cpp:
      (JSC):
      * llint/LLIntSlowPaths.cpp:
      (LLInt):
      * llint/LLIntSlowPaths.h:
      (LLInt):
      * llint/LowLevelInterpreter.asm:
      * llint/LowLevelInterpreter32_64.asm:
      * llint/LowLevelInterpreter64.asm:
      * offlineasm/armv7.rb:
      * offlineasm/instructions.rb:
      * offlineasm/x86.rb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d21689e
    • dpranke@chromium.org's avatar
      Fix regression introduced in r113927. · 5c4b9839
      dpranke@chromium.org authored
      Unreviewed, build fix.
      
      I failed to rename skipped_tests() to skipped_layout_tests()
      everywhere it needed to be renamed. The unit tests didn't catch
      this because the TestPort was one of the places that didn't get
      renamed :(.
      
      * Scripts/webkitpy/layout_tests/controllers/manager.py:
      (Manager.parse_expectations):
      * Scripts/webkitpy/layout_tests/port/test.py:
      (TestPort.skipped_layout_tests):
      * Scripts/webkitpy/tool/commands/queries.py:
      (PrintExpectations._model):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c4b9839
    • fpizlo@apple.com's avatar
      If you use an IntegerOperand and want to return it with integerResult, you need to · 3deedbc6
      fpizlo@apple.com authored
      zero extend to get rid of the box
      https://bugs.webkit.org/show_bug.cgi?id=83734
      <rdar://problem/11232296>
      
      Reviewed by Oliver Hunt.
      
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::fillInteger):
      (JSC::DFG::SpeculativeJIT::nonSpeculativeValueToInt32):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3deedbc6
    • dpranke@chromium.org's avatar
      new-run-webkit-tests: 'webkit-patch skipped-ports' introduced bad layering · 716e1c34
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=47528
      
      Reviewed by Adam Barth.
      
      The skipped-ports command has been replaced by 'webkit-patch
      print-expectations', which offers the equivalent functionality
      via 'webkit-patch print-expectations --platform \* -t skip'
      (and other features, of course).
      
      This also allows me to fix a nasty layering violation where the
      chromium port had to know about the TestExpectations objects in
      order to implement the command properly.
      
      Lastly, this allows me to rename skipped_tests() to
      skipped_layout_tests() to more consistent with
      skipped_perf_tests().
      
      This patch removes skips_layout_test() from the Port interface,
      because that can't be implemented without the port knowing about
      Expectations objects (and skipped-ports was the only thing using it).
      
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.skipped_layout_tests):
      (Port.skipped_perf_tests):
      * Scripts/webkitpy/layout_tests/port/base_unittest.py:
      (PortTest.test_default_configuration_notfound):
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      (ChromiumPort.test_expectations_overrides):
      * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      (ChromiumPortTest.test_path_to_image_diff):
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (WebKitPort.skipped_layout_tests):
      * Scripts/webkitpy/tool/commands/queries.py:
      (execute):
      * Scripts/webkitpy/tool/commands/queries_unittest.py:
      (QueryCommandsTest.test_tree_status):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      716e1c34
    • aestes@apple.com's avatar
      Remove an autorelease pool made redundant by r113923. · e2e0fb16
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83730
      
      Reviewed by Dan Bernstein.
      
      Remove flushLayer()'s autorelease pool, since one now exists in the
      call frame above it (in LayerFlushScheduler::runLoopObserverCallback()).
      
      * WebProcess/WebPage/ca/mac/LayerTreeHostCAMac.mm:
      (WebKit::LayerTreeHostCAMac::flushLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113926 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2e0fb16
    • antti@apple.com's avatar
      Try to fix build with XSLT disabled. · 3a142bd9
      antti@apple.com authored
      Not reviewed.
      
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::parseStyleSheet):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a142bd9
    • arv@chromium.org's avatar
      File API does not support DOM events (like addEventListener) · d9db41eb
      arv@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83688
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      The IDL files where missing addEventListener, removeEventListener and dispatchEvent.
      
      Tests: fast/filesystem/file-writer-events.html
             fast/speech/scripted/basics.html
      
      * Modules/filesystem/FileWriter.idl: Add missing methods.
      * Modules/mediastream/LocalMediaStream.idl: This one gets its EventTarget from MediaStream.
      * Modules/speech/SpeechRecognition.idl: Add missing methods.
      
      LayoutTests:
      
      * fast/filesystem/resources/file-writer-events.js:
      (runTest):
      * fast/speech/scripted/basics-expected.txt:
      * fast/speech/scripted/basics.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9db41eb
    • aestes@apple.com's avatar
      LayerFlushScheduler's run loop observer should have an autorelease pool. · 579bf62e
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83729
      
      Reviewed by Dan Bernstein.
      
      LayerFlushScheduler's run loop observer needs an autorelease pool.
      NSApplication creates one, but it is only drained after processing user
      input. In the case where a WebView is displaying composited content but
      not receiving user input, NSApplication's pool will accumulate a large
      number of objects autoreleased by the run loop observer. Have
      LayerFlushScheduler create an autorelease pool that is drained after
      each run loop observer callback.
      
      * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
      (WebCore::LayerFlushScheduler::runLoopObserverCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      579bf62e
    • antti@apple.com's avatar
      Split CSSStyleSheet into internal and CSSOM type · da4d9c51
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83612
              
      Reviewed by Andreas Kling.
      
      This will complete the separation of our style sheet data structures from CSSOM.
              
      The internal parts of CSSStyleSheet move to StyleSheetInternal. CSS parser
      and style selector will now operate on internal types. Unlike other CSSOM types
      CSSStyleSheets are still always instantiated to hold the top level author stylesheets
      (by Nodes).
      
      * css/CSSFontFaceSrcValue.cpp:
      (WebCore::CSSFontFaceSrcValue::addSubresourceStyleURLs):
      * css/CSSFontFaceSrcValue.h:
      (CSSFontFaceSrcValue):
      * css/CSSImportRule.cpp:
      (WebCore::StyleRuleImport::create):
      (WebCore::StyleRuleImport::StyleRuleImport):
      (WebCore::StyleRuleImport::setCSSStyleSheet):
      (WebCore::StyleRuleImport::requestStyleSheet):
      (WebCore::CSSImportRule::~CSSImportRule):
      (WebCore):
      (WebCore::CSSImportRule::styleSheet):
      * css/CSSImportRule.h:
      (WebCore):
      (StyleRuleImport):
      (WebCore::StyleRuleImport::parentStyleSheet):
      (WebCore::StyleRuleImport::styleSheet):
      (CSSImportRule):
      * css/CSSMediaRule.cpp:
      (WebCore::CSSMediaRule::insertRule):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseSheet):
      (WebCore::CSSParser::parseRule):
      (WebCore::CSSParser::parseKeyframeRule):
      (WebCore::CSSParser::parseFontFaceValue):
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseSelector):
      (WebCore::CSSParser::parseDeclaration):
      (WebCore::CSSParser::setStyleSheet):
      (WebCore::CSSParser::parseFlowThread):
      * css/CSSParser.h:
      (WebCore):
      (CSSParser):
      * css/CSSPrimitiveValue.cpp:
      (WebCore::CSSPrimitiveValue::addSubresourceStyleURLs):
      * css/CSSPrimitiveValue.h:
      (CSSPrimitiveValue):
      * css/CSSReflectValue.cpp:
      (WebCore::CSSReflectValue::addSubresourceStyleURLs):
      * css/CSSReflectValue.h:
      (CSSReflectValue):
      * css/CSSRule.h:
      (CSSRule):
      * css/CSSStyleSelector.cpp:
      (RuleSet):
      (WebCore):
      (WebCore::CSSStyleSelector::CSSStyleSelector):
      (WebCore::CSSStyleSelector::addAuthorRulesAndCollectUserRulesFromSheets):
      (WebCore::CSSStyleSelector::determineScope):
      (WebCore::CSSStyleSelector::appendAuthorStylesheets):
      (WebCore::parseUASheet):
      (WebCore::CSSStyleSelector::collectMatchingRulesForList):
      * css/CSSStyleSelector.h:
      (CSSStyleSelector):
              
          Add a set for root CSSStyleSheet objects so that the wrappers created in ensureFullCSSOMWrapperForInspector
          stay valid.
              
      * css/CSSStyleSheet.cpp:
      (WebCore::StyleSheetInternal::StyleSheetInternal):
      (WebCore::StyleSheetInternal::~StyleSheetInternal):
      (WebCore::StyleSheetInternal::parserAppendRule):
      (WebCore::StyleSheetInternal::createChildRuleCSSOMWrapper):
      (WebCore::StyleSheetInternal::ruleCount):
      (WebCore::StyleSheetInternal::clearCharsetRule):
      (WebCore::StyleSheetInternal::clearRules):
      (WebCore::StyleSheetInternal::parserSetEncodingFromCharsetRule):
      (WebCore::StyleSheetInternal::wrapperInsertRule):
      (WebCore::StyleSheetInternal::wrapperDeleteRule):
      (WebCore::StyleSheetInternal::addNamespace):
      (WebCore::StyleSheetInternal::determineNamespace):
      (WebCore::StyleSheetInternal::parseString):
      (WebCore::StyleSheetInternal::parseStringAtLine):
      (WebCore::StyleSheetInternal::isLoading):
      (WebCore::StyleSheetInternal::checkLoaded):
      (WebCore::StyleSheetInternal::notifyLoadedSheet):
      (WebCore::StyleSheetInternal::startLoadingDynamicSheet):
      (WebCore::StyleSheetInternal::findStyleSheetOwnerNode):
      (WebCore::StyleSheetInternal::findDocument):
      (WebCore::StyleSheetInternal::setMediaQueries):
      (WebCore::StyleSheetInternal::styleSheetChanged):
      (WebCore):
      (WebCore::StyleSheetInternal::baseURL):
      (WebCore::StyleSheetInternal::completeURL):
      (WebCore::StyleSheetInternal::addSubresourceStyleURLs):
      (WebCore::StyleSheetInternal::parentStyleSheet):
      (WebCore::CSSStyleSheet::CSSStyleSheet):
      (WebCore::CSSStyleSheet::~CSSStyleSheet):
      (WebCore::CSSStyleSheet::setDisabled):
      (WebCore::CSSStyleSheet::length):
      (WebCore::CSSStyleSheet::item):
      (WebCore::CSSStyleSheet::rules):
      (WebCore::CSSStyleSheet::insertRule):
      (WebCore::CSSStyleSheet::addRule):
      (WebCore::CSSStyleSheet::cssRules):
      (WebCore::CSSStyleSheet::deleteRule):
      (WebCore::CSSStyleSheet::media):
      (WebCore::CSSStyleSheet::parentStyleSheet):
      * css/CSSStyleSheet.h:
      (WebCore):
      (WebCore::StyleSheetInternal::create):
      (WebCore::StyleSheetInternal::createInline):
      (StyleSheetInternal):
      (WebCore::StyleSheetInternal::ownerNode):
      (WebCore::StyleSheetInternal::clearOwnerNode):
      (WebCore::StyleSheetInternal::ownerRule):
      (WebCore::StyleSheetInternal::originalURL):
      (WebCore::StyleSheetInternal::title):
      (WebCore::StyleSheetInternal::setTitle):
      (WebCore::StyleSheetInternal::setFinalURL):
      (WebCore::StyleSheetInternal::finalURL):
      (CSSStyleSheet):
      (WebCore::CSSStyleSheet::create):
      (WebCore::CSSStyleSheet::removeRule):
      (WebCore::CSSStyleSheet::clearOwnerRule):
      (WebCore::CSSStyleSheet::styleSheetChanged):
      (WebCore::CSSStyleSheet::findDocument):
      (WebCore::CSSStyleSheet::internal):
      (WebCore::CSSStyleSheet::isCSSStyleSheet):
      (WebCore::CSSStyleSheet::type):
      * css/CSSValue.cpp:
      (WebCore::CSSValue::addSubresourceStyleURLs):
      * css/CSSValue.h:
      (WebCore):
      (CSSValue):
      * css/CSSValueList.cpp:
      (WebCore::CSSValueList::addSubresourceStyleURLs):
      * css/CSSValueList.h:
      (CSSValueList):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/CSSValuePool.h:
      (WebCore):
      (CSSValuePool):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::setCssText):
      (WebCore::PropertySetCSSStyleDeclaration::setProperty):
      (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
      * css/PropertySetCSSStyleDeclaration.h:
      (WebCore):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::setProperty):
      (WebCore::StylePropertySet::parseDeclaration):
      (WebCore::StylePropertySet::addSubresourceStyleURLs):
      * css/StylePropertySet.h:
      (WebCore):
      (StylePropertySet):
      * css/StyleSheet.cpp:
      (WebCore):
      * css/StyleSheet.h:
      (StyleSheet):
      (WebCore::StyleSheet::media):
      (WebCore::StyleSheet::ownerRule):
      (WebCore::StyleSheet::isXSLStyleSheet):
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::WebKitCSSKeyframesRule::insertRule):
      * dom/DOMImplementation.cpp:
      (WebCore::DOMImplementation::createCSSStyleSheet):
      * dom/Document.cpp:
      (WebCore::Document::updateBaseURL):
      (WebCore::Document::pageUserSheet):
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::addUserSheet):
      (WebCore::Document::elementSheet):
      (WebCore::Document::testAddedStylesheetRequiresStyleRecalc):
      (WebCore::Document::analyzeStylesheetChange):
      * dom/Document.h:
      (WebCore):
      (Document):
      (WebCore::Document::documentUserSheets):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::setCSSStyleSheet):
      (WebCore::ProcessingInstruction::parseStyleSheet):
      * dom/StyleElement.cpp:
      (WebCore::StyleElement::createSheet):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::setInlineStyleProperty):
      (WebCore::StyledElement::addSubresourceAttributeURLs):
      (WebCore):
      (WebCore::StyledElement::addPropertyToAttributeStyle):
      * dom/StyledElement.h:
      (WebCore):
      * html/HTMLFontElement.cpp:
      (WebCore::HTMLFontElement::collectStyleForAttribute):
      * html/HTMLLinkElement.cpp:
      (WebCore::HTMLLinkElement::parseAttribute):
      (WebCore::HTMLLinkElement::setCSSStyleSheet):
      (WebCore::HTMLLinkElement::styleSheetIsLoading):
      (WebCore::HTMLLinkElement::addSubresourceAttributeURLs):
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::parseAttribute):
      (WebCore::HTMLStyleElement::addSubresourceAttributeURLs):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::fillMediaListChain):
      (WebCore::InspectorStyle::setPropertyText):
      (WebCore::InspectorStyleSheet::styleSheetURL):
      (WebCore::InspectorStyleSheet::reparseStyleSheet):
      (WebCore::InspectorStyleSheet::ensureSourceData):
      (WebCore::InspectorStyleSheetForInlineStyle::getStyleAttributeRanges):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::serializeCSSStyleSheet):
      * svg/SVGStyleElement.cpp:
      (WebCore::SVGStyleElement::parseAttribute):
      * xml/XSLStyleSheet.h:
      (XSLStyleSheet):
      (WebCore::XSLStyleSheet::finalURL):
      * xml/XSLStyleSheetLibxslt.cpp:
      (WebCore::XSLStyleSheet::XSLStyleSheet):
      (WebCore::XSLStyleSheet::isLoading):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da4d9c51
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r113912. · 6f45bcda
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/113912
      https://bugs.webkit.org/show_bug.cgi?id=83727
      
      broke atsui-spacing-features.html on windows (Requested by
      simonjam on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-11
      
      Source/WebCore:
      
      * platform/graphics/chromium/UniscribeHelper.cpp:
      (WebCore::UniscribeHelper::justify):
      
      LayoutTests:
      
      * fast/text/international/arabic-justify.html: Removed.
      * platform/chromium-win/fast/text/international/arabic-justify-expected.png: Removed.
      * platform/chromium-win/fast/text/international/arabic-justify-expected.txt: Removed.
      * platform/chromium/test_expectations.txt:
      * platform/mac-snowleopard/fast/text/international/arabic-justify-expected.png: Removed.
      * platform/mac-snowleopard/fast/text/international/arabic-justify-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f45bcda
    • mrowe@apple.com's avatar
      Remove a fprintf from LayoutTestController. · 8e0b30e6
      mrowe@apple.com authored
      This fprintf is causing 100+MB of data to be written to stderr during a single run of the tests.
      It was added for no apparent reason by Ryosuke in r113651.
      
      * DumpRenderTree/LayoutTestController.cpp:
      (LayoutTestController::redirectionDestinationForURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e0b30e6
    • fpizlo@apple.com's avatar
      SpeculativeJIT::fillStorage() should work with all the states that a cell may be in · be2b49e6
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83722
      
      Reviewed by Gavin Barraclough.
              
      It's now possible to do StorageOperand on a cell, in the case that the storage is
      inline. But this means that fillStorage() must be able to handle all of the states
      that a cell might be in. Previously it didn't.
              
      With this change, it now does handle all of the states, and moreover, it does so
      by preserving the DataFormat of cells and performing all of the cell speculations
      that should be performed if you're using a cell as storage. But if you use this on
      something that is known to be storage already then it behaves as it did before.
      
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::fillStorage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be2b49e6
    • commit-queue@webkit.org's avatar
      [chromium] When rendering goes idle, do not count that time against frame rate · b102800c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73454
      
      The FPS counter had a few issues with its reporting. The first
      3 swapbuffers are non-blocking and create FPS rates that are
      unrealistically high, throwing off the moving averages and
      introducing false spikes into the FPS graph. There was also no
      way to monitor the smoothness of the animation, or to focus in
      on a particular animation or transition.
      
      This patch updates the FPS counter code so that bad data points
      are trimmed and not graphed; so that the graph itself is taller
      and more legible; so that there is a clear boundary between 40FPS
      and better; and to keep statistics on frame rate between
      pauses in the activity in the UI so that you can trigger a
      transition and read off the average and standard deviation for
      that transition to judge it smooth enough or not.
      
      Patch by Alex Nicolaou <anicolao@chromium.org> on 2012-04-11
      Reviewed by James Robinson.
      
      HUD is not testable in webkit.
      
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
      (WebCore::CCHeadsUpDisplay::CCHeadsUpDisplay):
      (WebCore::CCHeadsUpDisplay::onFrameBegin):
      (WebCore::CCHeadsUpDisplay::drawHudContents):
      (WebCore::CCHeadsUpDisplay::drawFPSCounter):
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b102800c
    • andersca@apple.com's avatar
      Add two flaky plug-in tests. · 948a118d
      andersca@apple.com authored
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      948a118d
    • andersca@apple.com's avatar
      Add tests that broke in r113900 to the Skipped list. · 538d7f14
      andersca@apple.com authored
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      538d7f14
    • zmo@google.com's avatar
      WebGLRenderingContext should defer caching program info · 90f0c3dc
      zmo@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83513
      
      Reviewed by Kenneth Russell.
      
      * html/canvas/WebGLProgram.cpp:
      (WebCore::WebGLProgram::WebGLProgram):
      (WebCore::WebGLProgram::numActiveAttribLocations): call cacheInfoIfNeeded();
      (WebCore::WebGLProgram::getActiveAttribLocation): Ditto.
      (WebCore::WebGLProgram::isUsingVertexAttrib0): Ditto.
      (WebCore::WebGLProgram::getLinkStatus): Ditto.
      (WebCore):
      (WebCore::WebGLProgram::cacheActiveAttribLocations):
      (WebCore::WebGLProgram::cacheInfoIfNeeded): Cache link status, active attire locations, etc if needed.
      (WebCore::WebGLProgram::increaseLinkCount): also invalidate cached info.
      * html/canvas/WebGLProgram.h:
      (WebGLProgram):
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore):
      (WebCore::WebGLRenderingContext::linkProgram): Do not cache program info immediately.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90f0c3dc
    • commit-queue@webkit.org's avatar
      Add keySystem attribute to canPlayType() for Encrypted Media Extensions · a80672a1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82973
      
      Patch by David Dorwin <ddorwin@chromium.org> on 2012-04-11
      Reviewed by Adam Barth.
      
      The new attribute is behind the ENABLE(ENCRYPTED_MEDIA) feature define.
      Implementation is based on v0.1 of the draft proposal at
      http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#extensions.
      
      Source/Platform:
      
      * chromium/public/WebMimeRegistry.h:
      (WebKit::WebMimeRegistry::supportsMediaMIMEType):
      
      Source/WebCore:
      
      Tests: media/encrypted-media/encrypted-media-can-play-type-webm.html
             media/encrypted-media/encrypted-media-can-play-type.html
      
      * dom/DOMImplementation.cpp:
      (WebCore::DOMImplementation::createDocument):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::canPlayType):
      (WebCore::HTMLMediaElement::selectMediaResource):
      (WebCore::HTMLMediaElement::loadNextSourceChild):
      (WebCore::HTMLMediaElement::loadResource):
      (WebCore::HTMLMediaElement::havePotentialSourceChild):
      (WebCore::HTMLMediaElement::selectNextSourceChild):
      (WebCore::HTMLMediaElement::getPluginProxyParams):
      * html/HTMLMediaElement.h:
      (HTMLMediaElement):
      * html/HTMLMediaElement.idl:
      * platform/graphics/MediaPlayer.cpp:
      (WebCore):
      (WebCore::bestMediaEngineForTypeAndCodecs):
      (WebCore::MediaPlayer::load):
      (WebCore::MediaPlayer::loadWithNextMediaEngine):
      (WebCore::MediaPlayer::supportsType):
      (WebCore::MediaPlayer::networkStateChanged):
      * platform/graphics/MediaPlayer.h:
      (MediaPlayer):
      (WebCore):
      
      Source/WebKit/chromium:
      
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::supportsType):
      * src/WebMediaPlayerClientImpl.h:
      (WebMediaPlayerClientImpl):
      
      LayoutTests:
      
      * media/encrypted-media/encrypted-media-can-play-type-expected.txt: Added.
      * media/encrypted-media/encrypted-media-can-play-type-webm-expected.txt: Added.
      * media/encrypted-media/encrypted-media-can-play-type-webm.html: Added.
      * media/encrypted-media/encrypted-media-can-play-type.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a80672a1
    • andersca@apple.com's avatar
      [Qt] InspectorServer: Add an API level auto test · 8fc967e6
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83594
      
      Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2012-04-10
      Reviewed by Kenneth Rohde Christiansen.
      
      * Source/tests.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8fc967e6
    • xji@chromium.org's avatar
      [chromium] wrong justification for arabic/persian page in cr-win. · 1a41599c
      xji@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83227
      
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      GDI used to do Kashida justification.
      After switch to Skia, we need to use space padding to justify the text
      (assume Skia can not do Kashida justification -- stretching words).
      
      Test: fast/text/international/arabic-justify.html
      
      * platform/graphics/chromium/UniscribeHelper.cpp:
      (WebCore::UniscribeHelper::justify):
      
      LayoutTests:
      
      * fast/text/international/arabic-justify.html: Added.
      * platform/chromium-win/fast/text/international/arabic-justify-expected.png: Added.
      * platform/chromium-win/fast/text/international/arabic-justify-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      * platform/mac-snowleopard/fast/text/international/arabic-justify-expected.png: Added.
      * platform/mac-snowleopard/fast/text/international/arabic-justify-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a41599c
    • philn@webkit.org's avatar
      Unreviewed, GTK rebaseline after r113885. · ad57cc14
      philn@webkit.org authored
      * platform/gtk/css2.1/20110323/replaced-elements-001-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad57cc14
    • tonikitoo@webkit.org's avatar
      All Mac bots occasionally fail tons of media/ sputnik/ and svg/ tests · 03ca1de9
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83411
      
      Reviewed by Eric Carlson.
      Patch by Antonio Gomes <agomes@rim.com>
      
      Fix obvious problems with the test in order to make tests lets
      flaky.
      
      * media/nodesFromRect-shadowContent.html:
      * platform/gtk/media/nodesFromRect-shadowContent-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03ca1de9
    • mrobinson@webkit.org's avatar
      [CAIRO] Make GLContextGLX a subclass of GLContext · 4d0a585d
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81285
      
      Reviewed by Gustavo Noronha Silva.
      
      .:
      
      * GNUmakefile.am: Add a configuration option for activating GLX.
      This is selected automatically now, but in the future there will be
      the choice to turn on EGL and turn off GLX at compilation time.
      * configure.ac: Ditto.
      
      Source/WebCore:
      
      No new tests. This should not change behavior.
      
      * GNUmakefile.list.am: Add new GLContextGLX files.
      * platform/graphics/cairo/GLContext.cpp: Added. Composed of the
      EGL/GLX independent portions of GLContext. Made the current context
      a static variable so we can keep getting the current context platform-
      -independent.
      * platform/graphics/cairo/GLContext.h: Make this class an abstract
      class. GLContextGLX is a concrete implementation.
      * platform/graphics/cairo/GraphicsContext3DPrivate.cpp: Updated to reflect
      slightly different calling conventions to create a sharing context.
      * platform/graphics/glx/GLContextGLX.cpp: Updated to reflect
      that this code is in a subclass now.
      * platform/graphics/glx/GLContextGLX.h: Copied from Source/WebCore/platform/graphics/cairo/GLContext.h.
      * platform/graphics/gtk/GLContextGtk.cpp:
      (WebCore::GLContext::getContextForWidget): Updated to respect the new
      USE(GLX) flag.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d0a585d
    • rniwa@webkit.org's avatar
      fast/dom/dom-parse-serialize.html and dom-parse-serialize-display.html should be text tests · 9e467c5a
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83715
      
      Reviewed by Rob Buis.
      
      Converted the fast/dom/dom-parse-serialize.html and dom-parse-serialize-display.html to dumpAsText tests.
      
      * fast/dom/dom-parse-serialize-display-expected.txt: Added.
      * fast/dom/dom-parse-serialize-display.html:
      * fast/dom/dom-parse-serialize-expected.txt: Added.
      * fast/dom/dom-parse-serialize.html:
      * platform/chromium-linux/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/chromium-linux/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/chromium-mac-leopard/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/chromium-mac-leopard/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/chromium-mac-snowleopard/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/chromium-mac-snowleopard/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/chromium-mac/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/chromium-mac/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/chromium-win/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/chromium-win/fast/dom/dom-parse-serialize-display-expected.txt: Removed.
      * platform/chromium-win/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/chromium-win/fast/dom/dom-parse-serialize-expected.txt: Removed.
      * platform/efl/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/efl/fast/dom/dom-parse-serialize-display-expected.txt: Removed.
      * platform/efl/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/efl/fast/dom/dom-parse-serialize-expected.txt: Removed.
      * platform/gtk/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/gtk/fast/dom/dom-parse-serialize-display-expected.txt: Removed.
      * platform/gtk/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/gtk/fast/dom/dom-parse-serialize-expected.txt: Removed.
      * platform/mac-leopard/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/mac-leopard/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/mac/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/mac/fast/dom/dom-parse-serialize-display-expected.txt: Removed.
      * platform/mac/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/mac/fast/dom/dom-parse-serialize-expected.txt: Removed.
      * platform/qt/fast/dom/dom-parse-serialize-display-expected.png: Removed.
      * platform/qt/fast/dom/dom-parse-serialize-display-expected.txt: Removed.
      * platform/qt/fast/dom/dom-parse-serialize-expected.png: Removed.
      * platform/qt/fast/dom/dom-parse-serialize-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e467c5a
    • fpizlo@apple.com's avatar
      Global variable predictions should not be coalesced unnecessarily · e9915ef4
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83678
      
      Reviewed by Geoff Garen.
              
      Removed the PredictionTracker and everyone who used it. Converted GetGlobalVar
      to have a heapPrediction like a civilized DFG opcode ought to.
              
      No performance effect.
      
      * GNUmakefile.list.am:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/CodeBlock.h:
      * bytecode/PredictionTracker.h: Removed.
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGGenerationInfo.h:
      * dfg/DFGGraph.cpp:
      (JSC::DFG::Graph::dump):
      * dfg/DFGGraph.h:
      (Graph):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::hasHeapPrediction):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9915ef4
    • tomz@codeaurora.org's avatar
      Unreviewed gardening and fix naming on EFL expected.txt files · c7db9929
      tomz@codeaurora.org authored
      * platform/chromium-linux/fast/text/text-shadow-no-default-color-expected.png: Added.
      * platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png:
      * platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png:
      * platform/chromium-mac-leopard/fast/text/text-shadow-no-default-color-expected.png: Added.
      * platform/chromium-mac-leopard/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png:
      * platform/chromium-mac-leopard/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png:
      * platform/chromium-mac-snowleopard/fast/text/text-shadow-no-default-color-expected.png: Added.
      * platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png:
      * platform/chromium-mac-snowleopard/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png:
      * platform/chromium-mac/fast/text/text-shadow-no-default-color-expected.png: Added.
      * platform/chromium-mac/fast/text/text-shadow-no-default-color-expected.txt: Added.
      * platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png:
      * platform/chromium-mac/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png:
      * platform/chromium-win/fast/text/text-shadow-no-default-color-expected.png: Added.
      * platform/chromium-win/fast/text/text-shadow-no-default-color-expected.txt: Added.
      * platform/chromium-win/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.png:
      * platform/chromium-win/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.png:
      * platform/chromium/test_expectations.txt:
      * platform/efl/fast/text/text-shadow-no-default-color-expected.txt: Added.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-applied-to-rounded-inline-element-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-border-box-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-color-border-box-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-applies-to-block-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background-size-aspect-ratio-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background_color_padding_box-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background_properties_greater_than_images-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-003-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-004-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-005-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-006-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-007-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-008-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-009-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-010-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-011-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-012-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-013-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-014-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-015-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-016-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-applies-to-017-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-clip-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-content-edge-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-different-width-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-initial-value-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-not-inherited-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-shorthand-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-003-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-004-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-style-005-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-sum-of-radii-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-003-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-left-radius-values-004-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/border-top-right-radius-values-004-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-001-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-002-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-003-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-003-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/box-shadow-004-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/color-behind-images-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/color-behind-images-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/none-as-image-layer-actual.txt.
      * platform/efl/ietestcenter/css3/bordersbackgrounds/order-of-images-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/bordersbackgrounds/order-of-images-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-001-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-001-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-002-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-002-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-003-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-003-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-004-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-004-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-005-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-005-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-006-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-006-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-007-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-007-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-008-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-008-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-009-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-009-actual.txt.
      * platform/efl/ietestcenter/css3/text/textshadow-010-expected.txt: Renamed from LayoutTests/platform/efl/ietestcenter/css3/text/textshadow-010-actual.txt.
      * platform/efl/test_expectations.txt:
      * platform/mac/fast/text/text-shadow-no-default-color-expected.txt: Added.
      * platform/mac/test_expectations.txt:
      * platform/qt/fast/text/text-shadow-no-default-color-expected.txt: Added.
      * platform/qt/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7db9929
    • rwlbuis@webkit.org's avatar
      [BlackBerry] Upstream BlackBerry change to PatternSkia.cpp · 383e8ac7
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83361
      
      Reviewed by Antonio Gomes.
      
      Upstream a cleaned up version.
      
      * platform/graphics/skia/PatternSkia.cpp:
      (WebCore::Pattern::platformDestroy):
      (WebCore::Pattern::platformPattern):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      383e8ac7
    • jamesr@google.com's avatar
      [chromium] Add OVERRIDE annotations for cc layer types · 91d9d9a1
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83658
      
      Reviewed by Daniel Bates.
      
      This adds OVERRIDE annotations to overrides of functions on these classes:
      - CCLayerImpl
      - LayerChromium
      - TiledLayerChromium
      
      Source/WebCore:
      
      * platform/graphics/chromium/Canvas2DLayerChromium.h:
      (Canvas2DLayerChromium):
      * platform/graphics/chromium/CanvasLayerChromium.h:
      (CanvasLayerChromium):
      * platform/graphics/chromium/ContentLayerChromium.h:
      (ContentLayerChromium):
      * platform/graphics/chromium/ImageLayerChromium.h:
      (ImageLayerChromium):
      * platform/graphics/chromium/PluginLayerChromium.h:
      (PluginLayerChromium):
      * platform/graphics/chromium/TiledLayerChromium.h:
      (TiledLayerChromium):
      * platform/graphics/chromium/VideoLayerChromium.h:
      (VideoLayerChromium):
      * platform/graphics/chromium/WebGLLayerChromium.h:
      (WebGLLayerChromium):
      * platform/graphics/chromium/cc/CCScrollbarLayerImpl.h:
      (CCScrollbarLayerImpl):
      * platform/graphics/chromium/cc/CCSolidColorLayerImpl.h:
      (CCSolidColorLayerImpl):
      * platform/graphics/chromium/cc/CCTextureLayerImpl.h:
      (CCTextureLayerImpl):
      * platform/graphics/chromium/cc/CCTiledLayerImpl.h:
      (CCTiledLayerImpl):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
      (CCVideoLayerImpl):
      
      Source/WebKit/chromium:
      
      * src/WebLayerImpl.cpp:
      * src/WebLayerImpl.h:
      (WebLayerImpl): Removed unused and empty paintContents() function.
      * tests/CCLayerIteratorTest.cpp:
      * tests/CCLayerTreeHostCommonTest.cpp:
      * tests/CCLayerTreeHostImplTest.cpp:
      * tests/CCLayerTreeHostTest.cpp:
      * tests/CCOcclusionTrackerTest.cpp:
      * tests/CCTiledLayerTestCommon.h:
      (FakeTiledLayerChromium):
      * tests/LayerChromiumTest.cpp:
      * tests/TreeSynchronizerTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91d9d9a1
    • thakis@chromium.org's avatar
      [mac] Suppress deprecation warning for GlobalToLocal in the carbon parts of the test plugin. · 5d6e2fa5
      thakis@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83709
      
      Reviewed by Anders Carlsson.
      
      * DumpRenderTree/TestNetscapePlugIn/main.cpp:
      (handleEventCarbon):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6e2fa5
    • ap@apple.com's avatar
      [Mac] lang, xml:lang, content-language ignored when choosing fonts · 3b22469b
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=10874
              <rdar://problem/3220202>
      
              Reviewed by Dan Bernstein.
      
              Adding a default font table for Mac port. Clients can still override these if they want to,
              but knowing which fonts to use is more about the platform than about the client.
      
              Tests: platform/mac/fonts/han-disunification.html
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * Resources/DefaultFonts.plist.in: Added.
              Added SettingsMac.mm. Added preprocessed property list with default fonts.
      
              * page/Settings.cpp:
              (WebCore::setGenericFontFamilyMap): Don't notify the page if we don't have one yet.
              (WebCore::Settings::Settings): Assign to m_page after calling initializeDefaultFontFamilies,
              so that we won't try to call page->setNeedsRecalcStyleInAllFrames() in a half-initialized
              Page that's creating settings.
              (WebCore::Settings::initializeDefaultFontFamilies): Dummy imlplementation for ports that
              rely on client to set defaults.
      
              * page/Settings.h: Added initializeDefaultFontFamilies().
      
              * page/mac/SettingsMac.mm: Added.
              (WebCore::defaultFontFamilyDictionary):
              (WebCore::Settings::initializeDefaultFontFamilies):
              Load defaults from a plist file inside WebCore framework.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b22469b
    • simonjam@chromium.org's avatar
      [Chromium] Unreviewed gardening. · 9cd2d608
      simonjam@chromium.org authored
      * platform/chromium-linux/css2.1/20110323/replaced-elements-001-expected.png:
      * platform/chromium-linux/css2.1/20110323/replaced-elements-001-expected.txt:
      * platform/chromium-linux/fast/block/float/avoiding-float-centered-expected.png: Added.
      * platform/chromium-mac-snowleopard/css2.1/20110323/replaced-elements-001-expected.png:
      * platform/chromium-mac-snowleopard/fast/block/float/avoiding-float-centered-expected.png: Added.
      * platform/chromium-mac/css2.1/20110323/replaced-elements-001-expected.png:
      * platform/chromium-mac/fast/block/float/avoiding-float-centered-expected.png: Added.
      * platform/chromium-win/css2.1/20110323/replaced-elements-001-expected.png:
      * platform/chromium-win/css2.1/20110323/replaced-elements-001-expected.txt:
      * platform/chromium-win/fast/block/float/avoiding-float-centered-expected.png: Added.
      * platform/chromium-win/fast/block/float/avoiding-float-centered-expected.txt: Added.
      * platform/chromium-win/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cd2d608
    • antti@apple.com's avatar
      Crash in CSSStyleSheet::deleteRule · 82945ec4
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83708
      
      Source/WebCore: 
      
      Reviewed by Andreas Kling.
              
      Andreas spotted that the wrapper needs to be null checked before calling setParentStyleSheet(0).
      
      Test: fast/css/delete-rule-crash.html
      
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::deleteRule):
      
      LayoutTests: 
      
      Reviewed by Andreas Kling.
      
      * fast/css/delete-rule-crash.html: Added.
      * fast/css/delete-rule-crash-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82945ec4
    • adamk@chromium.org's avatar
      [MutationObservers] Setting an attributeFilter should filter out all namespaced attribute mutations · 7701a09a
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83706
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      The patch amounts to plumbing QualifiedName all the way down to shouldReceiveMutationFrom
      as it now needs to know about namespaceURI as well as localName.
      
      This change is coming soon to the DOM4 spec, see
      https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563 for more discussion.
      
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::createIfNeeded):
      * dom/MutationObserverInterestGroup.h:
      (WebCore::MutationObserverInterestGroup::createForChildListMutation):
      (WebCore::MutationObserverInterestGroup::createForCharacterDataMutation):
      (WebCore::MutationObserverInterestGroup::createForAttributesMutation):
      (MutationObserverInterestGroup):
      * dom/MutationObserverRegistration.cpp:
      (WebCore::MutationObserverRegistration::shouldReceiveMutationFrom):
      * dom/MutationObserverRegistration.h:
      (WebCore):
      (MutationObserverRegistration):
      * dom/Node.cpp:
      (WebCore::Node::collectMatchingObserversForMutation):
      (WebCore::Node::getRegisteredMutationObserversOfType):
      * dom/Node.h:
      (Node):
      
      LayoutTests:
      
      Updated attributes test to match new behavior.
      
      * fast/mutation/observe-attributes-expected.txt:
      * fast/mutation/observe-attributes.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7701a09a
    • rafael.lobo@openbossa.org's avatar
      Adding myself to committers.py · 138345ab
      rafael.lobo@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83711
      
      Unreviewed update to committers.py.
      
      * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      138345ab
    • andersca@apple.com's avatar
      Add two more DOM storage tests to the Skipped list. · 8ccea31c
      andersca@apple.com authored
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ccea31c
    • commit-queue@webkit.org's avatar
      [EFL] LayoutTestController needs implementation of pageProperty · 255aa165
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82449
      
      Source/WebKit/efl:
      
      Add missing implementation pageProperty to EFL's
      DumpRenderTreeSupport.
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-11
      Reviewed by Antonio Gomes.
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::pageProperty):
      * WebCoreSupport/DumpRenderTreeSupportEfl.h:
      
      Tools:
      
      Add missing implementation pageProperty to EFL's LayoutTestController
      in order to unskip printing/page-rule-selection.html
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-11
      Reviewed by Antonio Gomes.
      
      * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
      (LayoutTestController::pageProperty):
      
      LayoutTests:
      
      Unskip printing/page-rule-selection.html
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-04-11
      Reviewed by Antonio Gomes.
      
      * platform/efl/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255aa165