1. 11 Sep, 2013 7 commits
    • zandobersek@gmail.com's avatar
      [GTK] Stop disabling deprecated symbols in debug builds · 4d4a01ed
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121145
      
      Reviewed by Carlos Garcia Campos.
      
      Disabling the dependencies' deprecated symbols in debug builds is only causing unnecessary
      build failures. Compiler warnings are being thrown whenever a deprecated symbol is being
      used, so a build failure is an overreach in this case.
      
      * Source/autotools/SetupAutoconfHeader.m4:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d4a01ed
    • gyuyoung.kim@samsung.com's avatar
      Generate more HTML type checks and casting · 29a2662e
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121080
      
      Reviewed by Andreas Kling.
      
      Clean-up remained functions of HTML elements using auto-generated isFooElement(),
      and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
      
      Besides this patch clean-up unnecessary checks which are being supported by
      auto-generated isFooElement().
      
      Source/WebCore:
      
      No new tests, no behavior change.
      
      * accessibility/atk/AXObjectCacheAtk.cpp:
      (WebCore::notifyChildrenSelectionChange):
      * html/HTMLFrameElementBase.h:
      (WebCore::toHTMLFrameElementBase):
      * html/HTMLIFrameElement.h:
      * html/HTMLImageLoader.cpp:
      (WebCore::HTMLImageLoader::dispatchLoadEvent):
      (WebCore::HTMLImageLoader::notifyFinished):
      * html/HTMLObjectElemenaeh:
      * html/HTMLOptionsCollection.cpp:
      (WebCore::HTMLOptionsCollection::HTMLOptionsCollection):
      * html/HTMLSelectElement.h:
      * html/HTMLTagNames.in:
      * html/HTMLVideoElement.h:
      * html/shadow/HTMLContentElement.h:
      * loader/ImageLoader.cpp:
      (WebCore::ImageLoader::dispatchPendingBeforeLoadEvent):
      * loader/archive/cf/LegacyWebArchive.cpp:
      (WebCore::LegacyWebArchive::create):
      * page/PageSerializer.cpp:
      (WebCore::frameOwnerURLAttributeName):
      * page/SpatialNavigation.cpp:
      (WebCore::canScrollInDirection):
      * platform/gtk/PasteboardGtk.cpp:
      (WebCore::getURLForImageNode):
      * plugins/IFrameShimSupport.cpp:
      (WebCore::getPluginOcclusions):
      * rendering/HitTestResult.cpp:
      (WebCore::HitTestResult::mediaSupportsFullscreen):
      (WebCore::HitTestResult::mediaElement):
      (WebCore::HitTestResult::enterFullscreenForVideo):
      (WebCore::HitTestResult::mediaIsVideo):
      
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::requiresCompositingForVideo):
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::RenderListBox):
      * rendering/RenderMenuList.cpp:
      (WebCore::RenderMenuList::RenderMenuList):
      * testing/Internals.cpp:
      (WebCore::Internals::isSelectPopupVisible):
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::adjustRectOffsetForFrameOffset):
      (BlackBerry::WebKit::WebPage::notifyFullScreenVideoExited):
      (BlackBerry::WebKit::WebPagePrivate::enterFullscreenForNode):
      (BlackBerry::WebKit::WebPagePrivate::exitFullscreenForNode):
      (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
      (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::supportsFullscreenForNode):
      * WebCoreSupport/EditorClientBlackBerry.cpp:
      (WebCore::EditorClientBlackBerry::shouldChangeSelectedRange):
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::isElementTypePlugin):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::willOpenPopupForNode):
      (BlackBerry::WebKit::InputHandler::didNodeOpenPopup):
      * WebKitSupport/SelectionHandler.cpp:
      (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged):
      
      Source/WebKit/gtk:
      
      No new tests, no behavior change.
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      (WebKit::ChromeClient::supportsFullscreenForNode):
      
      Source/WebKit/mac:
      
      No new tests, no behavior change.
      
      * Plugins/WebPluginController.mm:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::supportsFullscreenForNode):
      * WebView/WebView.mm:
      (-[WebView _enterFullscreenForNode:WebCore::]):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/ChromeClientQt.cpp:
      
      Source/WebKit/win:
      
      * WebCoreSupport/WebChromeClient.cpp:
      (WebChromeClient::supportsFullscreenForNode):
      * WebView.cpp:
      (WebView::enterFullscreenForNode):
      
      Source/WebKit2:
      
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::containsAnyFormControls):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29a2662e
    • akling@apple.com's avatar
      Rename BackForwardList.h => BackForwardClient.h · accd965f
      akling@apple.com authored
      Rubber-stamped by Antti Koivisto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      accd965f
    • cfleizach@apple.com's avatar
      AX: Mac platform is not using accessibilityTitle from the Base implementation · 62715b9c
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121109
      
      Reviewed by Sam Weinig.
      
      Remove the Mac platform overrides of accessibilityTitle, Description, HelpText.
      The Base implementation has these and we can share them between iOS and Mac
      
      * accessibility/mac/WebAccessibilityObjectWrapperBase.mm:
      (-[WebAccessibilityObjectWrapperBase accessibilityTitle]):
      (-[WebAccessibilityObjectWrapperBase accessibilityDescription]):
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62715b9c
    • akling@apple.com's avatar
      Rename BackForwardList => BackForwardClient. · e879fc08
      akling@apple.com authored
      <https://webkit.org/b/121143>
      
      Reviewed by Antti Koivisto.
      
      Nuke a 3 year old FIXME about renaming this class.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e879fc08
    • cfleizach@apple.com's avatar
      AX: AXValue/AXMenuItemMarkChar not defined for menuitemradio (should be false... · 5b9c567e
      cfleizach@apple.com authored
      AX: AXValue/AXMenuItemMarkChar not defined for menuitemradio (should be false (0) with aria-checked=mixed | undefined)
      https://bugs.webkit.org/show_bug.cgi?id=120372
      
      Unreviewed. Layout test fix for MacOS WK2.
      
      * platform/mac/accessibility/menu-item-values.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b9c567e
    • ossy@webkit.org's avatar
      Unreviewed fix after the unreviewed r155498 to unbreak the failure · 5d88b498
      ossy@webkit.org authored
      counter of run-javascriptcore-tests build step on build.webkit.org.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      (RunJavaScriptCoreTests.commandComplete):
      * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d88b498
  2. 10 Sep, 2013 33 commits
    • fpizlo@apple.com's avatar
      Propagate the Int48 stuff into the prediction propagator. · 3f780e4a
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121132
      
      Reviewed by Mark Hahnenberg.
              
      This still has no effect on codegen since Int48 still looks like a Double right now.
      
      * bytecode/ExitKind.cpp:
      (JSC::exitKindToString):
      * bytecode/ExitKind.h:
      * bytecode/SpeculatedType.cpp:
      (JSC::speculationFromValue):
      * bytecode/SpeculatedType.h:
      (JSC::isMachineIntSpeculation):
      (JSC::isMachineIntSpeculationExpectingDefined):
      (JSC::isMachineIntSpeculationForArithmetic):
      * dfg/DFGGraph.cpp:
      (JSC::DFG::Graph::dump):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::addShouldSpeculateMachineInt):
      (JSC::DFG::Graph::mulShouldSpeculateInt32):
      (JSC::DFG::Graph::mulShouldSpeculateMachineInt):
      (JSC::DFG::Graph::negateShouldSpeculateMachineInt):
      (JSC::DFG::Graph::hasExitSite):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::shouldSpeculateMachineInt):
      (JSC::DFG::Node::shouldSpeculateMachineIntForArithmetic):
      (JSC::DFG::Node::shouldSpeculateMachineIntExpectingDefined):
      (JSC::DFG::Node::canSpeculateInt48):
      * dfg/DFGNodeFlags.h:
      (JSC::DFG::nodeCanSpeculateInt48):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f780e4a
    • fpizlo@apple.com's avatar
      Unreviewed, be a bit more clear about what we mean by 'js' tests. I think this · 0c73e20c
      fpizlo@apple.com authored
      got a bit overlooked from the fast/js->js refactoring.
      
      * Scripts/run-javascriptcore-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c73e20c
    • fpizlo@apple.com's avatar
      Be explicit about backwards propagation properties that care about escaping to... · dc36e83f
      fpizlo@apple.com authored
      Be explicit about backwards propagation properties that care about escaping to bytecode, as opposed to just escaping within DFG code.
      
      Rubber stamped by Mark Hahnenberg.
              
      We need to care about escaping to bytecode if we're doing a lossy optimization,
      i.e. the optimization means we produce less information and so we can't rescue
      ourselves during OSR exit.
              
      We only need to care about escaping within the DFG code (and can ignore what
      might happen in bytecode) if we're doing an optimization that is lossless, i.e.
      we can always still reconstruct the values that bytecode wants.
              
      Example #1:
              
          Large int32 + int32 which overflows. We want to optimize away the overflow
          check and just do a 32-bit add.
                  
          This is lossy; the result should have one extra bit but we simply throw
          that bit away by doing a check-less 32-bit add. Hence we need to know that 
          even the bytecode wouldn't have cared about that bit. This is true in cases
          like (a + b) | 0.
              
      Example #2:
              
          Larbe int32 + int32 which overflows. We want to optimize away the overflow
          check by doing a 64-bit add.
                  
          This is lossless. We can always convert the resulting 64-bit int back to a
          double if that's what bytecode wants. Hence we only need to know that the
          DFG code won't want to do something to this value that would make 64-bit
          ints either unprofitable or unsound.
              
      The backwards propagator's notions of flags (NodeUsedAsValue, etc) are for lossy
      optimizations and so should be named in a way that reflects this. This patch
      calls then NodeBytecodeUsesAsValue, etc.
              
      * dfg/DFGAbstractInterpreterInlines.h:
      (JSC::DFG::::executeEffects):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::ArrayMode::refine):
      * dfg/DFGBackwardsPropagationPhase.cpp:
      (JSC::DFG::BackwardsPropagationPhase::mergeDefaultFlags):
      (JSC::DFG::BackwardsPropagationPhase::propagate):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupNode):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::addImmediateShouldSpeculateInt32):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::arithNodeFlags):
      * dfg/DFGNodeFlags.cpp:
      (JSC::DFG::dumpNodeFlags):
      * dfg/DFGNodeFlags.h:
      (JSC::DFG::bytecodeUsesAsNumber):
      (JSC::DFG::bytecodeCanTruncateInteger):
      (JSC::DFG::bytecodeCanIgnoreNegativeZero):
      (JSC::DFG::nodeMayNegZero):
      (JSC::DFG::nodeCanSpeculateInt32):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compileDoubleAsInt32):
      (JSC::DFG::SpeculativeJIT::compileAdd):
      (JSC::DFG::SpeculativeJIT::compileArithSub):
      (JSC::DFG::SpeculativeJIT::compileArithNegate):
      (JSC::DFG::SpeculativeJIT::compileArithMul):
      (JSC::DFG::SpeculativeJIT::compileArithDiv):
      (JSC::DFG::SpeculativeJIT::compileArithMod):
      * dfg/DFGVariableAccessData.h:
      (JSC::DFG::VariableAccessData::shouldUseDoubleFormatAccordingToVote):
      * ftl/FTLLowerDFGToLLVM.cpp:
      (JSC::FTL::LowerDFGToLLVM::compileAdd):
      (JSC::FTL::LowerDFGToLLVM::compileArithSub):
      (JSC::FTL::LowerDFGToLLVM::compileArithMul):
      (JSC::FTL::LowerDFGToLLVM::compileArithDiv):
      (JSC::FTL::LowerDFGToLLVM::compileArithMod):
      (JSC::FTL::LowerDFGToLLVM::compileArithNegate):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc36e83f
    • dbates@webkit.org's avatar
      [iOS] Upstream text autosizing · acb8f4f0
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121111
      
      Reviewed by Andy Estes and Sam Weinig.
      
      Source/WebCore:
      
      Tests: platform/iphone-simulator/text-autosizing/anonymous-block.html
             platform/iphone-simulator/text-autosizing/contenteditable.html
             platform/iphone-simulator/text-autosizing/first-letter.html
             platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html
             platform/iphone-simulator/text-autosizing/lists.html
             platform/iphone-simulator/text-autosizing/overflow.html
             platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html
             platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html
             platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::ComputedStyleExtractor::propertyValue):
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue):
      (WebCore::CSSParser::parseValue):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in: Add property -webkit-text-size-adjust.
      * css/DeprecatedStyleBuilder.cpp:
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInitialValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyInheritValue): Added.
      (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::createHandler): Added.
      (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::updateFont):
      (WebCore::StyleResolver::applyProperties): Add COMPILE_ASSERT to ensure that
      all properties that affect font size, including -webkit-text-size-adjust, are
      resolved before properties that depend on them; see <rdar://problem/13522835>.
      (WebCore::StyleResolver::applyProperty):
      (WebCore::StyleResolver::checkForTextSizeAdjust): Added.
      * css/StyleResolver.h:
      * dom/Document.cpp:
      (WebCore::TextAutoSizingTraits::constructDeletedValue): Added.
      (WebCore::TextAutoSizingTraits::isDeletedValue): Added.
      (WebCore::Document::detach):
      (WebCore::Document::addAutoSizingNode): Added.
      (WebCore::Document::validateAutoSizingNodes): Added.
      (WebCore::Document::resetAutoSizingNodes): Added.
      * dom/Document.h:
      * editing/EditingStyle.cpp:
      * page/Frame.h: Add declarations for setTextAutosizingWidth(), textAutosizingWidth().
      * page/FrameView.cpp:
      (WebCore::FrameView::layout):
      * page/Settings.in: Generate setter and getter for setting minimumZoomFontSize.
      * platform/graphics/Font.h:
      (WebCore::Font::equalForTextAutoSizing): Added.
      * platform/graphics/FontDescription.cpp:
      (WebCore::FontDescription::familiesEqualForTextAutoSizing): Added.
      * platform/graphics/FontDescription.h:
      (WebCore::FontDescription::equalForTextAutoSizing): Added.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::RenderBlock):
      (WebCore::isVisibleRenderText): Added.
      (WebCore::resizeTextPermitted): Added.
      (WebCore::RenderBlock::immediateLineCount): Added.
      (WebCore::isNonBlocksOrNonFixedHeightListItems): Added.
      (WebCore::oneLineTextMultiplier): Added.
      (WebCore::textMultiplier): Added.
      (WebCore::RenderBlock::adjustComputedFontSizes): Added.
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::resetComputedFontSize): Added.
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::traverseNext): Added.
      (WebCore::includeNonFixedHeight): Added.
      (WebCore::RenderObject::adjustComputedFontSizesOnBlocks): Added.
      (WebCore::RenderObject::resetTextAutosizing): Added.
      * rendering/RenderObject.h:
      * rendering/RenderText.cpp:
      (WebCore::RenderText::RenderText):
      * rendering/RenderText.h:
      (WebCore::RenderText::candidateComputedTextSize): Added.
      (WebCore::RenderText::setCandidateComputedTextSize): Added.
      * rendering/style/RenderStyle.cpp:
      (WebCore::computeFontHash):
      (WebCore::RenderStyle::hashForTextAutosizing): Added.
      (WebCore::RenderStyle::equalForTextAutosizing): Added.
      (WebCore::RenderStyle::changeRequiresLayout):
      (WebCore::RenderStyle::specifiedLineHeight): Added; iOS-specific variant.
      We should reconcile this getter with the getter of the same name that is
      compiled when building with IOS_TEXT_AUTOSIZING disabled.
      (WebCore::RenderStyle::setSpecifiedLineHeight): Added.
      * rendering/style/RenderStyle.h:
      (WebCore::RenderStyle::initialSpecifiedLineHeight): Added.
      (WebCore::RenderStyle::initialTextSizeAdjust): Added.
      (WebCore::RenderStyle::setTextSizeAdjust): Added.
      (WebCore::RenderStyle::textSizeAdjust): Added.
      * rendering/style/StyleInheritedData.cpp:
      (WebCore::StyleInheritedData::StyleInheritedData):
      (WebCore::StyleInheritedData::operator==):
      * rendering/style/StyleInheritedData.h:
      * rendering/style/StyleRareInheritedData.cpp:
      (WebCore::StyleRareInheritedData::StyleRareInheritedData):
      (WebCore::StyleRareInheritedData::operator==):
      * rendering/style/StyleRareInheritedData.h:
      * rendering/style/TextSizeAdjustment.h: Added.
      (TextSizeAdjustment::TextSizeAdjustment):
      (TextSizeAdjustment::percentage):
      (TextSizeAdjustment::multiplier):
      (TextSizeAdjustment::isAuto):
      (TextSizeAdjustment::isNone):
      (TextSizeAdjustment::isPercentage):
      (TextSizeAdjustment::operator == ):
      (TextSizeAdjustment::operator != ):
      
      Source/WebKit/mac:
      
      * WebView/WebFrame.mm:
      (-[WebFrame resetTextAutosizingBeforeLayout]): Added.
      (-[WebFrame _setVisibleSize:]): Added.
      (-[WebFrame _setTextAutosizingWidth:]): Added.
      * WebView/WebFramePrivate.h:
      * WebView/WebPreferenceKeysPrivate.h:
      * WebView/WebPreferences.mm:
      (+[WebPreferences initialize]):
      (-[WebPreferences _setMinimumZoomFontSize:]): Added.
      (-[WebPreferences _minimumZoomFontSize]): Added.
      
      Source/WTF:
      
      Define iOS text autosizing to be enabled on iOS unless otherwise defined.
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      Implement infrastructure to test the iOS text autosizing code.
      
      * DumpRenderTree/TestRunner.cpp:
      (setTextAutosizingEnabledCallback): Added.
      (TestRunner::staticFunctions):
      * DumpRenderTree/TestRunner.h:
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::setTextAutosizingEnabled): Added.
      
      LayoutTests:
      
      Add tests to ensure we don't regress iOS text autosizing.
      
      * platform/iphone-simulator/text-autosizing/anonymous-block-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/anonymous-block.html: Added.
      * platform/iphone-simulator/text-autosizing/contenteditable-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/contenteditable.html: Added.
      * platform/iphone-simulator/text-autosizing/first-letter-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/first-letter.html: Added.
      * platform/iphone-simulator/text-autosizing/font-family-case-insensitive-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/font-family-case-insensitive.html: Added.
      * platform/iphone-simulator/text-autosizing/lists-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/lists.html: Added.
      * platform/iphone-simulator/text-autosizing/overflow-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/overflow.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-length-line-height.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-number-line-height.html: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height-expected.txt: Added.
      * platform/iphone-simulator/text-autosizing/percent-adjust-percent-line-height.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acb8f4f0
    • commit-queue@webkit.org's avatar
      WebKit crashes when trying to send a msg via 'today's birthdays' dialogue box on Facebook · 9440ee63
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120612#add_comment
      Patch by Chris Curtis <chris_curtis@apple.com> on 2013-09-10
      Reviewed by Geoffrey Garen.
      
      The codeBlock was assumed to exist when appendSourceToMessage was set.
      This was an invalid assumption. I added a check to ensure that there is a
      valid codeBlock before accessing it.
      
      * API/tests/testapi.c:
      (valueToObjectExceptionCallAsFunction):
      (valueToObjectExceptionTest):
      (main):
      * runtime/VM.cpp:
      (JSC::VM::throwException):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9440ee63
    • mark.lam@apple.com's avatar
      Fix some indentation in Interpreter.cpp. · 56229d84
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121136.
      
      Reviewed by Darin Adler.
      
      * interpreter/Interpreter.cpp:
      (JSC::UnwindFunctor::operator()):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56229d84
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed test expectation maintenance. · 4530d2d4
      bfulgham@apple.com authored
      * platform/win/TestExpectations: Rearrange some test declarations
      to match Mac for easier comparison. Disable some unrelated tests
      (e.g., Ogg Vorbis tests).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4530d2d4
    • cfleizach@apple.com's avatar
      AX: AXValue/AXMenuItemMarkChar not defined for menuitemradio (should be false... · fed3d64e
      cfleizach@apple.com authored
      AX: AXValue/AXMenuItemMarkChar not defined for menuitemradio (should be false (0) with aria-checked=mixed | undefined)
      https://bugs.webkit.org/show_bug.cgi?id=120372
      
      Reviewed by Mario Sanchez Prada.
      
      Source/WebCore: 
      
      Add new roles to make the distinction between menu item, menu item radio and menu item checkbox.
      Expose AXValue for menu items, so that they can convey the, on/off/mixed state of aria-checked.
      
      Test: platform/mac/accessibility/menu-item-values.html
      
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::isMenuRelated):
      (WebCore::AccessibilityNodeObject::isMenuItem):
      (WebCore::AccessibilityNodeObject::isChecked):
      (WebCore::AccessibilityNodeObject::actionElement):
      (WebCore::AccessibilityNodeObject::visibleText):
      (WebCore::AccessibilityNodeObject::title):
      * accessibility/AccessibilityObject.cpp:
      (WebCore::createARIARoleMap):
      (WebCore::AccessibilityObject::checkboxOrRadioValue):
      * accessibility/AccessibilityObject.h:
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
      * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
      (-[WebAccessibilityObjectWrapper accessibilityCanFuzzyHitTest]):
      (-[WebAccessibilityObjectWrapper accessibilityTraits]):
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
      (-[WebAccessibilityObjectWrapper accessibilityAttributeNames]):
      (createAccessibilityRoleMap):
      (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:]):
      
      LayoutTests: 
      
      * platform/mac/accessibility/menu-item-values-expected.txt: Added.
      * platform/mac/accessibility/menu-item-values.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fed3d64e
    • andersca@apple.com's avatar
      Remove wtf/Alignment.h · 64965189
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121077
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * platform/PODArena.h:
      (WebCore::PODArena::minAlignment):
      * platform/graphics/cpu/arm/filters/FELightingNEON.h:
      (WebCore::FELighting::platformApplyNeon):
      
      Source/WTF:
      
      * GNUmakefile.list.am:
      * WTF.pro:
      * WTF.vcxproj/WTF.vcxproj:
      * WTF.vcxproj/WTF.vcxproj.filters:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/Alignment.h: Removed.
      * wtf/CMakeLists.txt:
      * wtf/text/ASCIIFastPath.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64965189
    • zoltan@webkit.org's avatar
      [Qt] Add FloatingObjects.h to Target.pri · 495c5d0d
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121117
      
      Reviewed by Andreas Kling.
      
      No new tests, no behavior change.
      
      * Target.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      495c5d0d
    • mhahnenberg@apple.com's avatar
      run-jsc-stress-tests should have a mode for always running the copy phase · 85afd290
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121128
      
      Reviewed by Geoffrey Garen.
      
      This will increase test coverage of the copying phase, which might not always get
      triggered normally with our default parameters for required Heap/CopiedBlock utilization.
      
      * Scripts/run-jsc-stress-tests:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85afd290
    • bdakin@apple.com's avatar
      Adding another screenshot for a potential blog post. · 121847ea
      bdakin@apple.com authored
      * blog-files/regions/unstyled-article.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      121847ea
    • mhahnenberg@apple.com's avatar
      MapData has some issues · ff9e657e
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121118
      
      Reviewed by Geoffrey Garen.
      
      * heap/CopiedBlock.h: Added some debug-only consistency checking logic. We now make sure that
      m_liveBytes is consistent with another field, m_liveObjects. m_liveObjects is the number of
      "objects" that currently reside in the CopiedBlock. If we have zero live bytes then we should have
      zero live objects. The converse and the inverse should also be true.
      (JSC::CopiedBlock::CopiedBlock):
      (JSC::CopiedBlock::didSurviveGC):
      (JSC::CopiedBlock::didEvacuateBytes):
      (JSC::CopiedBlock::canBeRecycled):
      (JSC::CopiedBlock::shouldEvacuate):
      (JSC::CopiedBlock::liveBytes):
      (JSC::CopiedBlock::checkConsistency):
      * heap/CopiedBlockInlines.h:
      (JSC::CopiedBlock::reportLiveBytes):
      * heap/CopyVisitorInlines.h:
      (JSC::CopyVisitor::didCopy):
      * runtime/MapData.cpp:
      (JSC::MapData::replaceAndPackBackingStore): Renamed parameter to be consistent with its meaning.
      (JSC::MapData::replaceBackingStore): Ditto. Also removed an unnecessary local variable.
      (JSC::MapData::visitChildren): Before we passed the size of the MapData to copyLater(), which
      was wrong. Now we pass capacity * sizeof(Entry).
      (JSC::MapData::copyBackingStore): Before when we reassigned the newly copied backing store, we
      set the capacity (in elements) to the size (in bytes) of the backing store. This made us think
      we're way bigger than we actually are. Now we just pass the old capacity in.
      * runtime/MapData.h:
      (JSC::MapData::capacityInBytes): Helper function to calculate the size of the backing store.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff9e657e
    • commit-queue@webkit.org's avatar
      Fix EFL build after r155477 · b9cc3fd8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121126
      
      Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-09-10
      Reviewed by Antonio Gomes.
      
      No new tests, build fix.
      
      * CMakeLists.txt: MediaStreamComponent.cpp and MediaStreamDescriptor.cpp
      were added with an incorrect path.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9cc3fd8
    • akling@apple.com's avatar
      AnimationController should have a Frame& internally. · a563719d
      akling@apple.com authored
      <https://webkit.org/b/121078>
      
      Reviewed by Anders Carlsson.
      
      The AnimationController is owned by the Frame so make the back-pointer
      a reference. This knocks off a couple of null checks.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a563719d
    • andersca@apple.com's avatar
      More WTF/Alignment.h removal · 075c9842
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121125
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * platform/PODArena.h:
      
      Source/WTF:
      
      * wtf/Alignment.h:
      * wtf/Vector.h:
      (WTF::VectorBuffer::swap):
      (WTF::VectorBuffer::inlineBuffer):
      * wtf/text/ASCIIFastPath.h:
      (WTF::isAlignedTo):
      (WTF::isAlignedToMachineWord):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      075c9842
    • bfulgham@apple.com's avatar
      Unreviewed build fix after r155476. · 56577082
      bfulgham@apple.com authored
      * GNUmakefile.list.am: Remove reference to deleted OwnPtrWin.cpp file.
      * WTF.pro: Ditto.
      * wtf/CMakeLists.txt: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56577082
    • fpizlo@apple.com's avatar
      We should say Int32 when we mean Int32. Saying Integer is just weird. · efacb616
      fpizlo@apple.com authored
      Rubber stamped by Mark Hahnenberg.
      
      * dfg/DFGAbstractInterpreterInlines.h:
      (JSC::DFG::::executeEffects):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupNode):
      (JSC::DFG::FixupPhase::fixupToPrimitive):
      (JSC::DFG::FixupPhase::fixIntEdge):
      (JSC::DFG::FixupPhase::truncateConstantsIfNecessary):
      (JSC::DFG::FixupPhase::attemptToMakeIntegerAdd):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::addSpeculationMode):
      (JSC::DFG::Graph::valueAddSpeculationMode):
      (JSC::DFG::Graph::arithAddSpeculationMode):
      (JSC::DFG::Graph::addShouldSpeculateInt32):
      (JSC::DFG::Graph::mulShouldSpeculateInt32):
      (JSC::DFG::Graph::negateShouldSpeculateInt32):
      (JSC::DFG::Graph::addImmediateShouldSpeculateInt32):
      (JSC::DFG::Graph::mulImmediateShouldSpeculateInt32):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::shouldSpeculateInt32):
      (JSC::DFG::Node::shouldSpeculateInt32ForArithmetic):
      (JSC::DFG::Node::shouldSpeculateInt32ExpectingDefined):
      (JSC::DFG::Node::canSpeculateInt32):
      * dfg/DFGNodeFlags.h:
      (JSC::DFG::nodeCanSpeculateInt32):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      (JSC::DFG::PredictionPropagationPhase::doDoubleVoting):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::arrayify):
      (JSC::DFG::GPRTemporary::GPRTemporary):
      (JSC::DFG::SpeculativeJIT::compilePeepHoleIntegerBranch):
      (JSC::DFG::SpeculativeJIT::compileValueToInt32):
      (JSC::DFG::SpeculativeJIT::compileUInt32ToNumber):
      (JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compileAdd):
      (JSC::DFG::SpeculativeJIT::compileArithSub):
      (JSC::DFG::SpeculativeJIT::compileArithNegate):
      (JSC::DFG::SpeculativeJIT::compileArithIMul):
      (JSC::DFG::SpeculativeJIT::compileArithMul):
      (JSC::DFG::SpeculativeJIT::compileArithDiv):
      (JSC::DFG::SpeculativeJIT::compileArithMod):
      (JSC::DFG::SpeculativeJIT::compileNewTypedArray):
      (JSC::DFG::SpeculativeJIT::speculateInt32):
      (JSC::DFG::SpeculativeJIT::emitSwitchImm):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculateInt32Operand::SpeculateInt32Operand):
      (JSC::DFG::SpeculateInt32Operand::~SpeculateInt32Operand):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compileIntegerCompare):
      (JSC::DFG::SpeculativeJIT::compileLogicalNot):
      (JSC::DFG::SpeculativeJIT::emitBranch):
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compileIntegerCompare):
      (JSC::DFG::SpeculativeJIT::compileLogicalNot):
      (JSC::DFG::SpeculativeJIT::emitBranch):
      (JSC::DFG::SpeculativeJIT::compile):
      * ftl/FTLLowerDFGToLLVM.cpp:
      (JSC::FTL::LowerDFGToLLVM::compileUInt32ToNumber):
      (JSC::FTL::LowerDFGToLLVM::compileGetByVal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efacb616
    • commit-queue@webkit.org's avatar
      [EFL][JHBUILD] Use a tarball for libseccomp, instead of git · cbde7449
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121114
      
      Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-09-10
      Reviewed by Christophe Dumez.
      
      Use a tarball for libseccomp instead of git to avoid network issues on
      the buildbots while checking out the git repo. Using tarballs has the
      advantage of them being cached if the checksum matches, in which case
      there will be no need to download them again.
      
      * efl/jhbuild.modules:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbde7449
    • fpizlo@apple.com's avatar
      Introduce a SpecInt48 type and be more careful about what we mean by "Top" · ff779d0f
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121116
      
      Reviewed by Oliver Hunt.
              
      SpecInt48 will mean that we have something that would be a double if it was a JSValue,
      but it's profitable to represent it as something other than a double.
              
      SpecInt48AsDouble means that it has a value that could have been represented like
      SpecInt48, but we're making a heuristic decision not to do it.
      
      * bytecode/SpeculatedType.h:
      (JSC::isInt48Speculation):
      * dfg/DFGAbstractInterpreterInlines.h:
      (JSC::DFG::::executeEffects):
      (JSC::DFG::::clobberCapturedVars):
      * dfg/DFGAbstractValue.cpp:
      (JSC::DFG::AbstractValue::filter):
      * dfg/DFGAbstractValue.h:
      (JSC::DFG::AbstractValue::makeHeapTop):
      (JSC::DFG::AbstractValue::makeBytecodeTop):
      (JSC::DFG::AbstractValue::isHeapTop):
      (JSC::DFG::AbstractValue::heapTop):
      (JSC::DFG::AbstractValue::validateType):
      (JSC::DFG::AbstractValue::validate):
      (JSC::DFG::AbstractValue::makeTop):
      * dfg/DFGInPlaceAbstractState.cpp:
      (JSC::DFG::InPlaceAbstractState::initialize):
      * dfg/DFGJITCompiler.h:
      (JSC::DFG::JITCompiler::noticeOSREntry):
      * dfg/DFGUseKind.h:
      (JSC::DFG::typeFilterFor):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff779d0f
    • mark.lam@apple.com's avatar
      Replace remaining "fast js" names in scripts. · 44e56482
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120899.
      
      Rubber stamped by Filip Pizlo.
      
      * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
      (test_layout_failure_new_output):
      (test_layout_crash_new_output):
      (test_mozilla_and_layout_failure_new_output):
      * Scripts/run-fast-jsc: Removed.
      * Scripts/run-javascriptcore-tests:
      * Scripts/run-layout-jsc: Copied from Tools/Scripts/run-fast-jsc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44e56482
    • eric.carlson@apple.com's avatar
      Make MediaStream objects ScriptWrappable · 21f9dfbb
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120879
      
      Reviewed by Jer Noble.
      
      * Modules/mediastream/MediaStream.h: Inherit from ScriptWrappable.
      * Modules/mediastream/MediaStreamTrack.h: Ditto.
      * Modules/mediastream/RTCDTMFSender.h: Ditto.
      * Modules/mediastream/RTCDataChannel.h: Ditto.
      * Modules/mediastream/RTCIceCandidate.h: Ditto.
      * Modules/mediastream/RTCPeerConnection.h: Ditto.
      * Modules/mediastream/RTCSessionDescription.h: Ditto.
      * Modules/mediastream/RTCStatsReport.h: Ditto.
      * Modules/mediastream/RTCStatsResponse.h: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21f9dfbb
    • eric.carlson@apple.com's avatar
      Split MediaStreamDescriptor.h and MediaStreamComponent.h into .h and .cpp · 00bfa4ab
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120878
      
      Reviewed by Jer Noble.
      
      No new tests, no functional change.
      
      * CMakeLists.txt: Add MediaStreamComponent.cpp and MediaStreamDescriptor.cpp.
      * GNUmakefile.list.am: Ditto.
      
      * Modules/mediastream/LocalMediaStream.cpp:
      (WebCore::LocalMediaStream::create): MediaStreamDescriptor::create() doesn't take a UUID.
      
      * Modules/mediastream/MediaStream.cpp:
      (WebCore::createFromSourceVectors): Ditto.
      
      * WebCore.xcodeproj/project.pbxproj: Add MediaStreamComponent.cpp and MediaStreamDescriptor.cpp.
      
      * platform/mediastream/MediaStreamComponent.cpp: Added.
      * platform/mediastream/MediaStreamComponent.h:
      
      * platform/mediastream/MediaStreamDescriptor.cpp: Added.
      * platform/mediastream/MediaStreamDescriptor.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00bfa4ab
    • bfulgham@apple.com's avatar
      [Windows] Create SharedGDIObject Class Template · 57e1fedb
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121037
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      * WebCore.vcxproj/WebCore.vcxproj: Remove RefCountedGDIHandle.h, and
      add new SharedGDIObject.h file.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * platform/graphics/FontPlatformData.h:
      (WebCore::FontPlatformData::hfont): Switch to new SharedGDIObject.
      * platform/graphics/win/FontPlatformDataCGWin.cpp:
      (WebCore::FontPlatformData::FontPlatformData): Ditto.
      * platform/graphics/win/FontPlatformDataCairoWin.cpp:
      (WebCore::FontPlatformData::FontPlatformData): Ditto.
      * platform/graphics/win/FontPlatformDataWin.cpp:
      (WebCore::FontPlatformData::FontPlatformData): Ditto.
      * platform/graphics/win/RefCountedGDIHandle.h: Removed.
      * platform/graphics/win/SharedGDIObject.h: Added.
      (WebCore::SharedGDIObject::create):
      (WebCore::SharedGDIObject::get):
      (WebCore::SharedGDIObject::hash):
      (WebCore::SharedGDIObject::SharedGDIObject):
      
      Source/WebKit/win: 
      
      * WebView.cpp: Change implementations to use the new SharedGDIObject
      class.
      (WebView::addToDirtyRegion):
      (WebView::scrollBackingStore):
      (WebView::updateBackingStore):
      (WebView::performLayeredWindowUpdate):
      (WebView::paint):
      (WebView::backingStore):
      * WebView.h: Ditto.
      
      Source/WTF: 
      
      Now that the SharedGDIObject class exists we can get rid of
      the Windows-specific code in OwnPtr.
      
      * WTF.vcxproj/WTF.vcxproj: Remove OwnPtrWin.cpp.
      * WTF.vcxproj/WTF.vcxproj.filters: Ditto.
      * wtf/OwnPtrCommon.h: 
      (WTF::deleteOwnedPtr): Remove Windows declarations that
      are no longer needed.
      * wtf/win/GDIObject.h:
      (WTF::GDIObject::get): Change to 'const' to match
      signature (and use cases) elsewhere in the code base for
      our smart pointer classes.
      * wtf/win/OwnPtrWin.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57e1fedb
    • commit-queue@webkit.org's avatar
      [EFL] WebInspector: Move to new webinspector · ee50d0a1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=119559
      
      .:
      
      Patch by Marcelo Morais <m.morais@samsung.com> on 2013-09-10
      Reviewed by Gyuyoung Kim.
      
      Enabling the new Web Inspector on EFL port.
      Co-author: Andre Loureiro <andre.vl@samsung.com>
      
      * Source/PlatformEfl.cmake:
      * Source/cmake/OptionsEfl.cmake:
      
      Source/WebKit/efl:
      
      Patch by Marcelo Morais <m.morais@samsung.com> on 2013-09-10
      Reviewed by Gyuyoung Kim.
      
      Loading the new Web Inspector page instead of the old inspector.
      Co-author: Andre Loureiro <andre.vl@samsung.com>
      
      * WebCoreSupport/InspectorClientEfl.cpp:
      (WebCore::InspectorClientEfl::openInspectorFrontend):
      
      Source/WebKit2:
      
      Patch by Marcelo Morais <m.morais@samsung.com> on 2013-09-10
      Reviewed by Gyuyoung Kim.
      
      Loading the new Web Inspector page instead of the old inspector.
      Co-Author: Andre Loureiro <andre.vl@samsung.com>
      
      * UIProcess/efl/WebInspectorProxyEfl.cpp:
      (WebKit::WebInspectorProxy::inspectorPageURL):
      
      LayoutTests:
      
      Patch by Marcelo Morais <m.morais@samsung.com> on 2013-09-10
      Reviewed by Gyuyoung Kim.
      
      Skipping the tests for the old inspector.
      
      * platform/efl-wk1/TestExpectations:
      * platform/efl-wk2/TestExpectations:
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee50d0a1
    • andersca@apple.com's avatar
      Remove more uses of WTF::AlignedBuffer · b778d2fe
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121119
      
      Reviewed by Andreas Kling.
      
      * wtf/HashTable.h:
      * wtf/SizeLimits.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b778d2fe
    • oliver@apple.com's avatar
      Support WeakMap · bfcc048e
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120912
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      Add support for ES6 WeakMap.  Add the cluster of boilerplate
      classes around the core WeakMapData class.
      
      WeakMapData is a simple object->value hash table that uses a
      combo of WeakReferenceHarvester to conditionally keep the weak
      value reference live, and UnconditionalFinalizer to clean the
      dead keys from the table post-GC.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * runtime/CommonIdentifiers.h:
      * runtime/JSGlobalObject.cpp:
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::weakMapDataStructure):
      * runtime/JSWeakMap.cpp: Added.
      (JSC::JSWeakMap::finishCreation):
      (JSC::JSWeakMap::visitChildren):
      * runtime/JSWeakMap.h: Added.
      (JSC::JSWeakMap::createStructure):
      (JSC::JSWeakMap::create):
      (JSC::JSWeakMap::weakMapData):
      (JSC::JSWeakMap::JSWeakMap):
      * runtime/WeakMapConstructor.cpp: Added.
      (JSC::WeakMapConstructor::finishCreation):
      (JSC::constructWeakMap):
      (JSC::WeakMapConstructor::getConstructData):
      (JSC::WeakMapConstructor::getCallData):
      * runtime/WeakMapConstructor.h: Added.
      (JSC::WeakMapConstructor::create):
      (JSC::WeakMapConstructor::createStructure):
      (JSC::WeakMapConstructor::WeakMapConstructor):
      * runtime/WeakMapData.cpp: Added.
      (JSC::WeakMapData::WeakMapData):
      (JSC::WeakMapData::finishCreation):
      (JSC::WeakMapData::destroy):
      (JSC::WeakMapData::visitChildren):
      (JSC::WeakMapData::set):
      (JSC::WeakMapData::get):
      (JSC::WeakMapData::remove):
      (JSC::WeakMapData::contains):
      (JSC::WeakMapData::clear):
      (JSC::WeakMapData::DeadKeyCleaner::visitWeakReferences):
      (JSC::WeakMapData::DeadKeyCleaner::finalizeUnconditionally):
      * runtime/WeakMapData.h: Added.
      (JSC::WeakMapData::create):
      (JSC::WeakMapData::createStructure):
      (JSC::WeakMapData::DeadKeyCleaner::DeadKeyCleaner):
      * runtime/WeakMapPrototype.cpp: Added.
      (JSC::WeakMapPrototype::finishCreation):
      (JSC::getWeakMapData):
      (JSC::protoFuncWeakMapClear):
      (JSC::protoFuncWeakMapDelete):
      (JSC::protoFuncWeakMapGet):
      (JSC::protoFuncWeakMapHas):
      (JSC::protoFuncWeakMapSet):
      * runtime/WeakMapPrototype.h: Added.
      (JSC::WeakMapPrototype::create):
      (JSC::WeakMapPrototype::createStructure):
      (JSC::WeakMapPrototype::WeakMapPrototype):
      
      LayoutTests:
      
      Basic tests.
      
      * js/basic-weakmap-expected.txt: Added.
      * js/basic-weakmap.html: Added.
      * js/script-tests/basic-weakmap.js: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfcc048e
    • rniwa@webkit.org's avatar
      Fix race in fast/loader/onunload-form-submit-crash.html · 3df3d082
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=121122
      
      Reviewed by Alexey Proskuryakov.
      
      Merge https://chromium.googlesource.com/chromium/blink/+/c7ab0900c147f9a2f4c69d62b6460f98abc5d796
      
      The setTimeout was sometimes firing before the form was parsed, so document.myForm would be null.
      
      * fast/loader/onunload-form-submit-crash.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3df3d082
    • joepeck@webkit.org's avatar
      Web Inspector: [JSC] Caught exception is treated as uncaught · cbeb7656
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=93607
      
      Reviewed by Geoff Garen.
      
      Source/JavaScriptCore:
      
      Check up the entire call stack to see if there is an exception handler.
      
      * interpreter/Interpreter.cpp:
      (JSC::GetExceptionHandlerFunctor::GetExceptionHandlerFunctor):
      (JSC::GetExceptionHandlerFunctor::handler):
      (JSC::GetExceptionHandlerFunctor::operator()):
      
      LayoutTests:
      
      Add tests for different inspector pause on exceptions states.
      
      * inspector-protocol/debugger/resources/exception.js: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-all-expected.txt: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-all.html: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-none-expected.txt: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-none.html: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-uncaught-expected.txt: Added.
      * inspector-protocol/debugger/setPauseOnExceptions-uncaught.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbeb7656
    • andersca@apple.com's avatar
      Clean up wtf/Noncopyable.h · de9e47e4
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121115
      
      Reviewed by Darin Adler.
      
      Use std::aligned_storage instead of WTF::AlignedBuffer.
      
      * wtf/NeverDestroyed.h:
      (WTF::NeverDestroyed::NeverDestroyed):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de9e47e4
    • g.czajkowski@samsung.com's avatar
      needsFocus is always undefined in grammar-paste.html · 4b815310
      g.czajkowski@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121097
      
      Reviewed by Darin Adler.
      
      Remove unnecessary needsFocus parameter which is always undefined.
      In addition, remove if (true) condition in the test.
      
      * editing/spelling/grammar-paste.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b815310
    • timothy_horton@apple.com's avatar
      [mac] PDFDocumentImage should use PDFKit to draw · c61e814f
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120651
      <rdar://problem/12810731>
      
      Unreviewed hopeful build fix.
      
      * platform/graphics/mac/PDFDocumentImageMac.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c61e814f
    • zandobersek@gmail.com's avatar
      Enable JSC stress tests for the rest of non-Windows platforms · 19d9e09a
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121021
      
      Reviewed by Filip Pizlo.
      
      The JSC stress tests can already be enabled on Linux-based ports.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      (RunJavaScriptCoreTests.commandComplete): Reformulate the regular expressions used to find the number of regressed
      JSC tests of various test suites. The expressions now look for the suite-specific report compartment over the
      complete output, with the number of failing or crashing tests properly extracted.
      * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py: Add a couple of unit tests and expand the tested
      output in other unit tests testing the parsing of the output in the new format.
      (test_jsc_stress_failure_new_output):
      (test_fast_js_crashes_and_jsc_stress_failures_new_output):
      * Scripts/run-javascriptcore-tests: Enable the JSC stress tests on all but the Apple Win port.
      * Scripts/run-jsc-stress-tests: `sysctl -n hw.availcpu` doesn't work on Linux-based ports but the numProcesses
      variable is still gracefully assigned a zero value. In that case, try running `nproc --all` to gather the number
      of available CPUs so the stress tests can be run in parallel.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19d9e09a