1. 05 Nov, 2012 1 commit
    • fpizlo@apple.com's avatar
      Reduce the verbosity of referring to QNaN in JavaScriptCore · 3494d02f
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101174
      
      Reviewed by Geoffrey Garen.
      
      Introduces a #define QNaN in JSValue.h, and replaces all previous uses of
      std::numeric_limits<double>::quiet_NaN() with QNaN.
      
      * API/JSValueRef.cpp:
      (JSValueMakeNumber):
      (JSValueToNumber):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::emitFloatTypedArrayGetByVal):
      * runtime/CachedTranscendentalFunction.h:
      (JSC::CachedTranscendentalFunction::initialize):
      * runtime/DateConstructor.cpp:
      (JSC::constructDate):
      * runtime/DateInstanceCache.h:
      (JSC::DateInstanceData::DateInstanceData):
      (JSC::DateInstanceCache::reset):
      * runtime/ExceptionHelpers.cpp:
      (JSC::InterruptedExecutionError::defaultValue):
      (JSC::TerminatedExecutionError::defaultValue):
      * runtime/JSCell.h:
      (JSC::JSValue::getPrimitiveNumber):
      * runtime/JSDateMath.cpp:
      (JSC::parseDateFromNullTerminatedCharacters):
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      (JSC::JSGlobalData::resetDateCache):
      * runtime/JSGlobalObjectFunctions.cpp:
      (JSC::parseInt):
      (JSC::jsStrDecimalLiteral):
      (JSC::toDouble):
      (JSC::jsToNumber):
      (JSC::parseFloat):
      * runtime/JSValue.cpp:
      (JSC::JSValue::toNumberSlowCase):
      * runtime/JSValue.h:
      (JSC):
      * runtime/JSValueInlineMethods.h:
      (JSC::jsNaN):
      * runtime/MathObject.cpp:
      (JSC::mathProtoFuncMax):
      (JSC::mathProtoFuncMin):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3494d02f
  2. 04 Nov, 2012 2 commits
  3. 02 Nov, 2012 10 commits
    • fpizlo@apple.com's avatar
      LLInt 32-bit put_by_val ArrayStorage case should use the right register (t3,... · 85103dfe
      fpizlo@apple.com authored
      LLInt 32-bit put_by_val ArrayStorage case should use the right register (t3, not t2) for the index in the publicLength updating path
      https://bugs.webkit.org/show_bug.cgi?id=101118
      
      Reviewed by Gavin Barraclough.
      
      * llint/LowLevelInterpreter32_64.asm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85103dfe
    • fpizlo@apple.com's avatar
      DFG::Node::converToStructureTransitionWatchpoint should take kindly to ArrayifyToStructure · 3a252784
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101117
      
      Reviewed by Gavin Barraclough.
      
      We have logic to convert ArrayifyToStructure to StructureTransitionWatchpoint, which is awesome, except
      that previously convertToStructureTransitionWatchpoint was (a) asserting that it never saw an
      ArrayifyToStructure and (b) would incorrectly create a ForwardStructureTransitionWatchpoint if it did.
      
      * dfg/DFGNode.h:
      (JSC::DFG::Node::convertToStructureTransitionWatchpoint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a252784
    • fpizlo@apple.com's avatar
      DFG::SpeculativeJIT::typedArrayDescriptor should use the Float64Array descriptor for Float64Arrays · 774c3811
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101114
      
      Reviewed by Gavin Barraclough.
      
      As in https://bugs.webkit.org/show_bug.cgi?id=101112, this was only wrong when Float64Array descriptors
      hadn't been initialized yet. That happens rarely, but when it does happen, we would crash.
              
      This would also become much more wrong if we ever put type size info (num bytes, etc) in the descriptor
      and used that directly. So it's good to fix it.
      
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::typedArrayDescriptor):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      774c3811
    • fpizlo@apple.com's avatar
      JIT::privateCompileGetByVal should use the uint8ClampedArrayDescriptor for... · 5a47dc46
      fpizlo@apple.com authored
      JIT::privateCompileGetByVal should use the uint8ClampedArrayDescriptor for compiling accesses to Uint8ClampedArrays
      https://bugs.webkit.org/show_bug.cgi?id=101112
      
      Reviewed by Gavin Barraclough.
      
      The only reason why the code was wrong to use uint8ArrayDescriptor instead is that if we're just using
      Uint8ClampedArrays then the descriptor for Uint8Array may not have been initialized.
      
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::privateCompileGetByVal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a47dc46
    • mhahnenberg@apple.com's avatar
      MarkedBlocks should use something other than the mark bits to indicate... · 4cbe13c3
      mhahnenberg@apple.com authored
      MarkedBlocks should use something other than the mark bits to indicate liveness for newly allocated objects
      https://bugs.webkit.org/show_bug.cgi?id=100877
      
      Reviewed by Filip Pizlo.
      
      Currently when we canonicalize cell liveness data in MarkedBlocks, we set the mark bit for every cell in the
      block except for those in the free list. This allows us to consider objects that were allocated since the
      previous collection to be considered live until they have a chance to be properly marked by the collector.
      
      If we want to use the mark bits to signify other types of information, e.g. using sticky mark bits for generational
      collection, we will have to keep track of newly allocated objects in a different fashion when we canonicalize cell liveness.
      
      One method would be to allocate a separate set of bits while canonicalizing liveness data. These bits would
      track the newly allocated objects in the block separately from those objects who had already been marked. We would
      then check these bits, along with the mark bits, when determining liveness.
      
      * heap/Heap.h:
      (Heap):
      (JSC::Heap::isLive): We now check for the presence of the newlyAllocated Bitmap.
      (JSC):
      * heap/MarkedBlock.cpp:
      (JSC::MarkedBlock::specializedSweep): We clear the newlyAllocated Bitmap if we're creating a free list. This
      will happen if we canonicalize liveness data for some other reason than collection (e.g. forEachCell) and
      then start allocating again.
      (JSC::SetNewlyAllocatedFunctor::SetNewlyAllocatedFunctor):
      (SetNewlyAllocatedFunctor):
      (JSC::SetNewlyAllocatedFunctor::operator()): We set the newlyAllocated bits for all the objects
      that aren't already marked. We undo the bits for the objects in the free list later in canonicalizeCellLivenessData.
      (JSC::MarkedBlock::canonicalizeCellLivenessData): We should never have a FreeListed block with a newlyAllocated Bitmap.
      We allocate the new Bitmap, set the bits for all the objects that aren't already marked, and then unset all of the
      bits for the items currently in the FreeList.
      * heap/MarkedBlock.h:
      (JSC::MarkedBlock::clearMarks): We clear the newlyAllocated bitmap if it exists because at this point we don't need it
      any more.
      (JSC::MarkedBlock::isEmpty): If we have some objects that are newlyAllocated, we are not empty.
      (JSC::MarkedBlock::isNewlyAllocated):
      (JSC):
      (JSC::MarkedBlock::setNewlyAllocated):
      (JSC::MarkedBlock::clearNewlyAllocated):
      (JSC::MarkedBlock::isLive): We now check the newlyAllocated Bitmap, if it exists, when determining liveness of a cell in
      a block that is Marked.
      * heap/WeakBlock.cpp:
      (JSC::WeakBlock::visit): We need to make sure we don't finalize objects that are in the newlyAllocated Bitmap.
      (JSC::WeakBlock::reap): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cbe13c3
    • fpizlo@apple.com's avatar
      JIT::privateCompileGetByVal should use... · 507891aa
      fpizlo@apple.com authored
      JIT::privateCompileGetByVal should use MacroAssemblerCodePtr::createFromExecutableAddress like JIT::privateCompilePutByVal
      https://bugs.webkit.org/show_bug.cgi?id=101109
      
      Reviewed by Gavin Barraclough.
      
      This fixes crashes on ARMv7 resulting from the return address already being tagged with the THUMB2 bit.
      
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::privateCompileGetByVal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      507891aa
    • simon.fraser@apple.com's avatar
      Enable SUBPIXEL_LAYOUT on Mac · 2396f377
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101076
      
      Reviewed by Dave Hyatt.
      
      Source/JavaScriptCore:
      
      Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac:
      
      Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
      
      * Configurations/FeatureDefines.xcconfig:
      
      LayoutTests:
      
      Update results affected by subpixel layout.
      
      * platform/mac/accessibility/svg-bounds-expected.txt:
      * platform/mac/accessibility/svg-remote-element-expected.txt: Copied from LayoutTests/platform/mac/accessibility/svg-bounds-expected.txt.
      * platform/mac/animations/keyframes-comma-separated-expected.txt: Added.
      * platform/mac/compositing/direct-image-compositing-expected.txt:
      * platform/mac/compositing/overflow/theme-affects-visual-overflow-expected.txt:
      * platform/mac/compositing/shadows/shadow-drawing-expected.txt:
      * platform/mac/compositing/tiling/tile-cache-zoomed-expected.txt: Added.
      * platform/mac/compositing/visibility/visibility-image-layers-dynamic-expected.txt: Added.
      * platform/mac/css1/basic/inheritance-expected.txt:
      * platform/mac/css1/box_properties/acid_test-expected.txt:
      * platform/mac/css1/box_properties/clear_float-expected.txt:
      * platform/mac/css1/box_properties/float_on_text_elements-expected.txt:
      * platform/mac/css1/box_properties/margin-expected.txt:
      * platform/mac/css1/box_properties/margin_bottom-expected.txt:
      * platform/mac/css1/box_properties/margin_right-expected.txt:
      * platform/mac/css1/box_properties/margin_top-expected.txt:
      * platform/mac/css1/box_properties/padding-expected.txt:
      * platform/mac/css1/box_properties/padding_bottom-expected.txt:
      * platform/mac/css1/box_properties/padding_left-expected.txt:
      * platform/mac/css1/box_properties/padding_right-expected.txt:
      * platform/mac/css1/box_properties/padding_top-expected.txt:
      * platform/mac/css1/box_properties/width-expected.txt:
      * platform/mac/css1/color_and_background/background_attachment-expected.txt:
      * platform/mac/css1/font_properties/font-expected.txt:
      * platform/mac/css1/font_properties/font_size-expected.txt:
      * platform/mac/css1/font_properties/font_weight-expected.txt:
      * platform/mac/css1/formatting_model/floating_elements-expected.txt:
      * platform/mac/css1/formatting_model/horizontal_formatting-expected.txt:
      * platform/mac/css1/formatting_model/inline_elements-expected.txt:
      * platform/mac/css1/formatting_model/replaced_elements-expected.txt:
      * platform/mac/css1/formatting_model/vertical_formatting-expected.txt:
      * platform/mac/css1/text_properties/text_indent-expected.txt:
      * platform/mac/css1/text_properties/vertical_align-expected.txt:
      * platform/mac/css1/units/percentage_units-expected.txt:
      * platform/mac/css1/units/rounding-expected.txt: Added.
      * platform/mac/css2.1/20110323/block-replaced-width-001-expected.txt:
      * platform/mac/css2.1/20110323/floating-replaced-height-008-expected.txt:
      * platform/mac/css2.1/20110323/inline-block-replaced-height-008-expected.txt:
      * platform/mac/css2.1/20110323/inline-replaced-height-008-expected.txt:
      * platform/mac/css2.1/t0803-c5501-mrgn-t-00-b-a-expected.txt:
      * platform/mac/css2.1/t0803-c5503-mrgn-b-00-b-a-expected.txt:
      * platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
      * platform/mac/css2.1/t0804-c5507-padn-r-00-c-ag-expected.txt:
      * platform/mac/css2.1/t0804-c5509-padn-l-03-f-g-expected.txt:
      * platform/mac/css2.1/t0804-c5510-padn-00-b-ag-expected.txt:
      * platform/mac/css2.1/t09-c5526c-display-00-e-expected.txt:
      * platform/mac/css2.1/t0905-c414-flt-wrap-00-e-expected.txt:
      * platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
      * platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
      * platform/mac/css2.1/t1002-c5523-width-02-b-g-expected.txt:
      * platform/mac/css2.1/t100801-c544-valgn-00-a-ag-expected.txt:
      * platform/mac/css2.1/t100801-c544-valgn-02-d-agi-expected.txt:
      * platform/mac/css2.1/t100801-c544-valgn-03-d-agi-expected.txt:
      * platform/mac/css2.1/t100801-c544-valgn-04-d-agi-expected.txt:
      * platform/mac/css2.1/t1205-c565-list-pos-00-b-expected.txt:
      * platform/mac/css2.1/t1506-c525-font-wt-00-b-expected.txt:
      * platform/mac/css2.1/t1508-c527-font-09-b-expected.txt:
      * platform/mac/css2.1/t1602-c43-center-00-d-ag-expected.txt:
      * platform/mac/css3/flexbox/flexbox-baseline-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-23-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-24-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-25-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-68-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-69-expected.txt:
      * platform/mac/css3/selectors3/html/css3-modsel-70-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-23-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-24-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-25-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-68-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-69-expected.txt:
      * platform/mac/css3/selectors3/xhtml/css3-modsel-70-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-23-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-24-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-25-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-68-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-69-expected.txt:
      * platform/mac/css3/selectors3/xml/css3-modsel-70-expected.txt:
      * platform/mac/css3/unicode-bidi-isolate-basic-expected.txt:
      * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
      * platform/mac/editing/pasteboard/drag-image-to-contenteditable-in-iframe-expected.txt:
      * platform/mac/editing/selection/3690703-2-expected.txt:
      * platform/mac/editing/selection/3690703-expected.txt:
      * platform/mac/editing/selection/3690719-expected.txt:
      * platform/mac/editing/selection/4397952-expected.txt:
      * platform/mac/editing/selection/5240265-expected.txt:
      * platform/mac/editing/selection/5354455-2-expected.txt:
      * platform/mac/editing/selection/caret-ltr-2-expected.txt:
      * platform/mac/editing/selection/caret-ltr-2-left-expected.txt:
      * platform/mac/editing/selection/caret-ltr-expected.txt:
      * platform/mac/editing/selection/caret-ltr-right-expected.txt:
      * platform/mac/editing/selection/caret-rtl-2-expected.txt:
      * platform/mac/editing/selection/caret-rtl-2-left-expected.txt:
      * platform/mac/editing/selection/caret-rtl-expected.txt:
      * platform/mac/editing/selection/caret-rtl-right-expected.txt:
      * platform/mac/editing/selection/collapse-selection-in-bidi-expected.txt: Added.
      * platform/mac/editing/selection/drag-start-event-client-x-y-expected.txt: Added.
      * platform/mac/editing/selection/mixed-editability-10-expected.txt: Added.
      * platform/mac/editing/selection/select-across-readonly-input-1-expected.txt:
      * platform/mac/editing/selection/select-across-readonly-input-2-expected.txt:
      * platform/mac/editing/selection/select-across-readonly-input-3-expected.txt:
      * platform/mac/editing/selection/select-across-readonly-input-4-expected.txt:
      * platform/mac/editing/selection/select-across-readonly-input-5-expected.txt:
      * platform/mac/editing/selection/select-text-overflow-ellipsis-expected.txt:
      * platform/mac/editing/selection/selection-button-text-expected.txt:
      * platform/mac/editing/selection/vertical-lr-ltr-extend-line-backward-br-expected.txt:
      * platform/mac/editing/selection/vertical-lr-ltr-extend-line-forward-br-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-br-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-p-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-br-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-p-expected.txt:
      * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt:
      * platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt:
      * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt:
      * platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt:
      * platform/mac/fast/backgrounds/background-inherit-color-bug-expected.txt:
      * platform/mac/fast/backgrounds/background-position-parsing-expected.txt:
      * platform/mac/fast/backgrounds/size/contain-and-cover-zoomed-expected.txt: Added.
      * platform/mac/fast/block/basic/001-expected.txt:
      * platform/mac/fast/block/basic/011-expected.txt:
      * platform/mac/fast/block/basic/014-expected.txt:
      * platform/mac/fast/block/basic/015-expected.txt:
      * platform/mac/fast/block/basic/016-expected.txt:
      * platform/mac/fast/block/basic/019-expected.txt:
      * platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.txt:
      * platform/mac/fast/block/float/013-expected.txt:
      * platform/mac/fast/block/float/025-expected.txt:
      * platform/mac/fast/block/float/026-expected.txt:
      * platform/mac/fast/block/float/027-expected.txt:
      * platform/mac/fast/block/float/028-expected.txt:
      * platform/mac/fast/block/float/032-expected.txt:
      * platform/mac/fast/block/float/centered-float-avoidance-complexity-expected.txt:
      * platform/mac/fast/block/float/float-avoidance-expected.txt:
      * platform/mac/fast/block/float/float-in-float-painting-expected.txt:
      * platform/mac/fast/block/float/nopaint-after-layer-destruction2-expected.txt:
      * platform/mac/fast/block/float/overhanging-tall-block-expected.txt:
      * platform/mac/fast/block/float/shrink-to-avoid-float-complexity-expected.txt:
      * platform/mac/fast/block/margin-collapse/100-expected.txt:
      * platform/mac/fast/block/margin-collapse/103-expected.txt:
      * platform/mac/fast/block/positioning/047-expected.txt:
      * platform/mac/fast/block/positioning/051-expected.txt:
      * platform/mac/fast/block/positioning/inline-block-relposition-expected.txt:
      * platform/mac/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Added.
      * platform/mac/fast/borders/bidi-002-expected.txt:
      * platform/mac/fast/borders/bidi-009a-expected.txt:
      * platform/mac/fast/borders/bidi-012-expected.txt:
      * platform/mac/fast/borders/fieldsetBorderRadius-expected.txt: Added.
      * platform/mac/fast/borders/rtl-border-01-expected.txt:
      * platform/mac/fast/borders/rtl-border-02-expected.txt:
      * platform/mac/fast/borders/rtl-border-03-expected.txt:
      * platform/mac/fast/box-sizing/box-sizing-expected.txt:
      * platform/mac/fast/canvas/webgl/oes-element-index-uint-expected.txt: Added.
      * platform/mac/fast/canvas/webgl/tex-image-and-sub-image-2d-with-array-buffer-view-expected.txt: Added.
      * platform/mac/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-expected.txt: Added.
      * platform/mac/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-rgb565-expected.txt: Added.
      * platform/mac/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-rgba4444-expected.txt: Added.
      * platform/mac/fast/canvas/webgl/tex-image-and-sub-image-2d-with-image-data-rgba5551-expected.txt: Added.
      * platform/mac/fast/clip/overflow-border-radius-composited-expected.txt:
      * platform/mac/fast/clip/overflow-border-radius-transformed-expected.txt:
      * platform/mac/fast/css-generated-content/011-expected.txt:
      * platform/mac/fast/css-generated-content/012-expected.txt:
      * platform/mac/fast/css-generated-content/013-expected.txt:
      * platform/mac/fast/css-generated-content/014-expected.txt:
      * platform/mac/fast/css-generated-content/015-expected.txt:
      * platform/mac/fast/css-generated-content/inline-display-types-expected.txt:
      * platform/mac/fast/css/003-expected.txt:
      * platform/mac/fast/css/004-expected.txt:
      * platform/mac/fast/css/005-expected.txt:
      * platform/mac/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.txt:
      * platform/mac/fast/css/background-shorthand-invalid-url-expected.txt:
      * platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt:
      * platform/mac/fast/css/bug4860-absolute-block-child-does-not-inherit-alignment-expected.txt: Added.
      * platform/mac/fast/css/continuationCrash-expected.txt:
      * platform/mac/fast/css/css1_forward_compatible_parsing-expected.txt:
      * platform/mac/fast/css/css2-system-fonts-expected.txt:
      * platform/mac/fast/css/empty-pseudo-class-expected.txt:
      * platform/mac/fast/css/ex-after-font-variant-expected.txt:
      * platform/mac/fast/css/fieldset-display-row-expected.txt:
      * platform/mac/fast/css/first-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/first-line-text-decoration-expected.txt:
      * platform/mac/fast/css/first-line-text-decoration-inherited-from-parent-expected.txt:
      * platform/mac/fast/css/first-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/css/h1-in-section-elements-expected.txt:
      * platform/mac/fast/css/hsl-color-expected.txt:
      * platform/mac/fast/css/hsla-color-expected.txt:
      * platform/mac/fast/css/inline-properties-important-expected.txt:
      * platform/mac/fast/css/invalid-percentage-property-expected.txt:
      * platform/mac/fast/css/large-number-round-trip-expected.txt: Added.
      * platform/mac/fast/css/last-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/last-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/css/margin-top-bottom-dynamic-expected.txt:
      * platform/mac/fast/css/non-standard-checkbox-size-expected.txt:
      * platform/mac/fast/css/only-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/only-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/css/percentage-non-integer-expected.txt:
      * platform/mac/fast/css/preserve-user-specified-zoom-level-on-reload-expected.txt:
      * platform/mac/fast/css/rgb-float-expected.txt:
      * platform/mac/fast/css/rtl-ordering-expected.txt:
      * platform/mac/fast/css/selector-set-attribute-expected.txt:
      * platform/mac/fast/css/text-align-expected.txt:
      * platform/mac/fast/css/text-overflow-ellipsis-text-align-center-expected.txt:
      * platform/mac/fast/css/text-overflow-ellipsis-text-align-justify-expected.txt:
      * platform/mac/fast/css/text-overflow-ellipsis-text-align-left-expected.txt:
      * platform/mac/fast/css/text-overflow-ellipsis-text-align-right-expected.txt:
      * platform/mac/fast/css/transform-default-parameter-expected.txt:
      * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-center-expected.txt:
      * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-justify-expected.txt:
      * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-left-expected.txt:
      * platform/mac/fast/css/vertical-text-overflow-ellipsis-text-align-right-expected.txt:
      * platform/mac/fast/css/word-space-extra-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-element-repaint-on-update-value-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
      * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
      * platform/mac/fast/dom/HTMLProgressElement/indeterminate-progress-001-expected.txt:
      * platform/mac/fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element-expected.txt:
      * platform/mac/fast/dom/HTMLTableElement/cellpadding-attribute-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTableElement/early-acid3-65-excerpt-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTableElement/early-acid3-66-excerpt-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTableElement/insert-row-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTableElement/rows-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTableElement/tBodies-expected.txt: Removed.
      * platform/mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.txt:
      * platform/mac/fast/dom/Window/webkitConvertPoint-expected.txt: Added.
      * platform/mac/fast/dom/clone-node-dynamic-style-expected.txt:
      * platform/mac/fast/dynamic/012-expected.txt:
      * platform/mac/fast/dynamic/anchor-lock-expected.txt:
      * platform/mac/fast/dynamic/subtree-parent-static-y-expected.txt:
      * platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.txt:
      * platform/mac/fast/encoding/utf-16-big-endian-expected.txt:
      * platform/mac/fast/encoding/utf-16-little-endian-expected.txt:
      * platform/mac/fast/events/clientXY-in-zoom-and-scroll-expected.txt: Added.
      * platform/mac/fast/events/document-elementFromPoint-expected.txt: Added.
      * platform/mac/fast/events/pointer-events-2-expected.txt:
      * platform/mac/fast/flexbox/flex-hang-expected.txt: Added.
      * platform/mac/fast/forms/001-expected.txt:
      * platform/mac/fast/forms/006-expected.txt:
      * platform/mac/fast/forms/007-expected.txt:
      * platform/mac/fast/forms/basic-buttons-expected.txt:
      * platform/mac/fast/forms/basic-inputs-expected.txt:
      * platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
      * platform/mac/fast/forms/blankbuttons-expected.txt:
      * platform/mac/fast/forms/box-shadow-override-expected.txt:
      * platform/mac/fast/forms/button-cannot-be-nested-expected.txt:
      * platform/mac/fast/forms/button-default-title-expected.txt:
      * platform/mac/fast/forms/button-generated-content-expected.txt:
      * platform/mac/fast/forms/button-positioned-expected.txt:
      * platform/mac/fast/forms/button-sizes-expected.txt:
      * platform/mac/fast/forms/button-style-color-expected.txt:
      * platform/mac/fast/forms/button-table-styles-expected.txt:
      * platform/mac/fast/forms/button-text-transform-expected.txt:
      * platform/mac/fast/forms/button-white-space-expected.txt:
      * platform/mac/fast/forms/control-restrict-line-height-expected.txt:
      * platform/mac/fast/forms/fieldset-align-expected.txt:
      * platform/mac/fast/forms/fieldset-legend-padding-unclipped-fieldset-border-expected.txt:
      * platform/mac/fast/forms/fieldset-with-float-expected.txt:
      * platform/mac/fast/forms/file/file-input-direction-expected.txt:
      * platform/mac/fast/forms/file/file-input-disabled-expected.txt:
      * platform/mac/fast/forms/file/input-file-re-render-expected.txt:
      * platform/mac/fast/forms/float-before-fieldset-expected.txt:
      * platform/mac/fast/forms/form-element-geometry-expected.txt:
      * platform/mac/fast/forms/formmove-expected.txt:
      * platform/mac/fast/forms/formmove2-expected.txt:
      * platform/mac/fast/forms/formmove3-expected.txt:
      * platform/mac/fast/forms/indeterminate-expected.txt:
      * platform/mac/fast/forms/input-appearance-height-expected.txt:
      * platform/mac/fast/forms/input-button-sizes-expected.txt:
      * platform/mac/fast/forms/input-value-expected.txt:
      * platform/mac/fast/forms/linebox-overflow-in-textarea-padding-expected.txt:
      * platform/mac/fast/forms/listbox-hit-test-zoomed-expected.txt:
      * platform/mac/fast/forms/menulist-clip-expected.txt:
      * platform/mac/fast/forms/minWidthPercent-expected.txt:
      * platform/mac/fast/forms/preserveFormDuringResidualStyle-expected.txt:
      * platform/mac/fast/forms/range/input-appearance-range-expected.txt:
      * platform/mac/fast/forms/range/slider-mouse-events-expected.txt: Added.
      * platform/mac/fast/forms/search-vertical-alignment-expected.txt:
      * platform/mac/fast/forms/searchfield-heights-expected.txt:
      * platform/mac/fast/forms/select-baseline-expected.txt:
      * platform/mac/fast/forms/targeted-frame-submission-expected.txt:
      * platform/mac/fast/forms/textAreaLineHeight-expected.txt:
      * platform/mac/fast/forms/validation-message-appearance-expected.txt:
      * platform/mac/fast/frames/onlyCommentInIFrame-expected.txt:
      * platform/mac/fast/gradients/crash-on-zero-radius-expected.txt:
      * platform/mac/fast/gradients/generated-gradients-expected.txt:
      * platform/mac/fast/gradients/radial-centered-expected.txt:
      * platform/mac/fast/gradients/simple-gradients-expected.txt:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt:
      * platform/mac/fast/html/details-add-child-1-expected.txt:
      * platform/mac/fast/html/details-add-child-2-expected.txt:
      * platform/mac/fast/html/details-add-details-child-1-expected.txt:
      * platform/mac/fast/html/details-add-details-child-2-expected.txt:
      * platform/mac/fast/html/details-add-summary-1-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-1-expected.txt:
      * platform/mac/fast/html/details-add-summary-10-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-10-expected.txt:
      * platform/mac/fast/html/details-add-summary-2-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-2-expected.txt:
      * platform/mac/fast/html/details-add-summary-3-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-3-expected.txt:
      * platform/mac/fast/html/details-add-summary-4-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-4-expected.txt:
      * platform/mac/fast/html/details-add-summary-5-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-5-expected.txt:
      * platform/mac/fast/html/details-add-summary-6-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-6-expected.txt:
      * platform/mac/fast/html/details-add-summary-7-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-7-expected.txt:
      * platform/mac/fast/html/details-add-summary-8-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-8-expected.txt:
      * platform/mac/fast/html/details-add-summary-9-and-click-expected.txt:
      * platform/mac/fast/html/details-add-summary-9-expected.txt:
      * platform/mac/fast/html/details-add-summary-child-1-expected.txt:
      * platform/mac/fast/html/details-add-summary-child-2-expected.txt:
      * platform/mac/fast/html/details-marker-style-expected.txt: Added.
      * platform/mac/fast/html/details-nested-1-expected.txt:
      * platform/mac/fast/html/details-nested-2-expected.txt:
      * platform/mac/fast/html/details-no-summary1-expected.txt:
      * platform/mac/fast/html/details-no-summary2-expected.txt:
      * platform/mac/fast/html/details-no-summary3-expected.txt:
      * platform/mac/fast/html/details-no-summary4-expected.txt:
      * platform/mac/fast/html/details-open-javascript-expected.txt:
      * platform/mac/fast/html/details-open1-expected.txt:
      * platform/mac/fast/html/details-open2-expected.txt:
      * platform/mac/fast/html/details-open3-expected.txt:
      * platform/mac/fast/html/details-open4-expected.txt:
      * platform/mac/fast/html/details-open5-expected.txt:
      * platform/mac/fast/html/details-open6-expected.txt:
      * platform/mac/fast/html/details-position-expected.txt:
      * platform/mac/fast/html/details-remove-child-1-expected.txt:
      * platform/mac/fast/html/details-remove-child-2-expected.txt:
      * platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-1-expected.txt:
      * platform/mac/fast/html/details-remove-summary-2-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-2-expected.txt:
      * platform/mac/fast/html/details-remove-summary-3-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-3-expected.txt:
      * platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-4-expected.txt:
      * platform/mac/fast/html/details-remove-summary-5-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-5-expected.txt:
      * platform/mac/fast/html/details-remove-summary-6-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-6-expected.txt:
      * platform/mac/fast/html/details-remove-summary-child-1-expected.txt:
      * platform/mac/fast/html/details-remove-summary-child-2-expected.txt:
      * platform/mac/fast/html/details-replace-summary-child-expected.txt:
      * platform/mac/fast/html/details-replace-text-expected.txt:
      * platform/mac/fast/html/details-writing-mode-expected.txt:
      * platform/mac/fast/images/imagemap-focus-ring-zoom-expected.txt:
      * platform/mac/fast/images/zoomed-img-size-expected.txt: Added.
      * platform/mac/fast/inline-block/inline-block-vertical-align-expected.txt:
      * platform/mac/fast/inline/002-expected.txt:
      * platform/mac/fast/inline/continuation-outlines-expected.txt:
      * platform/mac/fast/inline/inline-borders-with-bidi-override-expected.txt:
      * platform/mac/fast/inline/inline-box-background-expected.txt:
      * platform/mac/fast/inline/inline-box-background-long-image-expected.txt:
      * platform/mac/fast/inline/inline-box-background-repeat-x-expected.txt:
      * platform/mac/fast/inline/inline-box-background-repeat-y-expected.txt:
      * platform/mac/fast/inline/outline-continuations-expected.txt:
      * platform/mac/fast/inline/positionedLifetime-expected.txt:
      * platform/mac/fast/invalid/010-expected.txt:
      * platform/mac/fast/invalid/014-expected.txt:
      * platform/mac/fast/invalid/junk-data-expected.txt:
      * platform/mac/fast/invalid/missing-end-tag-expected.txt:
      * platform/mac/fast/invalid/nestedh3s-expected.txt:
      * platform/mac/fast/invalid/residual-style-expected.txt:
      * platform/mac/fast/layers/video-layer-expected.txt:
      * platform/mac/fast/line-grid/line-align-left-edges-expected.txt:
      * platform/mac/fast/line-grid/line-grid-contains-value-expected.txt:
      * platform/mac/fast/lists/003-expected.txt:
      * platform/mac/fast/lists/003-vertical-expected.txt:
      * platform/mac/fast/lists/008-expected.txt:
      * platform/mac/fast/lists/008-vertical-expected.txt:
      * platform/mac/fast/lists/ordered-list-with-no-ol-tag-expected.txt:
      * platform/mac/fast/loader/javascript-url-in-embed-expected.txt: Added.
      * platform/mac/fast/media/mq-relative-constraints-08-expected.txt:
      * platform/mac/fast/multicol/break-properties-expected.txt: Added.
      * platform/mac/fast/multicol/client-rects-expected.txt:
      * platform/mac/fast/multicol/column-break-with-balancing-expected.txt:
      * platform/mac/fast/multicol/float-multicol-expected.txt:
      * platform/mac/fast/multicol/float-paginate-complex-expected.txt:
      * platform/mac/fast/multicol/layers-in-multicol-expected.txt:
      * platform/mac/fast/multicol/nested-columns-expected.txt:
      * platform/mac/fast/multicol/overflow-across-columns-expected.txt:
      * platform/mac/fast/multicol/overflow-across-columns-percent-height-expected.txt: Copied from LayoutTests/platform/mac/fast/multicol/overflow-across-columns-expected.txt.
      * platform/mac/fast/multicol/overflow-unsplittable-expected.txt:
      * platform/mac/fast/multicol/scrolling-overflow-expected.txt:
      * platform/mac/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt:
      * platform/mac/fast/multicol/span/anonymous-split-block-crash-expected.txt:
      * platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.txt:
      * platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
      * platform/mac/fast/multicol/span/clone-flexbox-expected.txt: Added.
      * platform/mac/fast/multicol/span/clone-summary-expected.txt: Added.
      * platform/mac/fast/multicol/span/span-as-immediate-child-complex-splitting-expected.txt:
      * platform/mac/fast/multicol/span/span-as-immediate-child-generated-content-expected.txt:
      * platform/mac/fast/multicol/span/span-as-immediate-child-property-removal-expected.txt:
      * platform/mac/fast/multicol/span/span-as-immediate-columns-child-dynamic-expected.txt:
      * platform/mac/fast/multicol/span/span-as-immediate-columns-child-expected.txt:
      * platform/mac/fast/multicol/span/span-as-nested-columns-child-dynamic-expected.txt:
      * platform/mac/fast/multicol/span/span-as-nested-columns-child-expected.txt:
      * platform/mac/fast/multicol/span/span-margin-collapsing-expected.txt:
      * platform/mac/fast/multicol/table-vertical-align-expected.txt:
      * platform/mac/fast/multicol/vertical-lr/break-properties-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt:
      * platform/mac/fast/multicol/vertical-lr/float-multicol-expected.txt:
      * platform/mac/fast/multicol/vertical-lr/nested-columns-expected.txt:
      * platform/mac/fast/multicol/vertical-rl/break-properties-expected.txt: Added.
      * platform/mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt:
      * platform/mac/fast/multicol/vertical-rl/float-multicol-expected.txt:
      * platform/mac/fast/multicol/vertical-rl/nested-columns-expected.txt:
      * platform/mac/fast/overflow/007-expected.txt:
      * platform/mac/fast/overflow/clip-rects-fixed-ancestor-expected.txt:
      * platform/mac/fast/overflow/infiniteRecursionGuard-expected.txt:
      * platform/mac/fast/overflow/overflow-rtl-expected.txt:
      * platform/mac/fast/overflow/overflow-rtl-vertical-expected.txt:
      * platform/mac/fast/overflow/overflow_hidden-expected.txt:
      * platform/mac/fast/overflow/scroll-nested-positioned-layer-in-overflow-expected.txt:
      * platform/mac/fast/overflow/scrollRevealButton-expected.txt:
      * platform/mac/fast/parser/bad-xml-slash-expected.txt:
      * platform/mac/fast/parser/entity-comment-in-style-expected.txt:
      * platform/mac/fast/parser/style-script-head-test-expected.txt: Added.
      * platform/mac/fast/parser/xhtml-alternate-entities-expected.txt:
      * platform/mac/fast/reflections/reflection-with-zoom-expected.txt:
      * platform/mac/fast/regions/bottom-overflow-out-of-first-region-expected.txt:
      * platform/mac/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt:
      * platform/mac/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt:
      * platform/mac/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt:
      * platform/mac/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt:
      * platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt:
      * platform/mac/fast/repaint/control-clip-expected.txt:
      * platform/mac/fast/repaint/delete-into-nested-block-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-1-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-10-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-2-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-3-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-4-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-5-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-6-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-7-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-8-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-9-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
      * platform/mac/fast/repaint/repaint-during-scroll-with-zoom-expected.txt:
      * platform/mac/fast/repaint/table-section-repaint-expected.txt: Removed.
      * platform/mac/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
      * platform/mac/fast/repaint/transform-translate-expected.txt:
      * platform/mac/fast/replaced/replaced-breaking-expected.txt:
      * platform/mac/fast/replaced/table-percent-height-expected.txt: Added.
      * platform/mac/fast/replaced/table-percent-height-text-controls-expected.txt: Added.
      * platform/mac/fast/replaced/width100percent-button-expected.txt:
      * platform/mac/fast/replaced/width100percent-checkbox-expected.txt:
      * platform/mac/fast/replaced/width100percent-radio-expected.txt:
      * platform/mac/fast/ruby/ruby-inline-table-expected.txt:
      * platform/mac/fast/selectors/032-expected.txt:
      * platform/mac/fast/selectors/166-expected.txt:
      * platform/mac/fast/selectors/unqualified-hover-quirks-expected.txt:
      * platform/mac/fast/selectors/unqualified-hover-strict-expected.txt:
      * platform/mac/fast/spatial-navigation/snav-unit-overflow-and-scroll-in-direction-expected.txt: Added.
      * platform/mac/fast/table/009-expected.txt:
      * platform/mac/fast/table/014-expected.txt:
      * platform/mac/fast/table/040-expected.txt:
      * platform/mac/fast/table/040-vertical-expected.txt:
      * platform/mac/fast/table/041-expected.txt:
      * platform/mac/fast/table/absolute-table-at-bottom-expected.txt:
      * platform/mac/fast/table/append-cells2-expected.txt:
      * platform/mac/fast/table/border-collapsing/004-expected.txt:
      * platform/mac/fast/table/border-collapsing/004-vertical-expected.txt:
      * platform/mac/fast/table/frame-and-rules-expected.txt:
      * platform/mac/fast/table/mozilla-bug10296-vertical-align-1-expected.txt:
      * platform/mac/fast/table/mozilla-bug10296-vertical-align-2-expected.txt:
      * platform/mac/fast/table/nested-percent-height-table-expected.txt:
      * platform/mac/fast/table/overflowHidden-expected.txt:
      * platform/mac/fast/table/percent-heights-expected.txt:
      * platform/mac/fast/table/remove-td-display-none-expected.txt:
      * platform/mac/fast/table/table-display-types-strict-expected.txt:
      * platform/mac/fast/table/table-hspace-align-center-expected.txt:
      * platform/mac/fast/text/basic/012-expected.txt:
      * platform/mac/fast/text/basic/013-expected.txt:
      * platform/mac/fast/text/basic/generic-family-reset-expected.txt:
      * platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.txt:
      * platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.txt:
      * platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
      * platform/mac/fast/text/international/bidi-layout-across-linebreak-expected.txt:
      * platform/mac/fast/text/international/hindi-spacing-expected.txt:
      * platform/mac/fast/text/international/thai-line-breaks-expected.txt:
      * platform/mac/fast/text/international/vertical-text-glyph-test-expected.txt:
      * platform/mac/fast/text/line-breaks-expected.txt:
      * platform/mac/fast/text/textIteratorNilRenderer-expected.txt:
      * platform/mac/fast/text/vertical-rl-rtl-linebreak-expected.txt:
      * platform/mac/fast/text/whitespace/024-expected.txt:
      * platform/mac/fast/text/whitespace/normal-after-nowrap-breaking-expected.txt:
      * platform/mac/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.txt:
      * platform/mac/fast/transforms/bounding-rect-zoom-expected.txt:
      * platform/mac/fast/transforms/rotated-transform-affects-scrolling-1-expected.txt: Added.
      * platform/mac/fast/transforms/rotated-transform-affects-scrolling-2-expected.txt: Added.
      * platform/mac/fast/transforms/transforms-with-zoom-expected.txt: Added.
      * platform/mac/fast/writing-mode/Kusa-Makura-background-canvas-expected.txt:
      * platform/mac/fast/writing-mode/broken-ideograph-small-caps-expected.txt:
      * platform/mac/fast/writing-mode/broken-ideographic-font-expected.txt:
      * platform/mac/fast/writing-mode/fieldsets-expected.txt:
      * platform/mac/fast/writing-mode/japanese-ruby-vertical-lr-expected.txt:
      * platform/mac/fast/writing-mode/japanese-ruby-vertical-rl-expected.txt:
      * platform/mac/fast/writing-mode/vertical-font-fallback-expected.txt:
      * platform/mac/fast/xsl/xslt-extra-content-at-end-expected.txt:
      * platform/mac/http/tests/cookies/multiple-cookies-expected.txt: Added.
      * platform/mac/http/tests/inspector/console-websocket-error-expected.txt:
      * platform/mac/http/tests/misc/acid3-expected.txt: Added.
      * platform/mac/http/tests/misc/iframe404-expected.txt:
      * platform/mac/http/tests/misc/object-embedding-svg-delayed-size-negotiation-2-expected.txt:
      * platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt:
      * platform/mac/http/tests/security/sandboxed-iframe-origin-add-expected.txt: Added.
      * platform/mac/http/tests/webarchive/cross-origin-stylesheet-crash-expected.txt: Added.
      * platform/mac/http/tests/webarchive/test-preload-resources-expected.txt: Added.
      * platform/mac/ietestcenter/css3/bordersbackgrounds/background-repeat-space-padding-box-expected.txt:
      * platform/mac/ietestcenter/css3/bordersbackgrounds/background_repeat_space_border_box-expected.txt:
      * platform/mac/ietestcenter/css3/bordersbackgrounds/background_repeat_space_content_box-expected.txt:
      * platform/mac/ietestcenter/css3/bordersbackgrounds/border-radius-with-three-values-001-expected.txt:
      * platform/mac/ietestcenter/css3/bordersbackgrounds/border-radius-with-two-values-001-expected.txt:
      * platform/mac/mathml/presentation/attributes-expected.txt:
      * platform/mac/mathml/presentation/fenced-expected.txt:
      * platform/mac/mathml/presentation/fenced-mi-expected.txt:
      * platform/mac/mathml/presentation/fractions-expected.txt:
      * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt:
      * platform/mac/mathml/presentation/mo-expected.txt:
      * platform/mac/mathml/presentation/mo-stretch-expected.txt:
      * platform/mac/mathml/presentation/mroot-pref-width-expected.txt:
      * platform/mac/mathml/presentation/over-expected.txt:
      * platform/mac/mathml/presentation/roots-expected.txt:
      * platform/mac/mathml/presentation/row-alignment-expected.txt:
      * platform/mac/mathml/presentation/row-expected.txt:
      * platform/mac/mathml/presentation/style-expected.txt:
      * platform/mac/mathml/presentation/sub-expected.txt:
      * platform/mac/mathml/presentation/subsup-expected.txt:
      * platform/mac/mathml/presentation/sup-expected.txt:
      * platform/mac/mathml/presentation/tables-expected.txt:
      * platform/mac/mathml/presentation/tokenElements-expected.txt:
      * platform/mac/mathml/presentation/under-expected.txt:
      * platform/mac/mathml/presentation/underover-expected.txt:
      * platform/mac/mathml/xHeight-expected.txt:
      * platform/mac/media/audio-controls-rendering-expected.txt:
      * platform/mac/media/controls-after-reload-expected.txt:
      * platform/mac/media/controls-strict-expected.txt:
      * platform/mac/media/controls-styling-strict-expected.txt:
      * platform/mac/media/controls-without-preload-expected.txt:
      * platform/mac/media/media-controls-clone-expected.txt:
      * platform/mac/media/media-element-play-after-eos-expected.txt: Added.
      * platform/mac/media/video-controls-rendering-expected.txt:
      * platform/mac/media/video-display-toggle-expected.txt:
      * platform/mac/media/video-empty-source-expected.txt:
      * platform/mac/media/video-no-audio-expected.txt:
      * platform/mac/media/video-playing-and-pause-expected.txt:
      * platform/mac/platform/mac/fast/forms/focus-option-control-on-page-expected.txt: Added.
      * platform/mac/platform/mac/fast/loader/file-url-mimetypes-2-expected.txt:
      * platform/mac/platform/mac/fast/text/x-height-expected.txt: Added.
      * platform/mac/plugins/netscape-dom-access-and-reload-expected.txt: Added.
      * platform/mac/plugins/npp-set-window-called-during-destruction-expected.txt:
      * platform/mac/svg/as-border-image/svg-as-border-image-2-expected.txt:
      * platform/mac/svg/as-border-image/svg-as-border-image-expected.txt:
      * platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.txt:
      * platform/mac/svg/as-image/svg-non-integer-scaled-image-expected.txt: Copied from LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-element-expected.txt.
      * platform/mac/svg/custom/bug45331-expected.txt:
      * platform/mac/svg/custom/fractional-rects-expected.txt: Added.
      * platform/mac/svg/custom/image-parent-translation-expected.txt:
      * platform/mac/svg/custom/inline-svg-in-xhtml-expected.txt:
      * platform/mac/svg/custom/js-update-container-expected.txt: Added.
      * platform/mac/svg/custom/junk-data-expected.txt:
      * platform/mac/svg/custom/missing-xlink-expected.txt:
      * platform/mac/svg/custom/object-sizing-expected.txt:
      * platform/mac/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-absolute-expected.txt: Added.
      * platform/mac/svg/custom/object-sizing-width-50p-height-75p-on-target-svg-expected.txt: Added.
      * platform/mac/svg/custom/object-sizing-width-75p-height-50p-on-target-svg-expected.txt: Added.
      * platform/mac/svg/custom/path-bad-data-expected.txt:
      * platform/mac/svg/custom/rootmost-svg-xy-attrs-expected.txt:
      * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
      * platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt: Added.
      * platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
      * platform/mac/svg/custom/use-css-no-effect-on-shadow-tree-expected.txt: Added.
      * platform/mac/svg/custom/use-font-face-crash-expected.txt:
      * platform/mac/svg/custom/viewBox-hit-expected.txt: Added.
      * platform/mac/svg/hixie/error/012-expected.txt:
      * platform/mac/svg/text/small-fonts-in-html5-expected.txt:
      * platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.txt:
      * platform/mac/svg/transforms/svg-css-transforms-expected.txt:
      * platform/mac/svg/webarchive/svg-cursor-subresources-expected.txt: Added.
      * platform/mac/svg/webarchive/svg-feimage-subresources-expected.txt: Added.
      * platform/mac/svg/webarchive/svg-script-subresouces-expected.txt: Added.
      * platform/mac/svg/wicd/rightsizing-grid-expected.txt:
      * platform/mac/svg/wicd/test-rightsizing-a-expected.txt:
      * platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
      * platform/mac/svg/wicd/test-scalable-background-image1-expected.txt:
      * platform/mac/svg/wicd/test-scalable-background-image2-expected.txt:
      * platform/mac/svg/zoom/page/zoom-background-image-tiled-expected.txt:
      * platform/mac/svg/zoom/page/zoom-background-images-expected.txt:
      * platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
      * platform/mac/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
      * platform/mac/svg/zoom/page/zoom-hixie-rendering-model-004-expected.txt:
      * platform/mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
      * platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt: Added.
      * platform/mac/svg/zoom/page/zoom-replaced-intrinsic-ratio-001-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-as-image-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/page/zoom-svg-as-background-with-relative-size-and-viewBox-expected.txt.
      * platform/mac/svg/zoom/page/zoom-svg-as-object-expected.txt: Added.
      * platform/mac/svg/zoom/page/zoom-svg-as-relative-image-expected.txt: Copied from LayoutTests/platform/mac/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.txt.
      * platform/mac/svg/zoom/page/zoom-svg-float-border-padding-expected.txt: Added.
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt: Added.
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-huge-size-expected.txt: Added.
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-override-size-expected.txt:
      * platform/mac/svg/zoom/page/zoom-svg-through-object-with-percentage-size-expected.txt:
      * platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
      * platform/mac/svg/zoom/text/zoom-hixie-rendering-model-004-expected.txt:
      * platform/mac/svg/zoom/text/zoom-svg-float-border-padding-expected.txt: Added.
      * platform/mac/tables/mozilla/bugs/bug10269-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug10296-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug1055-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug106816-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug113235-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug113235-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug113424-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug11384q-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug11384s-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug1188-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug126742-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug131020-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug13118-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug1318-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug138725-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug139524-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug159108-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug17130-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug17130-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug17138-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug18359-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug19061-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug19061-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug24200-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug2479-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug2479-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug2479-3-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug2479-4-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug26178-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug26553-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug2886-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug28928-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug30692-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug3309-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug3309-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug33137-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug33855-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug39209-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug42187-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug4284-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug4429-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug4527-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug46368-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug46368-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug46480-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug46480-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug51037-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug51727-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug52505-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug52506-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug5538-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug59354-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug60749-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug6304-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug67915-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug69187-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug7112-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug7112-2-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug73321-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug7342-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug8032-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug83786-expected.txt: Added.
      * platform/mac/tables/mozilla/bugs/bug8381-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug9271-1-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug9271-2-expected.txt:
      * platform/mac/tables/mozilla/collapsing_borders/bug41262-4-expected.txt:
      * platform/mac/tables/mozilla/core/bloomberg-expected.txt:
      * platform/mac/tables/mozilla/core/margins-expected.txt:
      * platform/mac/tables/mozilla/core/misc-expected.txt:
      * platform/mac/tables/mozilla/dom/tableDom-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_index-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_position-table-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-cell-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-column-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-column-group-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-row-expected.txt:
      * platform/mac/tables/mozilla/marvin/backgr_simple-table-row-group-expected.txt:
      * platform/mac/tables/mozilla/other/move_row-expected.txt:
      * platform/mac/tables/mozilla/other/test3-expected.txt:
      * platform/mac/tables/mozilla/other/test6-expected.txt:
      * platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
      * platform/mac/tables/mozilla/other/wa_table_tr_align-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug10216-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug104898-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug1055-2-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug1128-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug131020-3-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug1725-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug21518-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug22122-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug3166-13-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug3166-14-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug3166-16-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug3166-17-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug3166-18-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug46268-4-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug58402-2-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug61042-1-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug61042-2-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug72393-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug89315-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug91057-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/collapsing_borders/bug41262-5-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/collapsing_borders/bug41262-6-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/core/captions1-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/core/captions2-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/core/captions3-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/core/standards1-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-quirks-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_position-table-column-group-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/marvin/backgr_position-table-row-group-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt:
      * platform/mac/transforms/2d/hindi-rotated-expected.txt:
      * platform/mac/transforms/2d/zoom-menulist-expected.txt:
      * platform/mac/transforms/3d/point-mapping/3d-point-mapping-opacity-expected.txt: Added.
      * platform/mac/transforms/svg-vs-css-expected.txt:
      * platform/mac/webarchive/adopt-attribute-styled-body-webarchive-expected.txt: Added.
      * platform/mac/webarchive/adopt-attribute-styled-node-webarchive-expected.txt: Added.
      * platform/mac/webarchive/adopt-inline-styled-node-webarchive-expected.txt: Added.
      * platform/mac/webarchive/archive-empty-frame-dom-expected.txt: Added.
      * platform/mac/webarchive/archive-empty-frame-source-expected.txt: Added.
      * platform/mac/webarchive/archive-with-unencoded-url-expected.txt: Added.
      * platform/mac/webarchive/css-page-rule-crash-expected.txt: Added.
      * platform/mac/webarchive/doctype-expected.txt: Added.
      * platform/mac/webarchive/ignore-noscript-if-scripting-enabled-expected.txt: Added.
      * platform/mac/webarchive/test-body-background-expected.txt: Added.
      * platform/mac/webarchive/test-css-import-expected.txt: Added.
      * platform/mac/webarchive/test-duplicate-resources-expected.txt: Added.
      * platform/mac/webarchive/test-frameset-expected.txt: Added.
      * platform/mac/webarchive/test-img-src-expected.txt: Added.
      * platform/mac/webarchive/test-input-src-expected.txt: Added.
      * platform/mac/webarchive/test-link-href-expected.txt: Added.
      * platform/mac/webarchive/test-link-rel-icon-beforeload-expected.txt: Added.
      * platform/mac/webarchive/test-object-data-expected.txt: Added.
      * platform/mac/webarchive/test-script-src-expected.txt: Added.
      * platform/mac/webarchive/test-table-background-expected.txt: Added.
      * platform/mac/webarchive/test-td-background-expected.txt: Added.
      * platform/mac/webarchive/test-xml-stylesheet-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2396f377
    • msaboff@apple.com's avatar
      RegExp.prototype.toString Should Produce an 8 bit JSString if possible. · 0f06ebf0
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101003
      
      Reviewed by Geoffrey Garen.
      
      Took the logic of regExpObjectSource() and created two templated helpers that uses the
      source character type when appending to the StringBuilder.
      
      * runtime/RegExpObject.cpp:
      (JSC::appendLineTerminatorEscape): Checks line terminate type to come up with escaped version.
      (JSC::regExpObjectSourceInternal): Templated version of original.
      (JSC::regExpObjectSource): Wrapper function.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f06ebf0
    • abarth@webkit.org's avatar
      ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development · 3df3cc9a
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100711
      
      Reviewed by Eric Seidel.
      
      .: 
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      No one is actively working on ENABLE(UNDO_MANAGER). There are some
      tricky lifetime issues in the UndoManager API that are complicating
      ongoing work to improve the interaction between WebCore and the garbage
      collector. Rather than leave this code in a broken state, we should
      remove it for the time being. We can always restore it from the svn
      history when there is an active owner for this code.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.features.am:
      * GNUmakefile.list.am:
      * Target.pri:
      * UseJSC.cmake:
      * UseV8.cmake:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/DOMTransaction.cpp: Removed.
      * bindings/js/DOMTransaction.h: Removed.
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSUndoManagerCustom.cpp: Removed.
      * bindings/v8/DOMTransaction.cpp: Removed.
      * bindings/v8/DOMTransaction.h: Removed.
      * bindings/v8/V8HiddenPropertyName.h:
      (WebCore):
      * bindings/v8/custom/V8DOMTransactionCustom.cpp: Removed.
      * bindings/v8/custom/V8UndoManagerCustom.cpp: Removed.
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::setCssText):
      (WebCore::PropertySetCSSStyleDeclaration::setProperty):
      (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
      (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
      * dom/CharacterData.cpp:
      (WebCore::CharacterData::setDataAndUpdate):
      * dom/ContainerNode.cpp:
      (WebCore::willRemoveChild):
      (WebCore::willRemoveChildren):
      (WebCore::updateTreeAfterInsertion):
      * dom/Document.cpp:
      (WebCore::Document::Document):
      * dom/Document.h:
      (WebCore):
      (Document):
      * dom/Document.idl:
      * dom/Element.cpp:
      (WebCore::Element::willModifyAttribute):
      * editing/CompositeEditCommand.h:
      * editing/DOMTransaction.idl: Removed.
      * editing/DOMTransactionStep.cpp: Removed.
      * editing/DOMTransactionStep.h: Removed.
      * editing/Editor.cpp:
      (WebCore::Editor::appliedEditing):
      (WebCore::Editor::unappliedEditing):
      (WebCore::Editor::reappliedEditing):
      (WebCore::Editor::canUndo):
      (WebCore::Editor::undo):
      (WebCore::Editor::canRedo):
      (WebCore::Editor::redo):
      * editing/UndoManager.cpp: Removed.
      * editing/UndoManager.h: Removed.
      * editing/UndoManager.idl: Removed.
      * editing/UndoStep.h:
      (UndoStep):
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools: 
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3df3cc9a
    • commit-queue@webkit.org's avatar
      [Qt] Fix build on Windows when Qt is configured with -release · cc7bc091
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101041
      
      Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-11-02
      Reviewed by Jocelyn Turcotte.
      
      When Qt is configured with -debug or -release, the release/debug build of for example
      QtCore is not available by default. For LLIntExtractor we always need to build debug
      _and_ release versions, but we do not actually need any Qt libraries nor qtmain(d).lib.
      Therefore we can disable all these features but need to keep $$QT.core.includes in the
      INCLUDEPATH for some defines from qglobal.h.
      
      * LLIntOffsetsExtractor.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc7bc091
  4. 01 Nov, 2012 5 commits
  5. 31 Oct, 2012 3 commits
  6. 30 Oct, 2012 4 commits
    • joepeck@webkit.org's avatar
      [Mac] Sync up FeatureDefine Configuration Files · 48adea14
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100171
      
      Reviewed by David Kilzer.
      
      Follow up to better coordinate with iOS feature defines. Make:
      
        - ENABLE_FILTERS always on
        - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48adea14
    • joepeck@webkit.org's avatar
      [Mac] Sync up FeatureDefine Configuration Files · 9848b5fb
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100171
      
      Reviewed by David Kilzer.
      
      Ensure an identical FeatureDefine files across all projects. Changes:
      
        - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
        - ENABLE_PDFKIT_PLUGIN should be in all
        - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
        - ENABLE_ENCRYPTED_MEDIA should be in all
        - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
        - Some alphabetical ordering cleanup
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132958 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9848b5fb
    • mhahnenberg@apple.com's avatar
      Arrays can change IndexingType in the middle of sorting · 0d47b50d
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100773
      
      Reviewed by Filip Pizlo.
      
      Instead of giving up, we just fetch the appropriate vector based on the current
      IndexingType of the array.
      
      * runtime/JSArray.cpp:
      (JSC::JSArray::sortVector):
      * runtime/JSObject.h:
      (JSObject):
      (JSC::JSObject::currentIndexingData):
      (JSC::JSObject::currentRelevantLength):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d47b50d
    • andersca@apple.com's avatar
      Build WebKit as C++11 on Mac · 3c8717b4
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100720
      
      Reviewed by Daniel Bates.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::generate):
      (JSC::BytecodeGenerator::pushFinallyContext):
      (JSC::BytecodeGenerator::beginSwitch):
      * llint/LLIntOffsetsExtractor.cpp:
      * runtime/Identifier.cpp:
      (JSC::Identifier::add8):
      * runtime/Identifier.h:
      (JSC::Identifier::add):
      * runtime/JSONObject.cpp:
      (JSC::appendStringToStringBuilder):
      * runtime/StringPrototype.cpp:
      (JSC::replaceUsingStringSearch):
      Add static_casts to prevent implicit type conversions in non-constant initializer lists.
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      * platform/graphics/FontPlatformData.h:
      (WebCore::FontPlatformData::hash):
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::drawLine):
      (WebCore::GraphicsContext::strokeArc):
      * platform/graphics/filters/CustomFilterProgramInfo.cpp:
      (WebCore::CustomFilterProgramInfo::hash):
      (WebCore::ProtectionSpaceHash::hash):
      * platform/network/cf/FormDataStreamCFNet.cpp:
      (WebCore::setHTTPBody):
      Add static_casts to prevent implicit type conversions in non-constant initializer lists.
      
      * platform/mac/ClipboardMac.mm:
      (WebCore::ClipboardMac::createDragImage):
      * platform/mac/CursorMac.mm:
      (WebCore::createNamedCursor):
      * platform/mac/ScrollViewMac.mm:
      (WebCore::ScrollView::platformSetContentsSize):
      Use NSMakePoint to prevent implicit type conversions in non-constant initializer lists.
      
      * platform/mac/CookieJar.mm:
      (WebCore::cookiesEnabled):
      * platform/network/mac/ResourceHandleMac.mm:
      (WebCore::shouldRelaxThirdPartyCookiePolicy):
      Add explicit casts to NSHTTPCookieAcceptPolicy.
      
      * platform/mac/WebCoreNSURLExtras.h:
      * platform/mac/WebCoreNSURLExtras.mm:
      (WebCore::URLByTruncatingOneCharacterBeforeComponent):
      (WebCore::dataForURLComponentType):
      * platform/network/ProtectionSpaceHash.h:
      Use CFIndex instead of CFURLComponentType, the enum can be mangled differently in some cases, and these
      functions are exported from WebCore.
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      * History/WebBackForwardList.mm:
      (-[WebBackForwardList description]):
      * History/WebHistoryItem.mm:
      (-[WebHistoryItem description]):
      Add static_casts to prevent implicit type conversions in non-constant initializer lists.
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      * UIProcess/mac/WebCookieManagerProxyMac.mm:
      (WebKit::WebCookieManagerProxy::persistHTTPCookieAcceptPolicy):
      * WebProcess/Cookies/mac/WebCookieManagerMac.mm:
      (WebKit::WebCookieManager::platformSetHTTPCookieAcceptPolicy):
      Add explicit casts to NSHTTPCookieAcceptPolicy.
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      * wtf/text/AtomicString.cpp:
      (WTF::AtomicString::add):
      Change the type of length to be unsigned to prevent implicit type conversions in non-constant initializer lists.
      
      * wtf/unicode/UTF8.cpp:
      (Unicode):
      Add static_casts to prevent implicit type conversions in non-constant initializer lists.
      
      Tools:
      
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c8717b4
  7. 29 Oct, 2012 4 commits
    • mrowe@apple.com's avatar
      Simplify Xcode configuration settings that used to vary between OS versions. · fb7aaa43
      mrowe@apple.com authored
      Reviewed by Dan Bernstein.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/JavaScriptCore.xcconfig:
      
      Source/ThirdParty:
      
      * gtest/xcode/Config/General.xcconfig:
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/WebCore.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/WebKit.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      * Configurations/WebKit2.xcconfig:
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Tools:
      
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/DebugRelease.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb7aaa43
    • mrowe@apple.com's avatar
      Remove references to unsupported OS and Xcode versions. · 5b132015
      mrowe@apple.com authored
      Reviewed by Anders Carlsson.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      Source/ThirdParty:
      
      * gtest/xcode/Config/CompilerVersion.xcconfig: Removed.
      * gtest/xcode/Config/General.xcconfig:
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebCore.xcconfig:
      * DerivedSources.make:
      * WebCore.xcodeproj/project.pbxproj:
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      * DerivedSources.make:
      * WebKit2.xcodeproj/project.pbxproj:
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig: Removed.
      * Configurations/DebugRelease.xcconfig:
      * WTF.xcodeproj/project.pbxproj:
      
      Tools:
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig: Removed.
      * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/CompilerVersion.xcconfig: Removed.
      * MiniBrowser/Configurations/DebugRelease.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/CompilerVersion.xcconfig: Removed.
      * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/CompilerVersion.xcconfig: Removed.
      * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b132015
    • msaboff@apple.com's avatar
      Non-special escape character sequences cause JSC::Lexer::parseString to create 16 bit strings · 48f4353d
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100576
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore: 
      
      Changed singleEscape() processing to be based on a lookup of a static table.  The table
      covers ASCII characters SPACE through DEL.  If a character can be a single character escape,
      then the table provides the non-zero result of that escape.  Updated the result of
      singleEscape to be an LChar to make the table as small as possible.
      Added a new test fast/js/normal-character-escapes-in-string-literals.html to validated
      the behavior.
      
      * parser/Lexer.cpp:
      (JSC::singleEscape):
      (JSC::Lexer::parseString):
      (JSC::Lexer::parseStringSlowCase):
      
      LayoutTests: 
      
      Added a new test to validated the behavior of the corresponding changes to string processing
      in the Lexer.
      
      * fast/js/normal-character-escapes-in-string-literals-expected.txt: Added.
      * fast/js/normal-character-escapes-in-string-literals.html: Added.
      * fast/js/script-tests/normal-character-escapes-in-string-literals.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48f4353d
    • enrica@apple.com's avatar
      Add ENABLE_USERSELECT_ALL feature flag. · ae9b0990
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100559
      
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae9b0990
  8. 28 Oct, 2012 5 commits
    • fpizlo@apple.com's avatar
      DFG should be able to emit effectful structure checks · 99f3762d
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=99260
      
      Reviewed by Oliver Hunt.
      
      This change allows us to find out if an array access that has gone polymorphic
      is operating over known structures - i.e. the primordial array structures of the
      global object that the code block containing the array access belongs to. We
      term this state "OriginalArray" for short. The fact that the access has gone
      polymorphic means that the array profile will not be able to report the set of
      structures it had seen - but if it can tell us that all of the structures were
      primordial then it just so happens that we can deduce what the structure set
      would have been by just querying the code block's global object. This allows us
      to emit an ArrayifyToStructure instead of an Arrayify if we find that we need to
      do conversions. The fast path of an ArrayifyToStructure is exactly like the fast
      path of a CheckStructure and is mostly subject to the same optimizations. It
      also burns one fewer registers.
              
      Essentially the notion of OriginalArray is a super cheap way of getting the
      array profile to tell us a structure set instead of a singleton structure.
      Currently, the array profile can only tell us the structure seen at an array
      access if there was exactly one structure. If there were multiple structures, it
      won't tell us anything other than the array modes and other auxiliary profiling
      data (whether there were stores to holes, for example). With OriginalArray, we
      cheaply get a structure set if all of the structures were primordial for the
      code block's global object, since in that case the array mode set (ArrayModes)
      can directly tell us the structure set. In the future, we might consider adding
      complete structure sets to the array profiles, but I suspect that we would hit
      diminishing returns if we did so - it would only help if we have array accesses
      that are both polymorphic and are cross-global-object accesses (rare) or if the
      arrays had named properties or other structure transitions that are unrelated to
      indexing type (also rare).
              
      This also does away with Arrayify (and the new ArrayifyToStructure) returning
      the butterfly pointer. This turns out to be faster and easier to CSE.
              
      And, this also changes constant folding to be able to eliminate CheckStructure,
      ForwardCheckStructure, and ArrayifyToStructure in addition to being able to
      transform them into structure transition watchpoints. This is great for
      ArrayifyToStructure because then CSE and CFA know that there is no side effect.
      Converting CheckStructure and ForwardCheckStructure to also behave this way is
      just a matter of elegance.
              
      This has no performance impact right now. It's intended to alleviate some of the
      regressions seen in the early implementation of
      https://bugs.webkit.org/show_bug.cgi?id=98606.
      
      * bytecode/ArrayProfile.cpp:
      (JSC::ArrayProfile::computeUpdatedPrediction):
      * bytecode/ArrayProfile.h:
      (JSC):
      (JSC::ArrayProfile::ArrayProfile):
      (ArrayProfile):
      (JSC::ArrayProfile::usesOriginalArrayStructures):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::updateAllPredictionsAndCountLiveness):
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::ArrayMode::fromObserved):
      (JSC::DFG::ArrayMode::alreadyChecked):
      (JSC::DFG::arrayClassToString):
      * dfg/DFGArrayMode.h:
      (JSC::DFG::ArrayMode::withProfile):
      (JSC::DFG::ArrayMode::isJSArray):
      (ArrayMode):
      (JSC::DFG::ArrayMode::isJSArrayWithOriginalStructure):
      (JSC::DFG::ArrayMode::supportsLength):
      (JSC::DFG::ArrayMode::arrayModesWithIndexingShape):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::getArrayMode):
      (JSC::DFG::ByteCodeParser::getArrayModeAndEmitChecks):
      (JSC::DFG::ByteCodeParser::handleGetByOffset):
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::checkStructureElimination):
      (JSC::DFG::CSEPhase::structureTransitionWatchpointElimination):
      (JSC::DFG::CSEPhase::getPropertyStorageLoadElimination):
      (JSC::DFG::CSEPhase::checkArrayElimination):
      (JSC::DFG::CSEPhase::getScopeRegistersLoadElimination):
      * dfg/DFGConstantFoldingPhase.cpp:
      (JSC::DFG::ConstantFoldingPhase::foldConstants):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupNode):
      (JSC::DFG::FixupPhase::checkArray):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::hasStructure):
      (JSC::DFG::Node::hasArrayMode):
      (JSC::DFG::Node::arrayMode):
      * dfg/DFGNodeType.h:
      (DFG):
      * dfg/DFGPredictionPropagationPhase.cpp:
      (JSC::DFG::PredictionPropagationPhase::propagate):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::jumpSlowForUnwantedArrayMode):
      (JSC::DFG::SpeculativeJIT::arrayify):
      * dfg/DFGSpeculativeJIT.h:
      (SpeculativeJIT):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * runtime/JSGlobalObject.h:
      (JSC::JSGlobalObject::isOriginalArrayStructure):
      * runtime/Structure.cpp:
      (JSC::Structure::nonPropertyTransition):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99f3762d
    • fpizlo@apple.com's avatar
      There should not be blind spots in array length array profiling · eef132ec
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100620
      
      Reviewed by Oliver Hunt.
      
      I don't think this has any performance impact. But it's good to not have random
      programs occasionally emit a GetById for array length accesses.
      
      * jit/JITPropertyAccess.cpp:
      (JSC::JIT::compileGetByIdHotPath):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      * jit/JITPropertyAccess32_64.cpp:
      (JSC::JIT::compileGetByIdHotPath):
      (JSC::JIT::privateCompilePatchGetArrayLength):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eef132ec
    • fpizlo@apple.com's avatar
      Unreviewed, make always-true enum-to-int comparisons use casts. · e8ef080d
      fpizlo@apple.com authored
      * dfg/DFGFPRInfo.h:
      (JSC::DFG::FPRInfo::debugName):
      * dfg/DFGGPRInfo.h:
      (JSC::DFG::JSValueSource::tagGPR):
      (JSC::DFG::GPRInfo::toIndex):
      (JSC::DFG::GPRInfo::debugName):
      * runtime/JSTypeInfo.h:
      (JSC::TypeInfo::TypeInfo):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8ef080d
    • fpizlo@apple.com's avatar
      OSR exit compilation should defend against argument recoveries from code... · c071eaaf
      fpizlo@apple.com authored
      OSR exit compilation should defend against argument recoveries from code blocks that are no longer on the inline stack
      https://bugs.webkit.org/show_bug.cgi?id=100601
      
      Reviewed by Oliver Hunt.
      
      This happened to me while I was fixing bugs for https://bugs.webkit.org/show_bug.cgi?id=100599.
      I'm not sure how to reproduce this.
      
      * dfg/DFGAssemblyHelpers.h:
      (JSC::DFG::AssemblyHelpers::baselineCodeBlockFor):
      (AssemblyHelpers):
      * dfg/DFGOSRExitCompiler32_64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGOSRExitCompiler64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c071eaaf
    • fpizlo@apple.com's avatar
      DFG::Array::Mode needs to be cleaned up · 34d1f08b
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100599
      
      Reviewed by Oliver Hunt.
      
      Turn the previous massive Array::Mode enum into a class that contains four
      fields, the type, whether it's a JSArray, the level of speculation, and the
      kind of conversion to perform.
              
      No performance or behavioral change.
      
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::execute):
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::ArrayMode::fromObserved):
      (JSC::DFG::ArrayMode::refine):
      (JSC::DFG::ArrayMode::alreadyChecked):
      (JSC::DFG::arrayTypeToString):
      (JSC::DFG::arrayClassToString):
      (DFG):
      (JSC::DFG::arraySpeculationToString):
      (JSC::DFG::arrayConversionToString):
      (JSC::DFG::ArrayMode::toString):
      * dfg/DFGArrayMode.h:
      (DFG):
      (ArrayMode):
      (JSC::DFG::ArrayMode::ArrayMode):
      (JSC::DFG::ArrayMode::type):
      (JSC::DFG::ArrayMode::arrayClass):
      (JSC::DFG::ArrayMode::speculation):
      (JSC::DFG::ArrayMode::conversion):
      (JSC::DFG::ArrayMode::asWord):
      (JSC::DFG::ArrayMode::fromWord):
      (JSC::DFG::ArrayMode::withSpeculation):
      (JSC::DFG::ArrayMode::usesButterfly):
      (JSC::DFG::ArrayMode::isJSArray):
      (JSC::DFG::ArrayMode::isInBounds):
      (JSC::DFG::ArrayMode::mayStoreToHole):
      (JSC::DFG::ArrayMode::isOutOfBounds):
      (JSC::DFG::ArrayMode::isSlowPut):
      (JSC::DFG::ArrayMode::canCSEStorage):
      (JSC::DFG::ArrayMode::lengthNeedsStorage):
      (JSC::DFG::ArrayMode::modeForPut):
      (JSC::DFG::ArrayMode::isSpecific):
      (JSC::DFG::ArrayMode::supportsLength):
      (JSC::DFG::ArrayMode::benefitsFromStructureCheck):
      (JSC::DFG::ArrayMode::doesConversion):
      (JSC::DFG::ArrayMode::arrayModesThatPassFiltering):
      (JSC::DFG::ArrayMode::operator==):
      (JSC::DFG::ArrayMode::operator!=):
      (JSC::DFG::ArrayMode::arrayModesWithIndexingShape):
      (JSC::DFG::canCSEStorage):
      (JSC::DFG::lengthNeedsStorage):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::getArrayMode):
      (JSC::DFG::ByteCodeParser::getArrayModeAndEmitChecks):
      (JSC::DFG::ByteCodeParser::handleIntrinsic):
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::getArrayLengthElimination):
      (JSC::DFG::CSEPhase::checkArrayElimination):
      (JSC::DFG::CSEPhase::getIndexedPropertyStorageLoadElimination):
      (JSC::DFG::CSEPhase::performNodeCSE):
      * dfg/DFGConstantFoldingPhase.cpp:
      (JSC::DFG::ConstantFoldingPhase::foldConstants):
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupNode):
      (JSC::DFG::FixupPhase::checkArray):
      (JSC::DFG::FixupPhase::blessArrayOperation):
      * dfg/DFGGraph.cpp:
      (JSC::DFG::Graph::dump):
      * dfg/DFGGraph.h:
      (JSC::DFG::Graph::byValIsPure):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::arrayMode):
      (JSC::DFG::Node::setArrayMode):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::typedArrayDescriptor):
      (JSC::DFG::SpeculativeJIT::jumpSlowForUnwantedArrayMode):
      (JSC::DFG::SpeculativeJIT::checkArray):
      (JSC::DFG::SpeculativeJIT::arrayify):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnString):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):
      (JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray):
      (JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
      (JSC::DFG::SpeculativeJIT::compileGetByValOnArguments):
      (JSC::DFG::SpeculativeJIT::compileGetArgumentsLength):
      (JSC::DFG::SpeculativeJIT::compileGetArrayLength):
      (JSC::DFG::SpeculativeJIT::temporaryRegisterForPutByVal):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::putByValWillNeedExtraRegister):
      (SpeculativeJIT):
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34d1f08b
  9. 27 Oct, 2012 1 commit
    • mitz@apple.com's avatar
      REAL_PLATFORM_NAME build setting is no longer needed · ba174339
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100587
      
      Reviewed by Mark Rowe.
      
      Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
      to PLATFORM_NAME.
      
      Source/JavaScriptCore: 
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/JSC.xcconfig:
      * Configurations/JavaScriptCore.xcconfig:
      * Configurations/ToolExecutable.xcconfig:
      
      Source/ThirdParty: 
      
      * gtest/xcode/Config/CompilerVersion.xcconfig:
      * gtest/xcode/Config/General.xcconfig:
      
      Source/ThirdParty/ANGLE: 
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      
      Source/WebCore: 
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebCore.xcconfig:
      
      Source/WebKit/mac: 
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebKit.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/Base.xcconfig:
      * Configurations/BaseTarget.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/WebKit2.xcconfig:
      
      Source/WTF: 
      
      * Configurations/Base.xcconfig:
      * Configurations/CompilerVersion.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Tools: 
      
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * DumpRenderTree/mac/Configurations/CompilerVersion.xcconfig:
      * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/CompilerVersion.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/CompilerVersion.xcconfig:
      * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba174339
  10. 26 Oct, 2012 5 commits
    • fpizlo@apple.com's avatar
      Forward OSR calculation is wrong in the presence of multiple SetLocals, or a... · 83182168
      fpizlo@apple.com authored
      Forward OSR calculation is wrong in the presence of multiple SetLocals, or a mix of SetLocals and Phantoms
      https://bugs.webkit.org/show_bug.cgi?id=100461
      
      Reviewed by Oliver Hunt and Gavin Barraclough.
      
      This does a couple of things. First, it removes the part of the change in r131822 that made the forward
      OSR exit calculator capable of handling multiple SetLocals. That change was wrong, because it would
      blindly assume that all SetLocals had the same ValueRecovery, and would ignore the possibility that if
      there is no value recovery then a ForwardCheckStructure on the first SetLocal would not know how to
      recover the state associated with the second SetLocal. Then, it introduces the invariant that any bytecode
      op that decomposes into multiple SetLocals must first emit dead SetLocals as hints and then emit a second
      set of SetLocals to actually do the setting of the locals. This means that if a ForwardCheckStructure (or
      any other hoisted forward speculation) is inserted, it will always be inserted on the second set of
      SetLocals (since hoisting only touches the live ones), at which point OSR will already know about the
      mov hints implied by the first set of (dead) SetLocals. This gives us the behavior we wanted, namely, that
      a ForwardCheckStructure applied to a variant set by a resolve_with_base-like operation can correctly do a
      forward exit while also ensuring that prior to exiting we set the appropriate locals.
      
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * dfg/DFGOSRExit.cpp:
      (JSC::DFG::OSRExit::OSRExit):
      * dfg/DFGOSRExit.h:
      (OSRExit):
      * dfg/DFGOSRExitCompiler.cpp:
      * dfg/DFGOSRExitCompiler32_64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGOSRExitCompiler64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::convertLastOSRExitToForward):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83182168
    • commit-queue@webkit.org's avatar
      [Qt] Fix the LLInt build on Windows · c1c784b5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97648
      
      Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-10-26
      Reviewed by Tor Arne Vestbø.
      
      Source/JavaScriptCore:
      
      The main change for the port on Windows is changing the way offsets are extracted
      and the LLIntAssembly.h is generated to accomodate release and debug configurations.
      
      Firstly the LLIntOffsetsExtractor binary is now built as-is (no DESTDIR set) and
      placed into debug\LLIntOffsetsExtractor.exe and release\LLIntOffsetsExtractor.exe
      on Windows debug_and_release builds. On other patforms it remainds in the regular
      out directory.
      
      Secondly the LLIntAssembly.h files must be different for different build types,
      so the LLIntAssembly.h generator in DerivedSources.pri operates no on the extractor
      binary files as input. Using a simple exists() check we verify the presence of either
      a regular, a debug\LLIntOffsetsExtractor and a release\LLIntOffsetsExtractor binary
      and process all of them. The resulting assembly files consequently end up in
      generated\debug\LLIntAssembly.h and generated\release\LLIntAssembly.h.
      
      In Target.pri we have to also make sure that those directories are in the include
      path according to the release or debug configuration.
      
      Lastly a small tweak - swapping WTF.pri and JSC.pri inclusions - in the
      LLIntOffsetsExtractor build was needed to make sure that we include
      JavaScriptCore/config.h instead of WTF/config.h, required to fix the
      build issues originally pasted in bug #97648.
      
      * DerivedSources.pri:
      * JavaScriptCore.pro:
      * LLIntOffsetsExtractor.pro:
      * Target.pri:
      
      Tools:
      
      Added BIN_EXTENSION variable - similar to automake - that expands to .exe as suffix for
      executable programs on Windows. Empty otherwise. Also added support for force_build_all
      to allow overriding us disabling build_all for TEMPLATE = app.
      
      * qmake/mkspecs/features/default_pre.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1c784b5
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Enable JSC's disassembler on x86, x86_64 Linux · b46bab1b
      kkristof@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=100386
      
      Patch by Gabor Ballabas <gaborb@inf.u-szeged.hu> on 2012-10-26
      Reviewed by Simon Hausmann.
      
      It works fine on Linux x86, x86_64 just needs to be enabled in the
      QtWebKit build system.
      
      Source/JavaScriptCore:
      
      * DerivedSources.pri:
      * JavaScriptCore.pri:
      * Target.pri:
      
      Source/WTF:
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b46bab1b
    • commit-queue@webkit.org's avatar
      Add feature flags for CSS Device Adaptation · b885adcb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95960
      
      Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b885adcb
    • commit-queue@webkit.org's avatar
      [WIN] Make LLInt offsets extractor work on Windows · 0bbdcdcd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100369
      
      Patch by Simon Hausmann <simon.hausmann@digia.com> on 2012-10-26
      Reviewed by Kenneth Rohde Christiansen.
      
      Open the input file explicitly in binary mode to prevent ruby/Windows from thinking that
      it's a text mode file that needs even new line conversions. The binary mode parameter is
      ignored on other platforms.
      
      * offlineasm/offsets.rb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bbdcdcd