1. 02 Jul, 2012 40 commits
    • fpizlo@apple.com's avatar
      DFG OSR exit value recoveries should be computed lazily · 8618e4ba
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82155
      
      Reviewed by Gavin Barraclough.
              
      This change aims to reduce one aspect of DFG compile times: the fact
      that we currently compute the value recoveries for each local and
      argument on every speculation check. We compile many speculation checks,
      so this can add up quick. The strategy that this change takes is to
      have the DFG save just enough information about how the compiler is
      choosing to represent state, that the DFG::OSRExitCompiler can reify
      the value recoveries lazily.
              
      This appears to be an 0.3% SunSpider speed-up and is neutral elsewhere.
              
      I also took the opportunity to fix the sampling regions profiler (it
      was missing an export macro) and to put in more sampling regions in
      the DFG (which are disabled so long as ENABLE(SAMPLING_REGIONS) is
      false).
              
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * bytecode/CodeBlock.cpp:
      (JSC):
      (JSC::CodeBlock::shrinkDFGDataToFit):
      * bytecode/CodeBlock.h:
      (CodeBlock):
      (JSC::CodeBlock::minifiedDFG):
      (JSC::CodeBlock::variableEventStream):
      (DFGData):
      * bytecode/Operands.h:
      (JSC::Operands::hasOperand):
      (Operands):
      (JSC::Operands::size):
      (JSC::Operands::at):
      (JSC::Operands::operator[]):
      (JSC::Operands::isArgument):
      (JSC::Operands::isVariable):
      (JSC::Operands::argumentForIndex):
      (JSC::Operands::variableForIndex):
      (JSC::Operands::operandForIndex):
      (JSC):
      (JSC::dumpOperands):
      * bytecode/SamplingTool.h:
      (SamplingRegion):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::parse):
      * dfg/DFGCFAPhase.cpp:
      (JSC::DFG::performCFA):
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::performCSE):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::performFixup):
      * dfg/DFGGenerationInfo.h:
      (JSC::DFG::GenerationInfo::GenerationInfo):
      (JSC::DFG::GenerationInfo::initConstant):
      (JSC::DFG::GenerationInfo::initInteger):
      (JSC::DFG::GenerationInfo::initJSValue):
      (JSC::DFG::GenerationInfo::initCell):
      (JSC::DFG::GenerationInfo::initBoolean):
      (JSC::DFG::GenerationInfo::initDouble):
      (JSC::DFG::GenerationInfo::initStorage):
      (GenerationInfo):
      (JSC::DFG::GenerationInfo::noticeOSRBirth):
      (JSC::DFG::GenerationInfo::use):
      (JSC::DFG::GenerationInfo::spill):
      (JSC::DFG::GenerationInfo::setSpilled):
      (JSC::DFG::GenerationInfo::fillJSValue):
      (JSC::DFG::GenerationInfo::fillCell):
      (JSC::DFG::GenerationInfo::fillInteger):
      (JSC::DFG::GenerationInfo::fillBoolean):
      (JSC::DFG::GenerationInfo::fillDouble):
      (JSC::DFG::GenerationInfo::fillStorage):
      (JSC::DFG::GenerationInfo::appendFill):
      (JSC::DFG::GenerationInfo::appendSpill):
      * dfg/DFGJITCompiler.cpp:
      (JSC::DFG::JITCompiler::link):
      (JSC::DFG::JITCompiler::compile):
      (JSC::DFG::JITCompiler::compileFunction):
      * dfg/DFGMinifiedGraph.h: Added.
      (DFG):
      (MinifiedGraph):
      (JSC::DFG::MinifiedGraph::MinifiedGraph):
      (JSC::DFG::MinifiedGraph::at):
      (JSC::DFG::MinifiedGraph::append):
      (JSC::DFG::MinifiedGraph::prepareAndShrink):
      (JSC::DFG::MinifiedGraph::setOriginalGraphSize):
      (JSC::DFG::MinifiedGraph::originalGraphSize):
      * dfg/DFGMinifiedNode.cpp: Added.
      (DFG):
      (JSC::DFG::MinifiedNode::fromNode):
      * dfg/DFGMinifiedNode.h: Added.
      (DFG):
      (JSC::DFG::belongsInMinifiedGraph):
      (MinifiedNode):
      (JSC::DFG::MinifiedNode::MinifiedNode):
      (JSC::DFG::MinifiedNode::index):
      (JSC::DFG::MinifiedNode::op):
      (JSC::DFG::MinifiedNode::hasChild1):
      (JSC::DFG::MinifiedNode::child1):
      (JSC::DFG::MinifiedNode::hasConstant):
      (JSC::DFG::MinifiedNode::hasConstantNumber):
      (JSC::DFG::MinifiedNode::constantNumber):
      (JSC::DFG::MinifiedNode::hasWeakConstant):
      (JSC::DFG::MinifiedNode::weakConstant):
      (JSC::DFG::MinifiedNode::getIndex):
      (JSC::DFG::MinifiedNode::compareByNodeIndex):
      (JSC::DFG::MinifiedNode::hasChild):
      * dfg/DFGNode.h:
      (Node):
      * dfg/DFGOSRExit.cpp:
      (JSC::DFG::OSRExit::OSRExit):
      * dfg/DFGOSRExit.h:
      (OSRExit):
      * dfg/DFGOSRExitCompiler.cpp:
      * dfg/DFGOSRExitCompiler.h:
      (OSRExitCompiler):
      * dfg/DFGOSRExitCompiler32_64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGOSRExitCompiler64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::performPredictionPropagation):
      * dfg/DFGRedundantPhiEliminationPhase.cpp:
      (JSC::DFG::performRedundantPhiElimination):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::SpeculativeJIT):
      (DFG):
      (JSC::DFG::SpeculativeJIT::fillStorage):
      (JSC::DFG::SpeculativeJIT::noticeOSRBirth):
      (JSC::DFG::SpeculativeJIT::compileMovHint):
      (JSC::DFG::SpeculativeJIT::compile):
      (JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
      * dfg/DFGSpeculativeJIT.h:
      (DFG):
      (JSC::DFG::SpeculativeJIT::use):
      (SpeculativeJIT):
      (JSC::DFG::SpeculativeJIT::spill):
      (JSC::DFG::SpeculativeJIT::speculationCheck):
      (JSC::DFG::SpeculativeJIT::forwardSpeculationCheck):
      (JSC::DFG::SpeculativeJIT::recordSetLocal):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::fillInteger):
      (JSC::DFG::SpeculativeJIT::fillDouble):
      (JSC::DFG::SpeculativeJIT::fillJSValue):
      (JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
      (JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
      (JSC::DFG::SpeculativeJIT::fillSpeculateCell):
      (JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::fillInteger):
      (JSC::DFG::SpeculativeJIT::fillDouble):
      (JSC::DFG::SpeculativeJIT::fillJSValue):
      (JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
      (JSC::DFG::SpeculativeJIT::fillSpeculateDouble):
      (JSC::DFG::SpeculativeJIT::fillSpeculateCell):
      (JSC::DFG::SpeculativeJIT::fillSpeculateBoolean):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGValueRecoveryOverride.h: Added.
      (DFG):
      (ValueRecoveryOverride):
      (JSC::DFG::ValueRecoveryOverride::ValueRecoveryOverride):
      * dfg/DFGValueSource.cpp: Added.
      (DFG):
      (JSC::DFG::ValueSource::dump):
      * dfg/DFGValueSource.h: Added.
      (DFG):
      (JSC::DFG::dataFormatToValueSourceKind):
      (JSC::DFG::valueSourceKindToDataFormat):
      (JSC::DFG::isInRegisterFile):
      (ValueSource):
      (JSC::DFG::ValueSource::ValueSource):
      (JSC::DFG::ValueSource::forPrediction):
      (JSC::DFG::ValueSource::forDataFormat):
      (JSC::DFG::ValueSource::isSet):
      (JSC::DFG::ValueSource::kind):
      (JSC::DFG::ValueSource::isInRegisterFile):
      (JSC::DFG::ValueSource::dataFormat):
      (JSC::DFG::ValueSource::valueRecovery):
      (JSC::DFG::ValueSource::nodeIndex):
      (JSC::DFG::ValueSource::nodeIndexFromKind):
      (JSC::DFG::ValueSource::kindFromNodeIndex):
      * dfg/DFGVariableEvent.cpp: Added.
      (DFG):
      (JSC::DFG::VariableEvent::dump):
      (JSC::DFG::VariableEvent::dumpFillInfo):
      (JSC::DFG::VariableEvent::dumpSpillInfo):
      * dfg/DFGVariableEvent.h: Added.
      (DFG):
      (VariableEvent):
      (JSC::DFG::VariableEvent::VariableEvent):
      (JSC::DFG::VariableEvent::reset):
      (JSC::DFG::VariableEvent::fillGPR):
      (JSC::DFG::VariableEvent::fillPair):
      (JSC::DFG::VariableEvent::fillFPR):
      (JSC::DFG::VariableEvent::spill):
      (JSC::DFG::VariableEvent::death):
      (JSC::DFG::VariableEvent::setLocal):
      (JSC::DFG::VariableEvent::movHint):
      (JSC::DFG::VariableEvent::kind):
      (JSC::DFG::VariableEvent::nodeIndex):
      (JSC::DFG::VariableEvent::dataFormat):
      (JSC::DFG::VariableEvent::gpr):
      (JSC::DFG::VariableEvent::tagGPR):
      (JSC::DFG::VariableEvent::payloadGPR):
      (JSC::DFG::VariableEvent::fpr):
      (JSC::DFG::VariableEvent::virtualRegister):
      (JSC::DFG::VariableEvent::operand):
      (JSC::DFG::VariableEvent::variableRepresentation):
      * dfg/DFGVariableEventStream.cpp: Added.
      (DFG):
      (JSC::DFG::VariableEventStream::logEvent):
      (MinifiedGenerationInfo):
      (JSC::DFG::MinifiedGenerationInfo::MinifiedGenerationInfo):
      (JSC::DFG::MinifiedGenerationInfo::update):
      (JSC::DFG::VariableEventStream::reconstruct):
      * dfg/DFGVariableEventStream.h: Added.
      (DFG):
      (VariableEventStream):
      (JSC::DFG::VariableEventStream::appendAndLog):
      * dfg/DFGVirtualRegisterAllocationPhase.cpp:
      (JSC::DFG::performVirtualRegisterAllocation):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121717 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8618e4ba
    • abarth@webkit.org's avatar
      Remove flashplugin-installer from the EWS image because it causes some tests to crash · 4d2486ab
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90403
      
      Reviewed by Tony Chang.
      
      * EWSTools/cold-boot.sh:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121716 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d2486ab
    • yosin@chromium.org's avatar
      Build fix for Chromimum · 38c3c037
      yosin@chromium.org authored
      r121710 removed WebCore/platform/qt/GraphicsLayerQt.{cpp,h}.
      However, that patch didn't remove them from WebCore.gypi.
      
      * WebCore.gypi: Removed GraphicsLayerQt.{cpp,h}
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38c3c037
    • jsbell@chromium.org's avatar
      IDL overloads should not treat wrapper types as nullable by default · 112ad74b
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90218
      
      Reviewed by Kentaro Hara.
      
      Wrapper types were being treated as Nullable by default during overloaded
      method dispatching, which deviates from the WebIDL specification. This change
      introduces the "?" type suffix into the parser, and treats wrapper types
      only nullable if specified. (The behavior of array types and other non-wrapper
      types are not changed, and only overloaded methods are checked.)
      
      IDL files with affected overloads are modified to include the "?" suffix
      so that no behavior changes are introduced by this patch - the JS and V8
      generator results before/after the change show no diffs.
      
      Test: bindings/scripts/test/TestObj.idl (a non-nullable overload)
      
      * Modules/indexeddb/IDBDatabase.idl: Added "?" where necessary.
      * Modules/indexeddb/IDBIndex.idl: Added "?" where necessary.
      * Modules/indexeddb/IDBObjectStore.idl: Added "?" where necessary.
      * Modules/webaudio/AudioContext.idl: Added "?" where necessary.
      * Modules/webaudio/AudioNode.idl: Added "?" where necessary.
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateParametersCheckExpression): Add isNullable check.
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateParametersCheckExpression): Add isNullable check.
      * bindings/scripts/IDLParser.pm: Parse/set isNullable.
      (parseParameters):
      * bindings/scripts/IDLStructure.pm: Add basic type suffix parsing.
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod8):
      (WebCore):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
      * bindings/scripts/test/TestObj.idl: Mark previous overload params with ?, add new one without.
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::overloadedMethod8Callback):
      (TestObjV8Internal):
      (WebCore::TestObjV8Internal::overloadedMethodCallback):
      * dom/DataTransferItemList.idl: Added "?" where necessary.
      * fileapi/WebKitBlobBuilder.idl: Added "?" where necessary.
      * html/DOMURL.idl: Added "?" where necessary.
      * html/canvas/CanvasRenderingContext2D.idl: Added "?" where necessary.
      * html/canvas/WebGLRenderingContext.idl: Added "?" where necessary.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      112ad74b
    • leandrogracia@chromium.org's avatar
      [Chromium] Implement a Layout Test for editing/SurroundingText · 5fadf17d
      leandrogracia@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82461
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebKit/chromium:
      
      Allow passing nodes as arguments for layout test methods.
      
      * public/WebBindings.h:
      (WebBindings):
      * src/WebBindings.cpp:
      (WebKit::getNodeImpl):
      (WebKit):
      (WebKit::WebBindings::getNode):
      
      Tools:
      
      Add a new method to the layout test controller in order to retrieve the
      text surrounding a provided element.
      
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (LayoutTestController::textSurroundingElement):
      * DumpRenderTree/chromium/LayoutTestController.h:
      (LayoutTestController):
      
      LayoutTests:
      
      Add a new layout test for the surrounding text feature.
      
      * platform/chromium/editing/surrounding-text/surrounding-text-expected.txt: Added.
      * platform/chromium/editing/surrounding-text/surrounding-text.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fadf17d
    • fpizlo@apple.com's avatar
      DFG::ArgumentsSimplificationPhase should assert that the PhantomArguments... · aedde2e1
      fpizlo@apple.com authored
      DFG::ArgumentsSimplificationPhase should assert that the PhantomArguments nodes it creates are not shouldGenerate()
      https://bugs.webkit.org/show_bug.cgi?id=90407
      
      Reviewed by Mark Hahnenberg.
      
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aedde2e1
    • eae@chromium.org's avatar
      Unreviewed chromium rebaseline. · e4f762d0
      eae@chromium.org authored
      * platform/chromium-linux/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt: Added.
      * platform/chromium-mac/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e4f762d0
    • noam.rosenthal@nokia.com's avatar
      [Qt] Get rid of GraphicsLayerQt · 376a4dfd
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=78598
      
      Reviewed by Luiz Agostini.
      
      Source/WebCore:
      
      Remove GraphicsLayerQt.h/cpp, as well as references to the non-TextureMapper code paths
      in GraphicsContext3DQt and MediaPlayerPrivateQt.
      
      No new tests, removing unused code paths.
      
      * Target.pri:
      * platform/graphics/PlatformLayer.h:
      * platform/graphics/qt/GraphicsContext3DQt.cpp:
      (GraphicsContext3DPrivate):
      (WebCore):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore):
      * platform/graphics/qt/GraphicsLayerQt.cpp: Removed.
      * platform/graphics/qt/GraphicsLayerQt.h: Removed.
      * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
      (WebCore):
      * platform/graphics/qt/MediaPlayerPrivateQt.h:
      (MediaPlayerPrivateQt):
      * plugins/qt/PluginViewQt.cpp:
      (WebCore::PluginView::invalidateRect):
      (WebCore::PluginView::platformStart):
      
      Source/WebKit/qt:
      
      Removed all references to GraphicsLayerQt, including #ifdef code paths that only apply
      when TEXTURE_MAPPER is disabled.
      
      * Api/qgraphicswebview.cpp:
      (QGraphicsWebView::paint):
      * Api/qwebframe.cpp:
      (QWebFramePrivate::renderFromTiledBackingStore):
      (QWebFramePrivate::renderRelativeCoords):
      * Api/qwebframe_p.h:
      (QWebFramePrivate::QWebFramePrivate):
      (QWebFramePrivate):
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      * WebCoreSupport/PageClientQt.cpp:
      (WebCore):
      (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
      (WebCore::PageClientQGraphicsWidget::update):
      (WebCore::PageClientQGraphicsWidget::syncLayers):
      (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
      * WebCoreSupport/PageClientQt.h:
      (WebCore):
      (WebCore::PageClientQWidget::PageClientQWidget):
      (PageClientQWidget):
      (PageClientQGraphicsWidget):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      376a4dfd
    • commit-queue@webkit.org's avatar
      LayoutUnit::epsilon() is wrong · 1a237a08
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90083
      
      Patch by Behdad Esfahbod <behdad@behdad.org> on 2012-07-02
      Reviewed by Eric Seidel.
      
      Do division in floats, not integers.
      
      No new tests. No code using the affected function.
      
      * platform/FractionalLayoutUnit.h:
      (WebCore::FractionalLayoutUnit::epsilon):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121709 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a237a08
    • timothy_horton@apple.com's avatar
      Compositing layer sync should cause deferred repaints to be fired immediately · 2153926a
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90401
      <rdar://problem/11792028>
      
      Reviewed by Simon Fraser and Antti Koivisto.
      
      If we sync compositing layers and allow the repaint to be deferred, there is time for a
      visible flash to occur. Instead, stop the deferred repaint timer and repaint immediately.
      
      No new tests, configuration and timing dependent.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::syncCompositingStateForThisFrame):
      (WebCore::FrameView::checkStopDelayingDeferredRepaints):
      (WebCore::FrameView::stopDelayingDeferredRepaints): Split off from checkStopDelayingDeferredRepaints.
      * page/FrameView.h:
      (FrameView): Add stopDelayingDeferredRepaints.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2153926a
    • benjamin@webkit.org's avatar
      Do not do any logging initialization when logging is disabled · f3869e43
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90228
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-02
      Reviewed by Simon Fraser.
      
      Source/WebCore: 
      
      Initializating of the logging channels was taking time on startup. When logging is disabled
      (and the LOG macro does nothing), we should aslo disable logging channels and initialization.
      
      This patch #ifdef the Logging initialization with the macro LOG_DISABLED.
      
      * WebCore.exp.in:
      * make-export-file-generator: Explicitely adds Assertions.h so that LOG_DISABLED is defined.
      * platform/Logging.cpp:
      * platform/Logging.h:
      * platform/blackberry/LoggingBlackBerry.cpp:
      * platform/efl/LoggingEfl.cpp:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      * platform/gtk/LoggingGtk.cpp:
      * platform/mac/LoggingMac.mm:
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::ensureSessionIsInitialized):
      * platform/qt/LoggingQt.cpp:
      * platform/win/LoggingWin.cpp:
      * platform/wx/LoggingWx.cpp:
      
      Source/WebKit/blackberry: 
      
      * Api/BlackBerryGlobal.cpp:
      (BlackBerry::WebKit::globalInitialize):
      
      Source/WebKit/chromium: 
      
      * src/WebKit.cpp:
      (WebKit::enableLogChannel):
      
      Source/WebKit/efl: 
      
      * ewk/ewk_main.cpp:
      (_ewk_init_body):
      
      Source/WebKit/gtk: 
      
      * webkit/webkitglobals.cpp:
      (webkitInit):
      
      Source/WebKit/mac: 
      
      * Misc/WebIconDatabase.mm:
      (-[WebIconDatabase _scaleIcon:toSize:]):
      * Misc/WebKitLogging.h:
      * Misc/WebKitLogging.m:
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView _attributeStringFromDOMRange:]):
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/InitWebCoreQt.cpp:
      (WebCore::initializeWebCoreQt):
      
      Source/WebKit/win: 
      
      * WebView.cpp:
      (WebView::initWithFrame):
      
      Source/WebKit/wx: 
      
      * WebView.cpp:
      (WebKit::WebView::Create):
      
      Source/WebKit2: 
      
      * Platform/Logging.cpp:
      * Platform/Logging.h:
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::WebContext):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::WebProcess):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3869e43
    • ojan@chromium.org's avatar
      Delete unused rebaseline method in gardeningserver.py · 735352f6
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90396
      
      Reviewed by Eric Seidel.
      
      As best I can tell, the only usage was in this unittest.
      
      * Scripts/webkitpy/tool/servers/gardeningserver.py:
      (GardeningHTTPRequestHandler.updateexpectations):
      * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
      (GardeningServerTest.test_rebaseline_new_port):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      735352f6
    • abarth@webkit.org's avatar
      Another crashing test on the EWS. We think this is because of the flash · 1c0c52df
      abarth@webkit.org authored
      package we have installed.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121705 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c0c52df
    • eae@chromium.org's avatar
      Unreviewed chromium rebaseline for r121697. · 0f759ab3
      eae@chromium.org authored
      * platform/chromium-linux-x86/fast/multicol/vertical-lr: Added.
      * platform/chromium-linux-x86/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
      * platform/chromium-linux-x86/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/chromium-linux/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
      * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/chromium-linux/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      * platform/chromium-mac-snowleopard/fast/multicol/vertical-lr/float-avoidance-expected.png: Removed.
      * platform/chromium-mac-snowleopard/fast/multicol/vertical-rl/float-avoidance-expected.png: Removed.
      * platform/chromium-mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/chromium-mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/chromium-win-xp/fast/multicol/vertical-lr: Added.
      * platform/chromium-win-xp/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
      * platform/chromium-win-xp/fast/multicol/vertical-rl: Added.
      * platform/chromium-win-xp/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/chromium-win/fast/multicol/vertical-lr/float-avoidance-expected.txt:
      * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/chromium-win/fast/multicol/vertical-rl/float-avoidance-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f759ab3
    • alexis.menard@openbossa.org's avatar
      fast/box-decoration-break/box-decoration-break-rendering.html failing on mac bots · 51488285
      alexis.menard@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=89620
      
      Reviewed by Simon Fraser.
      
      Remove the border-radius from the test case as it can produce differences between
      the test case and the reference html. At first we thought the 3 pixels difference
      was only happening on Mac but after investigation it also happens in Qt (at least).
      It was not triggered because ImageDiff was called with some tolerance. Turning the
      tolerance to 0 on Qt also trigger some pixel differences.
      
      The differences on how the radius is drawn can be explained by the fact that
      the reference html and the test case uses two different paths for drawing the border.
      The reference on the slice case only draw three borders which leads into the contruction
      of three different drawing paths that we use to clip and clip out. We then draw the border with
      antialiasing off as we have constructed the outer and inner paths pretty accurately.
      The test case in the other hand uses the fast path for drawing the borders. The slice effect
      is in fact is happening because the graphics context is clipped to the current InlineFlowBox rect but still
      the border has 4 edges and its drawing will happen using the following : create a path with
      an outer rounded rectangle and an inner rounded rectangle. The path is then filled with RULE_EVENODD
      and anti-aliasing turn on to achieve a nice looking effect.
      
      To conclude the pixel differences are the fact of the two different drawing techniques used here. Fast
      drawing and anti-aliasing to get a decent result or more accurate algorithm but slower. The original test
      was not about testing the radiuses of the borders but rather if the borders are cloned or sliced. Even
      removing the radius still cover the feature.
      
      * fast/box-decoration-break/box-decoration-break-rendering-expected.html:
      * fast/box-decoration-break/box-decoration-break-rendering.html:
      * platform/mac/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51488285
    • commit-queue@webkit.org's avatar
      [EFL][CMake] Integrate API unit tests with CTest · cf833612
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=87251
      
      Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-02
      Reviewed by Daniel Bates.
      
      .:
      
      Enable CTest on the root CMakeLists.txt as it is expected
      to be here. This will create a new build target ("make test")
      to run all the API unit tests.
      
      * CMakeLists.txt:
      
      Source/WebKit:
      
      Add every test to the test runner build target.
      
      * PlatformEfl.cmake:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf833612
    • dpranke@chromium.org's avatar
      REGRESSION(r121497): It switched off and broke many unittests · 1e9b8454
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90371
      
      Patch by Csaba Osztrogonác <ossy@webkit.org> on 2012-07-02
      Reviewed by Adam Barth.
      
      * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
      (ChromiumMacPortTest): Use snowleopard as os_version instead of leopard, because it isn't supported anymore.
      * Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
      (ChromiumPortTestCase.test_all_test_configurations): Remove leopard testcases, because it isn't supported anymore.
      * Scripts/webkitpy/layout_tests/port/port_testcase.py:
      (PortTestCase): Inherit class PortTestCase from unittest.TestCase instead of object.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e9b8454
    • barraclough@apple.com's avatar
      Array.prototype.pop should throw if property is not configurable · 15ab3356
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75788
      
      Rubber Stamped by Oliver Hunt.
      
      No real bug here any more, but the error we throw sometimes has a misleading message.
       
      * runtime/JSArray.cpp:
      (JSC::JSArray::pop):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      15ab3356
    • ojan@chromium.org's avatar
      Move rebaseline-all command from the gardening-server down into webkit-patch · 2e515b75
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90395
      
      Reviewed by Adam Barth.
      
      This is just moving code. It it in preparation for making rebaseline-expectations
      use the same code in order to get the parallelism benefits and reduces the amount
      of code we have for doing rebaselines.
      
      * Scripts/webkitpy/common/checkout/checkout_unittest.py:
      (CheckoutTest.test_apply_patch):
      Updated due to the change to executive_mock.
      * Scripts/webkitpy/common/system/executive_mock.py:
      (MockExecutive.run_command):
      Update to print out the input passed to stdin.
      * Scripts/webkitpy/tool/commands/download_unittest.py:
      Updated due to executive_mock change.
      * Scripts/webkitpy/tool/commands/rebaseline.py:
      (RebaselineAll):
      (RebaselineAll._run_webkit_patch):
      (RebaselineAll._builders_to_fetch_from):
      (RebaselineAll._rebaseline_commands):
      (RebaselineAll._files_to_add):
      (RebaselineAll._optimize_baselines):
      (RebaselineAll._rebaseline):
      (RebaselineAll.execute):
      All this code is just copy-pasted except for mechanical changes
      (e.g. self.server.tool --> self._tool) and the reading in of the
      JSON from stdin instead of the post body.
      * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
      (test_rebaseline_all):
      Copied the test-case out of gardeningserver_unittest.py.
      * Scripts/webkitpy/tool/servers/gardeningserver.py:
      (GardeningHTTPRequestHandler):
      (GardeningHTTPRequestHandler.rebaseline):
      (GardeningHTTPRequestHandler.rebaselineall):
      * Scripts/webkitpy/tool/servers/gardeningserver_unittest.py:
      (GardeningServerTest.test_rebaselineall):
      (GardeningServerTest.test_rebaselineall.run_command):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e515b75
    • noam.rosenthal@nokia.com's avatar
      [Qt][WK2] New API tests introduced in r121620 fail · 31426755
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90372
      
      Reviewed by Luiz Agostini.
      
      Updated the pixel comparison to produce more predictable results.
      
      * UIProcess/API/qt/tests/qrawwebview/tst_qrawwebview.cpp:
      (compareImages):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31426755
    • mitz@apple.com's avatar
      <rdar://problem/11787030> In vertical writing modes, child following... · 3129ee6a
      mitz@apple.com authored
      <rdar://problem/11787030> In vertical writing modes, child following float-clearing block has incorrect logical top
      https://bugs.webkit.org/show_bug.cgi?id=90359
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Test: fast/writing-mode/logical-height-after-clear.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloatsIfNeeded): Changed to use logicalTop() and logicalHeight()
      instead of y() and height().
      
      LayoutTests: 
      
      * fast/writing-mode/logical-height-after-clear-expected.html: Added.
      * fast/writing-mode/logical-height-after-clear.html: Added.
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt:
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3129ee6a
    • ojan@chromium.org's avatar
      Remove Leopard support from the flakiness dashboard · 078f898b
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90390
      
      Reviewed by Adam Barth.
      
      * TestResultServer/static-dashboards/flakiness_dashboard.js:
      (nonChromiumPlatform):
      (chromiumPlatform):
      * TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
      (test):
      * TestResultServer/static-dashboards/run-embedded-unittests.html:
      * TestResultServer/static-dashboards/run-unittests.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      078f898b
    • ojan@chromium.org's avatar
      Fix posting from garden-o-matic. This broke in moving away from jquery's ajax method · d5c34d28
      ojan@chromium.org authored
      in http://trac.webkit.org/changeset/121617.
      * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/net.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5c34d28
    • zandobersek@gmail.com's avatar
      [Gtk] Many tests revealed as passing after moving from Skipped to test_expectations.txt · 54768473
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=85591
      
      Reviewed by Martin Robinson.
      
      Create a new category for test failures that only fail on specific architecture. Tests
      under this category are essentially marked as flaky, but in reality only fail on the
      build architecture under which they are listed. This is a convenient workaround for
      keeping tests from being recognized as newly-passing on architectures where the failure
      does not occur.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54768473
    • zandobersek@gmail.com's avatar
      Clean up slow HTTP tests on GTK platform · 89f51780
      zandobersek@gmail.com authored
      Rubber-stamped by Martin Robinson.
      
      Skip the HTTP tests that take half a minute to run, most oftenly failing
      as well. These tests only extend the overall testing time.
      Also group the tests failing due to missing authentication handling in DRT,
      missing multipart/x-mixed-replace support in libsoup and open a new bug
      for the failing http/tests/plugins/plugin-document-has-focus.html test.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89f51780
    • arko@motorola.com's avatar
      Microdata: Fix build failure after r121580. · 7abf8106
      arko@motorola.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90378
      
      Reviewed by Ryosuke Niwa.
      
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::properties):
      * html/HTMLElement.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7abf8106
    • tommyw@google.com's avatar
      MediaStream API: Update MediaStreamTrackList to match the specification · d0e4be33
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90171
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      The latest update to the specification added add and remove methods with corresponding callbacks.
      The callbacks can be triggered both from JS and from the platform layer.
      
      * chromium/public/WebMediaStreamCenterClient.h:
      (WebKit):
      (WebMediaStreamCenterClient):
      
      Source/WebCore:
      
      The latest update to the specification added add and remove methods with corresponding callbacks.
      The callbacks can be triggered both from JS and from the platform layer.
      
      Test: fast/mediastream/MediaStreamTrackList.html
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::MediaStream::MediaStream):
      (WebCore::MediaStream::~MediaStream):
      (WebCore::MediaStream::streamEnded):
      (WebCore::MediaStream::addTrack):
      (WebCore):
      (WebCore::MediaStream::removeTrack):
      * Modules/mediastream/MediaStream.h:
      (MediaStream):
      * Modules/mediastream/MediaStreamTrackEvent.cpp: Copied from Source/WebCore/Modules/mediastream/MediaStreamTrackList.cpp.
      (WebCore):
      (WebCore::MediaStreamTrackEvent::create):
      (WebCore::MediaStreamTrackEvent::MediaStreamTrackEvent):
      (WebCore::MediaStreamTrackEvent::~MediaStreamTrackEvent):
      (WebCore::MediaStreamTrackEvent::track):
      (WebCore::MediaStreamTrackEvent::interfaceName):
      * Modules/mediastream/MediaStreamTrackEvent.h: Copied from Source/WebCore/Modules/mediastream/MediaStreamTrackList.h.
      (WebCore):
      (MediaStreamTrackEvent):
      * Modules/mediastream/MediaStreamTrackEvent.idl: Copied from Source/WebCore/Modules/mediastream/MediaStreamTrackList.idl.
      * Modules/mediastream/MediaStreamTrackList.cpp:
      (WebCore::MediaStreamTrackList::create):
      (WebCore::MediaStreamTrackList::MediaStreamTrackList):
      (WebCore::MediaStreamTrackList::detachOwner):
      (WebCore):
      (WebCore::MediaStreamTrackList::add):
      (WebCore::MediaStreamTrackList::remove):
      (WebCore::MediaStreamTrackList::stop):
      (WebCore::MediaStreamTrackList::interfaceName):
      (WebCore::MediaStreamTrackList::scriptExecutionContext):
      (WebCore::MediaStreamTrackList::eventTargetData):
      (WebCore::MediaStreamTrackList::ensureEventTargetData):
      * Modules/mediastream/MediaStreamTrackList.h:
      (MediaStreamTrackList):
      * Modules/mediastream/MediaStreamTrackList.idl:
      * WebCore.gypi:
      * dom/EventNames.h:
      (WebCore):
      * dom/EventNames.in:
      * dom/EventTargetFactory.in:
      * platform/mediastream/MediaStreamCenter.cpp:
      (WebCore::MediaStreamCenter::addMediaStreamTrack):
      (WebCore):
      (WebCore::MediaStreamCenter::removeMediaStreamTrack):
      * platform/mediastream/MediaStreamCenter.h:
      (MediaStreamCenter):
      * platform/mediastream/MediaStreamDescriptor.h:
      (MediaStreamDescriptorOwner):
      * platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
      (WebCore::MediaStreamCenterChromium::didAddMediaStreamTrack):
      (WebCore):
      (WebCore::MediaStreamCenterChromium::didRemoveMediaStreamTrack):
      (WebCore::MediaStreamCenterChromium::addMediaStreamTrack):
      (WebCore::MediaStreamCenterChromium::removeMediaStreamTrack):
      * platform/mediastream/chromium/MediaStreamCenterChromium.h:
      (WebKit):
      (MediaStreamCenterChromium):
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp:
      (WebCore::MediaStreamCenterGStreamer::didAddMediaStreamTrack):
      (WebCore):
      (WebCore::MediaStreamCenterGStreamer::didRemoveMediaStreamTrack):
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
      (MediaStreamCenterGStreamer):
      
      LayoutTests:
      
      * fast/mediastream/MediaStreamTrackList-expected.txt: Added.
      * fast/mediastream/MediaStreamTrackList.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0e4be33
    • caseq@chromium.org's avatar
      Web Inspector: incorrect height of main timeline pane after switching to memory mode · 82d10f7d
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90387
      
      Reviewed by Pavel Feldman.
      
      - update cached container height when setting vertical splitter position.
      
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel.prototype.set _setSplitterPosition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82d10f7d
    • commit-queue@webkit.org's avatar
      [MICRODATA] Build failure in html/HTMLPropertiesCollection.h · c6158601
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90379
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-02
      Reviewed by Ryosuke Niwa.
      
      Switch HTMLCollection::append() visibility from private
      to protected so that HTMLPropertiesCollection subclass
      can call it. This fixes build when MICRODATA flag is
      turned on.
      
      No new tests, build fix.
      
      * html/HTMLCollection.h:
      (HTMLCollectionCacheBase):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6158601
    • eae@chromium.org's avatar
      Unreviewed chromium expectations update. · 47bb699b
      eae@chromium.org authored
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47bb699b
    • tony@chromium.org's avatar
      Unreviewed: Fix a flexbox reftest that was failing on most platforms. · 2d0c46a6
      tony@chromium.org authored
      Remove the test case that caused the image diff.  I'll try to come up
      with a different way to test this.
      
      * css3/flexbox/anonymous-block-expected.html:
      * css3/flexbox/anonymous-block.html:
      * platform/chromium/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d0c46a6
    • alexis.menard@openbossa.org's avatar
      [Qt] Fix WebProcess crash on Mac when accessing a site with video tag. · 948bd8ee
      alexis.menard@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90384
      
      Reviewed by Jocelyn Turcotte.
      
      We need to initialize the private symbols used by MediaPlayerPrivateQTKit
      otherwise they will be null and it will lead to a crash. We copy WebSystemInterface
      files for WK2 just like the Mac port as WK2 may have different needs than WK1 layer (we
      may add or remove symbols in here). It doesn't fix the video rendering yet but it's
      first step.
      
      * Target.pri:
      * WebProcess/WebCoreSupport/qt/WebSystemInterface.h: Added.
      * WebProcess/WebCoreSupport/qt/WebSystemInterface.mm: Added.
      (InitWebCoreSystemInterfaceForWK2):
      * WebProcess/qt/WebProcessMainQt.cpp:
      (WebKit::WebProcessMainQt):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      948bd8ee
    • abarth@webkit.org's avatar
      This test is a flaky crash on the cr-linux-ews, which is causing the · 99eee6fd
      abarth@webkit.org authored
      bot to be very slow in processing patches and to spam bugs with false
      failures. Mark this test as flaky while we investigate.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99eee6fd
    • carlosgc@webkit.org's avatar
      [GTK] Read fonts path when running layout tests from alternative fonts dir... · 406ecd52
      carlosgc@webkit.org authored
      [GTK] Read fonts path when running layout tests from alternative fonts dir when main dir doesn't exist
      https://bugs.webkit.org/show_bug.cgi?id=89437
      
      Reviewed by Martin Robinson.
      
      If main fonts directory doesn't exist, try with an alternative
      fonts directory at build directory.
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (getOutputDir):
      (getFontsPath):
      (initializeFonts):
      * WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:
      (WTR::getOutputDir):
      (WTR):
      (WTR::getFontsPath):
      (WTR::inititializeFontConfigSetting):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      406ecd52
    • commit-queue@webkit.org's avatar
      A start "body" tag in the "in body" insertion mode is a parse error · adfb9409
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90373
      
      Patch by Kwang Yul Seo <skyul@company100.net> on 2012-07-02
      Reviewed by Eric Seidel.
      
      According to HTML5 specification (http://www.w3.org/TR/html5/tree-construction.html#parsing-main-inbody),
      a start "body" tag in the "in body" insertion mode is a parse error. So parseError(token) is required here.
      No behavior change because parseError(token) is just a marker.
      
      * html/parser/HTMLTreeBuilder.cpp:
      (WebCore::HTMLTreeBuilder::processStartTagForInBody):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adfb9409
    • commit-queue@webkit.org's avatar
      [EFL] [WK2] Remove content sniffer and decoder initialization from WebProcess · 1df27dcf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90275
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-07-02
      Reviewed by Martin Robinson.
      
      Do not initialize content sniffer and decoder in the WebProcess
      because the initialization is now done in WebCore.
      
      * WebProcess/efl/WebProcessMainEfl.cpp:
      (WebKit::WebProcessMainEfl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1df27dcf
    • carlosgc@webkit.org's avatar
      [GTK] Don't run the tests with jhbuild wrapper if it's already running under jhbuild · fbf9d7c1
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=89435
      
      Reviewed by Martin Robinson.
      
      * Scripts/new-run-webkit-tests: Don't run the tests with the
      jhbuild wrapper if there isn't a Dependencies directory inside the
      build directory.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbf9d7c1
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening, update expected files, skip new failing tests. · eaabb9b4
      ossy@webkit.org authored
      * platform/qt-5.0-wk2/Skipped: Skip fast/viewport/viewport-91.html because of bug90376.
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Updated after r121599.
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Updated after r121599.
      * platform/qt/Skipped: Skip inspector/debugger/script-snippet-model.html because of bug90385.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eaabb9b4
    • gyuyoung.kim@samsung.com's avatar
      [EFL] Rename NotificationPresenterEfl with NotificationClientEfl · 90535b9e
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90370
      
      Reviewed by Csaba Osztrogonác.
      
      Source/WebKit:
      
      Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust
      it as well.
      
      * PlatformEfl.cmake:
      
      Source/WebKit/efl:
      
      Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well.
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp.
      (WebCore):
      (WebCore::NotificationClientEfl::NotificationClientEfl):
      (WebCore::NotificationClientEfl::~NotificationClientEfl):
      (WebCore::NotificationClientEfl::show):
      (WebCore::NotificationClientEfl::cancel):
      (WebCore::NotificationClientEfl::notificationObjectDestroyed):
      (WebCore::NotificationClientEfl::notificationControllerDestroyed):
      (WebCore::NotificationClientEfl::requestPermission):
      (WebCore::NotificationClientEfl::checkPermission):
      (WebCore::NotificationClientEfl::cancelRequestsForPermission):
      * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h.
      (WebCore):
      (NotificationClientEfl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90535b9e
    • rakuco@webkit.org's avatar
      [EFL] Unreviewed build fix with ENABLE_NETSCAPE_PLUGIN_API after r121467. · 16e2c013
      rakuco@webkit.org authored
      * plugins/efl/PluginPackageEfl.cpp:
      (WebCore::PluginPackage::load): Move the declaration of `err'
      before the first `goto' statement.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16e2c013