Timeline



Dec 15, 2014:

11:59 PM Changeset in webkit [177334] by dburkart@apple.com
  • 5 edits
    4 copies in branches/safari-600.3-branch/Source

Merged r177113. <rdar://problem/19198539>

9:56 PM Changeset in webkit [177333] by commit-queue@webkit.org
  • 5 edits
    4 adds in trunk

Extend :lang()'s selector checker to handle ranges with '*' properly and perform matching within the ASCII range
https://bugs.webkit.org/show_bug.cgi?id=139340

Patch by Dhi Aurrahman <diorahman@rockybars.com> on 2014-12-15
Reviewed by Benjamin Poulain.

Source/WebCore:

Asterisk is considered as a valid subtag of a language range to express wildcard matching
in :lang()'s extended filtering procedure. The matching rules introduced by language
range with '*' is outlined in [1].

The matching of subtags is performed case-insensitively within the ASCII range[2].

[1] www.ietf.org/rfc/rfc4647.txt
[2] http://dev.w3.org/csswg/selectors4/#the-lang-pseudo

Test: fast/selectors/lang-equal-ignoring-case.html

fast/selectors/lang-valid-extended-filtering.html

  • css/SelectorCheckerTestFunctions.h:

(WebCore::equalIgnoringCaseWithinASCIIRange): Handle matching case-insensitively within the ASCII range.
(WebCore::containslanguageSubtagMatchingRange):
(WebCore::matchesLangPseudoClass):

LayoutTests:

  • fast/selectors/lang-equal-ignoring-ascii-case-expected.txt: Added.
  • fast/selectors/lang-equal-ignoring-ascii-case.html: Added.
  • fast/selectors/lang-extended-filtering-expected.txt: Updated.
  • fast/selectors/lang-extended-filtering.html: Updated.
  • fast/selectors/lang-valid-extended-filtering-expected.txt: Added.
  • fast/selectors/lang-valid-extended-filtering.html: Added.
8:51 PM Changeset in webkit [177332] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Build fix after r177301.
https://bugs.webkit.org/show_bug.cgi?id=139666

Patch by Bartlomiej Gajda <b.gajda@samsung.com> on 2014-12-15
Reviewed by Gyuyoung Kim.

  • WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp:

(WebKit::WebPage::findZoomableAreaForPoint):

7:25 PM Changeset in webkit [177331] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebInspectorUI

Web Inspector: Clicking on the expand object arrow should always expand an object
https://bugs.webkit.org/show_bug.cgi?id=139382

Patch by Nikita Vasilyev <Nikita Vasilyev> on 2014-12-15
Reviewed by Joseph Pecoraro.

  • UserInterface/Views/LogContentView.js:

(WebInspector.LogContentView):
(WebInspector.LogContentView.prototype._click): Deleted.
stopPropagation was preventing the object expansion from happening as expecting.

6:19 PM Changeset in webkit [177330] by commit-queue@webkit.org
  • 2 edits
    1113 adds in trunk/LayoutTests

Import Mozilla test suite for SVG.
https://bugs.webkit.org/show_bug.cgi?id=139456.

LayoutTests/imported/mozilla:

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2014-12-09
Reviewed by Dean Jackson.

This is only a part of the test suite. The rest of the tests will be submitted
later as they are investigated and the failures are reduced.

  • ChangeLog: Added.
  • resources: Added.
  • resources/fonts: Added.
  • resources/fonts/Ahem.ttf: Added.
  • resources/fonts/LinLibertine_Re-4.7.5.woff: Added.
  • svg: Added.
  • svg/altGlyph-01-expected.svg: Added.
  • svg/altGlyph-01.svg: Added.
  • svg/as-image: Added.
  • svg/as-image/background-image-rect-1png-expected.html: Added.
  • svg/as-image/background-image-rect-1png.html: Added.
  • svg/as-image/background-image-rect-2-expected.html: Added.
  • svg/as-image/background-image-rect-2.html: Added.
  • svg/as-image/background-resize-1-expected.html: Added.
  • svg/as-image/background-resize-1.html: Added.
  • svg/as-image/background-resize-2-expected.html: Added.
  • svg/as-image/background-resize-2.html: Added.
  • svg/as-image/background-resize-3-expected.html: Added.
  • svg/as-image/background-resize-3.html: Added.
  • svg/as-image/background-resize-4-expected.html: Added.
  • svg/as-image/background-resize-4.html: Added.
  • svg/as-image/background-stretch-1-expected.html: Added.
  • svg/as-image/background-stretch-1.html: Added.
  • svg/as-image/border-image-simple-1-expected.html: Added.
  • svg/as-image/border-image-simple-1.html: Added.
  • svg/as-image/border-image-simple-2-expected.html: Added.
  • svg/as-image/border-image-simple-2.html: Added.
  • svg/as-image/canvas-drawImage-scale-1a-expected.html: Added.
  • svg/as-image/canvas-drawImage-scale-1a.html: Added.
  • svg/as-image/canvas-drawImage-scale-1b-expected.html: Added.
  • svg/as-image/canvas-drawImage-scale-1b.html: Added.
  • svg/as-image/img-content-outside-viewBox-1-expected.html: Added.
  • svg/as-image/img-content-outside-viewBox-1.html: Added.
  • svg/as-image/img-dyn-1-expected.html: Added.
  • svg/as-image/img-dyn-1.html: Added.
  • svg/as-image/img-foreignObject-1-expected.html: Added.
  • svg/as-image/img-foreignObject-1.html: Added.
  • svg/as-image/img-foreignObject-embed-1-expected.html: Added.
  • svg/as-image/img-foreignObject-embed-1.html: Added.
  • svg/as-image/img-foreignObject-iframe-1a-expected.html: Added.
  • svg/as-image/img-foreignObject-iframe-1a.html: Added.
  • svg/as-image/img-foreignObject-iframe-1b-expected.html: Added.
  • svg/as-image/img-foreignObject-iframe-1b.html: Added.
  • svg/as-image/img-height-meet-1-expected.html: Added.
  • svg/as-image/img-height-meet-1.html: Added.
  • svg/as-image/img-height-meet-2-expected.html: Added.
  • svg/as-image/img-height-meet-2.html: Added.
  • svg/as-image/img-height-slice-1-expected.html: Added.
  • svg/as-image/img-height-slice-1.html: Added.
  • svg/as-image/img-height-slice-2-expected.html: Added.
  • svg/as-image/img-height-slice-2.html: Added.
  • svg/as-image/img-simple-1-expected.html: Added.
  • svg/as-image/img-simple-1.html: Added.
  • svg/as-image/img-simple-2-expected.html: Added.
  • svg/as-image/img-simple-2.html: Added.
  • svg/as-image/img-simple-3-expected.html: Added.
  • svg/as-image/img-simple-3.html: Added.
  • svg/as-image/img-simple-4-expected.html: Added.
  • svg/as-image/img-simple-4.html: Added.
  • svg/as-image/img-simple-5-expected.html: Added.
  • svg/as-image/img-simple-5.html: Added.
  • svg/as-image/img-simple-6-expected.html: Added.
  • svg/as-image/img-simple-6.html: Added.
  • svg/as-image/img-simple-7-expected.html: Added.
  • svg/as-image/img-simple-7.html: Added.
  • svg/as-image/img-width-meet-1-expected.html: Added.
  • svg/as-image/img-width-meet-1.html: Added.
  • svg/as-image/img-width-meet-2-expected.html: Added.
  • svg/as-image/img-width-meet-2.html: Added.
  • svg/as-image/img-width-slice-1-expected.html: Added.
  • svg/as-image/img-width-slice-1.html: Added.
  • svg/as-image/img-width-slice-2-expected.html: Added.
  • svg/as-image/img-width-slice-2.html: Added.
  • svg/as-image/img-widthAndHeight-meet-1-expected.html: Added.
  • svg/as-image/img-widthAndHeight-meet-1.html: Added.
  • svg/as-image/img-widthAndHeight-meet-2-expected.html: Added.
  • svg/as-image/img-widthAndHeight-meet-2.html: Added.
  • svg/as-image/img-widthAndHeight-slice-1-expected.html: Added.
  • svg/as-image/img-widthAndHeight-slice-1.html: Added.
  • svg/as-image/img-widthAndHeight-slice-2-expected.html: Added.
  • svg/as-image/img-widthAndHeight-slice-2.html: Added.
  • svg/as-image/list-simple-1-expected.html: Added.
  • svg/as-image/list-simple-1.html: Added.
  • svg/as-image/resources: Added.
  • svg/as-image/resources/content-outside-viewBox-1-helper.svg: Added.
  • svg/as-image/resources/img-foreignObject-1-helper.svg: Added.
  • svg/as-image/resources/img-foreignObject-embed-1-helper.svg: Added.
  • svg/as-image/resources/img-foreignObject-iframe-1a-helper.svg: Added.
  • svg/as-image/resources/img-foreignObject-iframe-1b-helper.svg: Added.
  • svg/as-image/resources/lime100x100-noSVGDimensions.svg: Added.
  • svg/as-image/resources/lime100x100-ref.html: Added.
  • svg/as-image/resources/lime100x100.png: Added.
  • svg/as-image/resources/lime100x100.svg: Added.
  • svg/as-image/resources/lime200x100.svg: Added.
  • svg/as-image/resources/lime200x200.svg: Added.
  • svg/as-image/resources/lime50x25.svg: Added.
  • svg/as-image/resources/lime50x50.svg: Added.
  • svg/as-image/resources/limeInRed-noSVGDimensions-animViewBox.svg: Added.
  • svg/as-image/resources/limeInRed-noSVGDimensions-viewBox.svg: Added.
  • svg/as-image/resources/limeInRed100x100-viewBox.svg: Added.
  • svg/as-image/resources/limeInRed100x100.png: Added.
  • svg/as-image/resources/limeInRed100x100.svg: Added.
  • svg/as-image/resources/script100x100.svg: Added.
  • svg/as-image/resources/squaredCircle-100x100.svg: Added.
  • svg/as-image/resources/squaredCircle-100x50.svg: Added.
  • svg/as-image/resources/squaredCircle-viewBox-100x100.svg: Added.
  • svg/as-image/resources/squaredCircle-viewBox-noSize.svg: Added.
  • svg/as-image/resources/white-rect-no-viewbox.svg: Added.
  • svg/as-image/resources/white-rect-with-viewbox.svg: Added.
  • svg/as-image/zoom: Added.
  • svg/as-image/zoom/img-fuzzy-zoomIn-1-expected.html: Added.
  • svg/as-image/zoom/img-fuzzy-zoomIn-1.html: Added.
  • svg/as-image/zoom/img-fuzzy-zoomOut-1-expected.html: Added.
  • svg/as-image/zoom/img-fuzzy-zoomOut-1.html: Added.
  • svg/blend-color-burn-expected.svg: Added.
  • svg/blend-color-burn.svg: Added.
  • svg/blend-color-dodge-expected.svg: Added.
  • svg/blend-color-dodge.svg: Added.
  • svg/blend-color-expected.svg: Added.
  • svg/blend-color.svg: Added.
  • svg/blend-darken-expected.svg: Added.
  • svg/blend-darken.svg: Added.
  • svg/blend-difference-expected.svg: Added.
  • svg/blend-difference-stacking-expected.html: Added.
  • svg/blend-difference-stacking.html: Added.
  • svg/blend-difference.svg: Added.
  • svg/blend-exclusion-expected.svg: Added.
  • svg/blend-exclusion.svg: Added.
  • svg/blend-hard-light-expected.svg: Added.
  • svg/blend-hard-light.svg: Added.
  • svg/blend-hue-expected.svg: Added.
  • svg/blend-hue.svg: Added.
  • svg/blend-layer-blend-expected.svg: Added.
  • svg/blend-layer-blend.svg: Added.
  • svg/blend-layer-filter-expected.svg: Added.
  • svg/blend-layer-filter.svg: Added.
  • svg/blend-layer-mask-expected.svg: Added.
  • svg/blend-layer-mask.svg: Added.
  • svg/blend-layer-opacity-expected.svg: Added.
  • svg/blend-layer-opacity.svg: Added.
  • svg/blend-lighten-expected.svg: Added.
  • svg/blend-lighten.svg: Added.
  • svg/blend-luminosity-expected.svg: Added.
  • svg/blend-luminosity.svg: Added.
  • svg/blend-multiply-expected.svg: Added.
  • svg/blend-multiply.svg: Added.
  • svg/blend-normal-expected.svg: Added.
  • svg/blend-normal.svg: Added.
  • svg/blend-overlay-expected.svg: Added.
  • svg/blend-overlay.svg: Added.
  • svg/blend-saturation-expected.svg: Added.
  • svg/blend-saturation.svg: Added.
  • svg/blend-screen-expected.svg: Added.
  • svg/blend-screen.svg: Added.
  • svg/clip-02a-expected.svg: Added.
  • svg/clip-02a.svg: Added.
  • svg/clip-02b-expected.svg: Added.
  • svg/clip-02b.svg: Added.
  • svg/clip-surface-clone-01-expected.svg: Added.
  • svg/clip-surface-clone-01.svg: Added.
  • svg/clipPath-basic-01-expected.svg: Added.
  • svg/clipPath-basic-01.svg: Added.
  • svg/clipPath-basic-02-expected.svg: Added.
  • svg/clipPath-basic-02.svg: Added.
  • svg/clipPath-basic-03-expected.svg: Added.
  • svg/clipPath-basic-03.svg: Added.
  • svg/clipPath-basic-04-expected.svg: Added.
  • svg/clipPath-basic-04.svg: Added.
  • svg/clipPath-basic-05-expected.svg: Added.
  • svg/clipPath-basic-05.svg: Added.
  • svg/clipPath-basic-06-expected.svg: Added.
  • svg/clipPath-basic-06.svg: Added.
  • svg/conditions-01-expected.svg: Added.
  • svg/conditions-01.svg: Added.
  • svg/conditions-02-expected.svg: Added.
  • svg/conditions-02.svg: Added.
  • svg/conditions-03-expected.svg: Added.
  • svg/conditions-03.svg: Added.
  • svg/conditions-04-expected.svg: Added.
  • svg/conditions-04.svg: Added.
  • svg/conditions-06-expected.svg: Added.
  • svg/conditions-06.svg: Added.
  • svg/conditions-07-expected.svg: Added.
  • svg/conditions-07.svg: Added.
  • svg/conditions-08-expected.svg: Added.
  • svg/conditions-08.svg: Added.
  • svg/cssComment-in-attribute-01-expected.svg: Added.
  • svg/cssComment-in-attribute-01.svg: Added.
  • svg/currentColor-01-expected.svg: Added.
  • svg/currentColor-01.svg: Added.
  • svg/currentColor-02-expected.svg: Added.
  • svg/currentColor-02.svg: Added.
  • svg/currentColor-03-expected.svg: Added.
  • svg/currentColor-03.svg: Added.
  • svg/dynamic-attr-change-1-expected.svg: Added.
  • svg/dynamic-attr-change-1.svg: Added.
  • svg/dynamic-attr-removal-1-expected.svg: Added.
  • svg/dynamic-attr-removal-1.svg: Added.
  • svg/dynamic-attr-removal-2-expected.svg: Added.
  • svg/dynamic-attr-removal-2.svg: Added.
  • svg/dynamic-class-01-expected.svg: Added.
  • svg/dynamic-class-01.svg: Added.
  • svg/dynamic-conditions-01-expected.svg: Added.
  • svg/dynamic-conditions-01.svg: Added.
  • svg/dynamic-conditions-03-expected.svg: Added.
  • svg/dynamic-conditions-03.svg: Added.
  • svg/dynamic-conditions-05-expected.svg: Added.
  • svg/dynamic-conditions-05.svg: Added.
  • svg/dynamic-conditions-08-expected.svg: Added.
  • svg/dynamic-conditions-08.svg: Added.
  • svg/dynamic-conditions-12-expected.svg: Added.
  • svg/dynamic-conditions-12.svg: Added.
  • svg/dynamic-filter-contents-01a-expected.svg: Added.
  • svg/dynamic-filter-contents-01a.svg: Added.
  • svg/dynamic-gradient-contents-01-expected.svg: Added.
  • svg/dynamic-gradient-contents-01.svg: Added.
  • svg/dynamic-gradient-contents-02-expected.svg: Added.
  • svg/dynamic-gradient-contents-02.svg: Added.
  • svg/dynamic-inner-svg-01-expected.svg: Added.
  • svg/dynamic-inner-svg-01.svg: Added.
  • svg/dynamic-link-style-01-expected.svg: Added.
  • svg/dynamic-link-style-01.svg: Added.
  • svg/dynamic-marker-01-expected.svg: Added.
  • svg/dynamic-marker-01.svg: Added.
  • svg/dynamic-marker-02-expected.svg: Added.
  • svg/dynamic-marker-02.svg: Added.
  • svg/dynamic-marker-03-expected.svg: Added.
  • svg/dynamic-marker-03.svg: Added.
  • svg/dynamic-mask-01-expected.svg: Added.
  • svg/dynamic-mask-01.svg: Added.
  • svg/dynamic-mask-contents-01-expected.svg: Added.
  • svg/dynamic-mask-contents-01.svg: Added.
  • svg/dynamic-mask-pre-effects-bbox-expected.html: Added.
  • svg/dynamic-mask-pre-effects-bbox.html: Added.
  • svg/dynamic-opacity-property-01-expected.svg: Added.
  • svg/dynamic-opacity-property-01.svg: Added.
  • svg/dynamic-pattern-01-expected.svg: Added.
  • svg/dynamic-pattern-01.svg: Added.
  • svg/dynamic-pattern-02-expected.svg: Added.
  • svg/dynamic-pattern-02.svg: Added.
  • svg/dynamic-pattern-contents-01-expected.svg: Added.
  • svg/dynamic-pattern-contents-01.svg: Added.
  • svg/dynamic-pattern-contents-02-expected.svg: Added.
  • svg/dynamic-pattern-contents-02.svg: Added.
  • svg/dynamic-rect-01-expected.svg: Added.
  • svg/dynamic-rect-01.svg: Added.
  • svg/dynamic-rect-03-expected.svg: Added.
  • svg/dynamic-rect-03.svg: Added.
  • svg/dynamic-reflow-01-expected.svg: Added.
  • svg/dynamic-reflow-01.svg: Added.
  • svg/dynamic-small-object-scaled-up-01-expected.svg: Added.
  • svg/dynamic-small-object-scaled-up-01.svg: Added.
  • svg/dynamic-small-object-scaled-up-02-expected.svg: Added.
  • svg/dynamic-small-object-scaled-up-02.svg: Added.
  • svg/dynamic-stroke-01-expected.svg: Added.
  • svg/dynamic-stroke-01.svg: Added.
  • svg/dynamic-stroke-opacity-01-expected.svg: Added.
  • svg/dynamic-stroke-opacity-01.svg: Added.
  • svg/dynamic-stroke-width-01-expected.svg: Added.
  • svg/dynamic-stroke-width-01.svg: Added.
  • svg/dynamic-switch-01-expected.svg: Added.
  • svg/dynamic-switch-01.svg: Added.
  • svg/dynamic-text-01-expected.svg: Added.
  • svg/dynamic-text-01.svg: Added.
  • svg/dynamic-text-02-expected.svg: Added.
  • svg/dynamic-text-02.svg: Added.
  • svg/dynamic-text-03-expected.svg: Added.
  • svg/dynamic-text-03.svg: Added.
  • svg/dynamic-text-04-expected.svg: Added.
  • svg/dynamic-text-04.svg: Added.
  • svg/dynamic-text-05-expected.svg: Added.
  • svg/dynamic-text-05.svg: Added.
  • svg/dynamic-text-06-expected.svg: Added.
  • svg/dynamic-text-06.svg: Added.
  • svg/dynamic-text-07-expected.svg: Added.
  • svg/dynamic-text-07.svg: Added.
  • svg/dynamic-text-08-expected.svg: Added.
  • svg/dynamic-text-08.svg: Added.
  • svg/dynamic-textPath-01-expected.svg: Added.
  • svg/dynamic-textPath-01.svg: Added.
  • svg/dynamic-textPath-02-expected.svg: Added.
  • svg/dynamic-textPath-02.svg: Added.
  • svg/dynamic-textPath-03-expected.svg: Added.
  • svg/dynamic-textPath-03.svg: Added.
  • svg/dynamic-use-01-expected.svg: Added.
  • svg/dynamic-use-01.svg: Added.
  • svg/dynamic-use-02-expected.svg: Added.
  • svg/dynamic-use-02.svg: Added.
  • svg/dynamic-use-03-expected.svg: Added.
  • svg/dynamic-use-03.svg: Added.
  • svg/dynamic-use-04-expected.svg: Added.
  • svg/dynamic-use-04.svg: Added.
  • svg/dynamic-use-05-expected.svg: Added.
  • svg/dynamic-use-05.svg: Added.
  • svg/dynamic-use-06-expected.svg: Added.
  • svg/dynamic-use-06.svg: Added.
  • svg/dynamic-use-07-expected.svg: Added.
  • svg/dynamic-use-07.svg: Added.
  • svg/dynamic-use-nested-01a-expected.svg: Added.
  • svg/dynamic-use-nested-01a.svg: Added.
  • svg/dynamic-use-nested-01b-expected.svg: Added.
  • svg/dynamic-use-nested-01b.svg: Added.
  • svg/dynamic-use-remove-width-expected.svg: Added.
  • svg/dynamic-use-remove-width.svg: Added.
  • svg/fallback-color-01a-expected.svg: Added.
  • svg/fallback-color-01a.svg: Added.
  • svg/fallback-color-01b-expected.svg: Added.
  • svg/fallback-color-01b.svg: Added.
  • svg/fallback-color-02a-expected.svg: Added.
  • svg/fallback-color-02a.svg: Added.
  • svg/fallback-color-03-expected.svg: Added.
  • svg/fallback-color-03.svg: Added.
  • svg/fallback-color-04-expected.svg: Added.
  • svg/fallback-color-04.svg: Added.
  • svg/filter-basic-01-expected.svg: Added.
  • svg/filter-basic-01.svg: Added.
  • svg/filter-basic-02-expected.svg: Added.
  • svg/filter-basic-02.svg: Added.
  • svg/filter-basic-03-expected.svg: Added.
  • svg/filter-basic-03.svg: Added.
  • svg/filter-bounds-01-expected.svg: Added.
  • svg/filter-bounds-01.svg: Added.
  • svg/filter-bounds-02-expected.svg: Added.
  • svg/filter-bounds-02.svg: Added.
  • svg/filter-result-01-expected.svg: Added.
  • svg/filter-result-01.svg: Added.
  • svg/filter-scaled-02-expected.html: Added.
  • svg/filter-scaled-02.html: Added.
  • svg/filter-translated-01-expected.svg: Added.
  • svg/filter-translated-01.svg: Added.
  • svg/filters: Added.
  • svg/filters-and-group-opacity-01-expected.svg: Added.
  • svg/filters-and-group-opacity-01.svg: Added.
  • svg/filters/feBlend-1-expected.svg: Added.
  • svg/filters/feBlend-1.svg: Added.
  • svg/filters/feBlend-2-expected.svg: Added.
  • svg/filters/feBlend-2.svg: Added.
  • svg/filters/feColorMatrix-1-expected.svg: Added.
  • svg/filters/feColorMatrix-1.svg: Added.
  • svg/filters/feColorMatrix-2-expected.svg: Added.
  • svg/filters/feColorMatrix-2.svg: Added.
  • svg/filters/feComposite-1-expected.svg: Added.
  • svg/filters/feComposite-1.svg: Added.
  • svg/filters/feComposite-2-expected.svg: Added.
  • svg/filters/feComposite-2.svg: Added.
  • svg/filters/feConvolveMatrix-1-expected.svg: Added.
  • svg/filters/feConvolveMatrix-1.svg: Added.
  • svg/filters/feConvolveMatrix-2-expected.svg: Added.
  • svg/filters/feConvolveMatrix-2.svg: Added.
  • svg/filters/feConvolveMatrix-bias-01-expected.svg: Added.
  • svg/filters/feConvolveMatrix-bias-01.svg: Added.
  • svg/filters/feConvolveMatrix-order-01-expected.svg: Added.
  • svg/filters/feConvolveMatrix-order-01.svg: Added.
  • svg/filters/feFlood-1-expected.svg: Added.
  • svg/filters/feFlood-1.svg: Added.
  • svg/filters/feFlood-2-expected.svg: Added.
  • svg/filters/feFlood-2.svg: Added.
  • svg/filters/feGaussianBlur-2-expected.svg: Added.
  • svg/filters/feGaussianBlur-2.svg: Added.
  • svg/filters/feGaussianBlur-6-expected.svg: Added.
  • svg/filters/feGaussianBlur-6.svg: Added.
  • svg/filters/feGaussianBlur-alpha-01-expected.svg: Added.
  • svg/filters/feGaussianBlur-alpha-01.svg: Added.
  • svg/filters/feImage-1-expected.svg: Added.
  • svg/filters/feImage-1.svg: Added.
  • svg/filters/feMerge-1-expected.svg: Added.
  • svg/filters/feMerge-1.svg: Added.
  • svg/filters/feMerge-2-expected.svg: Added.
  • svg/filters/feMerge-2.svg: Added.
  • svg/filters/feOffset-1-expected.svg: Added.
  • svg/filters/feOffset-1.svg: Added.
  • svg/filters/feOffset-2-expected.svg: Added.
  • svg/filters/feOffset-2.svg: Added.
  • svg/filters/feSpecularLighting-1-expected.svg: Added.
  • svg/filters/feSpecularLighting-1.svg: Added.
  • svg/filters/feTile-1-expected.svg: Added.
  • svg/filters/feTile-1.svg: Added.
  • svg/filters/feTile-2-expected.svg: Added.
  • svg/filters/feTile-2.svg: Added.
  • svg/filters/feTile-large-02-expected.svg: Added.
  • svg/filters/feTile-large-02.svg: Added.
  • svg/filters/feTile-outside-01-expected.svg: Added.
  • svg/filters/feTile-outside-01.svg: Added.
  • svg/filters/feTurbulence-offset-expected.svg: Added.
  • svg/filters/feTurbulence-offset.svg: Added.
  • svg/filters/filter-kernelUnitLength-01-expected.svg: Added.
  • svg/filters/filter-kernelUnitLength-01.svg: Added.
  • svg/filters/filter-marked-line-02-expected.svg: Added.
  • svg/filters/filter-marked-line-02.svg: Added.
  • svg/filters/filter-marked-line-03-expected.svg: Added.
  • svg/filters/filter-marked-line-03.svg: Added.
  • svg/filters/filter-marked-line-04-expected.svg: Added.
  • svg/filters/filter-marked-line-04.svg: Added.
  • svg/filters/filter-marked-line-05-expected.svg: Added.
  • svg/filters/filter-marked-line-05.svg: Added.
  • svg/filters/filter-marked-line-06-expected.svg: Added.
  • svg/filters/filter-marked-line-06.svg: Added.
  • svg/filters/filter-marked-line-07-expected.svg: Added.
  • svg/filters/filter-marked-line-07.svg: Added.
  • svg/filters/filter-marked-line-08-expected.svg: Added.
  • svg/filters/filter-marked-line-08.svg: Added.
  • svg/filters/filter-marked-line-09-expected.svg: Added.
  • svg/filters/filter-marked-line-09.svg: Added.
  • svg/filters/svg-filter-chains: Added.
  • svg/filters/svg-filter-chains/clip-input-expected.svg: Added.
  • svg/filters/svg-filter-chains/clip-input.svg: Added.
  • svg/filters/svg-filter-chains/clip-output-expected.svg: Added.
  • svg/filters/svg-filter-chains/clip-output.svg: Added.
  • svg/foreignObject-02-expected.svg: Added.
  • svg/foreignObject-02.svg: Added.
  • svg/foreignObject-ancestor-style-change-01-expected.svg: Added.
  • svg/foreignObject-ancestor-style-change-01.svg: Added.
  • svg/foreignObject-dynamic-abspos-01-expected.html: Added.
  • svg/foreignObject-dynamic-abspos-01.html: Added.
  • svg/foreignObject-img-form-theme-expected.html: Added.
  • svg/foreignObject-img-form-theme.html: Added.
  • svg/href-attr-change-restyles-expected.svg: Added.
  • svg/href-attr-change-restyles.svg: Added.
  • svg/image: Added.
  • svg/image/image-filter-01-expected.svg: Added.
  • svg/image/image-filter-01.svg: Added.
  • svg/image/image-opacity-01-expected.svg: Added.
  • svg/image/image-opacity-01.svg: Added.
  • svg/image/image-opacity-02-expected.svg: Added.
  • svg/image/image-opacity-02.svg: Added.
  • svg/image/image-preserveAspectRatio-03-expected.svg: Added.
  • svg/image/image-preserveAspectRatio-03.svg: Added.
  • svg/image/image-preserveAspectRatio-04-expected.svg: Added.
  • svg/image/image-preserveAspectRatio-04.svg: Added.
  • svg/image/image-rotate-01-expected.svg: Added.
  • svg/image/image-rotate-01.svg: Added.
  • svg/image/image-translate-01-expected.svg: Added.
  • svg/image/image-translate-01.svg: Added.
  • svg/image/image-x-01-expected.svg: Added.
  • svg/image/image-x-01.svg: Added.
  • svg/image/image-xy-01-expected.svg: Added.
  • svg/image/image-xy-01.svg: Added.
  • svg/image/image-y-01-expected.svg: Added.
  • svg/image/image-y-01.svg: Added.
  • svg/image/resources: Added.
  • svg/image/resources/blueRect10x10-viewBox-animPAR.svg: Added.
  • svg/image/resources/blueRect10x10-viewBox.svg: Added.
  • svg/image/resources/blueRect10x10.png: Added.
  • svg/image/resources/blueRect10x10.svg: Added.
  • svg/linearGradient-basic-03-expected.svg: Added.
  • svg/linearGradient-basic-03.svg: Added.
  • svg/marker-effects-01-expected.svg: Added.
  • svg/marker-effects-01.svg: Added.
  • svg/marker-orientation-01-expected.svg: Added.
  • svg/marker-orientation-01.svg: Added.
  • svg/marker-viewBox-01-expected.svg: Added.
  • svg/marker-viewBox-01.svg: Added.
  • svg/markers-and-group-opacity-01-expected.svg: Added.
  • svg/markers-and-group-opacity-01.svg: Added.
  • svg/mask-basic-01-expected.svg: Added.
  • svg/mask-basic-01.svg: Added.
  • svg/mask-basic-02-expected.svg: Added.
  • svg/mask-basic-02.svg: Added.
  • svg/mask-basic-03-expected.svg: Added.
  • svg/mask-basic-03.svg: Added.
  • svg/mask-basic-04-expected.svg: Added.
  • svg/mask-basic-04.svg: Added.
  • svg/mask-containing-masked-content-01-expected.svg: Added.
  • svg/mask-transformed-01-expected.svg: Added.
  • svg/mask-transformed-01.svg: Added.
  • svg/mask-transformed-02-expected.svg: Added.
  • svg/mask-transformed-02.svg: Added.
  • svg/mask-type-01-expected.svg: Added.
  • svg/mask-type-01.svg: Added.
  • svg/nesting-invalid-01-expected.svg: Added.
  • svg/nesting-invalid-01.js: Added.
  • svg/nesting-invalid-01.svg: Added.
  • svg/non-scaling-stroke-03-expected.svg: Added.
  • svg/non-scaling-stroke-03.svg: Added.
  • svg/objectBoundingBox-and-clipPath-expected.svg: Added.
  • svg/objectBoundingBox-and-clipPath.svg: Added.
  • svg/objectBoundingBox-and-mask-02-expected.svg: Added.
  • svg/objectBoundingBox-and-mask-02.svg: Added.
  • svg/objectBoundingBox-and-mask-expected.svg: Added.
  • svg/objectBoundingBox-and-mask.svg: Added.
  • svg/objectBoundingBox-and-pattern-01a-expected.svg: Added.
  • svg/objectBoundingBox-and-pattern-01a.svg: Added.
  • svg/objectBoundingBox-and-pattern-01b-expected.svg: Added.
  • svg/objectBoundingBox-and-pattern-01b.svg: Added.
  • svg/objectBoundingBox-and-pattern-01c-expected.svg: Added.
  • svg/objectBoundingBox-and-pattern-01c.svg: Added.
  • svg/objectBoundingBox-and-pattern-02-expected.svg: Added.
  • svg/objectBoundingBox-and-pattern-02.svg: Added.
  • svg/objectBoundingBox-and-pattern-03-expected.svg: Added.
  • svg/objectBoundingBox-and-pattern-03.svg: Added.
  • svg/opacity-and-gradient-02-expected.svg: Added.
  • svg/opacity-and-gradient-02.svg: Added.
  • svg/outer-svg-border-and-padding-01-expected.svg: Added.
  • svg/outer-svg-border-and-padding-01.svg: Added.
  • svg/overflow-on-outer-svg-01-expected.svg: Added.
  • svg/overflow-on-outer-svg-01.svg: Added.
  • svg/overflow-on-outer-svg-02a-expected.xhtml: Added.
  • svg/overflow-on-outer-svg-02a.xhtml: Added.
  • svg/overflow-on-outer-svg-02b-expected.xhtml: Added.
  • svg/overflow-on-outer-svg-02b.xhtml: Added.
  • svg/overflow-on-outer-svg-02c-expected.xhtml: Added.
  • svg/overflow-on-outer-svg-02c.xhtml: Added.
  • svg/overflow-on-outer-svg-02d-expected.xhtml: Added.
  • svg/overflow-on-outer-svg-02d.xhtml: Added.
  • svg/paint-order-01-expected.svg: Added.
  • svg/paint-order-01.svg: Added.
  • svg/paint-order-02-expected.svg: Added.
  • svg/paint-order-02.svg: Added.
  • svg/paint-order-03-expected.svg: Added.
  • svg/paint-order-03.svg: Added.
  • svg/path-02-expected.svg: Added.
  • svg/path-02.svg: Added.
  • svg/path-03-expected.svg: Added.
  • svg/path-03.svg: Added.
  • svg/path-04-expected.svg: Added.
  • svg/path-04.svg: Added.
  • svg/path-05-expected.svg: Added.
  • svg/path-05.svg: Added.
  • svg/path-06-expected.svg: Added.
  • svg/path-06.svg: Added.
  • svg/path-07-expected.svg: Added.
  • svg/path-07.svg: Added.
  • svg/path-08-expected.svg: Added.
  • svg/path-08.svg: Added.
  • svg/pathLength-01-expected.svg: Added.
  • svg/pathLength-01.svg: Added.
  • svg/pattern-basic-01-expected.svg: Added.
  • svg/pattern-basic-01.svg: Added.
  • svg/pattern-invalid-01-expected.svg: Added.
  • svg/pattern-invalid-01.svg: Added.
  • svg/pattern-live-01a-expected.svg: Added.
  • svg/pattern-live-01a.svg: Added.
  • svg/pattern-live-01b-expected.svg: Added.
  • svg/pattern-live-01b.svg: Added.
  • svg/pattern-scale-01a-expected.svg: Added.
  • svg/pattern-scale-01a.svg: Added.
  • svg/pattern-scale-01b-expected.svg: Added.
  • svg/pattern-scale-01b.svg: Added.
  • svg/pattern-scale-01c-expected.svg: Added.
  • svg/pattern-scale-01c.svg: Added.
  • svg/pattern-transform-presence-01-expected.svg: Added.
  • svg/pattern-transform-presence-01.svg: Added.
  • svg/pattern-transformed-01-expected.svg: Added.
  • svg/pattern-transformed-01.svg: Added.
  • svg/pseudo-classes-02-expected.svg: Added.
  • svg/pseudo-classes-02.svg: Added.
  • svg/radialGradient-basic-01-expected.svg: Added.
  • svg/radialGradient-basic-01.svg: Added.
  • svg/radialGradient-basic-02-expected.svg: Added.
  • svg/radialGradient-basic-02.svg: Added.
  • svg/radialGradient-basic-04-expected.svg: Added.
  • svg/radialGradient-basic-04.svg: Added.
  • svg/rect-01-expected.svg: Added.
  • svg/rect-01.svg: Added.
  • svg/rect-02-expected.svg: Added.
  • svg/rect-02.svg: Added.
  • svg/rect-03-expected.svg: Added.
  • svg/rect-03.svg: Added.
  • svg/rect-04-expected.svg: Added.
  • svg/rect-04.svg: Added.
  • svg/rect-with-rx-and-ry-01-expected.svg: Added.
  • svg/rect-with-rx-and-ry-01.svg: Added.
  • svg/sizing: Added.
  • svg/sizing/inline--display-block--01-expected.xhtml: Added.
  • svg/sizing/inline--display-block--01.xhtml: Added.
  • svg/sizing/inline--display-inline--01-expected.xhtml: Added.
  • svg/sizing/inline--display-inline--01.xhtml: Added.
  • svg/sizing/inline--display-inline-block--01-expected.xhtml: Added.
  • svg/sizing/inline--display-inline-block--01.xhtml: Added.
  • svg/sizing/inline--float-left--01-expected.xhtml: Added.
  • svg/sizing/inline--float-left--01.xhtml: Added.
  • svg/sizing/inline--float-right--01-expected.xhtml: Added.
  • svg/sizing/inline--float-right--01.xhtml: Added.
  • svg/sizing/inline--position-absolute--01-expected.xhtml: Added.
  • svg/sizing/inline--position-absolute--01.xhtml: Added.
  • svg/sizing/inline--position-relative--01-expected.xhtml: Added.
  • svg/sizing/inline--position-relative--01.xhtml: Added.
  • svg/smil: Added.
  • svg/smil/anim-class-04-expected.svg: Added.
  • svg/smil/anim-class-04.svg: Added.
  • svg/smil/anim-feConvolveMatrix-order-01-expected.svg: Added.
  • svg/smil/anim-feConvolveMatrix-order-01.svg: Added.
  • svg/smil/anim-feSpotLight-01-expected.svg: Added.
  • svg/smil/anim-feSpotLight-01.svg: Added.
  • svg/smil/anim-height-interp-1-expected.svg: Added.
  • svg/smil/anim-height-interp-1.svg: Added.
  • svg/smil/anim-height-interp-2-expected.svg: Added.
  • svg/smil/anim-height-interp-2.svg: Added.
  • svg/smil/anim-height-interp-3-expected.svg: Added.
  • svg/smil/anim-height-interp-3.svg: Added.
  • svg/smil/anim-height-interp-4-expected.svg: Added.
  • svg/smil/anim-height-interp-4.svg: Added.
  • svg/smil/anim-height-interp-5-expected.svg: Added.
  • svg/smil/anim-height-interp-5.svg: Added.
  • svg/smil/anim-height-interp-6-expected.svg: Added.
  • svg/smil/anim-height-interp-6.svg: Added.
  • svg/smil/anim-rect-rxry-1-expected.svg: Added.
  • svg/smil/anim-rect-rxry-1.svg: Added.
  • svg/smil/anim-x-interp-1-expected.svg: Added.
  • svg/smil/anim-x-interp-1.svg: Added.
  • svg/smil/anim-x-interp-2-expected.svg: Added.
  • svg/smil/anim-x-interp-2.svg: Added.
  • svg/smil/anim-x-interp-3-expected.svg: Added.
  • svg/smil/anim-x-interp-3.svg: Added.
  • svg/smil/anim-x-interp-4-expected.svg: Added.
  • svg/smil/anim-x-interp-4.svg: Added.
  • svg/smil/anim-x-interp-5-expected.svg: Added.
  • svg/smil/anim-x-interp-5.svg: Added.
  • svg/smil/anim-x-interp-6-expected.svg: Added.
  • svg/smil/anim-x-interp-6.svg: Added.
  • svg/smil/anim-x-seek-1a-expected.svg: Added.
  • svg/smil/anim-y-interp-1-expected.svg: Added.
  • svg/smil/anim-y-interp-1.svg: Added.
  • svg/smil/anim-y-interp-2-expected.svg: Added.
  • svg/smil/anim-y-interp-2.svg: Added.
  • svg/smil/anim-y-interp-3-expected.svg: Added.
  • svg/smil/anim-y-interp-3.svg: Added.
  • svg/smil/anim-y-interp-4-expected.svg: Added.
  • svg/smil/anim-y-interp-4.svg: Added.
  • svg/smil/anim-y-interp-5-expected.svg: Added.
  • svg/smil/anim-y-interp-5.svg: Added.
  • svg/smil/anim-y-interp-6-expected.svg: Added.
  • svg/smil/anim-y-interp-6.svg: Added.
  • svg/smil/container: Added.
  • svg/smil/container/invalid-elem-1-expected.xhtml: Added.
  • svg/smil/container/invalid-elem-1.xhtml: Added.
  • svg/smil/container/moved-tree-1-expected.xhtml: Added.
  • svg/smil/container/moved-tree-1.xhtml: Added.
  • svg/smil/motion: Added.
  • svg/smil/motion/animateMotion-values-linear-1-expected.svg: Added.
  • svg/smil/motion/animateMotion-values-linear-1.svg: Added.
  • svg/smil/motion/animateMotion-values-paced-1a-expected.svg: Added.
  • svg/smil/motion/animateMotion-values-paced-1a.svg: Added.
  • svg/smil/motion/animateMotion-values-paced-1b-expected.svg: Added.
  • svg/smil/motion/animateMotion-values-paced-1b.svg: Added.
  • svg/smil/pause: Added.
  • svg/smil/repeat: Added.
  • svg/smil/repeat/indefinite-repeat-1-expected.svg: Added.
  • svg/smil/repeat/indefinite-repeat-1.svg: Added.
  • svg/smil/repeat/init-repeat-1-expected.svg: Added.
  • svg/smil/repeat/init-repeat-1.svg: Added.
  • svg/smil/restart: Added.
  • svg/smil/restart/reset-2-expected.svg: Added.
  • svg/smil/restart/reset-2.svg: Added.
  • svg/smil/restart/reset-7-expected.svg: Added.
  • svg/smil/restart/reset-7.svg: Added.
  • svg/smil/smil-grid.js: Added.
  • svg/smil/smil-util.js: Added.
  • svg/smil/sort: Added.
  • svg/smil/sort/sort-startAfter-1-expected.svg: Added.
  • svg/smil/sort/sort-startAfter-1.svg: Added.
  • svg/smil/sort/sort-startAfter-2-expected.svg: Added.
  • svg/smil/sort/sort-startAfter-2.svg: Added.
  • svg/smil/sort/sort-startAfter-3-expected.svg: Added.
  • svg/smil/sort/sort-startAfter-3.svg: Added.
  • svg/smil/sort/sort-startSame-1a-expected.svg: Added.
  • svg/smil/sort/sort-startSame-1a.svg: Added.
  • svg/smil/sort/sort-startSame-2a-expected.svg: Added.
  • svg/smil/sort/sort-startSame-2a.svg: Added.
  • svg/smil/style: Added.
  • svg/smil/style/anim-css-color-1-by-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-by-ident-hex.svg: Added.
  • svg/smil/style/anim-css-color-1-from-by-hex-hex-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-from-by-hex-hex.svg: Added.
  • svg/smil/style/anim-css-color-1-from-by-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-from-by-ident-hex.svg: Added.
  • svg/smil/style/anim-css-color-1-from-to-hex-hex-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-from-to-hex-hex.svg: Added.
  • svg/smil/style/anim-css-color-1-from-to-ident-ident-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-from-to-ident-ident.svg: Added.
  • svg/smil/style/anim-css-color-1-to-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-to-ident-hex.svg: Added.
  • svg/smil/style/anim-css-color-1-to-ident-ident-expected.svg: Added.
  • svg/smil/style/anim-css-color-1-to-ident-ident.svg: Added.
  • svg/smil/style/anim-css-fill-1-by-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-by-ident-hex.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-by-hex-hex-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-by-hex-hex.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-by-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-by-ident-hex.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-to-hex-hex-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-to-hex-hex.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-to-ident-ident-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-from-to-ident-ident.svg: Added.
  • svg/smil/style/anim-css-fill-1-to-ident-hex-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-to-ident-hex.svg: Added.
  • svg/smil/style/anim-css-fill-1-to-ident-ident-expected.svg: Added.
  • svg/smil/style/anim-css-fill-1-to-ident-ident.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-by-pct-pct-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-by-pct-pct.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-by-px-px-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-by-px-px.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-no-no-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-no-no.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-no-px-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-no-px.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-pct-pct-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-pct-pct.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-px-no-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-px-no.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-px-px-expected.svg: Added.
  • svg/smil/style/anim-css-fontsize-1-from-to-px-px.svg: Added.
  • svg/smil/transform: Added.
  • svg/smil/transform/rotate-angle-1-expected.svg: Added.
  • svg/smil/transform/rotate-angle-1.svg: Added.
  • svg/smil/transform/rotate-angle-2-expected.svg: Added.
  • svg/smil/transform/rotate-angle-2.svg: Added.
  • svg/smil/transform/rotate-angle-3-expected.svg: Added.
  • svg/smil/transform/rotate-angle-3.svg: Added.
  • svg/smil/transform/rotate-angle-4-expected.svg: Added.
  • svg/smil/transform/rotate-angle-4.svg: Added.
  • svg/smil/transform/rotate-angle-5-expected.svg: Added.
  • svg/smil/transform/rotate-angle-5.svg: Added.
  • svg/smil/transform/set-transform-1-expected.svg: Added.
  • svg/smil/transform/set-transform-1.svg: Added.
  • svg/smil/transform/translate-clipPath-1-expected.svg: Added.
  • svg/smil/transform/translate-clipPath-1.svg: Added.
  • svg/stroke-width-percentage-01-expected.svg: Added.
  • svg/stroke-width-percentage-01.svg: Added.
  • svg/stroke-width-percentage-02a-expected.svg: Added.
  • svg/stroke-width-percentage-02a.svg: Added.
  • svg/stroke-width-percentage-02b-expected.svg: Added.
  • svg/stroke-width-percentage-02b.svg: Added.
  • svg/suspend-01-expected.svg: Added.
  • svg/suspend-01.svg: Added.
  • svg/suspend-02-expected.svg: Added.
  • svg/suspend-02.svg: Added.
  • svg/suspend-03-expected.svg: Added.
  • svg/suspend-03.svg: Added.
  • svg/suspend-04-expected.svg: Added.
  • svg/suspend-04.svg: Added.
  • svg/suspend-05-expected.svg: Added.
  • svg/suspend-05.svg: Added.
  • svg/suspend-06-expected.svg: Added.
  • svg/suspend-06.svg: Added.
  • svg/suspend-07-expected.svg: Added.
  • svg/suspend-07.svg: Added.
  • svg/suspend-08-expected.svg: Added.
  • svg/suspend-08.svg: Added.
  • svg/svg-effects-area-unzoomed-expected.xhtml: Added.
  • svg/svg-effects-area-unzoomed.xhtml: Added.
  • svg/svg-effects-area-zoomed-in-expected.xhtml: Added.
  • svg/svg-effects-area-zoomed-in.xhtml: Added.
  • svg/svg-effects-area-zoomed-out-expected.xhtml: Added.
  • svg/svg-effects-area-zoomed-out.xhtml: Added.
  • svg/svg-in-foreignObject-01-expected.xhtml: Added.
  • svg/svg-in-foreignObject-01.xhtml: Added.
  • svg/svg-integration: Added.
  • svg/svg-integration/clipPath-html-01-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-01.xhtml: Added.
  • svg/svg-integration/clipPath-html-02-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-02.xhtml: Added.
  • svg/svg-integration/clipPath-html-03-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-03.xhtml: Added.
  • svg/svg-integration/clipPath-html-04-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-04.xhtml: Added.
  • svg/svg-integration/clipPath-html-05-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-05.xhtml: Added.
  • svg/svg-integration/clipPath-html-06-expected.xhtml: Added.
  • svg/svg-integration/clipPath-html-06.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-01-expected.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-01.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-02-expected.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-02.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-03-expected.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-03.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-04-expected.xhtml: Added.
  • svg/svg-integration/dynamic-conditions-outer-svg-04.xhtml: Added.
  • svg/svg-transform-01-expected.svg: Added.
  • svg/svg-transform-01.svg: Added.
  • svg/svg-transform-02-expected.svg: Added.
  • svg/svg-transform-02.svg: Added.
  • svg/switch-01-expected.svg: Added.
  • svg/switch-01.svg: Added.
  • svg/symbol-01-expected.svg: Added.
  • svg/symbol-01.svg: Added.
  • svg/text: Added.
  • svg/text-font-weight-01-expected.svg: Added.
  • svg/text-font-weight-01.svg: Added.
  • svg/text-gradient-01-expected.svg: Added.
  • svg/text-gradient-01.svg: Added.
  • svg/text-in-link-01-expected.svg: Added.
  • svg/text-in-link-01.svg: Added.
  • svg/text-in-link-02-expected.svg: Added.
  • svg/text-in-link-02.svg: Added.
  • svg/text-in-link-03-expected.svg: Added.
  • svg/text-in-link-03.svg: Added.
  • svg/text-language-00-expected.xhtml: Added.
  • svg/text-language-01-expected.xhtml: Added.
  • svg/text-layout-01-expected.svg: Added.
  • svg/text-layout-01.svg: Added.
  • svg/text-layout-02-expected.svg: Added.
  • svg/text-layout-02.svg: Added.
  • svg/text-layout-03-expected.svg: Added.
  • svg/text-layout-03.svg: Added.
  • svg/text-layout-04-expected.svg: Added.
  • svg/text-layout-04.svg: Added.
  • svg/text-layout-05-expected.svg: Added.
  • svg/text-layout-05.svg: Added.
  • svg/text-layout-06-expected.svg: Added.
  • svg/text-layout-06.svg: Added.
  • svg/text-layout-07-expected.svg: Added.
  • svg/text-layout-07.svg: Added.
  • svg/text-layout-08-expected.svg: Added.
  • svg/text-layout-08.svg: Added.
  • svg/text-scale-01-expected.svg: Added.
  • svg/text-scale-01.svg: Added.
  • svg/text-scale-02-expected.svg: Added.
  • svg/text-scale-02.svg: Added.
  • svg/text-scale-03-expected.svg: Added.
  • svg/text-scale-03.svg: Added.
  • svg/text-stroke-scaling-01-expected.svg: Added.
  • svg/text-stroke-scaling-01.svg: Added.
  • svg/text-style-01a-expected.svg: Added.
  • svg/text-style-01a.svg: Added.
  • svg/text-style-01b-expected.svg: Added.
  • svg/text-style-01b.svg: Added.
  • svg/text-style-01c-expected.svg: Added.
  • svg/text-style-01c.svg: Added.
  • svg/text-style-01d-expected.svg: Added.
  • svg/text-style-01d.svg: Added.
  • svg/text-style-01e-expected.svg: Added.
  • svg/text-style-01e.svg: Added.
  • svg/text-white-space-01-expected.svg: Added.
  • svg/text-white-space-01.svg: Added.
  • svg/text/clipPath-applied-expected.svg: Added.
  • svg/text/clipPath-applied.svg: Added.
  • svg/text/clipPath-content-expected.svg: Added.
  • svg/text/clipPath-content.svg: Added.
  • svg/text/deselectAll-expected.svg: Added.
  • svg/text/deselectAll.svg: Added.
  • svg/text/dynamic-dominant-baseline-expected.svg: Added.
  • svg/text/dynamic-dominant-baseline.svg: Added.
  • svg/text/dynamic-font-size-2-expected.svg: Added.
  • svg/text/dynamic-font-size-2.svg: Added.
  • svg/text/dynamic-font-size-3-expected.svg: Added.
  • svg/text/dynamic-font-size-3.svg: Added.
  • svg/text/dynamic-font-size-4-expected.svg: Added.
  • svg/text/dynamic-font-size-4.svg: Added.
  • svg/text/dynamic-font-size-expected.svg: Added.
  • svg/text/dynamic-font-size.svg: Added.
  • svg/text/dynamic-multiple-x-expected.svg: Added.
  • svg/text/dynamic-multiple-x.svg: Added.
  • svg/text/dynamic-non-scaling-stroke-expected.svg: Added.
  • svg/text/dynamic-non-scaling-stroke.svg: Added.
  • svg/text/filter-applied-expected.svg: Added.
  • svg/text/filter-applied.svg: Added.
  • svg/text/ignore-display-expected.svg: Added.
  • svg/text/ignore-display.svg: Added.
  • svg/text/ignore-invalid-child-2-expected.svg: Added.
  • svg/text/ignore-invalid-child-2.svg: Added.
  • svg/text/ignore-invalid-child-expected.svg: Added.
  • svg/text/ignore-invalid-child.svg: Added.
  • svg/text/ignore-position-expected.svg: Added.
  • svg/text/ignore-position.svg: Added.
  • svg/text/ignore-text-align-2-expected.svg: Added.
  • svg/text/ignore-text-align-2.svg: Added.
  • svg/text/ignore-vertical-align-expected.svg: Added.
  • svg/text/ignore-vertical-align.svg: Added.
  • svg/text/mask-applied-expected.svg: Added.
  • svg/text/mask-applied.svg: Added.
  • svg/text/mask-content-2-expected.svg: Added.
  • svg/text/mask-content-2.svg: Added.
  • svg/text/mask-content-expected.svg: Added.
  • svg/text/mask-content.svg: Added.
  • svg/text/multiple-chunks-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-bidi.svg: Added.
  • svg/text/multiple-chunks-different-anchor-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-different-anchor-bidi.svg: Added.
  • svg/text/multiple-chunks-different-anchor-expected.svg: Added.
  • svg/text/multiple-chunks-different-anchor-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-different-anchor-rtl.svg: Added.
  • svg/text/multiple-chunks-different-anchor.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor-dx-expected.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor-dx.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor-expected.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor-multiple-dx-expected.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor-multiple-dx.svg: Added.
  • svg/text/multiple-chunks-directions-and-anchor.svg: Added.
  • svg/text/multiple-chunks-dx-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-dx-bidi.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor-bidi.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor-expected.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor-rtl.svg: Added.
  • svg/text/multiple-chunks-dx-different-anchor.svg: Added.
  • svg/text/multiple-chunks-dx-expected.svg: Added.
  • svg/text/multiple-chunks-dx-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-dx-rtl.svg: Added.
  • svg/text/multiple-chunks-dx.svg: Added.
  • svg/text/multiple-chunks-fill-color-expected.svg: Added.
  • svg/text/multiple-chunks-fill-color.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-bidi.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor-bidi-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor-bidi.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor-rtl.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-different-anchor.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-multiple-dx-rtl.svg: Added.
  • svg/text/multiple-chunks-rtl-expected.svg: Added.
  • svg/text/multiple-chunks-rtl.svg: Added.
  • svg/text/multiple-chunks-selection-expected.svg: Added.
  • svg/text/multiple-chunks-selection.svg: Added.
  • svg/text/multiple-x-anchor-end-bidi-expected.svg: Added.
  • svg/text/multiple-x-anchor-end-bidi.svg: Added.
  • svg/text/multiple-x-anchor-end-expected.svg: Added.
  • svg/text/multiple-x-anchor-end-rtl-expected.svg: Added.
  • svg/text/multiple-x-anchor-end-rtl.svg: Added.
  • svg/text/multiple-x-anchor-end.svg: Added.
  • svg/text/multiple-x-bidi-expected.svg: Added.
  • svg/text/multiple-x-bidi.svg: Added.
  • svg/text/multiple-x-dx-bidi-expected.svg: Added.
  • svg/text/multiple-x-dx-bidi.svg: Added.
  • svg/text/multiple-x-dx-expected.svg: Added.
  • svg/text/multiple-x-dx-rtl-expected.svg: Added.
  • svg/text/multiple-x-dx-rtl.svg: Added.
  • svg/text/multiple-x-dx.svg: Added.
  • svg/text/multiple-x-expected.svg: Added.
  • svg/text/multiple-x-holes-bidi-expected.svg: Added.
  • svg/text/multiple-x-holes-bidi.svg: Added.
  • svg/text/multiple-x-holes-dx-bidi-expected.svg: Added.
  • svg/text/multiple-x-holes-dx-bidi.svg: Added.
  • svg/text/multiple-x-holes-dx-expected.svg: Added.
  • svg/text/multiple-x-holes-dx.svg: Added.
  • svg/text/multiple-x-holes-expected.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx-bidi-expected.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx-bidi.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx-expected.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx-rtl-expected.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx-rtl.svg: Added.
  • svg/text/multiple-x-holes-multiple-dx.svg: Added.
  • svg/text/multiple-x-holes-rtl-expected.svg: Added.
  • svg/text/multiple-x-holes-rtl.svg: Added.
  • svg/text/multiple-x-holes.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end-bidi-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end-bidi.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end-rtl-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end-rtl.svg: Added.
  • svg/text/multiple-x-multiple-dx-anchor-end.svg: Added.
  • svg/text/multiple-x-multiple-dx-bidi-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-bidi.svg: Added.
  • svg/text/multiple-x-multiple-dx-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-rtl-expected.svg: Added.
  • svg/text/multiple-x-multiple-dx-rtl.svg: Added.
  • svg/text/multiple-x-multiple-dx.svg: Added.
  • svg/text/multiple-x-percentages-2-iframe-expected.svg: Added.
  • svg/text/multiple-x-percentages-2-iframe.svg: Added.
  • svg/text/multiple-x-percentages-expected.svg: Added.
  • svg/text/multiple-x-percentages.svg: Added.
  • svg/text/multiple-x-rtl-expected.svg: Added.
  • svg/text/multiple-x-rtl.svg: Added.
  • svg/text/multiple-x.svg: Added.
  • svg/text/pseudo-first-letter-2-expected.svg: Added.
  • svg/text/pseudo-first-letter-2.svg: Added.
  • svg/text/pseudo-first-letter-expected.svg: Added.
  • svg/text/pseudo-first-letter.svg: Added.
  • svg/text/pseudo-first-line-2-expected.svg: Added.
  • svg/text/pseudo-first-line-2.svg: Added.
  • svg/text/pseudo-first-line-expected.svg: Added.
  • svg/text/pseudo-first-line.svg: Added.
  • svg/text/selectSubString-2-expected.svg: Added.
  • svg/text/selectSubString-2.svg: Added.
  • svg/text/selectSubString-3-expected.svg: Added.
  • svg/text/selectSubString-3.svg: Added.
  • svg/text/selectSubString-expected.svg: Added.
  • svg/text/selectSubString.svg: Added.
  • svg/text/simple-dx-2-expected.svg: Added.
  • svg/text/simple-dx-2.svg: Added.
  • svg/text/simple-dx-anchor-end-bidi-expected.svg: Added.
  • svg/text/simple-dx-anchor-end-bidi.svg: Added.
  • svg/text/simple-dx-anchor-end-expected.svg: Added.
  • svg/text/simple-dx-anchor-end-rtl-expected.svg: Added.
  • svg/text/simple-dx-anchor-end-rtl.svg: Added.
  • svg/text/simple-dx-anchor-end.svg: Added.
  • svg/text/simple-dx-anchor-middle-bidi-expected.svg: Added.
  • svg/text/simple-dx-anchor-middle-bidi.svg: Added.
  • svg/text/simple-dx-anchor-middle-expected.svg: Added.
  • svg/text/simple-dx-anchor-middle-rtl-expected.svg: Added.
  • svg/text/simple-dx-anchor-middle-rtl.svg: Added.
  • svg/text/simple-dx-anchor-middle.svg: Added.
  • svg/text/simple-dx-bidi-2-expected.svg: Added.
  • svg/text/simple-dx-bidi-2.svg: Added.
  • svg/text/simple-dx-bidi-expected.svg: Added.
  • svg/text/simple-dx-bidi.svg: Added.
  • svg/text/simple-dx-rtl-2-expected.svg: Added.
  • svg/text/simple-dx-rtl-2.svg: Added.
  • svg/text/simple-dx-rtl-expected.svg: Added.
  • svg/text/simple-dx-rtl.svg: Added.
  • svg/text/simple-fill-color-dynamic-expected.svg: Added.
  • svg/text/simple-fill-color-dynamic.svg: Added.
  • svg/text/simple-fill-gradient-expected.svg: Added.
  • svg/text/simple-fill-gradient.svg: Added.
  • svg/text/simple-multiline-anchor-end-expected.svg: Added.
  • svg/text/simple-multiline-anchor-end.svg: Added.
  • svg/text/simple-multiline-expected.svg: Added.
  • svg/text/simple-multiline-number-expected.svg: Added.
  • svg/text/simple-multiline-number.svg: Added.
  • svg/text/simple-multiline-pc-expected.svg: Added.
  • svg/text/simple-multiline-pc.svg: Added.
  • svg/text/simple-multiline.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end-bidi-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end-bidi.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end-rtl-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end-rtl.svg: Added.
  • svg/text/simple-multiple-dx-anchor-end.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle-bidi-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle-bidi.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle-rtl-expected.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle-rtl.svg: Added.
  • svg/text/simple-multiple-dx-anchor-middle.svg: Added.
  • svg/text/simple-multiple-dx-bidi-expected.svg: Added.
  • svg/text/simple-multiple-dx-bidi.svg: Added.
  • svg/text/simple-multiple-dx-rtl-expected.svg: Added.
  • svg/text/simple-multiple-dx-rtl.svg: Added.
  • svg/text/simple-transform-rotate-expected.svg: Added.
  • svg/text/simple-transform-rotate.svg: Added.
  • svg/text/simple-underline-scaled-expected.svg: Added.
  • svg/text/simple-underline-scaled.svg: Added.
  • svg/text/text-shadow-expected.svg: Added.
  • svg/text/text-shadow.svg: Added.
  • svg/text/textLength-5-expected.svg: Added.
  • svg/text/textLength-5.svg: Added.
  • svg/text/textLength-6-expected.svg: Added.
  • svg/text/textLength-6.svg: Added.
  • svg/text/textpath-a-expected.svg: Added.
  • svg/text/textpath-a.svg: Added.
  • svg/text/textpath-after-expected.svg: Added.
  • svg/text/textpath-anchor-end-expected.svg: Added.
  • svg/text/textpath-anchor-end.svg: Added.
  • svg/text/textpath-anchor-middle-expected.svg: Added.
  • svg/text/textpath-anchor-middle.svg: Added.
  • svg/text/textpath-expected.svg: Added.
  • svg/text/textpath-invalid-parent-expected.svg: Added.
  • svg/text/textpath-invalid-parent.svg: Added.
  • svg/text/textpath-multiline-2-expected.svg: Added.
  • svg/text/textpath-multiline-2.svg: Added.
  • svg/text/textpath-multiline-expected.svg: Added.
  • svg/text/textpath-multiline.svg: Added.
  • svg/text/textpath-selection-expected.svg: Added.
  • svg/text/textpath-selection.svg: Added.
  • svg/text/textpath.svg: Added.
  • svg/textPath-01-expected.svg: Added.
  • svg/textPath-01.svg: Added.
  • svg/tspan-dxdy-01-expected.svg: Added.
  • svg/tspan-dxdy-01.svg: Added.
  • svg/tspan-dxdy-02-expected.svg: Added.
  • svg/tspan-dxdy-02.svg: Added.
  • svg/tspan-dxdy-03-expected.svg: Added.
  • svg/tspan-dxdy-03.svg: Added.
  • svg/tspan-dxdy-04-expected.svg: Added.
  • svg/tspan-dxdy-04.svg: Added.
  • svg/tspan-dxdy-05-expected.svg: Added.
  • svg/tspan-dxdy-05.svg: Added.
  • svg/tspan-dxdy-06-expected.svg: Added.
  • svg/tspan-dxdy-06.svg: Added.
  • svg/tspan-dxdy-textPath-01-expected.svg: Added.
  • svg/tspan-dxdy-textPath-01.svg: Added.
  • svg/tspan-rotate-01-expected.svg: Added.
  • svg/tspan-rotate-01.svg: Added.
  • svg/tspan-rotate-02-expected.svg: Added.
  • svg/tspan-rotate-02.svg: Added.
  • svg/tspan-rotate-03-expected.svg: Added.
  • svg/tspan-rotate-03.svg: Added.
  • svg/tspan-rotate-04-expected.svg: Added.
  • svg/tspan-rotate-04.svg: Added.
  • svg/tspan-rotate-05-expected.svg: Added.
  • svg/tspan-rotate-05.svg: Added.
  • svg/tspan-rotate-06-expected.svg: Added.
  • svg/tspan-rotate-06.svg: Added.
  • svg/tspan-rotate-07-expected.svg: Added.
  • svg/tspan-rotate-07.svg: Added.
  • svg/tspan-rotate-textPath-01-expected.svg: Added.
  • svg/tspan-rotate-textPath-01.svg: Added.
  • svg/tspan-xy-01-expected.svg: Added.
  • svg/tspan-xy-01.svg: Added.
  • svg/tspan-xy-02-expected.svg: Added.
  • svg/tspan-xy-02.svg: Added.
  • svg/tspan-xy-03-expected.svg: Added.
  • svg/tspan-xy-03.svg: Added.
  • svg/tspan-xy-04-expected.svg: Added.
  • svg/tspan-xy-04.svg: Added.
  • svg/tspan-xy-05-expected.svg: Added.
  • svg/tspan-xy-05.svg: Added.
  • svg/tspan-xy-06-expected.svg: Added.
  • svg/tspan-xy-06.svg: Added.
  • svg/userSpaceOnUse-and-pattern-01-expected.svg: Added.
  • svg/userSpaceOnUse-and-pattern-01.svg: Added.
  • svg/viewBox-and-pattern-01-expected.svg: Added.
  • svg/viewBox-and-pattern-01.svg: Added.
  • svg/viewBox-and-pattern-02-expected.svg: Added.
  • svg/viewBox-and-pattern-02.svg: Added.
  • svg/viewBox-and-pattern-03-expected.svg: Added.
  • svg/viewBox-and-pattern-03.svg: Added.
  • svg/viewBox-invalid-01-expected.svg: Added.
  • svg/viewBox-invalid-01.svg: Added.
  • svg/viewBox-valid-01-expected.svg: Added.
  • svg/viewBox-valid-01.svg: Added.
  • svg/viewBox-valid-02-expected.xhtml: Added.
  • svg/viewBox-valid-02.xhtml: Added.
  • svg/viewport-percent-graphic-user-01-expected.svg: Added.
  • svg/viewport-percent-graphic-user-01.svg: Added.
  • svg/winding-01-expected.svg: Added.
  • svg/winding-01.svg: Added.
  • svg/zero-stroke-01-expected.svg: Added.
  • svg/zero-stroke-01.svg: Added.

LayoutTests:

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2014-12-15
Reviewed by Dean Jackson.

This is only a part of the test suite. The rest of the tests will be submitted
later as they are investigated and the failures are reduced.

6:12 PM Changeset in webkit [177329] by Simon Fraser
  • 2 edits in trunk/Source/WebKit2

[iOS WK2] Possible crash when setting the WKWebViews's scroll view delegate, if the scroll view outlives the web view
https://bugs.webkit.org/show_bug.cgi?id=139662
rdar://problem/18083882

Reviewed by Benjamin Poulain.

Null out the internal delegate on the WKScrollView when the WKWebView goes away, since
it's possible for a client to set its own scroll view delegate, forcing the creation of
a WKScrollViewDelegateForwarder, and then retain the UIScrollView past the lifetime of
the WKWebView. In this situation, the WKScrollViewDelegateForwarder's internalDelegate
would point to a deleted WKWebView.

  • UIProcess/API/Cocoa/WKWebView.mm:

(-[WKWebView dealloc]):

6:08 PM Changeset in webkit [177328] by Chris Dumez
  • 8 edits
    4 adds in trunk/Source

[iOS] Add feature counting support
https://bugs.webkit.org/show_bug.cgi?id=139652
<rdar://problem/19255690>

Reviewed by Gavin Barraclough.

Source/JavaScriptCore:

Link against AppSupport framework on iOS as we need it to implement
the new FeatureCounter API in WTF.

  • Configurations/JavaScriptCore.xcconfig:

Source/WebCore:

Use FeatureCounter API to log PageCache failure reasons
as well as its success rate.

No new tests, no behavior change.

  • history/PageCache.cpp:

(WebCore::logCanCacheFrameDecision):
(WebCore::logCanCachePageDecision):
(WebCore::PageCache::canCache):

  • platform/FeatureCounterKeys.h: Added.

Source/WTF:

Add a FeatureCounter API for to log / count when a feature
is used. For now, this is only implementated on iOS.

  • WTF.vcxproj/WTF.vcxproj:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/CMakeLists.txt:
  • wtf/FeatureCounter.cpp: Added.

(WTF::incrementFeatureCounterKey):
(WTF::setFeatureCounterKey):

  • wtf/FeatureCounter.h: Added.
  • wtf/ios/FeatureCounter.mm: Added.

(WTF::incrementFeatureCounterKey):
(WTF::setFeatureCounterKey):

5:38 PM Changeset in webkit [177327] by Beth Dakin
  • 2 edits in trunk/Source/WebKit/mac

Build fix.

  • WebView/WebImmediateActionController.mm:
5:30 PM Changeset in webkit [177326] by Beth Dakin
  • 5 edits in trunk/Source

Speculative build fix.

Source/WebCore:

  • platform/spi/mac/LookupSPI.h:

Source/WebKit/mac:

  • WebView/WebView.mm:

(-[WebView _animationControllerForDictionaryLookupPopupInfo:]):

  • WebView/WebViewInternal.h:
5:19 PM Changeset in webkit [177325] by Beth Dakin
  • 2 edits in trunk/Source/WebCore

Speculative build fix.

  • platform/spi/mac/LookupSPI.h:
5:05 PM Changeset in webkit [177324] by jer.noble@apple.com
  • 3 edits
    2 adds in trunk

Switching src of <video> with clipping layer results in empty black square.
https://bugs.webkit.org/show_bug.cgi?id=139650

Reviewed by Simon Fraser.

Source/WebCore:

Test: compositing/video-clip-change-src.html

When the contentsLayer changes after a contentsClippingLayer has already been created, make sure to parent the
new contentsLayer, as updateRects() will only reparent when first creating a contentsClippingLayer.

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::GraphicsLayerCA::setContentsToPlatformLayer):

LayoutTests:

  • compositing/video-clip-change-src-expected.html: Added.
  • compositing/video-clip-change-src.html: Added.
4:51 PM Changeset in webkit [177323] by Beth Dakin
  • 16 edits in trunk/Source

Make lookup an immediate action instead of an action menu item
https://bugs.webkit.org/show_bug.cgi?id=139661
-and corresponding-
rdar://problem/19198414

Reviewed by Tim Horton.

Source/WebCore:

New SPI.

  • platform/spi/mac/LookupSPI.h:

Source/WebKit/mac:

Remove the lookup menu items and non-unused static function associated with
lookup.

  • WebView/WebActionMenuController.mm:

(-[WebActionMenuController _defaultMenuItemsForText]):
(-[WebActionMenuController _defaultMenuItemsForEditableText]):
(-[WebActionMenuController _defaultMenuItemsForEditableTextWithSuggestions]):
(-[WebActionMenuController _createActionMenuItemForTag:]):
(-[WebActionMenuController _lookupText:]): Deleted.
(performDictionaryLookupForSelection): Deleted.
(performDictionaryLookupForRange): Deleted.

Set the defaultAnimationController to the lookup-provided animation controller
when appropriate.

  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController _defaultAnimationController]):
(dictionaryPopupInfoForRange):
(-[WebImmediateActionController _animationControllerForText]):

New type.

  • WebView/WebUIDelegatePrivate.h:

New function to get the lookup animation controller.

  • WebView/WebView.mm:

(-[WebView _animationControllerForDictionaryLookupPopupInfo:]):

  • WebView/WebViewInternal.h:

Source/WebKit2:

New type.

  • Shared/API/c/WKImmediateActionTypes.h:

ActionMenuHitTestResult now includes a DictionaryPopupInfo.

  • Shared/mac/ActionMenuHitTestResult.h:
  • Shared/mac/ActionMenuHitTestResult.mm:

(WebKit::ActionMenuHitTestResult::encode):
(WebKit::ActionMenuHitTestResult::decode):

Remove all lookup menu items.

  • UIProcess/mac/WKActionMenuController.mm:

(-[WKActionMenuController _defaultMenuItemsForText]):
(-[WKActionMenuController _defaultMenuItemsForEditableText]):
(-[WKActionMenuController _defaultMenuItemsForEditableTextWithSuggestions]):
(-[WKActionMenuController _createActionMenuItemForTag:]):
(-[WKActionMenuController _lookupText:]): Deleted.

Set the defaultAnimationController to the lookup-provided animation controller
when appropriate.

  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController _defaultAnimationController]):
(-[WKImmediateActionController _animationControllerForText]):

Re-factor performDictionaryLookupForRange() so that most of the work is done in a
new function called dictionaryPopupInfoForRange(). This was that code can be used
for both performing a dictionary lookup and just getting the DictionaryPopupInfo
for the ActionMenuHitTest.

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::dictionaryPopupInfoForRange):
(WebKit::WebPage::performDictionaryLookupForRange):
(WebKit::WebPage::performActionMenuHitTestAtLocation):
(WebKit::WebPage::lookupTextAtLocation):

4:01 PM Changeset in webkit [177322] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebInspectorUI

Web Inspector: CSSStyleDeclarationTextEditor fails to update if computed properties changed from empty to non-empty
https://bugs.webkit.org/show_bug.cgi?id=139610

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-12-15
Reviewed by Timothy Hatcher.

The CSSStyleDeclarationTextEditor for Computed Style Properties always has
empty DOMNodeStyles text. However we would not reset contents if properties
changed and the actualy content was empty. So once empty, we could never
recover. In fact, we should always refresh for Computed Styles.

  • UserInterface/Views/CSSStyleDeclarationTextEditor.js:

(WebInspector.CSSStyleDeclarationTextEditor.prototype._propertiesChanged):

4:00 PM Changeset in webkit [177321] by matthew_hanson@apple.com
  • 2 edits in tags/Safari-601.1.12.2/Source/WebKit

Merged r177233. rdar://problems/19236505

4:00 PM Changeset in webkit [177320] by matthew_hanson@apple.com
  • 28 edits
    35 deletes in tags/Safari-601.1.12.2

Merged r177266. rdar://problems/19234810

3:53 PM Changeset in webkit [177319] by andersca@apple.com
  • 7 edits in trunk/Source

Get rid of the DONT_FINALIZE_ON_MAIN_THREAD #define
https://bugs.webkit.org/show_bug.cgi?id=139613

Reviewed by Sam Weinig.

Source/WebCore:

  • WebCore.exp.in:

Update symbols.

  • WebCore.xcodeproj/project.pbxproj:

Remove -Wno-deprecated-declarations from the WebCoreObjCExtras.mm build flags.

  • platform/mac/WebCoreObjCExtras.h:

If OBJC_NO_GC is defined to 1, just make WebCoreObjCFinalizeOnMainThread a no-op inline function.

  • platform/mac/WebCoreObjCExtras.mm:

(WebCoreObjCFinalizeOnMainThread):
Move this to the .h file for easier inlining.

(WebCoreObjCScheduleDeallocateOnMainThread):
Use a lambda.

Source/WTF:

  • wtf/Platform.h:

Remove the #define.

3:52 PM Changeset in webkit [177318] by barraclough@apple.com
  • 3 edits in trunk/Source/WebCore

Separate counted and hysteresis activities in PageThrottler
https://bugs.webkit.org/show_bug.cgi?id=139657

Reviewed by Sam Weinig.

Currently all activities funnel into a common hysteresis mechanism, the result of
which is combined with the visually idle state, the result of which in turn drives
a UserActivity::Impl.

This is a first refactoring towards moving the UserActivity out to WebKit2. Use
m_hysteresis only of the impulse activities (plugin evaluation, user input), and
flatten the three types of activities (impulse, counted, ViewState) to all directly
control a UserActivity. Switch from a UserActivity::Impl to a UserActivity since
this will provide hysteresis for media activity.

  • page/PageThrottler.cpp:

(WebCore::m_pageActivityCounter):

  • when the RefCounter changes just call updateUserActivity directly, removeed redundant call to updateUserActivity.

(WebCore::PageThrottler::createUserActivity):

  • m_activity is now a UserActivity.

(WebCore::PageThrottler::updateUserActivity):

  • previously just checked m_hysteresis for activity; now check m_pageActivityCounter too.

(WebCore::PageThrottler::pageActivityCounterValueDidChange): Deleted.

  • no longer needed; when the RefCounter changes just call updateUserActivity directly.
  • page/PageThrottler.h:
    • removed pageActivityCounterValueDidChange, m_activity is now a UserActivity.
3:40 PM Changeset in webkit [177317] by ggaren@apple.com
  • 6 edits in trunk/Source/bmalloc

Safari crashes when you set Malloc environment variables
https://bugs.webkit.org/show_bug.cgi?id=139656

Reviewed by Michael Saboff.

I forgot to cover the realloc() case. Whoops. (OoPS?)

This time around, I ran the full MallocBench test suite in Malloc=1
mode, and it passed.

  • bmalloc/Allocator.cpp:

(bmalloc::Allocator::reallocate):

  • bmalloc/Allocator.h: Pushed realloc() logic down into the allocator.

It needs to be down there so that we can do the short-circuiting check
for whether bmalloc is enabled first.

Also added the check.

  • bmalloc/Cache.cpp:

(bmalloc::Cache::scavenge):
(bmalloc::Cache::Cache):
(bmalloc::Cache::reallocateSlowCaseNullCache):

  • bmalloc/Cache.h:

(bmalloc::Cache::deallocator):
(bmalloc::Cache::reallocate): Ditto.

  • bmalloc/bmalloc.h:

(bmalloc::api::free):
(bmalloc::api::realloc): Ditto.

(bmalloc::api::scavenge): Pushed this down into Cache to match the
surrounding functions.

3:24 PM Changeset in webkit [177316] by commit-queue@webkit.org
  • 29 edits
    1 delete in trunk/Source

Unreviewed, rolling out r177284.
https://bugs.webkit.org/show_bug.cgi?id=139658

"Breaks API tests and LayoutTests on Yosemite Debug"
(Requested by msaboff on #webkit).

Reverted changeset:

"Make sure range based iteration of Vector<> still receives
bounds checking"
https://bugs.webkit.org/show_bug.cgi?id=138821
http://trac.webkit.org/changeset/177284

2:58 PM Changeset in webkit [177315] by Dániel Bátyai
  • 5 edits
    2 adds in trunk

[EFL] FTL JIT not working on ARM64
https://bugs.webkit.org/show_bug.cgi?id=139295

Reviewed by Michael Saboff.

Source/JavaScriptCore:

Added the missing code for stack unwinding and some additional small fixes
to get FTL working correctly.

  • ftl/FTLCompile.cpp:

(JSC::FTL::mmAllocateDataSection):

  • ftl/FTLUnwindInfo.cpp:

(JSC::FTL::UnwindInfo::parse):

Tools:

Added patches for llvm to add ARM64 support for FTL JIT

  • efl/jhbuild.modules:
  • efl/patches/llvm-elf-add-stackmaps-arm64.patch: Added.
  • efl/patches/llvm-elf-allow-fde-references-outside-the-2gb-range-arm64.patch: Added.
2:19 PM Changeset in webkit [177314] by rniwa@webkit.org
  • 28 edits
    2 adds in trunk

cloneNode(true) does not clone nested template elements' contents
https://bugs.webkit.org/show_bug.cgi?id=137755

Reviewed by Darin Adler.

Source/WebCore:

The bug was caused by cloneChildNodes not copying template element's content.

Fixed the bug by adding the third behavior (CloneContent) to the polymorphic
cloneNodeInternal, which copies template element's content but not its children,
in addition to the existing CloneSelf (deep=false) and CloneChildren (deep=true).

Test: fast/dom/HTMLTemplateElement/cloneNode-nested-templates.html

  • dom/Attr.cpp:

(WebCore::Attr::cloneNodeInternal): Renamed from cloneNode.

  • dom/Attr.h:
  • dom/CDATASection.cpp:

(WebCore::CDATASection::cloneNodeInternal): Renamed from cloneNode.

  • dom/CDATASection.h:
  • dom/Comment.cpp:

(WebCore::Comment::cloneNodeInternal): Renamed from cloneNode.

  • dom/Comment.h:
  • dom/ContainerNode.cpp:

(WebCore::ContainerNode::cloneChildNodes): Calls cloneNode with CloneContent.

  • dom/Document.cpp:

(WebCore::Document::cloneNodeInternal): Renamed from cloneNode.

  • dom/Document.h:
  • dom/DocumentFragment.cpp:

(WebCore::DocumentFragment::cloneNodeInternal): Renamed from cloneNode.

  • dom/DocumentFragment.h:
  • dom/DocumentType.cpp:

(WebCore::DocumentType::cloneNodeInternal): Renamed from cloneNode.

  • dom/DocumentType.h:
  • dom/Element.cpp:

(WebCore::Element::cloneNodeInternal): Renamed from cloneNode.

  • dom/Element.h:
  • dom/EntityReference.cpp:

(WebCore::EntityReference::cloneNodeInternal): Renamed from cloneNode.

  • dom/EntityReference.h:
  • dom/Node.h:

(WebCore::Node::cloneNode): Added. It calls cloneNodeInternal with CloneSelf or CloneChildren.

  • dom/ProcessingInstruction.cpp:

(WebCore::ProcessingInstruction::cloneNodeInternal): Renamed from cloneNode.

  • dom/ProcessingInstruction.h:
  • dom/ShadowRoot.cpp:

(WebCore::ShadowRoot::cloneNodeInternal): Renamed from cloneNode. Also moved from ShadowRoot.h.

  • dom/ShadowRoot.h:
  • dom/Text.cpp:

(WebCore::Text::cloneNodeInternal): Renamed from cloneNode.

  • dom/Text.h:
  • html/HTMLTemplateElement.cpp:

(WebCore::HTMLTemplateElement::cloneNodeInternal): Renamed from cloneNode. This is the only
function in which CloneContent results in a different behavior from CloneSelf.

  • html/HTMLTemplateElement.h:

LayoutTests:

Added a regression test.

  • fast/dom/HTMLTemplateElement/cloneNode-nested-templates-expected.txt: Added.
  • fast/dom/HTMLTemplateElement/cloneNode-nested-templates.html: Added.
2:18 PM Changeset in webkit [177313] by benjamin@webkit.org
  • 23 edits in trunk

Unify the various serialization of selector list
https://bugs.webkit.org/show_bug.cgi?id=139606

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-12-15
Reviewed by Andreas Kling.

Source/WebCore:

There were code in various place to build a string from the selectors contained
in a selecor list.

This patch adds a single function to do that: buildSelectorsText(). All the call sites
were modified to use it.

The serialization of :-webkit-any() gets fixed as a result.

  • css/CSSSelector.cpp:

(WebCore::CSSSelector::selectorText):
(WebCore::appendSelectorList): Deleted.

  • css/CSSSelectorList.cpp:

(WebCore::CSSSelectorList::selectorsText):
(WebCore::CSSSelectorList::buildSelectorsText):

  • css/CSSSelectorList.h:
  • css/CSSStyleRule.cpp:

(WebCore::CSSStyleRule::generateSelectorText):

  • css/WebKitCSSRegionRule.cpp:

(WebCore::WebKitCSSRegionRule::cssText):

LayoutTests:

  • fast/css/css-selector-text-expected.txt:
  • fast/css/css-selector-text.html:
  • fast/css/css-set-selector-text-expected.txt:
  • fast/css/css-set-selector-text.html:
  • fast/css/parsing-css-matches-1-expected.txt:
  • fast/css/parsing-css-matches-1.html:
  • fast/css/parsing-css-matches-2-expected.txt:
  • fast/css/parsing-css-matches-2.html:
  • fast/css/parsing-css-matches-4-expected.txt:
  • fast/css/parsing-css-matches-4.html:
  • fast/css/parsing-css-not-1-expected.txt:
  • fast/css/parsing-css-not-1.html:
  • fast/css/parsing-css-not-2-expected.txt:
  • fast/css/parsing-css-not-2.html:
  • fast/css/parsing-css-not-4-expected.txt:
  • fast/css/parsing-css-not-4.html:
1:39 PM Changeset in webkit [177312] by matthew_hanson@apple.com
  • 4 edits in branches/safari-600.3-branch/Source

Merged r177253. rdar://problems/19221935

1:33 PM Changeset in webkit [177311] by Antti Koivisto
  • 2 edits in trunk/Source/WebCore

Try to fix iOS build.

  • WebCore.exp.in:
1:28 PM Changeset in webkit [177310] by timothy_horton@apple.com
  • 2 edits in trunk/Tools

Move Said to the committers section.

  • Scripts/webkitpy/common/config/contributors.json:
1:27 PM Changeset in webkit [177309] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Web Inspector: Docked inspector repositioned incorrectly when dragging frame borders
https://bugs.webkit.org/show_bug.cgi?id=139415

Patch by Matt Baker <Matt Baker> on 2014-12-15
Reviewed by Joseph Pecoraro.

The _ignoreNextInspectedViewFrameDidChange flag wasn't set back to NO after
being tested by inspectedViewFrameDidChange.

  • UIProcess/mac/WebInspectorProxyMac.mm:

(-[WKWebInspectorProxyObjCAdapter inspectedViewFrameDidChange:]):

1:07 PM Changeset in webkit [177308] by jfernandez@igalia.com
  • 3 edits
    2 adds in trunk

Floats Don't Overhang Their Block Formatting Contex
https://bugs.webkit.org/show_bug.cgi?id=139476

Reviewed by David Hyatt.

From Blink r172530 by <robhogan@gmail.com>

Source/WebCore:

Floats Don't Overhang Their Block Formatting Context Per
http://www.w3.org/TR/CSS2/visuren.html#float-position: "References
to [the elements] in the [rules that govern the behaviour of
floats] refer only to other elements in the same block formatting
context as the float."

This means we don't need to look for intruding or overhanging
floats in boxes that establish a new block formatting
context. Even that we don't have a test breaking this rule it
seems we are doing unnecessary work in
rebuildFloatsFromIntruding() so make sure we avoid adding floats
from different block formatting contexts.

Test:
fast/block/float/floats-do-not-overhang-from-block-formatting-context.html

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::addIntrudingFloats):

LayoutTests:

Tests to verify that float elements don't overhang blocks with a
different formatting context.

  • fast/block/float/floats-do-not-overhang-from-block-formatting-context-expected.txt: Added.
  • fast/block/float/floats-do-not-overhang-from-block-formatting-context.html: Added.
12:45 PM Changeset in webkit [177307] by barraclough@apple.com
  • 2 edits in trunk/Source/WebKit2

Simplify tracking of process suppression disabled for PluginProcessManager
https://bugs.webkit.org/show_bug.cgi?id=139611

Unreviewed gtk/efl build fix.

  • UIProcess/Plugins/PluginProcessManager.h:
    • missing #ifdef
12:38 PM Changeset in webkit [177306] by mmaxfield@apple.com
  • 2 edits in trunk/Source/WebCore

Unreviewed build fix after r177301

  • html/ColorInputType.cpp:

(WebCore::ColorInputType::elementRectRelativeToRootView):

12:34 PM Changeset in webkit [177305] by bshafiei@apple.com
  • 5 edits in branches/safari-600.3-branch/Source

Versioning.

12:27 PM Changeset in webkit [177304] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit/mac

Implement Data Detectors immediate actions for Legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=139619
<rdar://problem/19198539>

Reviewed by Beth Dakin.

  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController _menuItemForDataDetectedText]):
Note that this action context is only for immediate actions.

12:26 PM Changeset in webkit [177303] by timothy_horton@apple.com
  • 4 edits in trunk/Source

Implement Data Detectors immediate actions for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=139617
<rdar://problem/19198539>

Reviewed by Beth Dakin.

  • platform/spi/mac/DataDetectorsSPI.h:

Add some new SPI.

  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController _menuItemForDataDetectedText]):
Note that this action context is only for immediate actions.

12:24 PM Changeset in webkit [177302] by Simon Fraser
  • 7 edits in trunk/Source/WebCore

REGRESSION (r168217): Images are cropped out during animation at jetblue.com
https://bugs.webkit.org/show_bug.cgi?id=136410
rdar://problem/18188533

Reviewed by Dean Jackson.

During GraphicsLayer flushing, for tiled layers we can compute a visible rect using
the current state of an animation, which is obtained via the AnimationController.
If that animation was running in a subframe, AnimationController could use a stale
beginAnimationUpdateTime since no-one called its beginAnimationUpdate(). That
resulted in an incorrect computation of the visible rect, resulting in missing tiles.

There are two parts to this fix. First, add an assertion that beginAnimationUpdateTime()
is being called inside an animation update block. This required moving m_beginAnimationUpdateCount
into AnimationControllerPrivate, and changes to endAnimationUpdate().

The second is adding a AnimationUpdateBlock to getAnimatedStyleForRenderer(), which
can be called outside of style resolution. We also need some in other API functions.

Testing revealed that layout can call via layoutOverflowRectForPropagation(), suggesting
that we should have an animation batch inside FrameView::layout(). In addition, a single
resolveStyle/layout should use the same animationBeginTime, so we add a batch to
updateLayoutAndStyleIfNeededRecursive().

No test because it's timing-dependent. Existing tests exercise the new assertion.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::computeRenderStyleForProperty):

  • page/FrameView.cpp:

(WebCore::FrameView::layout):
(WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive):

  • page/animation/AnimationController.cpp:

(WebCore::AnimationPrivateUpdateBlock::AnimationPrivateUpdateBlock):
(WebCore::AnimationPrivateUpdateBlock::~AnimationPrivateUpdateBlock):
(WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
(WebCore::AnimationControllerPrivate::animationTimerFired):
(WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
(WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
(WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
(WebCore::AnimationControllerPrivate::beginAnimationUpdate):
(WebCore::AnimationControllerPrivate::endAnimationUpdate):
(WebCore::AnimationControllerPrivate::getAnimatedStyleForRenderer):
(WebCore::AnimationController::AnimationController):
(WebCore::AnimationController::notifyAnimationStarted):
(WebCore::AnimationController::pauseAnimationAtTime):
(WebCore::AnimationController::pauseTransitionAtTime):
(WebCore::AnimationController::resumeAnimationsForDocument):
(WebCore::AnimationController::startAnimationsIfNotSuspended):
(WebCore::AnimationController::beginAnimationUpdate):
(WebCore::AnimationController::endAnimationUpdate):

  • page/animation/AnimationController.h:
  • page/animation/AnimationControllerPrivate.h:
12:15 PM Changeset in webkit [177301] by mmaxfield@apple.com
  • 18 edits in trunk/Source

Addressing post-review comments in r177035
https://bugs.webkit.org/show_bug.cgi?id=139557

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2014-12-15
Reviewed by Darin Adler.

Source/WebCore:

This patch deletes the helper functions rendererBoundingBox() and rendererAnchorRect() and
migrates callers to using renderers directly.

It also improves the comment in RenderElement.h regarding RenderElement::anchorRect().

No new tests because this is simply refactoring.

  • WebCore.exp.in: Delete exported symbol for rendererBoundingBox()
  • accessibility/AccessibilitySlider.cpp:

(WebCore::AccessibilitySliderThumb::elementRect): Migrate off rendererBoundingBox()

  • dom/ContainerNode.cpp:

(WebCore::rendererAnchorRect): Deleted.

  • dom/ContainerNode.h:
  • dom/Node.cpp:

(WebCore::rendererBoundingBox): Deleted.

  • dom/Node.h:
  • html/ColorInputType.cpp:

(WebCore::ColorInputType::elementRectRelativeToRootView): Migrate off rendererBoundingBox().

  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::setupDateTimeChooserParameters): Ditto.

  • html/ValidationMessage.cpp:

(WebCore::ValidationMessage::buildBubbleTree): Ditto.

  • page/FrameView.cpp:

(WebCore::FrameView::scrollElementToRect): Migrate off rendererAnchorRect().
(WebCore::FrameView::scrollToAnchor): Ditto.

  • page/SpatialNavigation.cpp:

(WebCore::nodeRectInAbsoluteCoordinates): Migrate off rendererBoundingBox().

  • rendering/RenderElement.h:

Source/WebKit/mac:

  • WebView/WebActionMenuController.mm:

(elementBoundingBoxInWindowCoordinatesFromNode): Migrate off rendererBoundingBox().

Source/WebKit2:

  • Shared/WebHitTestResult.cpp:

(WebKit::WebHitTestResult::Data::elementBoundingBoxInWindowCoordinates): Migrate off rendererBoundingBox().

  • WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp:

(WebKit::WebPage::findZoomableAreaForPoint): Ditto.

11:49 AM Changeset in webkit [177300] by timothy_horton@apple.com
  • 7 edits in trunk/Source/WebKit/mac

Implement Data Detectors immediate actions for Legacy WebKit
https://bugs.webkit.org/show_bug.cgi?id=139619
<rdar://problem/19198539>

Reviewed by Eric Carlson.

  • WebView/WebHTMLView.mm:

(-[WebHTMLView mouseDown:mouseDown:]):
Send mouseDown along to the WebImmediateActionController too.

  • WebView/WebImmediateActionController.h:
  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController webViewClosed]):
(-[WebImmediateActionController webView:willHandleMouseDown:]):
(-[WebImmediateActionController _cancelImmediateAction]):
(-[WebImmediateActionController _clearImmediateActionState]):
(-[WebImmediateActionController immediateActionRecognizerWillPrepare:]):
(-[WebImmediateActionController _defaultAnimationController]):
(-[WebImmediateActionController _updateImmediateActionItem]):
(-[WebImmediateActionController _menuItemForDataDetectedText]):
(-[WebImmediateActionController _showTextIndicator]):
(-[WebImmediateActionController _hideTextIndicator]):
Copy most of the DataDetectors implementation into WebImmediateActionController.

  • WebView/WebUIDelegatePrivate.h:

Add a new type.

  • WebView/WebView.mm:

(-[WebView _commonInitializationWithFrameName:groupName:]):
Temporarily disable action menus.

(-[WebView _immediateActionController]):

  • WebView/WebViewInternal.h:
11:46 AM Changeset in webkit [177299] by timothy_horton@apple.com
  • 2 edits in trunk/Tools

Implement Data Detectors immediate actions for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=139617
<rdar://problem/19198539>

Reviewed by Beth Dakin.

  • TestWebKitAPI/Tests/WebKit2ObjC/ActionMenus.mm:

(TestWebKitAPI::TEST):
Temporarily disable the action menu tests while the
underlying code is in flux.

11:45 AM Changeset in webkit [177298] by timothy_horton@apple.com
  • 6 edits in trunk/Source/WebKit2

Implement Data Detectors immediate actions for WebKit2
https://bugs.webkit.org/show_bug.cgi?id=139617
<rdar://problem/19198539>

Reviewed by Beth Dakin.

  • Shared/API/c/WKImmediateActionTypes.h:

Add a new type.

  • UIProcess/API/mac/WKView.mm:

(-[WKView mouseDown:]):
Send mouseDown along to the WKImmediateActionController too.

(-[WKView initWithFrame:context:configuration:webView:]):
Temporarily disable action menus.

(-[WKView _dismissContentRelativeChildWindows]):
Hide the immediate action preview when detaching child windows.

  • UIProcess/mac/WKImmediateActionController.h:
  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController willDestroyView:]):
Clear the DDActionContext when tearing down the view.

(-[WKImmediateActionController wkView:willHandleMouseDown:]):
(-[WKImmediateActionController _cancelImmediateAction]):
(-[WKImmediateActionController _clearImmediateActionState]):
(-[WKImmediateActionController immediateActionRecognizerWillPrepare:]):
(-[WKImmediateActionController immediateActionRecognizerWillBeginAnimation:]):
(-[WKImmediateActionController _defaultAnimationController]):
(-[WKImmediateActionController _updateImmediateActionItem]):
(-[WKImmediateActionController hidePreview]):
(-[WKImmediateActionController popoverWillClose:]):
(-[WKImmediateActionController _menuItemForDataDetectedText]):
Copy most of the DataDetectors implementation into WKImmediateActionController.

11:40 AM Changeset in webkit [177297] by mmaxfield@apple.com
  • 52 edits
    3 deletes in trunk

Delete Notation because we don't use it
https://bugs.webkit.org/show_bug.cgi?id=139171

Reviewed by Kent Tamura.

Source/WebCore:

No tests because this is un-exposing something that never gets instantiated.

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • WebCore.exp.in:
  • WebCore.order:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/gobject/WebKitDOMNodeFilter.h:
  • bindings/gobject/WebKitDOMNodeFilter.symbols:
  • bindings/gobject/WebKitDOMPrivate.cpp:

(WebKit::wrap):

  • bindings/gobject/webkitdom.symbols:
  • bindings/js/JSNodeCustom.cpp:

(WebCore::createWrapperInline):

  • bindings/objc/DOM.mm:

(kitClass):

  • bindings/objc/DOMCore.h:
  • bindings/objc/PublicDOMInterfaces.h:
  • dom/DOMAllInOne.cpp:
  • dom/Document.cpp:

(WebCore::Document::importNode):
(WebCore::Document::adoptNode):
(WebCore::Document::childTypeAllowed):
(WebCore::Document::canReplaceChild):

  • dom/Node.cpp:

(WebCore::Node::dumpStatistics):
(WebCore::Node::isDefaultNamespace):
(WebCore::Node::lookupPrefix):
(WebCore::Node::lookupNamespaceURI):
(WebCore::appendTextContent):
(WebCore::Node::setTextContent):

  • dom/Node.h:
  • dom/Node.idl:
  • dom/NodeFilter.h:
  • dom/NodeFilter.idl:
  • dom/Notation.cpp: Removed.
  • dom/Notation.h: Removed.
  • dom/Notation.idl: Removed.
  • dom/Range.cpp:

(WebCore::lengthOfContentsInNode):
(WebCore::Range::processContentsBetweenOffsets):
(WebCore::Range::insertNode):
(WebCore::Range::checkNodeWOffset):
(WebCore::Range::checkNodeBA):
(WebCore::Range::selectNode):
(WebCore::Range::selectNodeContents):
(WebCore::Range::surroundContents):

  • editing/MarkupAccumulator.cpp:

(WebCore::MarkupAccumulator::appendStartMarkup):

  • xml/XPathUtil.cpp:

(WebCore::XPath::isValidContextNode):

Source/WebKit/mac:

  • MigrateHeaders.make:

Source/WebKit2:

  • WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm:

(WebKit::WKDOMNodeClass):

  • mac/MigrateHeadersFromWebKitLegacy.make:

LayoutTests:

Updating for removed property

  • fast/dom/Window/get-set-properties-expected.txt:
  • fast/dom/Window/get-set-properties.html:
  • fast/dom/Window/resources/window-properties.js:
  • fast/dom/Window/window-lookup-precedence-expected.txt:
  • fast/dom/constants-expected.txt:
  • fast/dom/constants.html:
  • fast/dom/dom-constructors-expected.txt:
  • fast/dom/dom-constructors.html:
  • http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html:
  • http/tests/security/cross-frame-access-put-expected.txt:
  • http/tests/security/cross-frame-access-put.html:
  • http/tests/security/resources/cross-frame-iframe-for-put-test.html:
  • js/dom/global-constructors-attributes-expected.txt:
  • platform/efl/js/dom/global-constructors-attributes-expected.txt:
  • platform/gtk/fast/dom/Window/window-lookup-precedence-expected.txt:
  • platform/gtk/js/dom/global-constructors-attributes-expected.txt:
  • platform/ios-sim-deprecated/http/tests/security/cross-frame-access-put-expected.txt:
  • platform/ios-sim-deprecated/js/dom/global-constructors-attributes-expected.txt:
  • platform/ios-simulator/fast/dom/Window/window-lookup-precedence-expected.txt:
  • platform/mac-mavericks/js/dom/global-constructors-attributes-expected.txt:
  • platform/mac-mountainlion/js/dom/global-constructors-attributes-expected.txt:
  • platform/mac/fast/dom/Window/window-lookup-precedence-expected.txt:
  • platform/mac/js/dom/global-constructors-attributes-expected.txt:
  • platform/win/js/dom/global-constructors-attributes-expected.txt:
11:38 AM Changeset in webkit [177296] by ddkilzer@apple.com
  • 2 edits in trunk/Source/WebKit2

Remove last references to OfflineStorage process
<http://webkit.org/b/139648>

Reviewed by Anders Carlsson.

  • WebKit2.xcodeproj/project.pbxproj: Remove last references to

the OfflineStorage process. See r154251 and r154256.

11:37 AM Changeset in webkit [177295] by barraclough@apple.com
  • 10 edits in trunk/Source

Change HysteresisActivity to use a lambda
https://bugs.webkit.org/show_bug.cgi?id=139636

Reviewed by Darin Adler.

The current implementation provides notifications via callbacks to a delegate. Using a delegate
with callbacks is limiting a number of ways. The callback names are very ambiguous, the callbacks
must either be on a separate object (more boilerplate), or the callback must be public for
HysteresisActivity to call them, or friends get involved. Without the boilerplate of extra
delegate objects it's hard to scale use of these objects – a single object can't serve as a
delegate for multiple HysteresisActivity members.

Instead, make HysteresisActivity take a lambda to callback on state change. To simplify, changed
HysteresisState to only track Started/Stopped states (removed WillStopPendingTimeout).

Source/WebCore:

  • WebCore.exp.in:
    • removed exports of deleted functions.
  • page/PageThrottler.cpp:

(WebCore::PageThrottler::PageThrottler):

  • m_hysteresis lambda calls updateUserActivity.

(WebCore::PageThrottler::pageActivityCounterValueDidChange):

  • ASSERT updated due to removal of WillStopPendingTimeout state.

(WebCore::PageThrottler::started): Deleted.
(WebCore::PageThrottler::stopped): Deleted.

  • functionality replaced by lambda.
  • page/PageThrottler.h:
    • HysteresisActivity is no longer templated on delegate type, removed function declarations & friend.
  • platform/HysteresisActivity.h:

(WebCore::HysteresisActivity::HysteresisActivity):

  • HysteresisActivity takes a lambda, not a delegate.

(WebCore::HysteresisActivity::start):

  • delegate call -> callback.

(WebCore::HysteresisActivity::state):

  • simplified to remove WillStopPendingTimeout.

(WebCore::HysteresisActivity::hysteresisTimerFired):

  • delegate call -> callback.
  • platform/UserActivity.cpp:

(WebCore::UserActivity::UserActivity):

  • HysteresisActivity lambda calls hysteresisUpdated.

(WebCore::UserActivity::hysteresisUpdated):
(WebCore::UserActivity::started): Deleted.
(WebCore::UserActivity::stopped): Deleted.

  • started/stopped -> hysteresisUpdated.
  • platform/UserActivity.h:
    • started/stopped -> hysteresisUpdated, removed friend.

Source/WebKit2:

  • WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.cpp:

(WebKit::WebSQLiteDatabaseTracker::WebSQLiteDatabaseTracker):

  • HysteresisActivity now takes a lambda, not a delegate.

(WebKit::WebSQLiteDatabaseTracker::hysteresisUpdated):
(WebKit::WebSQLiteDatabaseTracker::started): Deleted.
(WebKit::WebSQLiteDatabaseTracker::stopped): Deleted.

  • started/stopped merged into hysteresisUpdated
  • WebProcess/WebCoreSupport/WebSQLiteDatabaseTracker.h:
    • HysteresisActivity is no longer templated on delegate type, changed function declarations.
11:25 AM Changeset in webkit [177294] by Antti Koivisto
  • 24 edits
    11 adds in trunk

WebKit level persistent caching
https://bugs.webkit.org/show_bug.cgi?id=30322

Reviewed by Sam Weinig.

Source/WebCore:

Test: http/tests/cache/disk-cache-validation.html

  • WebCore.exp.in:
  • inspector/InspectorResourceAgent.cpp:

(WebCore::buildObjectForResourceResponse):

  • platform/network/ResourceResponseBase.cpp:

(WebCore::ResourceResponseBase::ResourceResponseBase):
(WebCore::ResourceResponseBase::source):
(WebCore::ResourceResponseBase::setSource):
(WebCore::ResourceResponseBase::wasCached): Deleted.
(WebCore::ResourceResponseBase::setWasCached): Deleted.

Replace wasCached bit with Source enum.
This is useful for testing.

  • platform/network/ResourceResponseBase.h:

(WebCore::ResourceResponseBase::containsCertificateInfo):
(WebCore::ResourceResponseBase::encode):
(WebCore::ResourceResponseBase::decode):

  • testing/Internals.cpp:

(WebCore::Internals::xhrResponseSource):
(WebCore::Internals::clearMemoryCache):

  • testing/Internals.h:
  • testing/Internals.idl:

Testing support.

  • xml/XMLHttpRequest.h:

Source/WebKit2:

We can improve performance and open new optimization possibilities by bringing network caching into WebKit.

This patch implements an experimental HTTP cache living in the network process.

The main classes are:

NetworkCache

  • Implements HTTP cache validation logic including Vary header
  • Initially non-range GET only
  • Fast serialization using WebKit types (ResourcesResponse etc) instead of native network layer types

NetworkCacheKey

  • Unique identifier for cache entries
  • Keyed on method/partition/URL

NetworkCacheStorage

  • Storage backend
  • dispatch-IO based implementation (generic posix implementation wouldn't be difficult)
  • File system only (no SQLite or similar)
  • One file per resource containing both header and body data
  • Zero persistent global metadata
  • Bloom filter for fast fail

NetworkCacheEncoder/Decoder

  • Serializisation support with integrity verification.

The code is behind the NETWORK_CACHE feature flag and requires network process to be enabled to use.

This patch does not enable the feature yet by default.

Test: http/tests/cache/disk-cache-validation.html

  • NetworkProcess/cache/NetworkCache.cpp: Added.
  • NetworkProcess/cache/NetworkCache.h: Added.
  • NetworkProcess/cache/NetworkCacheKey.cpp: Added.
  • NetworkProcess/cache/NetworkCacheKey.h: Added.
  • NetworkProcess/cache/NetworkCacheStorage.h: Added.
  • NetworkProcess/cache/NetworkCacheStorage.mm: Added.
  • NetworkProcess/cocoa/NetworkProcessCocoa.mm:

(WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa):
(WebKit::NetworkProcess::platformSetCacheModel):

  • NetworkProcess/ios/NetworkProcessIOS.mm:

(WebKit::NetworkProcess::clearCacheForAllOrigins):

  • NetworkProcess/mac/NetworkProcessMac.mm:

(WebKit::NetworkProcess::clearCacheForAllOrigins):

  • NetworkProcess/mac/NetworkResourceLoaderMac.mm:

(WebKit::tryGetShareableHandleFromCFData):

  • Platform/Logging.h:
  • WebKit2.xcodeproj/project.pbxproj:
  • config.h:

LayoutTests:

Add a cache validation test. The test generates large number of validation header permutations.

  • TestExpectations: Skipped until the feature is enabled.
  • http/tests/cache/disk-cache-validation-expected.txt: Added.
  • http/tests/cache/disk-cache-validation.html: Added.
  • http/tests/cache/resources/cache-test.js: Added.

(getServerDate):
(makeHeaderValue):
(generateTestURL):
(loadResource):
(loadResources):
(printResults):
(runTests):
(mergeFields):
(generateTests):

  • http/tests/cache/resources/generate-response.cgi: Added.
  • platform/mac-mountainlion/TestExpectations: Added.
  • platform/mac-wk1/TestExpectations:
11:17 AM Changeset in webkit [177293] by akling@apple.com
  • 15 edits in trunk/Source

Purge PassRefPtr from FocusEvent code.
<https://webkit.org/b/139647>

Reviewed by Anders Carlsson.

Source/WebCore:

Convert FocusEvent-related code from using PassRefPtr to using RefPtr&& instead.

  • dom/Document.cpp:

(WebCore::Document::setFocusedElement):

  • dom/Element.cpp:

(WebCore::Element::dispatchFocusInEvent):
(WebCore::Element::dispatchFocusOutEvent):
(WebCore::Element::dispatchFocusEvent):
(WebCore::Element::dispatchBlurEvent):

  • dom/Element.h:
  • dom/FocusEvent.cpp:

(WebCore::FocusEvent::FocusEvent):

  • dom/FocusEvent.h:
  • html/HTMLFormControlElement.cpp:

(WebCore::HTMLFormControlElement::dispatchBlurEvent):

  • html/HTMLFormControlElement.h:
  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::dispatchFocusEvent):
(WebCore::HTMLSelectElement::dispatchBlurEvent):

  • html/HTMLSelectElement.h:
  • html/HTMLTextFormControlElement.cpp:

(WebCore::HTMLTextFormControlElement::dispatchFocusEvent):
(WebCore::HTMLTextFormControlElement::dispatchBlurEvent):

  • html/HTMLTextFormControlElement.h:
  • page/FocusController.cpp:

(WebCore::dispatchEventsOnWindowAndFocusedElement):

Source/WTF:

Add a RefPtr::copyRef() to use when passing a RefPtr to a RefPtr&& without
transferring the ownership.

  • wtf/RefPtr.h:
11:05 AM Changeset in webkit [177292] by mmaxfield@apple.com
  • 4 edits
    3 adds in trunk

[iOS] Codepoints not associated with languages are drawn as boxes
https://bugs.webkit.org/show_bug.cgi?id=138906

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2014-12-15
Reviewed by Darin Adler.

Source/WebCore:

Use SPI CTFontCreateForCharacters(), but only if we don't already know what to do
with the characters.

Test: platform/ios-simulator/fast/text/non-language-font-fallback.html

  • platform/graphics/ios/FontCacheIOS.mm:

(WebCore::FontCache::systemFallbackForCharacters):

  • platform/spi/cocoa/CoreTextSPI.h:

LayoutTests:

  • platform/ios-simulator/fast/text/non-language-font-fallback-expected.html: Added.
  • platform/ios-simulator/fast/text/non-language-font-fallback.html: Added.
11:05 AM Changeset in webkit [177291] by barraclough@apple.com
  • 7 edits in trunk/Source/WebKit2

Simplify tracking of process suppression disabled for PluginProcessManager
https://bugs.webkit.org/show_bug.cgi?id=139611

Reviewed by Darin Adler.

Previously if process suppression state changed for any context we would
iterate over all contexts to recompute.

There was also an inconsistency in the code. When plugin processes are
created they called processSuppressionIsEnabledForAllContexts(), which
checked WebContext::processSuppressionEnabled(), which in turn checks
two things - whether any page is currently visible, and whether the
suppression is currently disabled for any page. However when updating
process supression state we would call
processSuppressionPreferenceIsEnabledForAllContexts(), which would just
check the value of the key from the context's default PageGroup.

We shouldn't be taking visibility into account (this is handled from the
content, where we know which pages have instances of which plugins), but
we should be checking the current pref value of each page.

We already track in each context whether any page has teh pref set to
disable throttling; add a counter to the shared PluginProcessManager to
coallesce across all contexts.

  • UIProcess/Plugins/PluginProcessManager.cpp:

(WebKit::PluginProcessManager::PluginProcessManager):

  • added m_processSuppressionDisabledForPageCounter, m_processSuppressionEnabled.
  • UIProcess/Plugins/PluginProcessManager.h:

(WebKit::PluginProcessManager::processSuppressionDisabledForPageCount):

  • accessor for WebContext to increment count.

(WebKit::PluginProcessManager::processSuppressionEnabled):

  • accessor for PluginProcessProxy.
  • UIProcess/Plugins/PluginProcessProxy.cpp:

(WebKit::PluginProcessProxy::didFinishLaunching):

  • get initial supression state from the PluginProcessManager, not WebContext.
  • UIProcess/Plugins/mac/PluginProcessManagerMac.mm:

(WebKit::PluginProcessManager::updateProcessSuppressionState):
(WebKit::PluginProcessManager::setProcessSuppressionEnabled): Deleted.

  • setProcessSuppressionEnabled -> updateProcessSuppressionState rather than WebContext setting suppression state, PluginProcessManager detects when this may need to change & determines a new value for itself.
  • UIProcess/WebContext.h:
    • removed processSuppressionIsEnabledForAllContexts, processSuppressionPreferenceIsEnabledForAllContexts updateProcessSuppressionState is no longer const (updates m_pluginProcessManagerProcessSuppressionDisabledCount).
  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::updateProcessSuppressionState):

  • instead of explicitly recomputing plugin throttling state from Within the WebContext, just update m_pluginProcessManagerProcessSuppressionDisabledCount to count a RefCounter on the shared PluginProcessManager.

(WebKit::WebContext::processSuppressionIsEnabledForAllContexts): Deleted.
(WebKit::WebContext::processSuppressionPreferenceIsEnabledForAllContexts): Deleted.

  • removed.
10:58 AM Changeset in webkit [177290] by bshafiei@apple.com
  • 3 edits in tags/Safari-600.3.12.1/Source/WebCore

Merged r177254. rdar://problem/19189948

10:57 AM Changeset in webkit [177289] by Bem Jones-Bey
  • 4 edits in trunk/Source/WebCore

[CSS Shapes] Fix StyleBuilder code to use CSSValueNone to match spec and other code
https://bugs.webkit.org/show_bug.cgi?id=139601

Reviewed by Chris Dumez.

Change the code to properly use CSSValueNone instead of CSSValueAuto.
Asserts have been added to catch similar errors in the future.
In doing this change, it became apparent that there is nothing
special about the shape-outside property that requires custom code, so
it was changed to use a standard converter function.

No change observable via LayoutTests.

  • css/CSSPropertyNames.in: Use a converter instead of custom code.
  • css/StyleBuilderConverter.h:

(WebCore::isImageShape): Helper function so that isImageSetValue can

be properly guarded.

(WebCore::StyleBuilderConverter::convertShapeValue): Format as a

converter instead of custom code.

  • css/StyleBuilderCustom.h:

(WebCore::StyleBuilderCustom::applyValueWebkitShapeOutside): Deleted.

10:57 AM Changeset in webkit [177288] by bshafiei@apple.com
  • 5 edits in tags/Safari-600.3.12.1/Source

Versioning.

10:49 AM Changeset in webkit [177287] by bshafiei@apple.com
  • 1 copy in tags/Safari-600.3.12.1

New tag.

10:48 AM Changeset in webkit [177286] by bshafiei@apple.com
  • 5 edits in tags/Safari-601.1.12.2/Source

Versioning.

10:32 AM Changeset in webkit [177285] by bshafiei@apple.com
  • 1 copy in tags/Safari-601.1.12.2

New tag.

10:04 AM Changeset in webkit [177284] by oliver@apple.com
  • 29 edits
    1 add in trunk/Source

Make sure range based iteration of Vector<> still receives bounds checking
https://bugs.webkit.org/show_bug.cgi?id=138821

Reviewed by Mark Lam.

Source/JavaScriptCore:

Update code to deal with slightly changed iterator semantics.

  • bytecode/UnlinkedCodeBlock.cpp:

(JSC::UnlinkedCodeBlock::visitChildren):

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitComplexPopScopes):

  • dfg/DFGSpeculativeJIT.cpp:

(JSC::DFG::SpeculativeJIT::emitSwitchIntJump):

  • ftl/FTLAbbreviations.h:

(JSC::FTL::mdNode):
(JSC::FTL::buildCall):

  • llint/LLIntData.cpp:

(JSC::LLInt::Data::performAssertions):

  • parser/Parser.h:

(JSC::Scope::Scope):

  • runtime/JSArray.cpp:

(JSC::JSArray::setLengthWithArrayStorage):
(JSC::JSArray::sortCompactedVector):

  • tools/ProfileTreeNode.h:

(JSC::ProfileTreeNode::dumpInternal):

  • yarr/YarrJIT.cpp:

(JSC::Yarr::YarrGenerator::matchCharacterClass):

Source/WebCore:

Update to deal with different iterator type.

  • bindings/js/SerializedScriptValue.cpp:

(WebCore::CloneDeserializer::deserializeString):

  • editing/TextIterator.cpp:

(WebCore::SearchBuffer::isBadMatch):

  • page/mac/ServicesOverlayController.mm:

(WebCore::ServicesOverlayController::buildSelectionHighlight):

  • platform/graphics/SegmentedFontData.cpp:

(WebCore::SegmentedFontData::fontDataForCharacter):
(WebCore::SegmentedFontData::containsCharacter):
(WebCore::SegmentedFontData::isLoading):

  • platform/graphics/WOFFFileFormat.cpp:

(WebCore::convertWOFFToSfnt):

  • platform/graphics/cairo/GradientCairo.cpp:

(WebCore::Gradient::platformGradient):

  • platform/image-decoders/gif/GIFImageDecoder.cpp:

(WebCore::GIFImageDecoder::clearFrameBufferCache):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::paintFillLayers):

  • rendering/style/GridResolvedPosition.cpp:

(WebCore::firstNamedGridLineBeforePosition):
(WebCore::GridResolvedPosition::resolveRowEndColumnEndNamedGridLinePositionAgainstOppositePosition):

  • svg/SVGFontElement.cpp:

(WebCore::kerningForPairOfStringsAndGlyphs):

  • svg/SVGPathByteStream.h:

(WebCore::SVGPathByteStream::append):

  • xml/XPathNodeSet.h:

(WebCore::XPath::NodeSet::begin):
(WebCore::XPath::NodeSet::end):

Source/WTF:

Add a new IndexedIterator struct to WTF that wraps a
Vector type and index to provide pointer like semantics
while still performing runtime bounds checking, even in
release builds. We store a simple index into the vector
which means that this iterator allows vector resizing
during iteration. If the vector is resized such that the
iterator is out of bounds, then any attempt to dereference
the iterator will crash safely.

For the purpose of retaining semantically equivalent
behaviour, the iterator can be moved to m_index == size()
as that is the standard "end" terminator for these types.
Attempting to dereference at that point will still crash
rather than perform an unsafe memory operation.

By necessity there are many overrides for operator + and - as
we otherwise hit many different type promotion ambiguities when
performing arithmetic with iterators. These ambiguities are also
different for 32- vs. 64-bit, so duplicating the functions
and then forwarding to the core implementations that performed
the bounds checking and mutation seemed like the right call.

  • WTF.vcxproj/WTF.vcxproj:
  • WTF.vcxproj/WTF.vcxproj.filters:
  • WTF.xcodeproj/project.pbxproj:
  • wtf/IndexedIterator.h: Added.

(WTF::IndexedIterator::IndexedIterator):
(WTF::IndexedIterator::operator->):
(WTF::IndexedIterator::operator*):
(WTF::IndexedIterator::get):
(WTF::IndexedIterator::operator++):
(WTF::IndexedIterator::operator--):
(WTF::IndexedIterator::operator UnspecifiedBoolType):
(WTF::IndexedIterator::operator-):
(WTF::IndexedIterator::operator=):
(WTF::IndexedIterator::operator==):
(WTF::IndexedIterator::operator!=):
(WTF::IndexedIterator::operator<):
(WTF::IndexedIterator::operator<=):
(WTF::IndexedIterator::operator>):
(WTF::IndexedIterator::operator>=):
(WTF::IndexedIterator::operator const_iterator):
(WTF::IndexedIterator::unsafeGet):
(WTF::getPtr):
(WTF::operator-):
(WTF::operator==):
(WTF::operator!=):
(WTF::operator<=):
(WTF::operator>=):
(WTF::operator<):
(WTF::operator>):
(WTF::IndexedIteratorSelector::makeIterator):
(WTF::IndexedIteratorSelector::makeConstIterator):

  • wtf/RefCountedArray.h:

(WTF::RefCountedArray::RefCountedArray):

  • wtf/Vector.h:

(WTF::Vector::Vector):
(WTF::Vector::begin):
(WTF::Vector::end):
(WTF::OverflowHandler>::Vector):
(WTF::=):
(WTF::OverflowHandler>::fill):
(WTF::OverflowHandler>::expandCapacity):
(WTF::OverflowHandler>::tryExpandCapacity):
(WTF::OverflowHandler>::resize):
(WTF::OverflowHandler>::shrink):
(WTF::OverflowHandler>::grow):
(WTF::OverflowHandler>::reserveCapacity):
(WTF::OverflowHandler>::tryReserveCapacity):
(WTF::OverflowHandler>::shrinkCapacity):
(WTF::OverflowHandler>::append):
(WTF::OverflowHandler>::tryAppend):
(WTF::OverflowHandler>::appendSlowCase):
(WTF::OverflowHandler>::uncheckedAppend):
(WTF::OverflowHandler>::appendVector):
(WTF::OverflowHandler>::insert):
(WTF::OverflowHandler>::insertVector):
(WTF::OverflowHandler>::remove):

10:02 AM Changeset in webkit [177283] by ap@apple.com
  • 5 edits
    3 moves
    3 adds
    1 delete in trunk/LayoutTests

http/tests/misc/webtiming-origins.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=91314

Reviewed by Anders Carlsson.

This test had three subframes, each being an individual test with waitUntilDone/notifyDone.
How crazy was that?

  • http/tests/misc/resources/webtiming-cross-origin-and-back1.html: Removed.
  • http/tests/misc/resources/webtiming-cross-origin-redirect.php: Removed.
  • http/tests/misc/resources/webtiming-no-origin.html: Removed.
  • http/tests/misc/webtiming-cross-origin-and-back1-expected.txt: Added.
  • http/tests/misc/webtiming-cross-origin-and-back1.html: Copied from LayoutTests/http/tests/misc/resources/webtiming-cross-origin-and-back1.html.
  • http/tests/misc/webtiming-cross-origin-redirect-expected.txt: Added.
  • http/tests/misc/webtiming-cross-origin-redirect.php: Copied from LayoutTests/http/tests/misc/resources/webtiming-cross-origin-redirect.php.
  • http/tests/misc/webtiming-no-origin-expected.txt: Added.
  • http/tests/misc/webtiming-no-origin.html: Copied from LayoutTests/http/tests/misc/resources/webtiming-no-origin.html.
  • http/tests/misc/webtiming-origins.html: Removed.
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/win/TestExpectations:
  • platform/wincairo/TestExpectations:
9:59 AM Changeset in webkit [177282] by Chris Dumez
  • 4 edits in trunk/Source/WebCore

Move '-webkit-text-decoration-skip' to the new StyleBuilder
https://bugs.webkit.org/show_bug.cgi?id=139633

Reviewed by Darin Adler.

Move '-webkit-text-decoration-skip' to the new StyleBuilder by
introducing a new TextDecorationSkip converter.

No new tests, no behavior change.

  • css/CSSPropertyNames.in:
  • css/DeprecatedStyleBuilder.cpp:

(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
(WebCore::valueToDecorationSkip): Deleted.
(WebCore::ApplyPropertyTextDecorationSkip::applyValue): Deleted.
(WebCore::ApplyPropertyTextDecorationSkip::createHandler): Deleted.

  • css/StyleBuilderConverter.h:

(WebCore::StyleBuilderConverter::valueToDecorationSkip):
(WebCore::StyleBuilderConverter::convertTextDecorationSkip):

9:29 AM Changeset in webkit [177281] by commit-queue@webkit.org
  • 4 edits
    2 adds in trunk

[MSE] Prevent SourceBuffer monitoring algorithm from triggering a HAVE_NOTHING to HAVE_METADATA transition.
https://bugs.webkit.org/show_bug.cgi?id=139444

Patch by Bartlomiej Gajda <b.gajda@samsung.com> on 2014-12-15
Reviewed by Jer Noble.

Source/WebCore:

In case of 2 SourceBuffers, there can be transition to HaveMetadata from monitorSourceBuffers,
even though second SourceBuffer did not receive init segment - we can't query for it's metadata
such as width/height (if second one was video), so we shouldn't fire the event.
W3 Bug reference : https://www.w3.org/Bugs/Public/show_bug.cgi?id=27542

Test: media/media-source/media-source-loadedmetada-with-two-sourcebuffers.html

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::monitorSourceBuffers):

  • Modules/mediasource/SourceBuffer.h:
  • platform/mock/mediasource/MockMediaPlayerMediaSource.cpp:

(WebCore::mimeTypeCache):

LayoutTests:

Added test to check how many active SourceBuffers exist when loadedmetadata fires,
according to spec 3.5.7, this should be equal to number of sourcebuffers.

  • media/media-source/media-source-loadedmetada-with-two-sourcebuffers-expected.txt: Added.
  • media/media-source/media-source-loadedmetada-with-two-sourcebuffers.html: Added.
9:17 AM Changeset in webkit [177280] by gyuyoung.kim@samsung.com
  • 16 edits in trunk/Source/WebCore

Move WebCore/platform/text to std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=139395

Reviewed by Darin Adler.

As a step to use std::unique_ptr<>, this patch replaces OwnPtr|PassOwnPtr with
std::unique_ptr<> | std::make_unique<>.

  • dom/Document.h:
  • platform/text/LineBreakIteratorPoolICU.h:

(WebCore::LineBreakIteratorPool::LineBreakIteratorPool):
(WebCore::LineBreakIteratorPool::create): Deleted.

  • platform/text/LocaleICU.cpp:

(WebCore::Locale::create):
(WebCore::LocaleICU::createLabelVector):
(WebCore::createFallbackMonthLabels):
(WebCore::createFallbackAMPMLabels):
(WebCore::LocaleICU::initializeDateTimeFormat):
(WebCore::LocaleICU::shortMonthLabels):
(WebCore::LocaleICU::create): Deleted.
(WebCore::LocaleICU::standAloneMonthLabels): Deleted.
(WebCore::LocaleICU::shortStandAloneMonthLabels): Deleted.

  • platform/text/LocaleICU.h:
  • platform/text/LocaleNone.cpp:

(WebCore::Locale::create):

  • platform/text/PlatformLocale.h:

(WebCore::Locale::createDefault):

  • platform/text/TextCodecLatin1.cpp:
  • platform/text/TextCodecUTF16.cpp:
  • platform/text/TextEncoding.cpp:
  • platform/text/mac/LocaleMac.h:
  • platform/text/mac/LocaleMac.mm:

(WebCore::Locale::create):
(WebCore::LocaleMac::create):

  • platform/text/mac/TextCodecMac.cpp:
  • platform/text/win/LocaleWin.cpp:

(WebCore::Locale::create):
(WebCore::LocaleWin::create):

  • platform/text/win/LocaleWin.h:
  • platform/text/win/TextCodecWin.cpp:

(WebCore::newTextCodecWin):

7:38 AM Changeset in webkit [177279] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebCore

[GStreamer] the webkitwebsrc element can stale
https://bugs.webkit.org/show_bug.cgi?id=138425

Patch by Xavier Claessens <xavier.claessens@collabora.com> on 2014-12-15
Reviewed by Philippe Normand.

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:

(removeTimeoutSources):
(webKitWebSrcStart):
(webKitWebSrcChangeState):

5:41 AM Changeset in webkit [177278] by Carlos Garcia Campos
  • 4 edits in trunk/Source/WebKit2

[GTK] Use API::LoaderClient instead of WKPageLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=139583

Reviewed by Gustavo Noronha Silva.

It simplifies the code and it will make easier to implement new
loader client methods.

  • UIProcess/API/gtk/WebKitBackForwardList.cpp:

(webkitBackForwardListChanged):

  • UIProcess/API/gtk/WebKitBackForwardListPrivate.h:
  • UIProcess/API/gtk/WebKitLoaderClient.cpp:

(LoaderClient::LoaderClient):
(attachLoaderClientToView):
(didStartProvisionalLoadForFrame): Deleted.
(didReceiveServerRedirectForProvisionalLoadForFrame): Deleted.
(didFailProvisionalLoadWithErrorForFrame): Deleted.
(didCommitLoadForFrame): Deleted.
(didFinishLoadForFrame): Deleted.
(didFailLoadWithErrorForFrame): Deleted.
(didDisplayInsecureContentForFrame): Deleted.
(didRunInsecureContentForFrame): Deleted.
(didChangeBackForwardList): Deleted.
(didReceiveAuthenticationChallengeInFrame): Deleted.
(processDidCrash): Deleted.

5:40 AM Changeset in webkit [177277] by Carlos Garcia Campos
  • 2 edits in trunk/Source/WebCore/platform/gtk/po

[GTK] build fails with error: xgettext: Non-ASCII string at ../../../WebKit2/UIProcess/API/gtk/WebKitAuthenticationDialog.cpp:131.
https://bugs.webkit.org/show_bug.cgi?id=139620

Reviewed by Gustavo Noronha Silva.

  • CMakeLists.txt: Pass --from-code=UTF-8 to xgettext.
2:39 AM Changeset in webkit [177276] by yoon@igalia.com
  • 2 edits
    7 adds in trunk/Source/WebKit2

Add initial implementation of ThreadSafeCoordinatedSurface, ThreadedCompositor, and SimpleViewportController
https://bugs.webkit.org/show_bug.cgi?id=118383

Reviewed by Martin Robinson.

Implements an initial version of the Threaded Compositor.

Threaded Compositor is a variant of Coordinated Graphics implementation.
Basic structure of the implementaion is simliar, thus, Threaded
Compositor reuses lots of classes from Coordinated Graphics. However,
instead of compositing on UI Process, Threaded Compositor performs
compositing on a dedicate thread of Web Process.

No new test, because it is in experimental stage.

  • Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:

(WebKit::CoordinatedGraphicsScene::CoordinatedGraphicsScene):
Removed a assertion not to force its creation in the main thread. In
the Threaded Compositor, it can be created in the dedicated thread.

  • Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.cpp: Added.
  • Shared/CoordinatedGraphics/threadedcompositor/ThreadSafeCoordinatedSurface.h: Added.

Implements a surface using ImageBuffer as a backend to use in the Web
Process.

  • Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: Added.
  • Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: Added.

Implements a compositor which runs on the created thread. It owns
SimpleViewportController and CoordinatedGraphicsScene to render scene on the
actual surface.

  • Shared/CoordinatedGraphics/SimpleViewportController.cpp: Added.
  • Shared/CoordinatedGraphics/SimpleViewportController.h: Added.

This class is responsible to handle scale factor and scrolling position
with a simplifed logic in the compositing thread.

1:58 AM Changeset in webkit [177275] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebCore

[GTK] Remove GamepadDeviceGtk::create()
https://bugs.webkit.org/show_bug.cgi?id=139637

Reviewed by Carlos Garcia Campos.

std::make_unique<> can replace GamepadDeviceGtk::create() factory function.

  • platform/gtk/GamepadsGtk.cpp: Add "explicit" to GamepadsGtk constructor.

(WebCore::GamepadsGtk::registerDevice):
(WebCore::GamepadDeviceGtk::create): Deleted.

1:50 AM Changeset in webkit [177274] by Chris Dumez
  • 4 edits in trunk/Source/WebCore

Move 'counter-increment' / 'counter-reset' to the new StyleBuilder
https://bugs.webkit.org/show_bug.cgi?id=139635

Reviewed by Antti Koivisto.

Move 'counter-increment' / 'counter-reset' to the new StyleBuilder by
using custom code.

No new tests, no behavior change.

  • css/CSSPropertyNames.in:
  • css/DeprecatedStyleBuilder.cpp:

(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
(WebCore::ApplyPropertyCounter::emptyFunction): Deleted.
(WebCore::ApplyPropertyCounter::applyInheritValue): Deleted.
(WebCore::ApplyPropertyCounter::applyValue): Deleted.
(WebCore::ApplyPropertyCounter::createHandler): Deleted.

  • css/StyleBuilderCustom.h:

(WebCore::StyleBuilderCustom::applyInitialCounterIncrement):
(WebCore::StyleBuilderCustom::applyInitialCounterReset):
(WebCore::StyleBuilderCustom::applyInheritCounter):
(WebCore::StyleBuilderCustom::applyValueCounter):
(WebCore::StyleBuilderCustom::applyInheritCounterIncrement):
(WebCore::StyleBuilderCustom::applyValueCounterIncrement):
(WebCore::StyleBuilderCustom::applyInheritCounterReset):
(WebCore::StyleBuilderCustom::applyValueCounterReset):

Dec 14, 2014:

10:40 PM Changeset in webkit [177273] by ap@apple.com
  • 2 edits in trunk/LayoutTests

Add some more slow tests to TestExpectations.

10:27 PM Changeset in webkit [177272] by ap@apple.com
  • 2 edits in trunk/LayoutTests

svg/filters/svg-deeply-nested-crash.html is slow in debug builds
https://bugs.webkit.org/show_bug.cgi?id=139638

Marked it as such. Also, added [ Debug ] to other tests that are slow in debug only.

9:03 PM Changeset in webkit [177271] by ap@apple.com
  • 2 edits in trunk/LayoutTests

jquery/manipulation.html is very slow in debug builds, frequently timing out
https://bugs.webkit.org/show_bug.cgi?id=61932

Several fast/selectors tests are very slow in debug
https://bugs.webkit.org/show_bug.cgi?id=139634

7:49 PM Changeset in webkit [177270] by fpizlo@apple.com
  • 3 edits
    1 add in trunk/Source/JavaScriptCore

PutLocalSinkingPhase has an invalid assertion about incoming values, because both liveness and deferral analyses are conservative
https://bugs.webkit.org/show_bug.cgi?id=139630

Reviewed by Oliver Hunt.

Replaces a faulty assertion with code to handle an awesome special case. Also adds a lot of
comments that reconstruct my reasoning about this code. I had to work hard to remember how
deferral worked so I wrote my discoveries down.

  • dfg/DFGInsertionSet.h:

(JSC::DFG::InsertionSet::insertBottomConstantForUse):

  • dfg/DFGPutLocalSinkingPhase.cpp:
  • tests/stress/put-local-conservative.js: Added.

(foo):
(.result):
(bar):

6:50 PM Changeset in webkit [177269] by commit-queue@webkit.org
  • 7 edits in trunk/Source/WebCore

Unreviewed, rolling out r177238 and r177244.
https://bugs.webkit.org/show_bug.cgi?id=139632

Introduced memory corruption (Requested by ap on #webkit).

Reverted changesets:

"REGRESSION (r168217): Images are cropped out during animation
at jetblue.com"
https://bugs.webkit.org/show_bug.cgi?id=136410
http://trac.webkit.org/changeset/177238

https://bugs.webkit.org/show_bug.cgi?id=139596
http://trac.webkit.org/changeset/177244

6:38 PM Changeset in webkit [177268] by ap@apple.com
  • 3 edits in trunk/LayoutTests

Tests with infinite recursion frequently crash
https://bugs.webkit.org/show_bug.cgi?id=139548

Added another affected test, generalized expectations to be cross-platform.

6:30 PM Changeset in webkit [177267] by ap@apple.com
  • 3 edits in trunk/LayoutTests

Mac test expectations gardening.

Fixed lint failures, moved a flakiness expectation that was overriding a Skip.

6:01 PM Changeset in webkit [177266] by commit-queue@webkit.org
  • 30 edits
    35 deletes in trunk

Unreviewed, rolling out r177223 and r177226.
https://bugs.webkit.org/show_bug.cgi?id=139631

Multiple tests are flakily asserting in
StyleResolver::loadPendingResources (Requested by ap_ on
#webkit).

Reverted changesets:

"[SVG Masking] Enable the use of <mask> elements for -webkit-
mask-image"
https://bugs.webkit.org/show_bug.cgi?id=139294
http://trac.webkit.org/changeset/177223

"animations/cross-fade-webkit-mask-image.html is flaky"
https://bugs.webkit.org/show_bug.cgi?id=139590
http://trac.webkit.org/changeset/177226

11:02 AM Changeset in webkit [177265] by Chris Dumez
  • 4 edits in trunk/LayoutTests

fast/images/animated-gif-body-outside-viewport.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=139599

Reviewed by Alexey Proskuryakov.

Update fast/images/animated-gif-body-outside-viewport.html to use
shouldBecomeEqual() instead of a setTimeout() + shouldBe() to fix
the flakiness.

  • fast/images/animated-gif-body-outside-viewport-expected.txt:
  • fast/images/animated-gif-body-outside-viewport.html:
  • platform/mac-wk1/TestExpectations:
4:23 AM Changeset in webkit [177264] by akling@apple.com
  • 65 edits in trunk/Source

Event construction helpers should return Ref instead of PassRefPtr.
<https://webkit.org/b/139625>

Reviewed by Antti Koivisto.

Change all the FooEvent::create() construction helpers to return Ref<FooEvent>
instead of PassRefPtr<FooEvent>.

This allows the compiler to omit null checks at each call site, since we know
that these functions always return valid objects.

  • Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:

(WebCore::WebKitPlaybackTargetAvailabilityEvent::create):

  • Modules/encryptedmedia/MediaKeyMessageEvent.h:

(WebCore::MediaKeyMessageEvent::create):

  • Modules/encryptedmedia/MediaKeyNeededEvent.h:

(WebCore::MediaKeyNeededEvent::create):

  • Modules/gamepad/GamepadEvent.h:

(WebCore::GamepadEvent::create):

  • Modules/indexeddb/IDBVersionChangeEvent.h:

(WebCore::IDBVersionChangeEvent::create):

  • Modules/indieui/UIRequestEvent.cpp:

(WebCore::UIRequestEvent::create):

  • Modules/indieui/UIRequestEvent.h:
  • Modules/mediastream/MediaStreamEvent.cpp:

(WebCore::MediaStreamEvent::create):

  • Modules/mediastream/MediaStreamEvent.h:
  • Modules/mediastream/MediaStreamTrackEvent.cpp:

(WebCore::MediaStreamTrackEvent::create):

  • Modules/mediastream/MediaStreamTrackEvent.h:
  • Modules/mediastream/RTCDTMFToneChangeEvent.cpp:

(WebCore::RTCDTMFToneChangeEvent::create):

  • Modules/mediastream/RTCDTMFToneChangeEvent.h:
  • Modules/mediastream/RTCDataChannelEvent.cpp:

(WebCore::RTCDataChannelEvent::create):

  • Modules/mediastream/RTCDataChannelEvent.h:
  • Modules/mediastream/RTCIceCandidateEvent.cpp:

(WebCore::RTCIceCandidateEvent::create):

  • Modules/mediastream/RTCIceCandidateEvent.h:
  • Modules/speech/SpeechSynthesisEvent.cpp:

(WebCore::SpeechSynthesisEvent::create):

  • Modules/speech/SpeechSynthesisEvent.h:
  • Modules/webaudio/AudioProcessingEvent.cpp:

(WebCore::AudioProcessingEvent::create):

  • Modules/webaudio/AudioProcessingEvent.h:
  • Modules/webaudio/OfflineAudioCompletionEvent.cpp:

(WebCore::OfflineAudioCompletionEvent::create):

  • Modules/webaudio/OfflineAudioCompletionEvent.h:
  • Modules/websockets/CloseEvent.h:

(WebCore::CloseEvent::create):

  • dom/AnimationEvent.h:
  • dom/AutocompleteErrorEvent.h:
  • dom/BeforeLoadEvent.h:
  • dom/BeforeTextInsertedEvent.h:
  • dom/BeforeUnloadEvent.h:
  • dom/ClipboardEvent.h:
  • dom/CompositionEvent.h:
  • dom/CustomEvent.h:
  • dom/DeviceMotionEvent.h:
  • dom/DeviceOrientationEvent.h:
  • dom/ErrorEvent.h:
  • dom/Event.h:

(WebCore::Event::create):

  • dom/FocusEvent.h:
  • dom/HashChangeEvent.h:
  • dom/KeyboardEvent.h:
  • dom/MessageEvent.h:
  • dom/MouseEvent.cpp:

(WebCore::MouseEvent::create):
(WebCore::SimulatedMouseEvent::create):

  • dom/MouseEvent.h:

(WebCore::MouseEvent::create):

  • dom/MutationEvent.h:
  • dom/OverflowEvent.h:
  • dom/PageTransitionEvent.h:
  • dom/PopStateEvent.cpp:

(WebCore::PopStateEvent::create):

  • dom/PopStateEvent.h:
  • dom/ProgressEvent.h:

(WebCore::ProgressEvent::create):

  • dom/TextEvent.cpp:

(WebCore::TextEvent::create):
(WebCore::TextEvent::createForPlainTextPaste):
(WebCore::TextEvent::createForFragmentPaste):
(WebCore::TextEvent::createForDrop):
(WebCore::TextEvent::createForDictation):

  • dom/TextEvent.h:
  • dom/TouchEvent.h:
  • dom/TransitionEvent.h:
  • dom/UIEvent.h:

(WebCore::UIEvent::create):

  • dom/WebKitAnimationEvent.h:
  • dom/WebKitTransitionEvent.h:
  • dom/WheelEvent.h:
  • html/MediaKeyEvent.h:
  • html/canvas/WebGLContextEvent.h:
  • html/track/TrackEvent.h:
  • storage/StorageEvent.cpp:

(WebCore::StorageEvent::create):

  • storage/StorageEvent.h:
  • svg/SVGZoomEvent.h:

(WebCore::SVGZoomEvent::create):

  • xml/XMLHttpRequestProgressEvent.h:

(WebCore::XMLHttpRequestProgressEvent::create):

2:58 AM Changeset in webkit [177263] by rniwa@webkit.org
  • 4 edits
    2 adds in trunk

REGRESSION(r160182): Fragment parser doesn't close a form element with a close tag
https://bugs.webkit.org/show_bug.cgi?id=139561

Reviewed by Darin Adler.

Source/WebCore:

The bug was caused by us not setting the form pointer in insertHTMLFormElement.
Since we already avoid associating a form inside HTMLConstructionSite::createHTMLElement,
we didn't need this code at all.

Fixed the bug by partially reverting r160182.

Test: fast/dom/dom-parse-close-form.html

  • html/parser/HTMLConstructionSite.cpp:

(WebCore::HTMLConstructionSite::insertHTMLFormElement):
(WebCore::HTMLConstructionSite::insideTemplateElement): Deleted.

  • html/parser/HTMLConstructionSite.h:

LayoutTests:

Added a regression test.

  • fast/dom/dom-parse-close-form-expected.txt: Added.
  • fast/dom/dom-parse-close-form.html: Added.
2:02 AM Changeset in webkit [177262] by akling@apple.com
  • 2 edits in trunk/Source/WebCore

Fix build even more. Not a strong performance here.

  • platform/graphics/Font.cpp:

(WebCore::FontGlyphsCacheEntry::FontGlyphsCacheEntry):
(WebCore::retrieveOrAddCachedFontGlyphs):

1:50 AM Changeset in webkit [177261] by akling@apple.com
  • 3 edits in trunk/Source/WebCore

Fix build. :-|

  • css/CSSFunctionValue.cpp:

(WebCore::CSSFunctionValue::CSSFunctionValue):

  • css/CSSFunctionValue.h:
1:34 AM Changeset in webkit [177260] by akling@apple.com
  • 6 edits in trunk/Source

Minor follow-up tweaks suggested by Darin on bug 139587.

Source/WebCore:

  • css/CSSFunctionValue.h:

(WebCore::CSSFunctionValue::create):

  • platform/graphics/Font.cpp:

(WebCore::retrieveOrAddCachedFontGlyphs):
(WebCore::FontGlyphsCacheEntry::FontGlyphsCacheEntry): Deleted.

  • rendering/RenderScrollbarPart.h:

Source/WTF:

  • wtf/text/WTFString.h:

(WTF::String::String):

12:21 AM Changeset in webkit [177259] by akling@apple.com
  • 599 edits in trunk

Replace PassRef with Ref/Ref&& across the board.
<https://webkit.org/b/139587>

Reviewed by Darin Adler.

Source/JavaScriptCore:

  • runtime/Identifier.cpp:

(JSC::Identifier::add):
(JSC::Identifier::add8):

  • runtime/Identifier.h:

(JSC::Identifier::add):

  • runtime/IdentifierInlines.h:

(JSC::Identifier::add):

Source/WebCore:

  • Modules/battery/BatteryManager.cpp:

(WebCore::BatteryManager::create):

  • Modules/battery/BatteryManager.h:
  • Modules/battery/BatteryStatus.cpp:

(WebCore::BatteryStatus::create):

  • Modules/battery/BatteryStatus.h:
  • Modules/gamepad/GamepadButton.h:

(WebCore::GamepadButton::create):

  • Modules/gamepad/NavigatorGamepad.cpp:

(WebCore::NavigatorGamepad::gamepadFromPlatformGamepad):

  • Modules/gamepad/NavigatorGamepad.h:
  • Modules/gamepad/deprecated/GamepadList.h:

(WebCore::GamepadList::create):

  • Modules/geolocation/Geolocation.cpp:

(WebCore::Geolocation::create):

  • Modules/geolocation/Geolocation.h:

(WebCore::Geolocation::GeoNotifier::create):

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::setPrivateAndOpen):

  • Modules/mediasource/MediaSource.h:
  • Modules/mediasource/SourceBuffer.cpp:

(WebCore::SourceBuffer::create):
(WebCore::SourceBuffer::SourceBuffer):

  • Modules/mediasource/SourceBuffer.h:
  • Modules/mediastream/UserMediaClient.h:
  • Modules/mediastream/UserMediaController.h:

(WebCore::UserMediaController::requestPermission):

  • Modules/notifications/Notification.cpp:

(WebCore::Notification::create):

  • Modules/notifications/Notification.h:
  • Modules/notifications/NotificationCenter.cpp:

(WebCore::NotificationCenter::create):

  • Modules/notifications/NotificationCenter.h:
  • Modules/plugins/PluginReplacement.h:
  • Modules/plugins/QuickTimePluginReplacement.h:
  • Modules/plugins/QuickTimePluginReplacement.mm:

(WebCore::QuickTimePluginReplacement::createElementRenderer):

  • Modules/plugins/YouTubePluginReplacement.cpp:

(WebCore::YouTubePluginReplacement::createElementRenderer):

  • Modules/plugins/YouTubePluginReplacement.h:
  • Modules/proximity/DeviceProximityEvent.h:

(WebCore::DeviceProximityEvent::create):

  • WebCore.exp.in:
  • css/BasicShapeFunctions.cpp:

(WebCore::valueForBasicShape):
(WebCore::basicShapeForValue):

  • css/BasicShapeFunctions.h:
  • css/CSSAspectRatioValue.h:

(WebCore::CSSAspectRatioValue::create):

  • css/CSSBorderImage.cpp:

(WebCore::createBorderImageValue):

  • css/CSSBorderImage.h:
  • css/CSSBorderImageSliceValue.h:

(WebCore::CSSBorderImageSliceValue::create):

  • css/CSSCalculationValue.cpp:

(WebCore::determineCategory):

  • css/CSSCalculationValue.h:

(WebCore::CSSCalcValue::CSSCalcValue):
(WebCore::CSSCalcValue::createCalculationValue):

  • css/CSSCanvasValue.h:

(WebCore::CSSCanvasValue::create):

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::valueForImageSliceSide):
(WebCore::valueForNinePieceImageSlice):
(WebCore::valueForNinePieceImageQuad):
(WebCore::valueForNinePieceImageRepeat):
(WebCore::valueForNinePieceImage):
(WebCore::zoomAdjustedPixelValue):
(WebCore::zoomAdjustedNumberValue):
(WebCore::zoomAdjustedPixelValueForLength):
(WebCore::valueForReflection):
(WebCore::createPositionListForLayer):
(WebCore::percentageOrZoomAdjustedValue):
(WebCore::autoOrZoomAdjustedValue):
(WebCore::getBorderRadiusCornerValues):
(WebCore::getBorderRadiusCornerValue):
(WebCore::getBorderRadiusShorthandValue):
(WebCore::matrixTransformValue):
(WebCore::computedTransform):
(WebCore::adjustLengthForZoom):
(WebCore::ComputedStyleExtractor::valueForShadow):
(WebCore::ComputedStyleExtractor::valueForFilter):
(WebCore::specifiedValueForGridTrackBreadth):
(WebCore::specifiedValueForGridTrackSize):
(WebCore::valueForGridTrackList):
(WebCore::valueForGridPosition):
(WebCore::createTransitionPropertyValue):
(WebCore::getTransitionPropertyValue):
(WebCore::scrollSnapDestination):
(WebCore::scrollSnapPoints):
(WebCore::scrollSnapCoordinates):
(WebCore::getDelayValue):
(WebCore::getDurationValue):
(WebCore::createTimingFunctionValue):
(WebCore::getTimingFunctionValue):
(WebCore::createLineBoxContainValue):
(WebCore::valueForFamily):
(WebCore::renderTextDecorationFlagsToCSSValue):
(WebCore::renderTextDecorationStyleFlagsToCSSValue):
(WebCore::renderTextDecorationSkipFlagsToCSSValue):
(WebCore::renderEmphasisPositionFlagsToCSSValue):
(WebCore::fillRepeatToCSSValue):
(WebCore::fillSourceTypeToCSSValue):
(WebCore::fillSizeToCSSValue):
(WebCore::altTextToCSSValue):
(WebCore::contentToCSSValue):
(WebCore::fontFamilyFromStyle):
(WebCore::lineHeightFromStyle):
(WebCore::fontSizeFromStyle):
(WebCore::fontStyleFromStyle):
(WebCore::fontVariantFromStyle):
(WebCore::fontWeightFromStyle):
(WebCore::CSSComputedStyleDeclaration::copyProperties):
(WebCore::shapePropertyValue):
(WebCore::ComputedStyleExtractor::copyProperties):
(WebCore::ComputedStyleExtractor::copyPropertiesInSet):

  • css/CSSComputedStyleDeclaration.h:
  • css/CSSCrossfadeValue.h:

(WebCore::CSSCrossfadeValue::create):

  • css/CSSCursorImageValue.cpp:

(WebCore::CSSCursorImageValue::CSSCursorImageValue):

  • css/CSSCursorImageValue.h:

(WebCore::CSSCursorImageValue::create):

  • css/CSSFilterImageValue.h:

(WebCore::CSSFilterImageValue::create):

  • css/CSSFontFaceSrcValue.h:

(WebCore::CSSFontFaceSrcValue::create):
(WebCore::CSSFontFaceSrcValue::createLocal):

  • css/CSSFontFeatureValue.h:

(WebCore::CSSFontFeatureValue::create):

  • css/CSSFontValue.h:

(WebCore::CSSFontValue::create):

  • css/CSSFunctionValue.h:

(WebCore::CSSFunctionValue::create):

  • css/CSSGradientValue.h:

(WebCore::CSSLinearGradientValue::create):
(WebCore::CSSLinearGradientValue::clone):
(WebCore::CSSRadialGradientValue::create):
(WebCore::CSSRadialGradientValue::clone):

  • css/CSSGridTemplateAreasValue.h:

(WebCore::CSSGridTemplateAreasValue::create):

  • css/CSSImageSetValue.h:

(WebCore::CSSImageSetValue::create):

  • css/CSSImageValue.h:

(WebCore::CSSImageValue::create):

  • css/CSSInheritedValue.h:

(WebCore::CSSInheritedValue::create):

  • css/CSSInitialValue.h:

(WebCore::CSSInitialValue::createExplicit):
(WebCore::CSSInitialValue::createImplicit):

  • css/CSSKeyframeRule.cpp:

(WebCore::StyleKeyframe::StyleKeyframe):

  • css/CSSKeyframeRule.h:

(WebCore::StyleKeyframe::create):

  • css/CSSKeyframesRule.h:

(WebCore::StyleRuleKeyframes::create):
(WebCore::StyleRuleKeyframes::copy):

  • css/CSSLineBoxContainValue.h:

(WebCore::CSSLineBoxContainValue::create):

  • css/CSSParser.cpp:

(WebCore::createPrimitiveValuePair):
(WebCore::CSSParser::parseInlineStyleDeclaration):
(WebCore::CSSParser::parseDeclaration):
(WebCore::CSSParser::createStyleProperties):
(WebCore::CSSParser::createPrimitiveNumericValue):
(WebCore::CSSParser::createPrimitiveStringValue):
(WebCore::CSSParser::addFillValue):
(WebCore::CSSParser::addAnimationValue):

  • css/CSSParser.h:
  • css/CSSPrimitiveValue.cpp:

(WebCore::CSSPrimitiveValue::formatNumberValue):

  • css/CSSPrimitiveValue.h:

(WebCore::CSSPrimitiveValue::createIdentifier):
(WebCore::CSSPrimitiveValue::createParserOperator):
(WebCore::CSSPrimitiveValue::createColor):
(WebCore::CSSPrimitiveValue::create):
(WebCore::CSSPrimitiveValue::createAllowingMarginQuirk):

  • css/CSSReflectValue.h:

(WebCore::CSSReflectValue::create):

  • css/CSSShadowValue.h:

(WebCore::CSSShadowValue::create):

  • css/CSSStyleDeclaration.h:
  • css/CSSStyleSheet.cpp:

(WebCore::CSSStyleSheet::create):
(WebCore::CSSStyleSheet::createInline):
(WebCore::CSSStyleSheet::CSSStyleSheet):

  • css/CSSStyleSheet.h:
  • css/CSSTimingFunctionValue.h:

(WebCore::CSSCubicBezierTimingFunctionValue::create):
(WebCore::CSSStepsTimingFunctionValue::create):

  • css/CSSUnicodeRangeValue.h:

(WebCore::CSSUnicodeRangeValue::create):

  • css/CSSValue.cpp:

(WebCore::TextCloneCSSValue::create):

  • css/CSSValueList.h:

(WebCore::CSSValueList::createCommaSeparated):
(WebCore::CSSValueList::createSpaceSeparated):
(WebCore::CSSValueList::createSlashSeparated):
(WebCore::CSSValueList::createFromParserValueList):
(WebCore::CSSValueList::append):
(WebCore::CSSValueList::prepend):

  • css/CSSValuePool.cpp:

(WebCore::CSSValuePool::createIdentifierValue):
(WebCore::CSSValuePool::createColorValue):
(WebCore::CSSValuePool::createValue):
(WebCore::CSSValuePool::createFontFamilyValue):

  • css/CSSValuePool.h:

(WebCore::CSSValuePool::createInheritedValue):
(WebCore::CSSValuePool::createImplicitInitialValue):
(WebCore::CSSValuePool::createExplicitInitialValue):
(WebCore::CSSValuePool::createValue):

  • css/PropertySetCSSStyleDeclaration.cpp:

(WebCore::PropertySetCSSStyleDeclaration::copyProperties):

  • css/PropertySetCSSStyleDeclaration.h:
  • css/StyleProperties.cpp:

(WebCore::ImmutableStyleProperties::create):
(WebCore::StyleProperties::immutableCopyIfNeeded):
(WebCore::StyleProperties::copyBlockProperties):
(WebCore::StyleProperties::mutableCopy):
(WebCore::StyleProperties::copyPropertiesInSet):
(WebCore::MutableStyleProperties::create):

  • css/StyleProperties.h:
  • css/StyleResolver.cpp:

(WebCore::StyleResolver::State::setStyle):
(WebCore::StyleResolver::styleForElement):
(WebCore::StyleResolver::styleForKeyframe):
(WebCore::StyleResolver::styleForPage):
(WebCore::StyleResolver::defaultStyleForElement):

  • css/StyleResolver.h:

(WebCore::StyleResolver::State::takeStyle):
(WebCore::StyleResolver::State::setParentStyle):

  • css/StyleRule.cpp:

(WebCore::StyleRuleBase::copy):
(WebCore::StyleRule::StyleRule):
(WebCore::StyleRule::create):
(WebCore::StyleRulePage::StyleRulePage):
(WebCore::StyleRuleFontFace::StyleRuleFontFace):
(WebCore::StyleRuleGroup::wrapperInsertRule):
(WebCore::StyleRuleViewport::StyleRuleViewport):

  • css/StyleRule.h:

(WebCore::StyleRule::create):
(WebCore::StyleRule::copy):
(WebCore::StyleRuleFontFace::create):
(WebCore::StyleRuleFontFace::copy):
(WebCore::StyleRulePage::create):
(WebCore::StyleRulePage::copy):
(WebCore::StyleRuleMedia::create):
(WebCore::StyleRuleMedia::copy):
(WebCore::StyleRuleSupports::create):
(WebCore::StyleRuleSupports::copy):
(WebCore::StyleRuleRegion::create):
(WebCore::StyleRuleRegion::copy):
(WebCore::StyleRuleViewport::create):
(WebCore::StyleRuleViewport::copy):

  • css/StyleRuleImport.cpp:

(WebCore::StyleRuleImport::create):

  • css/StyleRuleImport.h:
  • css/StyleSheetContents.h:

(WebCore::StyleSheetContents::create):
(WebCore::StyleSheetContents::copy):

  • css/WebKitCSSFilterValue.h:

(WebCore::WebKitCSSFilterValue::create):

  • css/WebKitCSSResourceValue.h:

(WebCore::WebKitCSSResourceValue::create):

  • css/WebKitCSSTransformValue.h:

(WebCore::WebKitCSSTransformValue::create):

  • dom/ChildNodeList.h:
  • dom/ClassNodeList.cpp:

(WebCore::ClassNodeList::create):

  • dom/ClassNodeList.h:
  • dom/Document.cpp:

(WebCore::Document::styleForElementIgnoringPendingStylesheets):

  • dom/Document.h:
  • dom/DocumentSharedObjectPool.cpp:

(WebCore::DocumentSharedObjectPool::cachedShareableElementDataWithAttributes):

  • dom/DocumentSharedObjectPool.h:
  • dom/DocumentStyleSheetCollection.cpp:

(WebCore::DocumentStyleSheetCollection::addAuthorSheet):
(WebCore::DocumentStyleSheetCollection::addUserSheet):

  • dom/DocumentStyleSheetCollection.h:
  • dom/Element.cpp:

(WebCore::Element::createElementRenderer):

  • dom/Element.h:
  • dom/ElementData.cpp:

(WebCore::ShareableElementData::createWithAttributes):
(WebCore::UniqueElementData::create):
(WebCore::ElementData::makeUniqueCopy):
(WebCore::UniqueElementData::makeShareableCopy):

  • dom/ElementData.h:
  • dom/ElementRareData.h:

(WebCore::ElementRareData::setComputedStyle):

  • dom/NameNodeList.h:
  • dom/NamedFlowCollection.cpp:

(WebCore::NamedFlowCollection::ensureFlowWithName):

  • dom/NamedFlowCollection.h:
  • dom/NodeRareData.h:

(WebCore::NodeListsNodeData::ensureChildNodeList):
(WebCore::NodeListsNodeData::ensureEmptyChildNodeList):
(WebCore::NodeListsNodeData::addCacheWithAtomicName):
(WebCore::NodeListsNodeData::addCacheWithQualifiedName):
(WebCore::NodeListsNodeData::addCachedCollection):

  • dom/PseudoElement.cpp:

(WebCore::PseudoElement::didRecalcStyle):

  • dom/QualifiedName.h:

(WebCore::QualifiedName::QualifiedNameImpl::create):

  • dom/TagNodeList.h:
  • html/BaseButtonInputType.cpp:

(WebCore::BaseButtonInputType::createInputRenderer):

  • html/BaseButtonInputType.h:
  • html/FileInputType.cpp:

(WebCore::FileInputType::createInputRenderer):

  • html/FileInputType.h:
  • html/HTMLAllCollection.cpp:

(WebCore::HTMLAllCollection::create):

  • html/HTMLAllCollection.h:
  • html/HTMLAppletElement.cpp:

(WebCore::HTMLAppletElement::createElementRenderer):

  • html/HTMLAppletElement.h:
  • html/HTMLBRElement.cpp:

(WebCore::HTMLBRElement::createElementRenderer):

  • html/HTMLBRElement.h:
  • html/HTMLButtonElement.cpp:

(WebCore::HTMLButtonElement::createElementRenderer):

  • html/HTMLButtonElement.h:
  • html/HTMLCanvasElement.cpp:

(WebCore::HTMLCanvasElement::createElementRenderer):

  • html/HTMLCanvasElement.h:
  • html/HTMLCollection.cpp:

(WebCore::HTMLCollection::create):

  • html/HTMLCollection.h:
  • html/HTMLDetailsElement.cpp:

(WebCore::HTMLDetailsElement::createElementRenderer):

  • html/HTMLDetailsElement.h:
  • html/HTMLElement.cpp:

(WebCore::HTMLElement::createElementRenderer):

  • html/HTMLElement.h:
  • html/HTMLFieldSetElement.cpp:

(WebCore::HTMLFieldSetElement::createElementRenderer):

  • html/HTMLFieldSetElement.h:
  • html/HTMLFormControlsCollection.cpp:

(WebCore::HTMLFormControlsCollection::create):

  • html/HTMLFormControlsCollection.h:
  • html/HTMLFrameElement.cpp:

(WebCore::HTMLFrameElement::createElementRenderer):

  • html/HTMLFrameElement.h:
  • html/HTMLFrameSetElement.cpp:

(WebCore::HTMLFrameSetElement::createElementRenderer):

  • html/HTMLFrameSetElement.h:
  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::createElementRenderer):

  • html/HTMLIFrameElement.h:
  • html/HTMLImageElement.cpp:

(WebCore::HTMLImageElement::createElementRenderer):

  • html/HTMLImageElement.h:
  • html/HTMLInputElement.cpp:

(WebCore::HTMLInputElement::createElementRenderer):

  • html/HTMLInputElement.h:
  • html/HTMLLinkElement.cpp:

(WebCore::HTMLLinkElement::setCSSStyleSheet):

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::parseAttribute):

  • html/HTMLMediaElement.h:
  • html/HTMLMeterElement.cpp:

(WebCore::HTMLMeterElement::createElementRenderer):

  • html/HTMLMeterElement.h:
  • html/HTMLNameCollection.h:
  • html/HTMLOptionsCollection.cpp:

(WebCore::HTMLOptionsCollection::create):

  • html/HTMLOptionsCollection.h:
  • html/HTMLPlugInElement.cpp:

(WebCore::HTMLPlugInElement::createElementRenderer):

  • html/HTMLPlugInElement.h:
  • html/HTMLPlugInImageElement.cpp:

(WebCore::HTMLPlugInImageElement::createElementRenderer):

  • html/HTMLPlugInImageElement.h:
  • html/HTMLProgressElement.cpp:

(WebCore::HTMLProgressElement::createElementRenderer):

  • html/HTMLProgressElement.h:
  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::createElementRenderer):

  • html/HTMLSelectElement.h:
  • html/HTMLSummaryElement.cpp:

(WebCore::HTMLSummaryElement::createElementRenderer):

  • html/HTMLSummaryElement.h:
  • html/HTMLTableRowsCollection.cpp:

(WebCore::HTMLTableRowsCollection::create):

  • html/HTMLTableRowsCollection.h:
  • html/HTMLTextAreaElement.cpp:

(WebCore::HTMLTextAreaElement::createElementRenderer):

  • html/HTMLTextAreaElement.h:
  • html/HTMLVideoElement.cpp:

(WebCore::HTMLVideoElement::createElementRenderer):

  • html/HTMLVideoElement.h:
  • html/HTMLWBRElement.cpp:

(WebCore::HTMLWBRElement::createElementRenderer):

  • html/HTMLWBRElement.h:
  • html/HiddenInputType.cpp:

(WebCore::HiddenInputType::createInputRenderer):

  • html/HiddenInputType.h:
  • html/ImageInputType.cpp:

(WebCore::ImageInputType::createInputRenderer):

  • html/ImageInputType.h:
  • html/InputType.cpp:

(WebCore::InputType::createInputRenderer):

  • html/InputType.h:
  • html/LabelsNodeList.h:
  • html/RadioNodeList.h:
  • html/RangeInputType.cpp:

(WebCore::RangeInputType::createInputRenderer):

  • html/RangeInputType.h:
  • html/SearchInputType.cpp:

(WebCore::SearchInputType::createInputRenderer):

  • html/SearchInputType.h:
  • html/TextFieldInputType.cpp:

(WebCore::TextFieldInputType::createInputRenderer):

  • html/TextFieldInputType.h:
  • html/shadow/DetailsMarkerControl.cpp:

(WebCore::DetailsMarkerControl::createElementRenderer):

  • html/shadow/DetailsMarkerControl.h:
  • html/shadow/MediaControlElements.cpp:

(WebCore::MediaControlTimelineContainerElement::createElementRenderer):
(WebCore::MediaControlVolumeSliderContainerElement::createElementRenderer):
(WebCore::MediaControlTextTrackContainerElement::createElementRenderer):

  • html/shadow/MediaControlElements.h:
  • html/shadow/MeterShadowElement.cpp:

(WebCore::MeterInnerElement::createElementRenderer):

  • html/shadow/MeterShadowElement.h:
  • html/shadow/ProgressShadowElement.cpp:

(WebCore::ProgressInnerElement::createElementRenderer):

  • html/shadow/ProgressShadowElement.h:
  • html/shadow/SliderThumbElement.cpp:

(WebCore::RenderSliderThumb::RenderSliderThumb):
(WebCore::SliderThumbElement::createElementRenderer):
(WebCore::SliderContainerElement::createElementRenderer):

  • html/shadow/SliderThumbElement.h:
  • html/shadow/TextControlInnerElements.cpp:

(WebCore::TextControlInnerContainer::createElementRenderer):
(WebCore::TextControlInnerTextElement::createElementRenderer):

  • html/shadow/TextControlInnerElements.h:
  • html/shadow/mac/ImageControlsButtonElementMac.cpp:

(WebCore::RenderImageControlsButton::RenderImageControlsButton):
(WebCore::ImageControlsButtonElementMac::createElementRenderer):

  • html/shadow/mac/ImageControlsButtonElementMac.h:
  • html/shadow/mac/ImageControlsRootElementMac.cpp:

(WebCore::RenderImageControls::RenderImageControls):
(WebCore::ImageControlsRootElementMac::createElementRenderer):

  • html/shadow/mac/ImageControlsRootElementMac.h:
  • html/track/VTTCue.cpp:

(WebCore::VTTCueBox::createElementRenderer):

  • html/track/VTTCue.h:
  • loader/cache/CachedCSSStyleSheet.cpp:

(WebCore::CachedCSSStyleSheet::saveParsedStyleSheet):

  • loader/cache/CachedCSSStyleSheet.h:
  • loader/cache/CachedResourceLoader.h:

(WebCore::CachedResourceLoader::create):

  • mathml/MathMLInlineContainerElement.cpp:

(WebCore::MathMLInlineContainerElement::createElementRenderer):

  • mathml/MathMLInlineContainerElement.h:
  • mathml/MathMLMathElement.cpp:

(WebCore::MathMLMathElement::createElementRenderer):

  • mathml/MathMLMathElement.h:
  • mathml/MathMLMencloseElement.cpp:

(WebCore::MathMLMencloseElement::createElementRenderer):

  • mathml/MathMLMencloseElement.h:
  • mathml/MathMLSelectElement.cpp:

(WebCore::MathMLSelectElement::createElementRenderer):

  • mathml/MathMLSelectElement.h:
  • mathml/MathMLTextElement.cpp:

(WebCore::MathMLTextElement::createElementRenderer):

  • mathml/MathMLTextElement.h:
  • page/Page.cpp:

(WebCore::Page::setStorageNamespaceProvider):
(WebCore::Page::setVisitedLinkStore):

  • page/Page.h:
  • page/UserMessageHandler.h:

(WebCore::UserMessageHandler::create):

  • page/UserMessageHandlersNamespace.h:

(WebCore::UserMessageHandlersNamespace::create):

  • page/animation/AnimationController.cpp:

(WebCore::AnimationControllerPrivate::addElementChangeToDispatch):
(WebCore::AnimationController::updateAnimations):

  • page/animation/AnimationController.h:
  • page/animation/AnimationControllerPrivate.h:
  • page/animation/CompositeAnimation.cpp:

(WebCore::CompositeAnimation::animate):

  • page/animation/CompositeAnimation.h:
  • platform/CalculationValue.cpp:

(WebCore::CalculationValue::create):

  • platform/CalculationValue.h:
  • platform/Length.cpp:

(WebCore::CalculationValueMap::insert):
(WebCore::Length::Length):

  • platform/Length.h:
  • platform/graphics/Font.cpp:

(WebCore::FontGlyphsCacheEntry::FontGlyphsCacheEntry):
(WebCore::retrieveOrAddCachedFontGlyphs):

  • platform/graphics/FontGlyphs.h:

(WebCore::FontGlyphs::create):
(WebCore::FontGlyphs::createForPlatformFont):

  • platform/graphics/Gradient.h:

(WebCore::Gradient::create):

  • platform/graphics/GraphicsContext.cpp:

(WebCore::GraphicsContext::setStrokePattern):
(WebCore::GraphicsContext::setFillPattern):
(WebCore::GraphicsContext::setStrokeGradient):
(WebCore::GraphicsContext::setFillGradient):

  • platform/graphics/GraphicsContext.h:
  • platform/graphics/MediaSourcePrivateClient.h:
  • platform/graphics/Pattern.cpp:

(WebCore::Pattern::create):

  • platform/graphics/Pattern.h:
  • platform/mac/SerializedPlatformRepresentationMac.h:
  • platform/mac/SerializedPlatformRepresentationMac.mm:

(WebCore::SerializedPlatformRepresentationMac::create):

  • platform/mock/UserMediaClientMock.h:

(WebCore::UserMediaClientRequestNotifier::UserMediaClientRequestNotifier):

  • rendering/ClipPathOperation.h:
  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::RenderBlock):

  • rendering/RenderBlock.h:
  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::RenderBlockFlow):

  • rendering/RenderBlockFlow.h:
  • rendering/RenderBox.cpp:

(WebCore::RenderBox::RenderBox):

  • rendering/RenderBox.h:
  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::RenderBoxModelObject):

  • rendering/RenderBoxModelObject.h:
  • rendering/RenderButton.cpp:

(WebCore::RenderButton::RenderButton):

  • rendering/RenderButton.h:
  • rendering/RenderDeprecatedFlexibleBox.cpp:

(WebCore::RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox):

  • rendering/RenderDeprecatedFlexibleBox.h:
  • rendering/RenderDetailsMarker.cpp:

(WebCore::RenderDetailsMarker::RenderDetailsMarker):

  • rendering/RenderDetailsMarker.h:
  • rendering/RenderElement.cpp:

(WebCore::RenderElement::RenderElement):
(WebCore::RenderElement::createFor):
(WebCore::RenderElement::setStyle):

  • rendering/RenderElement.h:

(WebCore::RenderElement::setStyleInternal):
(WebCore::RenderElement::setAnimatableStyle):

  • rendering/RenderEmbeddedObject.cpp:

(WebCore::RenderEmbeddedObject::RenderEmbeddedObject):
(WebCore::RenderEmbeddedObject::createForApplet):

  • rendering/RenderEmbeddedObject.h:
  • rendering/RenderFieldset.cpp:

(WebCore::RenderFieldset::RenderFieldset):

  • rendering/RenderFieldset.h:
  • rendering/RenderFileUploadControl.cpp:

(WebCore::RenderFileUploadControl::RenderFileUploadControl):

  • rendering/RenderFileUploadControl.h:
  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::RenderFlexibleBox):

  • rendering/RenderFlexibleBox.h:
  • rendering/RenderFlowThread.cpp:

(WebCore::RenderFlowThread::RenderFlowThread):
(WebCore::RenderFlowThread::createFlowThreadStyle):

  • rendering/RenderFlowThread.h:
  • rendering/RenderFrame.cpp:

(WebCore::RenderFrame::RenderFrame):

  • rendering/RenderFrame.h:
  • rendering/RenderFrameBase.cpp:

(WebCore::RenderFrameBase::RenderFrameBase):

  • rendering/RenderFrameBase.h:
  • rendering/RenderFrameSet.cpp:

(WebCore::RenderFrameSet::RenderFrameSet):

  • rendering/RenderFrameSet.h:
  • rendering/RenderFullScreen.cpp:

(WebCore::RenderFullScreen::RenderFullScreen):
(WebCore::createFullScreenStyle):
(WebCore::RenderFullScreen::createPlaceholder):

  • rendering/RenderFullScreen.h:
  • rendering/RenderGrid.cpp:

(WebCore::RenderGrid::RenderGrid):

  • rendering/RenderGrid.h:
  • rendering/RenderHTMLCanvas.cpp:

(WebCore::RenderHTMLCanvas::RenderHTMLCanvas):

  • rendering/RenderHTMLCanvas.h:
  • rendering/RenderIFrame.cpp:

(WebCore::RenderIFrame::RenderIFrame):

  • rendering/RenderIFrame.h:
  • rendering/RenderImage.cpp:

(WebCore::RenderImage::RenderImage):

  • rendering/RenderImage.h:
  • rendering/RenderInline.cpp:

(WebCore::RenderInline::RenderInline):

  • rendering/RenderInline.h:
  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::calculateClipRects):

  • rendering/RenderLayer.h:
  • rendering/RenderLayerModelObject.cpp:

(WebCore::RenderLayerModelObject::RenderLayerModelObject):

  • rendering/RenderLayerModelObject.h:
  • rendering/RenderLineBreak.cpp:

(WebCore::RenderLineBreak::RenderLineBreak):

  • rendering/RenderLineBreak.h:
  • rendering/RenderListBox.cpp:

(WebCore::RenderListBox::RenderListBox):

  • rendering/RenderListBox.h:
  • rendering/RenderListItem.cpp:

(WebCore::RenderListItem::RenderListItem):

  • rendering/RenderListItem.h:
  • rendering/RenderListMarker.cpp:

(WebCore::RenderListMarker::RenderListMarker):

  • rendering/RenderListMarker.h:
  • rendering/RenderMedia.cpp:

(WebCore::RenderMedia::RenderMedia):

  • rendering/RenderMedia.h:
  • rendering/RenderMediaControlElements.cpp:

(WebCore::RenderMediaVolumeSliderContainer::RenderMediaVolumeSliderContainer):
(WebCore::RenderMediaControlTimelineContainer::RenderMediaControlTimelineContainer):
(WebCore::RenderTextTrackContainerElement::RenderTextTrackContainerElement):

  • rendering/RenderMediaControlElements.h:
  • rendering/RenderMenuList.cpp:

(WebCore::RenderMenuList::RenderMenuList):

  • rendering/RenderMenuList.h:
  • rendering/RenderMeter.cpp:

(WebCore::RenderMeter::RenderMeter):

  • rendering/RenderMeter.h:
  • rendering/RenderMultiColumnFlowThread.cpp:

(WebCore::RenderMultiColumnFlowThread::RenderMultiColumnFlowThread):

  • rendering/RenderMultiColumnFlowThread.h:
  • rendering/RenderMultiColumnSet.cpp:

(WebCore::RenderMultiColumnSet::RenderMultiColumnSet):

  • rendering/RenderMultiColumnSet.h:
  • rendering/RenderMultiColumnSpannerPlaceholder.cpp:

(WebCore::RenderMultiColumnSpannerPlaceholder::RenderMultiColumnSpannerPlaceholder):

  • rendering/RenderMultiColumnSpannerPlaceholder.h:
  • rendering/RenderNamedFlowFragment.cpp:

(WebCore::RenderNamedFlowFragment::RenderNamedFlowFragment):
(WebCore::RenderNamedFlowFragment::createStyle):

  • rendering/RenderNamedFlowFragment.h:
  • rendering/RenderNamedFlowThread.cpp:

(WebCore::RenderNamedFlowThread::RenderNamedFlowThread):

  • rendering/RenderNamedFlowThread.h:
  • rendering/RenderProgress.cpp:

(WebCore::RenderProgress::RenderProgress):

  • rendering/RenderProgress.h:
  • rendering/RenderQuote.cpp:

(WebCore::RenderQuote::RenderQuote):

  • rendering/RenderQuote.h:
  • rendering/RenderRegion.cpp:

(WebCore::RenderRegion::RenderRegion):

  • rendering/RenderRegion.h:
  • rendering/RenderRegionSet.cpp:

(WebCore::RenderRegionSet::RenderRegionSet):

  • rendering/RenderRegionSet.h:
  • rendering/RenderReplaced.cpp:

(WebCore::RenderReplaced::RenderReplaced):

  • rendering/RenderReplaced.h:
  • rendering/RenderReplica.cpp:

(WebCore::RenderReplica::RenderReplica):

  • rendering/RenderReplica.h:
  • rendering/RenderRuby.cpp:

(WebCore::RenderRubyAsInline::RenderRubyAsInline):
(WebCore::RenderRubyAsBlock::RenderRubyAsBlock):

  • rendering/RenderRuby.h:
  • rendering/RenderRubyBase.cpp:

(WebCore::RenderRubyBase::RenderRubyBase):

  • rendering/RenderRubyBase.h:
  • rendering/RenderRubyRun.cpp:

(WebCore::RenderRubyRun::RenderRubyRun):

  • rendering/RenderRubyRun.h:
  • rendering/RenderRubyText.cpp:

(WebCore::RenderRubyText::RenderRubyText):

  • rendering/RenderRubyText.h:
  • rendering/RenderScrollbarPart.cpp:

(WebCore::RenderScrollbarPart::RenderScrollbarPart):

  • rendering/RenderScrollbarPart.h:
  • rendering/RenderSearchField.cpp:

(WebCore::RenderSearchField::RenderSearchField):

  • rendering/RenderSearchField.h:
  • rendering/RenderSlider.cpp:

(WebCore::RenderSlider::RenderSlider):

  • rendering/RenderSlider.h:
  • rendering/RenderSnapshottedPlugIn.cpp:

(WebCore::RenderSnapshottedPlugIn::RenderSnapshottedPlugIn):

  • rendering/RenderSnapshottedPlugIn.h:
  • rendering/RenderTable.cpp:

(WebCore::RenderTable::RenderTable):

  • rendering/RenderTable.h:
  • rendering/RenderTableCaption.cpp:

(WebCore::RenderTableCaption::RenderTableCaption):

  • rendering/RenderTableCaption.h:
  • rendering/RenderTableCell.cpp:

(WebCore::RenderTableCell::RenderTableCell):

  • rendering/RenderTableCell.h:
  • rendering/RenderTableCol.cpp:

(WebCore::RenderTableCol::RenderTableCol):

  • rendering/RenderTableCol.h:
  • rendering/RenderTableRow.cpp:

(WebCore::RenderTableRow::RenderTableRow):

  • rendering/RenderTableRow.h:
  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::RenderTableSection):

  • rendering/RenderTableSection.h:
  • rendering/RenderTextControl.cpp:

(WebCore::RenderTextControl::RenderTextControl):

  • rendering/RenderTextControl.h:
  • rendering/RenderTextControlMultiLine.cpp:

(WebCore::RenderTextControlMultiLine::RenderTextControlMultiLine):
(WebCore::RenderTextControlMultiLine::createInnerTextStyle):

  • rendering/RenderTextControlMultiLine.h:
  • rendering/RenderTextControlSingleLine.cpp:

(WebCore::RenderTextControlSingleLine::RenderTextControlSingleLine):
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):
(WebCore::RenderTextControlSingleLine::createInnerBlockStyle):

  • rendering/RenderTextControlSingleLine.h:
  • rendering/RenderVTTCue.cpp:

(WebCore::RenderVTTCue::RenderVTTCue):

  • rendering/RenderVTTCue.h:
  • rendering/RenderVideo.cpp:

(WebCore::RenderVideo::RenderVideo):

  • rendering/RenderVideo.h:
  • rendering/RenderView.cpp:

(WebCore::RenderView::RenderView):

  • rendering/RenderView.h:
  • rendering/RenderWidget.cpp:

(WebCore::RenderWidget::RenderWidget):

  • rendering/RenderWidget.h:
  • rendering/mathml/RenderMathMLBlock.cpp:

(WebCore::RenderMathMLBlock::RenderMathMLBlock):

  • rendering/mathml/RenderMathMLBlock.h:
  • rendering/mathml/RenderMathMLFenced.cpp:

(WebCore::RenderMathMLFenced::RenderMathMLFenced):

  • rendering/mathml/RenderMathMLFenced.h:
  • rendering/mathml/RenderMathMLFraction.cpp:

(WebCore::RenderMathMLFraction::RenderMathMLFraction):

  • rendering/mathml/RenderMathMLFraction.h:
  • rendering/mathml/RenderMathMLMath.cpp:

(WebCore::RenderMathMLMath::RenderMathMLMath):

  • rendering/mathml/RenderMathMLMath.h:
  • rendering/mathml/RenderMathMLMenclose.cpp:

(WebCore::RenderMathMLMenclose::RenderMathMLMenclose):

  • rendering/mathml/RenderMathMLMenclose.h:
  • rendering/mathml/RenderMathMLOperator.cpp:

(WebCore::RenderMathMLOperator::RenderMathMLOperator):

  • rendering/mathml/RenderMathMLOperator.h:
  • rendering/mathml/RenderMathMLRadicalOperator.cpp:

(WebCore::RenderMathMLRadicalOperator::RenderMathMLRadicalOperator):

  • rendering/mathml/RenderMathMLRadicalOperator.h:
  • rendering/mathml/RenderMathMLRoot.cpp:

(WebCore::RenderMathMLRoot::RenderMathMLRoot):

  • rendering/mathml/RenderMathMLRoot.h:
  • rendering/mathml/RenderMathMLRow.cpp:

(WebCore::RenderMathMLRow::RenderMathMLRow):

  • rendering/mathml/RenderMathMLRow.h:
  • rendering/mathml/RenderMathMLScripts.cpp:

(WebCore::RenderMathMLScripts::RenderMathMLScripts):

  • rendering/mathml/RenderMathMLScripts.h:
  • rendering/mathml/RenderMathMLSpace.cpp:

(WebCore::RenderMathMLSpace::RenderMathMLSpace):

  • rendering/mathml/RenderMathMLSpace.h:
  • rendering/mathml/RenderMathMLSquareRoot.cpp:

(WebCore::RenderMathMLSquareRoot::RenderMathMLSquareRoot):

  • rendering/mathml/RenderMathMLSquareRoot.h:
  • rendering/mathml/RenderMathMLToken.cpp:

(WebCore::RenderMathMLToken::RenderMathMLToken):

  • rendering/mathml/RenderMathMLToken.h:
  • rendering/mathml/RenderMathMLUnderOver.cpp:

(WebCore::RenderMathMLUnderOver::RenderMathMLUnderOver):

  • rendering/mathml/RenderMathMLUnderOver.h:
  • rendering/style/BasicShapes.cpp:

(WebCore::BasicShapeCircle::blend):
(WebCore::BasicShapeEllipse::blend):
(WebCore::BasicShapePolygon::blend):
(WebCore::BasicShapeInset::blend):

  • rendering/style/BasicShapes.h:
  • rendering/style/DataRef.h:

(WebCore::DataRef::DataRef):

  • rendering/style/NinePieceImage.cpp:

(WebCore::NinePieceImageData::copy):

  • rendering/style/NinePieceImage.h:

(WebCore::NinePieceImageData::create):

  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::create):
(WebCore::RenderStyle::createDefaultStyle):
(WebCore::RenderStyle::createAnonymousStyleWithDisplay):
(WebCore::RenderStyle::clone):
(WebCore::RenderStyle::createStyleInheritingFromPseudoStyle):

  • rendering/style/RenderStyle.h:
  • rendering/style/SVGRenderStyle.cpp:

(WebCore::SVGRenderStyle::createDefaultStyle):
(WebCore::SVGRenderStyle::copy):

  • rendering/style/SVGRenderStyle.h:

(WebCore::SVGRenderStyle::create):

  • rendering/style/SVGRenderStyleDefs.cpp:

(WebCore::StyleFillData::copy):
(WebCore::StyleStrokeData::copy):
(WebCore::StyleStopData::copy):
(WebCore::StyleTextData::copy):
(WebCore::StyleMiscData::copy):
(WebCore::StyleShadowSVGData::copy):
(WebCore::StyleResourceData::copy):
(WebCore::StyleInheritedResourceData::copy):
(WebCore::StyleLayoutData::copy):

  • rendering/style/SVGRenderStyleDefs.h:

(WebCore::StyleFillData::create):
(WebCore::StyleStrokeData::create):
(WebCore::StyleStopData::create):
(WebCore::StyleTextData::create):
(WebCore::StyleMiscData::create):
(WebCore::StyleShadowSVGData::create):
(WebCore::StyleResourceData::create):
(WebCore::StyleInheritedResourceData::create):
(WebCore::StyleLayoutData::create):

  • rendering/style/StyleBackgroundData.cpp:

(WebCore::StyleBackgroundData::copy):

  • rendering/style/StyleBackgroundData.h:

(WebCore::StyleBackgroundData::create):

  • rendering/style/StyleBoxData.cpp:

(WebCore::StyleBoxData::copy):

  • rendering/style/StyleBoxData.h:

(WebCore::StyleBoxData::create):

  • rendering/style/StyleDeprecatedFlexibleBoxData.cpp:

(WebCore::StyleDeprecatedFlexibleBoxData::copy):

  • rendering/style/StyleDeprecatedFlexibleBoxData.h:

(WebCore::StyleDeprecatedFlexibleBoxData::create):

  • rendering/style/StyleFilterData.cpp:

(WebCore::StyleFilterData::copy):

  • rendering/style/StyleFilterData.h:

(WebCore::StyleFilterData::create):

  • rendering/style/StyleFlexibleBoxData.cpp:

(WebCore::StyleFlexibleBoxData::copy):

  • rendering/style/StyleFlexibleBoxData.h:

(WebCore::StyleFlexibleBoxData::create):

  • rendering/style/StyleGeneratedImage.cpp:

(WebCore::StyleGeneratedImage::StyleGeneratedImage):

  • rendering/style/StyleGeneratedImage.h:
  • rendering/style/StyleGridData.cpp:

(WebCore::StyleGridData::copy):

  • rendering/style/StyleGridData.h:

(WebCore::StyleGridData::create):

  • rendering/style/StyleGridItemData.cpp:

(WebCore::StyleGridItemData::copy):

  • rendering/style/StyleGridItemData.h:

(WebCore::StyleGridItemData::create):

  • rendering/style/StyleInheritedData.cpp:

(WebCore::StyleInheritedData::copy):

  • rendering/style/StyleInheritedData.h:

(WebCore::StyleInheritedData::create):

  • rendering/style/StyleMarqueeData.cpp:

(WebCore::StyleMarqueeData::copy):

  • rendering/style/StyleMarqueeData.h:

(WebCore::StyleMarqueeData::create):

  • rendering/style/StyleMultiColData.cpp:

(WebCore::StyleMultiColData::copy):

  • rendering/style/StyleMultiColData.h:

(WebCore::StyleMultiColData::create):

  • rendering/style/StyleRareInheritedData.cpp:

(WebCore::StyleRareInheritedData::copy):

  • rendering/style/StyleRareInheritedData.h:

(WebCore::StyleRareInheritedData::create):

  • rendering/style/StyleRareNonInheritedData.cpp:

(WebCore::StyleRareNonInheritedData::copy):

  • rendering/style/StyleRareNonInheritedData.h:

(WebCore::StyleRareNonInheritedData::create):

  • rendering/style/StyleScrollSnapPoints.cpp:

(WebCore::StyleScrollSnapPoints::copy):

  • rendering/style/StyleScrollSnapPoints.h:

(WebCore::StyleScrollSnapPoints::create):

  • rendering/style/StyleSurroundData.cpp:

(WebCore::StyleSurroundData::copy):

  • rendering/style/StyleSurroundData.h:

(WebCore::StyleSurroundData::create):

  • rendering/style/StyleTransformData.cpp:

(WebCore::StyleTransformData::copy):

  • rendering/style/StyleTransformData.h:

(WebCore::StyleTransformData::create):

  • rendering/style/StyleVisualData.cpp:

(WebCore::StyleVisualData::copy):

  • rendering/style/StyleVisualData.h:

(WebCore::StyleVisualData::create):

  • rendering/svg/RenderSVGBlock.cpp:

(WebCore::RenderSVGBlock::RenderSVGBlock):

  • rendering/svg/RenderSVGBlock.h:
  • rendering/svg/RenderSVGContainer.cpp:

(WebCore::RenderSVGContainer::RenderSVGContainer):

  • rendering/svg/RenderSVGContainer.h:
  • rendering/svg/RenderSVGEllipse.cpp:

(WebCore::RenderSVGEllipse::RenderSVGEllipse):

  • rendering/svg/RenderSVGEllipse.h:
  • rendering/svg/RenderSVGForeignObject.cpp:

(WebCore::RenderSVGForeignObject::RenderSVGForeignObject):

  • rendering/svg/RenderSVGForeignObject.h:
  • rendering/svg/RenderSVGGradientStop.cpp:

(WebCore::RenderSVGGradientStop::RenderSVGGradientStop):

  • rendering/svg/RenderSVGGradientStop.h:
  • rendering/svg/RenderSVGHiddenContainer.cpp:

(WebCore::RenderSVGHiddenContainer::RenderSVGHiddenContainer):

  • rendering/svg/RenderSVGHiddenContainer.h:
  • rendering/svg/RenderSVGImage.cpp:

(WebCore::RenderSVGImage::RenderSVGImage):

  • rendering/svg/RenderSVGImage.h:
  • rendering/svg/RenderSVGInline.cpp:

(WebCore::RenderSVGInline::RenderSVGInline):

  • rendering/svg/RenderSVGInline.h:
  • rendering/svg/RenderSVGModelObject.cpp:

(WebCore::RenderSVGModelObject::RenderSVGModelObject):

  • rendering/svg/RenderSVGModelObject.h:
  • rendering/svg/RenderSVGPath.cpp:

(WebCore::RenderSVGPath::RenderSVGPath):

  • rendering/svg/RenderSVGPath.h:
  • rendering/svg/RenderSVGRect.cpp:

(WebCore::RenderSVGRect::RenderSVGRect):

  • rendering/svg/RenderSVGRect.h:
  • rendering/svg/RenderSVGResourceClipper.cpp:

(WebCore::RenderSVGResourceClipper::RenderSVGResourceClipper):

  • rendering/svg/RenderSVGResourceClipper.h:
  • rendering/svg/RenderSVGResourceContainer.cpp:

(WebCore::RenderSVGResourceContainer::RenderSVGResourceContainer):

  • rendering/svg/RenderSVGResourceContainer.h:
  • rendering/svg/RenderSVGResourceFilter.cpp:

(WebCore::RenderSVGResourceFilter::RenderSVGResourceFilter):

  • rendering/svg/RenderSVGResourceFilter.h:
  • rendering/svg/RenderSVGResourceFilterPrimitive.cpp:

(WebCore::RenderSVGResourceFilterPrimitive::RenderSVGResourceFilterPrimitive):

  • rendering/svg/RenderSVGResourceFilterPrimitive.h:
  • rendering/svg/RenderSVGResourceGradient.cpp:

(WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):

  • rendering/svg/RenderSVGResourceGradient.h:
  • rendering/svg/RenderSVGResourceLinearGradient.cpp:

(WebCore::RenderSVGResourceLinearGradient::RenderSVGResourceLinearGradient):

  • rendering/svg/RenderSVGResourceLinearGradient.h:
  • rendering/svg/RenderSVGResourceMarker.cpp:

(WebCore::RenderSVGResourceMarker::RenderSVGResourceMarker):

  • rendering/svg/RenderSVGResourceMarker.h:
  • rendering/svg/RenderSVGResourceMasker.cpp:

(WebCore::RenderSVGResourceMasker::RenderSVGResourceMasker):

  • rendering/svg/RenderSVGResourceMasker.h:
  • rendering/svg/RenderSVGResourcePattern.cpp:

(WebCore::RenderSVGResourcePattern::RenderSVGResourcePattern):

  • rendering/svg/RenderSVGResourcePattern.h:
  • rendering/svg/RenderSVGResourceRadialGradient.cpp:

(WebCore::RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient):

  • rendering/svg/RenderSVGResourceRadialGradient.h:
  • rendering/svg/RenderSVGRoot.cpp:

(WebCore::RenderSVGRoot::RenderSVGRoot):

  • rendering/svg/RenderSVGRoot.h:
  • rendering/svg/RenderSVGShape.cpp:

(WebCore::RenderSVGShape::RenderSVGShape):

  • rendering/svg/RenderSVGShape.h:
  • rendering/svg/RenderSVGTSpan.h:
  • rendering/svg/RenderSVGText.cpp:

(WebCore::RenderSVGText::RenderSVGText):

  • rendering/svg/RenderSVGText.h:
  • rendering/svg/RenderSVGTextPath.cpp:

(WebCore::RenderSVGTextPath::RenderSVGTextPath):

  • rendering/svg/RenderSVGTextPath.h:
  • rendering/svg/RenderSVGTransformableContainer.cpp:

(WebCore::RenderSVGTransformableContainer::RenderSVGTransformableContainer):

  • rendering/svg/RenderSVGTransformableContainer.h:
  • rendering/svg/RenderSVGViewportContainer.cpp:

(WebCore::RenderSVGViewportContainer::RenderSVGViewportContainer):

  • rendering/svg/RenderSVGViewportContainer.h:
  • rendering/svg/SVGTextRunRenderingContext.h:
  • style/StyleResolveForDocument.cpp:

(WebCore::Style::resolveForDocument):

  • style/StyleResolveForDocument.h:
  • style/StyleResolveTree.cpp:

(WebCore::Style::styleForElement):

  • svg/SVGAElement.cpp:

(WebCore::SVGAElement::createElementRenderer):

  • svg/SVGAElement.h:
  • svg/SVGAltGlyphElement.cpp:

(WebCore::SVGAltGlyphElement::createElementRenderer):

  • svg/SVGAltGlyphElement.h:
  • svg/SVGCircleElement.cpp:

(WebCore::SVGCircleElement::createElementRenderer):

  • svg/SVGCircleElement.h:
  • svg/SVGClipPathElement.cpp:

(WebCore::SVGClipPathElement::createElementRenderer):

  • svg/SVGClipPathElement.h:
  • svg/SVGColor.h:

(WebCore::SVGColor::createFromString):
(WebCore::SVGColor::createFromColor):
(WebCore::SVGColor::createCurrentColor):

  • svg/SVGDefsElement.cpp:

(WebCore::SVGDefsElement::createElementRenderer):

  • svg/SVGDefsElement.h:
  • svg/SVGEllipseElement.cpp:

(WebCore::SVGEllipseElement::createElementRenderer):

  • svg/SVGEllipseElement.h:
  • svg/SVGFilterElement.cpp:

(WebCore::SVGFilterElement::createElementRenderer):

  • svg/SVGFilterElement.h:
  • svg/SVGFilterPrimitiveStandardAttributes.cpp:

(WebCore::SVGFilterPrimitiveStandardAttributes::createElementRenderer):

  • svg/SVGFilterPrimitiveStandardAttributes.h:
  • svg/SVGFontFaceNameElement.cpp:

(WebCore::SVGFontFaceNameElement::srcValue):

  • svg/SVGFontFaceNameElement.h:
  • svg/SVGFontFaceUriElement.cpp:

(WebCore::SVGFontFaceUriElement::srcValue):

  • svg/SVGFontFaceUriElement.h:
  • svg/SVGForeignObjectElement.cpp:

(WebCore::SVGForeignObjectElement::createElementRenderer):

  • svg/SVGForeignObjectElement.h:
  • svg/SVGGElement.cpp:

(WebCore::SVGGElement::createElementRenderer):

  • svg/SVGGElement.h:
  • svg/SVGGraphicsElement.cpp:

(WebCore::SVGGraphicsElement::createElementRenderer):

  • svg/SVGGraphicsElement.h:
  • svg/SVGImageElement.cpp:

(WebCore::SVGImageElement::createElementRenderer):

  • svg/SVGImageElement.h:
  • svg/SVGLength.cpp:

(WebCore::SVGLength::toCSSPrimitiveValue):

  • svg/SVGLength.h:
  • svg/SVGLinearGradientElement.cpp:

(WebCore::SVGLinearGradientElement::createElementRenderer):

  • svg/SVGLinearGradientElement.h:
  • svg/SVGMarkerElement.cpp:

(WebCore::SVGMarkerElement::createElementRenderer):

  • svg/SVGMarkerElement.h:
  • svg/SVGMaskElement.cpp:

(WebCore::SVGMaskElement::createElementRenderer):

  • svg/SVGMaskElement.h:
  • svg/SVGPaint.h:

(WebCore::SVGPaint::createUnknown):
(WebCore::SVGPaint::createNone):
(WebCore::SVGPaint::createCurrentColor):
(WebCore::SVGPaint::createColor):
(WebCore::SVGPaint::createURI):
(WebCore::SVGPaint::createURIAndColor):
(WebCore::SVGPaint::createURIAndNone):
(WebCore::SVGPaint::create):

  • svg/SVGPathElement.cpp:

(WebCore::SVGPathElement::createElementRenderer):

  • svg/SVGPathElement.h:
  • svg/SVGPatternElement.cpp:

(WebCore::SVGPatternElement::createElementRenderer):

  • svg/SVGPatternElement.h:
  • svg/SVGRadialGradientElement.cpp:

(WebCore::SVGRadialGradientElement::createElementRenderer):

  • svg/SVGRadialGradientElement.h:
  • svg/SVGRectElement.cpp:

(WebCore::SVGRectElement::createElementRenderer):

  • svg/SVGRectElement.h:
  • svg/SVGSVGElement.cpp:

(WebCore::SVGSVGElement::createElementRenderer):

  • svg/SVGSVGElement.h:
  • svg/SVGStopElement.cpp:

(WebCore::SVGStopElement::createElementRenderer):

  • svg/SVGStopElement.h:
  • svg/SVGSwitchElement.cpp:

(WebCore::SVGSwitchElement::createElementRenderer):

  • svg/SVGSwitchElement.h:
  • svg/SVGSymbolElement.cpp:

(WebCore::SVGSymbolElement::createElementRenderer):

  • svg/SVGSymbolElement.h:
  • svg/SVGTRefElement.cpp:

(WebCore::SVGTRefTargetEventListener::create):
(WebCore::SVGTRefElement::createElementRenderer):

  • svg/SVGTRefElement.h:
  • svg/SVGTSpanElement.cpp:

(WebCore::SVGTSpanElement::createElementRenderer):

  • svg/SVGTSpanElement.h:
  • svg/SVGTextElement.cpp:

(WebCore::SVGTextElement::createElementRenderer):

  • svg/SVGTextElement.h:
  • svg/SVGTextPathElement.cpp:

(WebCore::SVGTextPathElement::createElementRenderer):

  • svg/SVGTextPathElement.h:
  • svg/SVGUseElement.cpp:

(WebCore::SVGUseElement::createElementRenderer):

  • svg/SVGUseElement.h:

Source/WebKit/mac:

  • WebCoreSupport/WebEditorClient.mm:

(WebEditorClient::shouldApplyStyle):

  • WebCoreSupport/WebVisitedLinkStore.h:
  • WebCoreSupport/WebVisitedLinkStore.mm:

(WebVisitedLinkStore::create):

Source/WebKit2:

  • UIProcess/WebBackForwardList.h:

(WebKit::WebBackForwardList::create):

  • UIProcess/WebBatteryManagerProxy.cpp:

(WebKit::WebBatteryManagerProxy::create):

  • UIProcess/WebBatteryManagerProxy.h:
  • UIProcess/WebPageGroup.cpp:

(WebKit::WebPageGroup::createNonNull):

  • UIProcess/WebPageGroup.h:
  • UIProcess/efl/BatteryProvider.cpp:

(BatteryProvider::create):

  • UIProcess/efl/BatteryProvider.h:
  • WebProcess/MediaStream/UserMediaPermissionRequestManager.h:
  • WebProcess/WebCoreSupport/WebEditorClient.cpp:

(WebKit::WebEditorClient::shouldApplyStyle):

  • WebProcess/WebCoreSupport/WebUserMediaClient.cpp:

(WebKit::WebUserMediaClient::requestPermission):

  • WebProcess/WebCoreSupport/WebUserMediaClient.h:
  • WebProcess/WebPage/ViewUpdateDispatcher.cpp:

(WebKit::ViewUpdateDispatcher::create):

  • WebProcess/WebPage/ViewUpdateDispatcher.h:

Source/WTF:

Kill the PassRef class and replace it by Ref/Ref&&.
Usage is simple:

  • For locals and members, keep using Ref<T>.
  • For return types, use Ref<T>.
  • For (ownership-transferring) arguments, use Ref<T>&&.

When passing to a Ref&&, use WTF::move() to mobilize the value
at the call site, e.g:

void myFunction(Ref<Foo>&&);

Ref<Foo> myFoo(Foo::create());
myFunction(WTF::move(myFoo));
'myFoo' is invalid from this point forward.

As you can see, it works a lot like PassRefPtr, but unlike PassRefPtr
it won't surprise you by becoming null *unless* you WTF::move it.

I've also added a Ref::copyRef() for instances where you want to
return a Ref *without* transferring ownership, e.g code like:

Ref<Foo> foo() { return m_foo; }

... now becomes ...

Ref<Foo> foo() { return m_foo.copyRef(); }

This makes it explicit that a refcount bump will occur.

Finally, do note that unlike last year's PassRef, Ref&& does not
require you to move it to avoid leaking; it will clean itself up.

  • wtf/PassRef.h:

(WTF::adopted): Deleted.
(WTF::PassRef<T>::PassRef): Deleted.
(WTF::PassRef<T>::~PassRef): Deleted.
(WTF::PassRef<T>::get): Deleted.
(WTF::PassRef<T>::ptr): Deleted.
(WTF::PassRef<T>::leakRef): Deleted.
(WTF::adoptRef): Deleted.
(WTF::createRefCounted): Deleted.

  • wtf/PassRefPtr.h:

(WTF::PassRefPtr::PassRefPtr):

  • wtf/Ref.h:

(WTF::adopted):
(WTF::Ref::~Ref):
(WTF::Ref::Ref):
(WTF::Ref::operator=):
(WTF::Ref::operator->):
(WTF::Ref::ptr):
(WTF::Ref::get):
(WTF::Ref::operator T&):
(WTF::Ref::operator const T&):
(WTF::Ref<T>::replace):
(WTF::adoptRef):

  • wtf/RefCounter.h:

(WTF::RefCounter::count):

  • wtf/RefPtr.h:

(WTF::RefPtr::releaseNonNull):
(WTF::RefPtr<T>::RefPtr):
(WTF::=):

  • wtf/text/AtomicString.cpp:

(WTF::addToStringTable):
(WTF::AtomicString::add):
(WTF::AtomicString::addFromLiteralData):
(WTF::AtomicString::addSlowCase):

  • wtf/text/AtomicString.h:
  • wtf/text/StringImpl.cpp:

(WTF::StringImpl::createFromLiteral):
(WTF::StringImpl::createWithoutCopying):
(WTF::StringImpl::createUninitializedInternal):
(WTF::StringImpl::createUninitializedInternalNonEmpty):
(WTF::StringImpl::createUninitialized):
(WTF::StringImpl::reallocateInternal):
(WTF::StringImpl::reallocate):
(WTF::StringImpl::createInternal):
(WTF::StringImpl::create):
(WTF::StringImpl::create8BitIfPossible):
(WTF::StringImpl::substring):
(WTF::StringImpl::lower):
(WTF::StringImpl::upper):
(WTF::StringImpl::fill):
(WTF::StringImpl::foldCase):
(WTF::StringImpl::convertToASCIILowercase):
(WTF::StringImpl::stripMatchedCharacters):
(WTF::StringImpl::stripWhiteSpace):
(WTF::StringImpl::removeCharacters):
(WTF::StringImpl::simplifyMatchedCharactersToSpace):
(WTF::StringImpl::simplifyWhiteSpace):
(WTF::StringImpl::replace):
(WTF::StringImpl::adopt):

  • wtf/text/StringImpl.h:

(WTF::StringImpl::create8BitIfPossible):
(WTF::StringImpl::create):
(WTF::StringImpl::createSubstringSharingImpl8):
(WTF::StringImpl::createSubstringSharingImpl):
(WTF::StringImpl::createFromLiteral):
(WTF::StringImpl::createEmptyUnique):
(WTF::StringImpl::adopt):
(WTF::StringImpl::replace):
(WTF::StringImpl::constructInternal<LChar>):
(WTF::StringImpl::constructInternal<UChar>):
(WTF::StringImpl::isolatedCopy):

  • wtf/text/WTFString.h:

(WTF::String::String):

Tools:

  • TestWebKitAPI/Tests/WTF/Ref.cpp:

(TestWebKitAPI::passWithRef):
(TestWebKitAPI::TEST):
(TestWebKitAPI::passWithPassRef): Deleted.

  • TestWebKitAPI/Tests/WTF/RefCounter.cpp:

(TestWebKitAPI::TEST):

  • TestWebKitAPI/Tests/WTF/RefPtr.cpp:

(TestWebKitAPI::TEST):

  • TestWebKitAPI/Tests/WebCore/CalculationValue.cpp:

(TestWebKitAPI::createTestValue):

Dec 13, 2014:

10:44 PM Changeset in webkit [177258] by Alan Bujtas
  • 3 edits
    2 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=139597
rdar://problem/19237334
Fixed positioned pseudo content does not get composited.

Reviewed by Simon Fraser.

This patch ensures that adjustRenderStyle() can access to settings even when Element* is null.

Source/WebCore:

Test: compositing/fixed-positioned-pseudo-content-no-compositing.html

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::adjustRenderStyle):

LayoutTests:

  • compositing/fixed-positioned-pseudo-content-no-compositing-expected.txt: Added.
  • compositing/fixed-positioned-pseudo-content-no-compositing.html: Added.
5:33 PM Changeset in webkit [177257] by bshafiei@apple.com
  • 3 edits in branches/safari-600.3-branch/Source/WebCore

Merged r177254. rdar://problem/19189948

1:22 AM Changeset in webkit [177256] by g.czajkowski@samsung.com
  • 2 edits in trunk/Tools

[EFL] MiniBrowser's window_create may return NULL
https://bugs.webkit.org/show_bug.cgi?id=139585

Reviewed by Gyuyoung Kim.

Move NULL checking before using object which window_create
returns.

  • MiniBrowser/efl/main.c:

(elm_main):

Dec 12, 2014:

5:44 PM Changeset in webkit [177255] by barraclough@apple.com
  • 6 edits in trunk/Source/WebKit2

Split WebPageProxy::m_preventProcessSuppression to track pref/visibility separately
https://bugs.webkit.org/show_bug.cgi?id=139600

Reviewed by Geoff Garen.

Previously WebPageProxy::m_preventProcessSuppression would be set if either the page was visible
or its suppression was disabled by the pref. Instead track these separately. This will make the
user observability state applicable on iOS, too.

Add a new counter to WebContext, and split the counting in WebPageProxy.
::updateProccessSuppressionState continues to track the pref change (which matches its name),
tracking of user observability changes moved to updateActivityToken (which we should further
merge with; it already tracks observability to control process state for iOS).

  • UIProcess/WebContext.cpp:

(WebKit::m_processSuppressionDisabledForPageCounter):

  • added new RefCounter.
  • UIProcess/WebContext.h:

(WebKit::WebContext::processSuppressionDisabledForPageCount):

  • added new RefCounter.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::reattachToWebProcess):

  • no longer needs to call updateProccessSuppressionState (pref has not changed; handled by the call to updateActivityToken).

(WebKit::WebPageProxy::dispatchViewStateChange):

  • no longer needs to call updateProccessSuppressionState (pref has not changed; handled by the call to updateActivityToken).

(WebKit::WebPageProxy::updateActivityToken):

  • this now also updated the user observability counter.

(WebKit::WebPageProxy::updateProccessSuppressionState):

  • now only tracks whether this is disabled via the preference.

(WebKit::WebPageProxy::resetStateAfterProcessExited):

  • clear the user observability counter; thsi will be reset on reattach.
  • UIProcess/WebPageProxy.h:
    • added new RefCounter::Count.
  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::processSuppressionEnabled):

  • processSuppressionEnabled is disabled if *neither*:
    • there are user observable pages
    • disabled by pref for any page.
5:40 PM Changeset in webkit [177254] by mrowe@apple.com
  • 3 edits in trunk/Source/WebCore

[Mac] Work around a bug in dsymutil on older OS versions
<https://webkit.org/b/139609> / <rdar://problem/16045763>

Older versions of dsymutil are unable to write out more than 2GB of symbols per architecture.
WebCore has recently passed that threshold. To work around this we will reduce the level of
symbols included in the dSYM bundles on the affected OS versions.

Reviewed by Geoff Garen.

  • Configurations/Base.xcconfig: Include line tables only in the debug symbols for production

builds on OS X 10.8 and 10.9.

  • Configurations/DebugRelease.xcconfig: Include full symbols in debug and release builds since they

do not make use of dSYMs.

5:14 PM Changeset in webkit [177253] by Beth Dakin
  • 4 edits in trunk/Source

Need a fake mouse move after hiding data detectors UI
https://bugs.webkit.org/show_bug.cgi?id=139608
-and corresponding-
rdar://problem/19221935

Reviewed by Tim Horton.

Source/WebCore:

  • WebCore.exp.in:

Source/WebKit2:

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::dataDetectorsDidHideUI):

5:06 PM Changeset in webkit [177252] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit2

Handle caches in WebsiteDataStore
https://bugs.webkit.org/show_bug.cgi?id=139607
<rdar://problem/19107614>

Reviewed by Sam Weinig.

  • UIProcess/WebsiteData/WebsiteDataStore.cpp:

(WebKit::computeNetworkProcessAccessType):

4:44 PM Changeset in webkit [177251] by dino@apple.com
  • 2 edits in trunk/Source/WebCore

[Media iOS] Inline video controls have an outlined scrubber
https://bugs.webkit.org/show_bug.cgi?id=139602
<rdar://problem/19184212>

Reviewed by Eric Carlson.

This is another change similar to https://bugs.webkit.org/show_bug.cgi?id=138378
where the specificity of pseduo elements had changed, and thus iOS
was inheriting some of the UA styles.

The fix is to add some more style rules to ensure that the timeline track
is drawn in white.

  • Modules/mediacontrols/mediaControlsiOS.css:

(audio::-webkit-media-controls-timeline): Border rules not needed here.
(video::-webkit-media-controls-timeline::-webkit-slider-runnable-track): But are needed
here, along with some other things.
(audio::-webkit-media-controls-timeline::-webkit-slider-thumb): Now that the runnable
track has some style, we need to account for the change.

4:42 PM Changeset in webkit [177250] by ap@apple.com
  • 2 edits in trunk/LayoutTests

[WebGL] Texture size tests failures
https://bugs.webkit.org/show_bug.cgi?id=131886

  • platform/mac/TestExpectations: Further relax expectations for these tests, as

they also fail on different OS versions and in different ways.

4:37 PM Changeset in webkit [177249] by andersca@apple.com
  • 2 edits in trunk/Source/WebCore

Remove a workaround for a bug that was fixed in Mountain Lion
https://bugs.webkit.org/show_bug.cgi?id=139605

Reviewed by Sam Weinig.

  • WebCorePrefix.h:

(move): Deleted.

4:33 PM Changeset in webkit [177248] by ap@apple.com
  • 2 edits in trunk/LayoutTests

Mark two canvas tests that fail on a new Mac Pro locally.

  • platform/mac/TestExpectations:
4:16 PM Changeset in webkit [177247] by ap@apple.com
  • 3 edits in trunk/LayoutTests

Move expectations for test that hit !m_visibleDescendantStatusDirty assertion,
because locally, this also happens in WK1.

4:00 PM Changeset in webkit [177246] by enrica@apple.com
  • 7 edits in trunk/Source/WebKit2

[iOS] Predictions are not updated when using navigation buttons.
https://bugs.webkit.org/show_bug.cgi?id=139567
rdar://problem/19132585

Reviewed by Dan Bernstein.

When moving focus programmatically, we need to notify the keyboard so that it
can update the prediction bar.

  • UIProcess/WebPageProxy.h:
  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKFormInputSession setAccessoryViewCustomButtonTitle:]):
(-[WKContentView requiresAccessoryView]):
(-[WKContentView inputAssistantButtonItems]):
(-[WKContentView accessoryTab:]):
(-[WKContentView _startAssistingKeyboard]):
(-[WKContentView _stopAssistingNode]):

  • UIProcess/ios/WebPageProxyIOS.mm:

(WebKit::WebPageProxy::focusNextAssistedNode):

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
  • WebProcess/WebPage/ios/WebPageIOS.mm:

(WebKit::WebPage::focusNextAssistedNode):

3:46 PM Changeset in webkit [177245] by mmirman@apple.com
  • 2 edits
    1 add in trunk/Source/JavaScriptCore

shiftCountWithArrayStorage should exit to slow path if the object has a sparse map.
https://bugs.webkit.org/show_bug.cgi?id=139598
<rdar://problem/18779367>

Reviewed by Filip Pizlo.

  • runtime/JSArray.cpp:

(JSC::JSArray::shiftCountWithArrayStorage): Added check for object having a sparse map.

  • tests/stress/sparse_splice.js: Added.
3:38 PM Changeset in webkit [177244] by Simon Fraser
  • 2 edits in trunk/Source/WebCore

REGRESSION (r168217): Images are cropped out during animation at jetblue.com
https://bugs.webkit.org/show_bug.cgi?id=136410

Reviewed by Dean Jackson.

We were hitting the new assertion under Page::setPageScaleFactor(), which
calls recalcStyle(), so move the AnimationUpdateBlock from updateStyleIfNeeded()
to recalcStyle().

  • dom/Document.cpp:

(WebCore::Document::recalcStyle):
(WebCore::Document::updateStyleIfNeeded):

3:35 PM Changeset in webkit [177243] by Alan Bujtas
  • 2 edits in trunk/Source/WebCore

https://bugs.webkit.org/show_bug.cgi?id=139596
Subpixel rendering: REGRESSION (r163272): Fixed positioned pseudo content leaves trails while scrolling.
rdar://problem/18697851

Reviewed by Simon Fraser.

Final repaint rect at FrameView::scrollContentsFastPath needs to be pixel aligned (as opposed to snap to int).
However we can't pixelsnap it until after ScrollView finished transitioning to Float/LayoutRect.
Use enclosing int rect for now to ensure scrolling does not leave trails.

Unable to test. Apparently scrolling clears trails in dumprendertree. (repaint rects are not useful either with scrolling)

  • page/FrameView.cpp:

(WebCore::FrameView::scrollContentsFastPath):

3:16 PM Changeset in webkit [177242] by timothy_horton@apple.com
  • 9 edits in trunk/Source/WebKit2

TextIndicator (and other view-relative subwindows) is not dismissed on zoom gesture
https://bugs.webkit.org/show_bug.cgi?id=139580
<rdar://problem/19226350>

Reviewed by Anders Carlsson.

  • UIProcess/PageClient.h:
  • UIProcess/mac/PageClientImpl.h:
  • UIProcess/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::dismissContentRelativeChildWindows):
(WebKit::PageClientImpl::dismissDictionaryLookupPanel): Deleted.
(WebKit::PageClientImpl::dismissActionMenuPopovers): Deleted.
Merge dismissDictionaryLookupPanel and dismissActionMenuPopovers into
_dismissContentRelativeChildWindows, which also dismisses TextIndicator and the
text correction panel. Dismissal of any child windows which are anchored to
the page content now bottlenecks through this function.

(WebKit::PageClientImpl::navigationGestureDidBegin):
Dismiss all anchored subwindows when starting a navigation gesture, not
just TextIndicator and action menu popovers.

  • UIProcess/API/mac/WKView.mm:

(-[WKView scrollWheel:]):
No need to dismiss TextIndicator here; we've got this covered in the more-inclusive
WebPageProxy::pageDidScroll, and will now dismiss more things.

(-[WKView mouseDown:]):
Dismiss more things.

(-[WKView viewDidMoveToWindow]):
Dismiss more things.

(-[WKView _dismissContentRelativeChildWindows]):
The aforementioned combined dismissal function.

(-[WKView magnifyWithEvent:]):
(-[WKView smartMagnifyWithEvent:]):
(-[WKView setMagnification:centeredAtPoint:]):
(-[WKView setMagnification:]):
Any time the page magnification changes, dismiss all the things.

  • UIProcess/API/mac/WKViewPrivate.h:

Expose _dismissContentRelativeChildWindows instead of _dismissActionMenuPopovers;
for all existing clients, it makes more sense to dismiss all view-relative subwindows
than just a subset of them.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::didCommitLoadForFrame):
(WebKit::WebPageProxy::pageDidScroll):
(WebKit::WebPageProxy::resetStateAfterProcessExited):
Make use of dismissAnchoredSubwindows.

  • UIProcess/mac/WKActionMenuController.h:
  • UIProcess/mac/WKActionMenuController.mm:

(-[WKActionMenuController prepareForMenu:withEvent:]):
Dismiss more things.

(-[WKActionMenuController _defaultMenuItemsForDataDetectedText]):
(-[WKActionMenuController dismissActionMenuPopovers]): Deleted.
dismissActionMenuPopovers is folded into WKView's _dismissContentRelativeChildWindows.

(-[WKActionMenuController _showTextIndicator]): Deleted.
(-[WKActionMenuController _hideTextIndicator]): Deleted.
Fold _showTextIndicator and _hideTextIndicator into their only callers.
_isShowingTextIndicator was never necessary, because it's OK to change
the current TextIndicator at any time, and a newer one is always more relevant.

3:12 PM Changeset in webkit [177241] by barraclough@apple.com
  • 9 edits in trunk/Source/WebKit2

Keep single RefCounter to track whether any pages in a context are process suppressible
https://bugs.webkit.org/show_bug.cgi?id=139576

Reviewed by Sam Weinig.

Currently we keep separate counters in each process, and coallesce these in the
context. Instead we should have a counter in the WebContext.

Also, changed the name to better describe the state we're tracking, rather than
describing what it's currently used for. This counter will also be useful for
iOS, to better manage background state of the networking process.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):

  • initialize m_userObservablePageCounter.
  • UIProcess/WebContext.h:

(WebKit::WebContext::updateProcessSuppressionState):

  • Added no-op implementation for non-cocoa platforms.

(WebKit::WebContext::userObservablePageCount):

  • Count the number of user visible (audible / visible) pages in Context.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::updateProccessSuppressionState):

  • WebProcessProxy::processSuppressionCounter -> WebContext::userObservablePageCount
  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::WebProcessProxy):
(WebKit::WebProcessProxy::didFinishLaunching):

  • moved all processs supression state tracking to the WebContext.
  • UIProcess/WebProcessProxy.h:

(WebKit::WebProcessProxy::processSuppressionCounter): Deleted.

  • moved all processs supression state tracking to the WebContext.
  • UIProcess/ios/WebProcessProxyIOS.mm:

(WebKit::WebProcessProxy::allPagesAreProcessSuppressible): Deleted.
(WebKit::WebProcessProxy::updateProcessSuppressionState): Deleted.

  • moved all processs supression state tracking to the WebContext.
  • UIProcess/mac/WebContextMac.mm:

(WebKit::WebContext::processSuppressionEnabled):

  • no need to interate all processes; just have a single counter.
  • UIProcess/mac/WebProcessProxyMac.mm:

(WebKit::WebProcessProxy::allPagesAreProcessSuppressible): Deleted.
(WebKit::WebProcessProxy::updateProcessSuppressionState): Deleted.

  • moved all processs supression state tracking to the WebContext.
3:04 PM Changeset in webkit [177240] by roger_fong@apple.com
  • 2 edits in trunk/Source/WebKit

[Windows] Unreviewed 64bit build fix.

  • WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
3:03 PM Changeset in webkit [177239] by ap@apple.com
  • 2 edits in trunk/LayoutTests

fast/images/animated-gif-body-outside-viewport.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=139599

  • platform/mac-wk1/TestExpectations: Mark it as such.
2:52 PM Changeset in webkit [177238] by Simon Fraser
  • 6 edits in trunk/Source/WebCore

REGRESSION (r168217): Images are cropped out during animation at jetblue.com
https://bugs.webkit.org/show_bug.cgi?id=136410
rdar://problem/18188533

Reviewed by Dean Jackson.

During GraphicsLayer flushing, for tiled layers we can compute a visible rect using
the current state of an animation, which is obtained via the AnimationController.
If that animation was running in a subframe, AnimationController could use a stale
beginAnimationUpdateTime since no-one called its beginAnimationUpdate(). That
resulted in an incorrect computation of the visible rect, resulting in missing tiles.

There are two parts to this fix. First, add an assertion that beginAnimationUpdateTime()
is being called inside an animation update block. This required moving m_beginAnimationUpdateCount
into AnimationControllerPrivate, and changes to endAnimationUpdate().

The second is adding a AnimationUpdateBlock to getAnimatedStyleForRenderer(), which
can be called outside of style resolution. We also need some in other API functions.

Testing revealed that layout can call via layoutOverflowRectForPropagation(), suggesting
that we should have an animation batch inside FrameView::layout(). In addition, a single
resolveStyle/layout should use the same animationBeginTime, so we add a batch to
updateLayoutAndStyleIfNeededRecursive().

No test because it's timing-dependent. Existing tests exercise the new assertion.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::computeRenderStyleForProperty):

  • page/FrameView.cpp:

(WebCore::FrameView::layout):
(WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive):

  • page/animation/AnimationController.cpp:

(WebCore::AnimationPrivateUpdateBlock::AnimationPrivateUpdateBlock):
(WebCore::AnimationPrivateUpdateBlock::~AnimationPrivateUpdateBlock):
(WebCore::AnimationControllerPrivate::AnimationControllerPrivate):
(WebCore::AnimationControllerPrivate::animationTimerFired):
(WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
(WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
(WebCore::AnimationControllerPrivate::beginAnimationUpdateTime):
(WebCore::AnimationControllerPrivate::beginAnimationUpdate):
(WebCore::AnimationControllerPrivate::endAnimationUpdate):
(WebCore::AnimationControllerPrivate::getAnimatedStyleForRenderer):
(WebCore::AnimationController::AnimationController):
(WebCore::AnimationController::notifyAnimationStarted):
(WebCore::AnimationController::pauseAnimationAtTime):
(WebCore::AnimationController::pauseTransitionAtTime):
(WebCore::AnimationController::resumeAnimationsForDocument):
(WebCore::AnimationController::startAnimationsIfNotSuspended):
(WebCore::AnimationController::beginAnimationUpdate):
(WebCore::AnimationController::endAnimationUpdate):

  • page/animation/AnimationController.h:
  • page/animation/AnimationControllerPrivate.h:
2:17 PM Changeset in webkit [177237] by ap@apple.com
  • 2 edits in trunk/LayoutTests

http/tests/xmlhttprequest/workers/abort-exception-assert.html often times out
https://bugs.webkit.org/show_bug.cgi?id=139595

2:07 PM Changeset in webkit [177236] by roger_fong@apple.com
  • 2 edits in trunk/Source/WebCore

[Win] Unreviewed build fix following r177235.

  • WebCore.vcxproj/WebCore.vcxproj:
1:56 PM Changeset in webkit [177235] by roger_fong@apple.com
  • 15 edits
    3 adds in trunk

Implement EXT_blend_minmax as a WebGL 1 extension.
https://bugs.webkit.org/show_bug.cgi?id=128974.
<rdar://problem/19195535>

Tested by:
webgl/1.0.3/conformance/extensions/ext-blend-minmax.html
fast/canvas/webgl/constants.html

Specifications for this extension:
https://www.khronos.org/registry/webgl/extensions/EXT_blend_minmax/

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSWebGLRenderingContextCustom.cpp:

(WebCore::toJS):

  • html/canvas/EXTBlendMinMax.cpp: Added.

(WebCore::EXTBlendMinMax::EXTBlendMinMax):
(WebCore::EXTBlendMinMax::~EXTBlendMinMax):
(WebCore::EXTBlendMinMax::getName):

  • html/canvas/EXTBlendMinMax.h: Added.
  • html/canvas/EXTBlendMinMax.idl: Added.
  • html/canvas/WebGLExtension.h:
  • html/canvas/WebGLRenderingContext.cpp:

(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getSupportedExtensions):
(WebCore::WebGLRenderingContext::validateBlendEquation):

  • html/canvas/WebGLRenderingContext.h:
  • html/canvas/WebGLRenderingContext.idl:
  • platform/graphics/Extensions3D.h:
1:40 PM Changeset in webkit [177234] by ap@apple.com
  • 4 edits in trunk

Layout Test http/tests/loading/307-after-303-after-post.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=73030

Reviewed by Anders Carlsson.

Source/WebKit2:

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::createNewWebProcess): Added a FIXME comment.
(WebKit::WebContext::setIconDatabasePath): Don't enable m_iconDatabase if the path
is empty, meaning that the database is disabled (which is not a great way to say
that, but WebKit2 icon database doesn't support enabling/disabling cleanly).
(WebKit::WebContext::iconDatabasePath): Keep it empty if it was empty.

Tools:

  • WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize): Set icon

database to empty to avoid having it fetch default favicons at random times.
DumpRenderTree also disables it, and also it has a way for tests to temporarily
enable it.

1:15 PM Changeset in webkit [177233] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit

Handle null local storage database URLs
https://bugs.webkit.org/show_bug.cgi?id=139594
<rdar://problem/19236505>

Reviewed by Beth Dakin.

  • Storage/WebStorageNamespaceProvider.cpp:

(WebStorageNamespaceProvider::WebStorageNamespaceProvider):

1:05 PM Changeset in webkit [177232] by benjamin@webkit.org
  • 3 edits in trunk/Source/WebCore

Remove the concept of simple selector from the parser
https://bugs.webkit.org/show_bug.cgi?id=139575

Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-12-12
Reviewed by Mark Lam.

We have complete support for nested selector list, we no longer
need the old concept of simple selector.

  • css/CSSParserValues.cpp:

(WebCore::CSSParserSelector::isSimple): Deleted.

  • css/CSSParserValues.h:
1:01 PM Changeset in webkit [177231] by ap@apple.com
  • 4 edits
    1 move
    1 add
    3 deletes in trunk/LayoutTests

http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=139591

Reviewed by Antti Koivisto.

  • http/tests/css/resources/empty.css: Added.
  • http/tests/css/resources/500.php: Copied from LayoutTests/http/tests/css/resources/slow-loading-sheet-in-error.php.
  • http/tests/css/resources/slow-loading-sheet-in-error.php: Removed.
  • http/tests/css/resources/slow-loading-sheet.php: Removed.

These scripts were not "slow" at all - 100 microseconds is nothing. Furthermore,
slow-loading-sheet-in-error.php wasn't even used, because of a typo in the test.
And worst of all, WebCore has its own ideas about when to load stylesheets - notably,
default stylesheet loading blocks script execution, so we cannot do anything before
the stylesheet loads.

  • http/tests/css/link-css-disabled-value-with-slow-loading-sheet-in-error.html:
  • http/tests/css/link-css-disabled-value-with-slow-loading-sheet.html:

Removed built-in timeout for the tests, we don't need it. Also, fixed a number of
small stylistic issues.

  • http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet-in-error.js: Removed.
  • http/tests/css/resources/link-css-disabled-value-with-slow-loading-sheet.js: Removed.

Moved inside HTML, because having tests in a separate file is useless and harmful.

  • platform/mac-wk2/TestExpectations: These tests were always flaky, not 100% failing.
12:54 PM Changeset in webkit [177230] by mrowe@apple.com
  • 2 edits in trunk/Source/WebKit2

Fix the 32-bit build.

  • UIProcess/API/mac/WKView.mm:

(-[WKView _setPreviewTitle:]):

12:31 PM Changeset in webkit [177229] by Antti Koivisto
  • 4 edits in trunk/Source/WebCore

FontGlyphs::glyphDataAndPageForCharacter cleanups
https://bugs.webkit.org/show_bug.cgi?id=139584

Reviewed by Andreas Kling.

Split it up and use helper functions.

  • WebCore.exp.in:
  • platform/graphics/FontGlyphs.cpp:

(WebCore::FontGlyphs::determinePitch):
(WebCore::FontGlyphs::realizeFontDataAt):
(WebCore::FontGlyphs::glyphDataAndPageForSystemFallback):
(WebCore::FontGlyphs::glyphDataAndPageForVariant):

Add private helpers.

(WebCore::FontGlyphs::glyphDataAndPageForCharacter):

Do the m_pages cache lookup only once and use the pointer reference afterwards.

  • platform/graphics/FontGlyphs.h:

(WebCore::FontGlyphs::fontSelector):
(WebCore::FontGlyphs::widthCache):
(WebCore::FontGlyphs::primaryFontData):
(WebCore::FontGlyphs::isFixedPitch):
(WebCore::FontGlyphs::primarySimpleFontData):

Also removed the mutable attribute from the fields (almost everything was marked mutable) and made the inteface
non-const. The FontGlyphs member of Font is already mutable so this is not needed.

12:28 PM Changeset in webkit [177228] by Chris Dumez
  • 14 edits in trunk/Source/WebCore

Use is<>() / downcast<>() for StyleRuleBase subclasses
https://bugs.webkit.org/show_bug.cgi?id=139571

Reviewed by Andreas Kling.

Use is<>() / downcast<>() for StyleRuleBase subclasses for safety and
consistency.

No new tests, no behavior change.

  • css/CSSFontFaceRule.cpp:

(WebCore::CSSFontFaceRule::reattach):

  • css/CSSKeyframesRule.h:

(isType):

  • css/CSSPageRule.cpp:

(WebCore::CSSPageRule::reattach):

  • css/CSSStyleRule.cpp:

(WebCore::CSSStyleRule::reattach):

  • css/CSSStyleSheet.cpp:

(WebCore::CSSStyleSheet::insertRule):

  • css/RuleSet.cpp:

(WebCore::RuleSet::addRegionRule):
(WebCore::RuleSet::addChildRules):

  • css/StyleInvalidationAnalysis.cpp:

(WebCore::shouldDirtyAllStyle):

  • css/StyleRule.cpp:

(WebCore::StyleRuleBase::destroy):
(WebCore::StyleRuleBase::copy):
(WebCore::StyleRuleBase::createCSSOMWrapper):

  • css/StyleRule.h:

(isType):
(WebCore::toStyleRule): Deleted.

  • css/StyleRuleImport.h:

(isType):

  • css/StyleSheetContents.cpp:

(WebCore::StyleSheetContents::parserAppendRule):
(WebCore::StyleSheetContents::wrapperInsertRule):
(WebCore::StyleSheetContents::addSubresourceStyleURLs):
(WebCore::childRulesHaveFailedOrCanceledSubresources):

  • css/WebKitCSSViewportRule.cpp:

(WebCore::WebKitCSSViewportRule::reattach):

  • inspector/InspectorCSSAgent.cpp:

(WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):

12:21 PM Changeset in webkit [177227] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebKit2

Fix the 32-bit build.

  • UIProcess/mac/WKImmediateActionController.h:
12:13 PM Changeset in webkit [177226] by stavila@adobe.com
  • 2 edits in trunk/LayoutTests

animations/cross-fade-webkit-mask-image.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=139590

Reviewed by Alexey Proskuryakov.

animations/cross-fade-webkit-mask-image.html became flaky after the way
masks are handled was changed in https://bugs.webkit.org/show_bug.cgi?id=139294.
Marking it flaky for now, pending investigation.

11:27 AM Changeset in webkit [177225] by jer.noble@apple.com
  • 8 edits
    1 add in trunk

[MSE] Add support for SourceBuffer.mode.
https://bugs.webkit.org/show_bug.cgi?id=139265

Reviewed by Eric Carlson.

Source/WebCore:

Support setting SourceBuffer's mode property, and add support for "sequence" mode. Prior
to this change, "segments" mode was implied.

  • Modules/mediasource/MediaSource.cpp:

(WebCore::MediaSource::addSourceBuffer):
(WebCore::MediaSource::regenerateActiveSourceBuffers):

  • Modules/mediasource/SourceBuffer.cpp:

(WebCore::SourceBuffer::segmentsKeyword):
(WebCore::SourceBuffer::sequenceKeyword):
(WebCore::SourceBuffer::SourceBuffer):
(WebCore::SourceBuffer::setTimestampOffset):
(WebCore::SourceBuffer::sourceBufferPrivateDidReceiveSample):
(WebCore::SourceBuffer::setMode):

  • Modules/mediasource/SourceBuffer.h:
  • Modules/mediasource/SourceBuffer.idl:

LayoutTests:

  • http/tests/media/media-source/mediasource-util.js:
  • platform/mac/TestExpectations:

Add an expected-failure; the test fails due to lack of support for a non-DOM-visible
algorithm variable unsupported by the Mac port.

  • platform/mac/http/tests/media/media-source/mediasource-sourcebuffer-mode-expected.txt: Added.
8:59 AM Changeset in webkit [177224] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Fix Build Warning in WebKit2/UIProcess module for GTK build and WebKit2/NetworkProcess module in GTK and EFL build
https://bugs.webkit.org/show_bug.cgi?id=139535

Patch by Rohit Kumar <kumar.rohit@samsung.com> on 2014-12-12
Reviewed by Martin Robinson.

  • UIProcess/API/gtk/WebKitWebView.cpp: Use UNUSED_PARAM for conditional #if case

(webkitWebViewShowNotification):
(webkitWebViewCloseNotification):

6:19 AM Changeset in webkit [177223] by stavila@adobe.com
  • 29 edits
    1 copy
    34 adds in trunk

[SVG Masking] Enable the use of <mask> elements for -webkit-mask-image
https://bugs.webkit.org/show_bug.cgi?id=139294

Reviewed by Simon Fraser.

Source/WebCore:

This patch links together all parts required for the functionality which improves
the -webkit-mask-image property by allowing it to reference a <mask> element defined
in an inline or external SVG document.
Support for this new functionality has been added in a previous patch, under issue
https://bugs.webkit.org/show_bug.cgi?id=139092. A more detailed description of how
the new functionality works can be found in the ChangeLog for that commit.
The containsSVGDocument in ScrollView has been removed because it was added in the
previous patch but is no longer required.

Tests: css3/masking/mask-base64.html

css3/masking/mask-multiple-values.html
css3/masking/mask-svg-clipped-fragmentId.html
css3/masking/mask-svg-fragmentId.html
css3/masking/mask-svg-inline-fragmentId.html
css3/masking/mask-svg-inline-invalid-fragmentId.html
css3/masking/mask-svg-invalid-fragmentId.html
css3/masking/mask-svg-no-fragmentId-tiled.html
css3/masking/mask-svg-no-fragmentId.html
css3/masking/mask-svg-script-entire-svg-to-mask.html
css3/masking/mask-svg-script-mask-to-entire-svg.html
css3/masking/mask-svg-script-mask-to-none.html
css3/masking/mask-svg-script-mask-to-png.html
css3/masking/mask-svg-script-none-to-mask.html
css3/masking/mask-svg-script-none-to-png.html
css3/masking/mask-svg-script-png-to-mask.html
css3/masking/mask-svg-script-png-to-none.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::ComputedStyleExtractor::propertyValue):

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFillShorthand):
(WebCore::CSSParser::parseFillProperty):
(WebCore::CSSParser::parseMaskImage):

  • css/CSSParser.h:
  • css/DeprecatedStyleBuilder.cpp:

(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::adjustStyleForMaskImages):
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::loadPendingSVGDocuments):
(WebCore::StyleResolver::createMaskImageOperations):
(WebCore::StyleResolver::loadPendingImages):

  • page/animation/CSSPropertyAnimation.cpp:

(WebCore::blendFunc):
(WebCore::MaskImagePropertyWrapper::MaskImagePropertyWrapper):
(WebCore::MaskImagePropertyWrapper::equals):
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

  • platform/graphics/MaskImageOperation.cpp:

(WebCore::MaskImageOperation::~MaskImageOperation):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::maskClipRect):

  • rendering/RenderBox.h:
  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::calculateFillTileSize):
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):

  • rendering/RenderElement.cpp:

(WebCore::RenderElement::~RenderElement):
(WebCore::RenderElement::updateFillImages):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::calculateClipRects):

  • rendering/RenderLayer.h:
  • rendering/style/FillLayer.h:
  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::setMaskImage):

  • rendering/style/RenderStyle.h:

LayoutTests:

Added tests for different situations using URLs with fragment id
for the -webkit-mask-image property.

  • css3/masking/mask-base64-expected.html: Added.
  • css3/masking/mask-base64.html: Added.
  • css3/masking/mask-multiple-values-expected.html: Added.
  • css3/masking/mask-multiple-values.html: Added.
  • css3/masking/mask-repeat-space-padding-expected.html:
  • css3/masking/mask-repeat-space-padding.html:
  • css3/masking/mask-svg-clipped-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-clipped-fragmentId.html: Added.
  • css3/masking/mask-svg-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-fragmentId.html: Added.
  • css3/masking/mask-svg-inline-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-inline-fragmentId.html: Added.
  • css3/masking/mask-svg-inline-invalid-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-inline-invalid-fragmentId.html: Added.
  • css3/masking/mask-svg-invalid-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-invalid-fragmentId.html: Added.
  • css3/masking/mask-svg-no-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-no-fragmentId-tiled-expected.html: Added.
  • css3/masking/mask-svg-no-fragmentId-tiled.html: Added.
  • css3/masking/mask-svg-no-fragmentId.html: Added.
  • css3/masking/mask-svg-script-entire-svg-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-entire-svg-to-mask.html: Added.
  • css3/masking/mask-svg-script-mask-to-entire-svg-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-entire-svg.html: Added.
  • css3/masking/mask-svg-script-mask-to-none-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-none.html: Added.
  • css3/masking/mask-svg-script-mask-to-png-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-png.html: Added.
  • css3/masking/mask-svg-script-none-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-none-to-mask.html: Added.
  • css3/masking/mask-svg-script-none-to-png-expected.html: Added.
  • css3/masking/mask-svg-script-none-to-png.html: Added.
  • css3/masking/mask-svg-script-png-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-png-to-mask.html: Added.
  • css3/masking/mask-svg-script-png-to-none-expected.html: Added.
  • css3/masking/mask-svg-script-png-to-none.html: Added.
  • css3/masking/resources/masks.svg: Added.
5:34 AM Changeset in webkit [177222] by gyuyoung.kim@samsung.com
  • 20 edits in trunk/Source/JavaScriptCore

Final clean up OwnPtr in JSC - runtime, ftl, and tool directories
https://bugs.webkit.org/show_bug.cgi?id=139532

Reviewed by Mark Lam.

Final remove OwnPtr, PassOwnPtr in runtime, ftl, and tools directories of JSC.

  • builtins/BuiltinExecutables.h:
  • bytecode/CodeBlock.h:
  • bytecode/UnlinkedCodeBlock.cpp:

(JSC::generateFunctionCodeBlock):

  • ftl/FTLAbstractHeap.cpp:

(JSC::FTL::IndexedAbstractHeap::atSlow):

  • ftl/FTLAbstractHeap.h:
  • ftl/FTLCompile.cpp:

(JSC::FTL::mmAllocateDataSection):

  • ftl/FTLJITFinalizer.h:
  • jsc.cpp:

(jscmain):

  • parser/Lexer.h:
  • runtime/PropertyMapHashTable.h:

(JSC::PropertyTable::clearDeletedOffsets):
(JSC::PropertyTable::addDeletedOffset):

  • runtime/PropertyTable.cpp:

(JSC::PropertyTable::PropertyTable):

  • runtime/RegExpObject.cpp:
  • runtime/SmallStrings.cpp:
  • runtime/Structure.cpp:
  • runtime/StructureIDTable.cpp:

(JSC::StructureIDTable::StructureIDTable):
(JSC::StructureIDTable::resize):

  • runtime/StructureIDTable.h:
  • runtime/StructureTransitionTable.h:
  • runtime/VM.cpp:

(JSC::VM::VM):
(JSC::VM::~VM):

  • runtime/VM.h:
  • tools/CodeProfile.h:

(JSC::CodeProfile::CodeProfile):
(JSC::CodeProfile::addChild):

4:34 AM Changeset in webkit [177221] by Csaba Osztrogonác
  • 2 edits in trunk/Source/WebCore

Fix the !ENABLE(SVG_FONTS) build after r177078
https://bugs.webkit.org/show_bug.cgi?id=139578

Reviewed by Martin Robinson.

  • platform/graphics/cairo/FontCairo.cpp:

(WebCore::Font::dashesForIntersectionsWithRect):

4:09 AM Changeset in webkit [177220] by berto@igalia.com
  • 2 edits in trunk/Source/WebCore/platform/gtk/po

[kn] Kannada Translation for webkit - Updated
https://bugs.webkit.org/show_bug.cgi?id=116941

Patch by Shankar Prasad <svenkate@redhat.com> on 2014-12-12
Reviewed by Carlos Garcia Campos.

  • kn.po:
3:49 AM Changeset in webkit [177219] by Alan Bujtas
  • 6 edits
    2 adds in trunk

Simple line layout: Add 16bit support.
https://bugs.webkit.org/show_bug.cgi?id=139469

Reviewed by Antti Koivisto.

This patch adds the 16bit support to simple line layout.

Source/WebCore:

Test: fast/inline/simple-line-layout-16bit-content.html

  • rendering/SimpleLineLayout.cpp:

(WebCore::SimpleLineLayout::canUseFor):

  • rendering/SimpleLineLayoutFlowContents.cpp:

(WebCore::SimpleLineLayout::nextBreakablePosition):
(WebCore::SimpleLineLayout::FlowContents::findNextBreakablePosition):
(WebCore::SimpleLineLayout::findNextNonWhitespace):
(WebCore::SimpleLineLayout::FlowContents::findNextNonWhitespacePosition):
(WebCore::SimpleLineLayout::FlowContents::textWidth):
(WebCore::SimpleLineLayout::FlowContents::runWidth):

  • rendering/SimpleLineLayoutFlowContents.h:
  • rendering/SimpleLineLayoutResolver.cpp:

(WebCore::SimpleLineLayout::RunResolver::Run::text):

LayoutTests:

  • fast/inline/simple-line-layout-16bit-content-expected.html: Added.
  • fast/inline/simple-line-layout-16bit-content.html: Added.
2:49 AM Changeset in webkit [177218] by clopez@igalia.com
  • 2 edits in trunk/Websites/planet.webkit.org

[Planet WebKit] Raise the number of posts per feed to import.
https://bugs.webkit.org/show_bug.cgi?id=139579

Reviewed by Csaba Osztrogonác.

  • config.ini: Raise the number of posts to import for each feed to 6.
2:47 AM Changeset in webkit [177217] by Lucas Forschler
  • 2 edits in trunk/Tools

Update Apple owned build slaves after infrastructure update.

Reviewed by Ryosuke Niwa.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
1:21 AM Changeset in webkit [177216] by ChangSeok Oh
  • 5 edits
    1 add in trunk/Source/WebCore

Implement MemoryPressureHandler for Linux system
https://bugs.webkit.org/show_bug.cgi?id=123532

Reviewed by Sergio Villar Senin.

This is an initial implementation to support MemoryPressureHandler for linux system.
The patch is based on Tomeu's last patch and improved on top of it.
Most of current linux distributions support cgroup, so that we use the memory.pressure_level
mechanism of cgroup to get notifications when an application reaches the 'low' memory
pressure level.

No new tests since no engine behavior changed.

  • PlatformEfl.cmake:
  • PlatformGTK.cmake:
  • platform/MemoryPressureHandler.cpp:

(WebCore::MemoryPressureHandler::MemoryPressureHandler):

  • platform/MemoryPressureHandler.h:
  • platform/linux/MemoryPressureHandlerLinux.cpp: Added.

(WebCore::nextToken):
(WebCore::MemoryPressureHandler::~MemoryPressureHandler):
(WebCore::MemoryPressureHandler::waitForMemoryPressureEvent): run in a seperated thread
to listen 'low' level event.
(WebCore::MemoryPressureHandler::logErrorAndCloseFDs):
(WebCore::MemoryPressureHandler::install):
(WebCore::MemoryPressureHandler::uninstall):
(WebCore::MemoryPressureHandler::holdOffTimerFired):
(WebCore::MemoryPressureHandler::holdOff):
(WebCore::MemoryPressureHandler::respondToMemoryPressure):
(WebCore::MemoryPressureHandler::platformReleaseMemory):
(WebCore::MemoryPressureHandler::ReliefLogger::platformLog):
(WebCore::MemoryPressureHandler::ReliefLogger::platformMemoryUsage): read /proc/self/status
to get VM amount used by current process.

1:17 AM Changeset in webkit [177215] by gyuyoung.kim@samsung.com
  • 2 edits in trunk/Source/WebKit2

[EFL] Disable all EWK2Accessibility unit tests
https://bugs.webkit.org/show_bug.cgi?id=139577

Reviewed by Csaba Osztrogonác.

WebAccessibility functionality isn't supported by EFL WebKit2 though,
EWK2Accessibility unit tests have been tested. That's why those tests have been failed
so far.

  • UIProcess/API/efl/tests/test_ewk2_accessibility.cpp:

(TEST_F):

1:16 AM Changeset in webkit [177214] by Simon Fraser
  • 5 edits in trunk/Source

Layer borders on contentsLayers don't correctly toggle with the rest of the borders
https://bugs.webkit.org/show_bug.cgi?id=139570
rdar://problem/18007746

Reviewed by Tim Horton.

Source/WebCore:

The "Show Debug Borders" toggle didn't cleanly remove layer borders from
content layers (image, video), nor did it deal with cloned layers (reflections).

Fix by making updateDebugBorder() update the layer borders on the contents
layer and cloned layers, moving some code around to avoid having colors
in more than one place. If the borders are hidden, send an invalid color
to PlatformCALayer::setBorderColor(), which now knows to remove the color
property on the layer (to avoid leaving transparent border color properties
on CALayers).

  • platform/graphics/ca/GraphicsLayerCA.cpp:

(WebCore::setLayerDebugBorder):
(WebCore::contentsLayerDebugBorderColor):
(WebCore::cloneLayerDebugBorderColor):
(WebCore::GraphicsLayerCA::updateDebugBorder):
(WebCore::GraphicsLayerCA::setDebugBorder):

  • platform/graphics/ca/mac/PlatformCALayerMac.mm:

(PlatformCALayerMac::setBorderColor):

Source/WebKit2:

Return nil if the color is invalid, to remove the color from the layer's
border or background.

  • Shared/mac/RemoteLayerTreePropertyApplier.mm:

(WebKit::cgColorFromColor):

Dec 11, 2014:

10:00 PM Changeset in webkit [177213] by bshafiei@apple.com
  • 2 edits in tags/Safari-601.1.12.1/Source/JavaScriptCore

Merged r177210.

9:59 PM Changeset in webkit [177212] by bshafiei@apple.com
  • 5 edits in tags/Safari-601.1.12.1/Source

Versioning.

9:57 PM Changeset in webkit [177211] by bshafiei@apple.com
  • 1 copy in tags/Safari-601.1.12.1

New tag.

9:41 PM Changeset in webkit [177210] by mitz@apple.com
  • 2 edits in trunk/Source/JavaScriptCore

iOS Simulator production build fix.

  • Configurations/JavaScriptCore.xcconfig: Don’t use an order file when building for the iOS

Simulator, as we did prior to 177027.

9:15 PM Changeset in webkit [177209] by barraclough@apple.com
  • 6 edits in trunk/Source/WebKit2

Track pages preventing suppression in WebProcessProxy using RefCounter
https://bugs.webkit.org/show_bug.cgi?id=139108

Reviewed by Benjamin Poulain.

The networking process is allowed to app nap if all web pages are also currently in app nap.
In order to detect whether any page in any process currently requires the networking process
to be active we:

  • maintain hash sets in every WebProcessProxy of pages that are okay with suppression.
  • if anything changes, the WebContext iterates every WebProcessProxy to recompute state.

This is all crazy - all we actually need is a simple count of the number of pages that need
to prevent the networking process from entering app nap. This patch gets us half way there -
replace the HashSet with a RefCounter. Next step will be to hoist the RefCounters from the
process proxies up to the context to do away with the iteration.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::reattachToWebProcess):

  • make sure we prevent process suppression, per current viewstate & preferences.

(WebKit::WebPageProxy::dispatchViewStateChange):

  • make sure we prevent process suppression, per viewstate change.

(WebKit::WebPageProxy::updateProccessSuppressionState):

  • recompute whether we need to prevent process suppression.

(WebKit::WebPageProxy::preferencesDidChange):

  • when preferences change process supression may be disabled.

(WebKit::WebPageProxy::resetStateAfterProcessExited):

  • we need to drop the old ref, to allow a new one to be taken when we reattach.

(WebKit::WebPageProxy::isProcessSuppressible): Deleted.

  • moreged into updateProccessSuppressionState.
  • UIProcess/WebPageProxy.h:
    • added m_preventProcessSuppression.
  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::WebProcessProxy):

  • initialize m_pagesPreventingSuppression

(WebKit::WebProcessProxy::createWebPage):

  • moved to WebPageProxy::WebPageProxy

(WebKit::WebProcessProxy::addExistingWebPage):

  • moved to WebPageProxy::reattachToWebProcess

(WebKit::WebProcessProxy::removeWebPage):

  • now implicit; when the page is destroyed the RefPtr will release.

(WebKit::WebProcessProxy::pageSuppressibilityChanged): Deleted.

  • moved to WebPageProxy::dispatchViewStateChange.

(WebKit::WebProcessProxy::pagePreferencesChanged): Deleted.

  • moved to WebPageProxy::preferencesDidChange.
  • UIProcess/WebProcessProxy.h:

(WebKit::WebProcessProxy::preventProcessSuppressionForPage):

  • reference count m_pagesPreventingSuppression
  • UIProcess/mac/WebProcessProxyMac.mm:

(WebKit::WebProcessProxy::allPagesAreProcessSuppressible):

  • converted to use m_pagesPreventingSuppression.
  • removed guard that meant processes with no pages would keep the networking process from entering app nap, which made no sense.
7:16 PM Changeset in webkit [177208] by matthew_hanson@apple.com
  • 1 delete in tags/Safari-600.1.12

Remove unnecessary tag.

7:02 PM Changeset in webkit [177207] by bshafiei@apple.com
  • 3 edits in tags/Safari-601.1.12/Source/WebKit2

Merged r177205.

7:01 PM Changeset in webkit [177206] by matthew_hanson@apple.com
  • 1 copy in tags/Safari-600.3.12

New Tag.

6:50 PM Changeset in webkit [177205] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit2

Temporarily use WebCore session storage for transient local storage
https://bugs.webkit.org/show_bug.cgi?id=139574

Reviewed by Dan Bernstein.

  • WebProcess/Storage/StorageNamespaceImpl.h:

Change the header guard so it won't conflict with StorageNamespaceImpl.h in WebCore.

  • WebProcess/Storage/WebStorageNamespaceProvider.cpp:

(WebKit::WebStorageNamespaceProvider::createTransientLocalStorageNamespace):
Use the WebCore session storage for now, to avoid crashes.

6:45 PM Changeset in webkit [177204] by matthew_hanson@apple.com
  • 1 copy in tags/Safari-600.1.12

New Tag.

6:41 PM Changeset in webkit [177203] by msaboff@apple.com
  • 1 edit
    3 adds in trunk/LayoutTests

Need a regression test for bug 139533
https://bugs.webkit.org/show_bug.cgi?id=139572

Reviewed by Mark Lam.

  • js/regress-139533-expected.txt: Added.
  • js/regress-139533.html: Added.
  • js/script-tests/regress-139533.js: Added.

(.inner):
(outer):
(MyNumber):
(MyNumber.prototype.toString):

6:26 PM Changeset in webkit [177202] by Joseph Pecoraro
  • 2 edits in trunk/Source/WebCore

Web Inspector: Crash when trying to inspect LocalStorage
https://bugs.webkit.org/show_bug.cgi?id=139573

Reviewed by Anders Carlsson.

Move away from PageGroup::localStorage and instead to StorageNamespaceProvider.
This matches what DOMWindow::localStorage does to get the StorageArea for a document.

  • inspector/InspectorDOMStorageAgent.cpp:

(WebCore::InspectorDOMStorageAgent::findStorageArea):

6:16 PM Changeset in webkit [177201] by mitz@apple.com
  • 2 edits in trunk/Source/WebKit/mac

Fix a leak introduced in r177199.

Reviewed by Anders Carlsson.

  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController _updateImmediateActionItem]):

5:59 PM Changeset in webkit [177200] by Simon Fraser
  • 26 edits
    10 adds in trunk

Transform-style should not kill position:fixed
https://bugs.webkit.org/show_bug.cgi?id=138122

Reviewed by Dean Jackson.

Source/WebCore:

Various bits of rendering code checked RenderObject::hasTransform() for various
reasons. Confusingly, this meant "has transform, or preserve-3d, or perspective".

This patch teases those behaviors apart to produce the following behavior:

  1. "transform" acts as containing block for fixed position (no behavior change).
  2. "transform" acts as containing block for absolute/relative position (no behavior change).
  3. "perspective" does not act as containing block for fixed position (no behavior change).
  4. "perspective" acts as containing block for absolute/relative position (no behavior change).
  5. "preserve-3d" does not act as containing block for fixed position (behavior change).
  6. "preserve-3d" acts as containing block for absolute/relative position. This is not a

behavior change, but seems like incorrect behavior (https://www.w3.org/Bugs/Public/show_bug.cgi?id=27566).
However, we may be forced to keep it for compatibility.

The gist of the change is to rename RenderObject::hasTransform() to RenderObject::hasTransformRelatedProperty(),
and add hasTransform() with the more restrictive meaning. All call sites of hasTransform() were examined
and fixed to produce the desired behaviors.

Tests: transforms/2d/perspective-not-fixed-container.html

transforms/2d/preserve3d-not-fixed-container.html
transforms/perspective-is-containing-block-for-absolute.html
transforms/preserve3d-is-containing-block-for-absolute.html
transforms/transform-is-containing-block-for-absolute.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::computedTransform): Now we can just test hasTransform().

  • rendering/LogicalSelectionOffsetCaches.h:

(WebCore::isContainingBlockCandidateForAbsolutelyPositionedObject): For now, this
can just use hasTransformRelatedProperty(), but if we change [6] above this will have
to change (as documented in the comment). Also FIXME comments about sharing code.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::updateFromStyle):
(WebCore::RenderBox::mapLocalToContainer): Can just use hasTransform() now.
(WebCore::RenderBox::pushMappingToContainer): Ditto.
(WebCore::RenderBox::mapAbsoluteToLocalPoint): Ditto.
(WebCore::RenderBox::layoutOverflowRectForPropagation): Ditto.

  • rendering/RenderBox.h: All transform-related properties create RenderLayers.
  • rendering/RenderBoxModelObject.h: Ditto.
  • rendering/RenderElement.cpp:

(WebCore::RenderElement::styleWillChange):

  • rendering/RenderGeometryMap.cpp:

(WebCore::canMapBetweenRenderersViaLayers): Rename to clarify. We need to not map via
layers if we have a perspective (since we need to generate a perspective matrix). It's
OK with preserve-3d though.
(WebCore::RenderGeometryMap::pushMappingsToAncestor):
(WebCore::canMapBetweenRenderers): Deleted.

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::updateFromStyle):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::updateTransform): Can just check hasTransform().
(WebCore::RenderLayer::updateLayerPosition): Avoid calling parent() and enclosingPositionedAncestor() twice.
(WebCore::RenderLayer::perspectiveTransform): Do the fast bit check hasTransformRelatedProperty() first.
(WebCore::RenderLayer::perspectiveOrigin): Ditto.
(WebCore::isContainerForPositioned): This code has to now have different behavior for absolute and fixed
position. Changed it to call existing functions, rather than having a 3rd place that has to know about
containing block rules.
(WebCore::RenderLayer::enclosingAncestorForPosition): Call isContainerForPositioned() now.
(WebCore::accumulateOffsetTowardsAncestor): Call enclosingAncestorForPosition().
(WebCore::RenderLayer::createLocalTransformState):
(WebCore::RenderLayer::calculateClipRects):
(WebCore::isPositionedContainer): Deleted.
(WebCore::isFixedPositionedContainer): Deleted.
(WebCore::RenderLayer::enclosingPositionedAncestor): Deleted.

  • rendering/RenderLayer.h:
  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::updateGeometry):

  • rendering/RenderLayerModelObject.cpp:

(WebCore::RenderLayerModelObject::styleDidChange):

  • rendering/RenderObject.cpp:

(WebCore::RenderObject::shouldUseTransformFromContainer): Can just check hasTransform() now.
(WebCore::RenderObject::container):

  • rendering/RenderObject.h:

(WebCore::RenderObject::hasTransformRelatedProperty):
(WebCore::RenderObject::hasTransform):
(WebCore::RenderObject::setHasTransformRelatedProperty):
(WebCore::RenderObject::RenderObjectBitfields::RenderObjectBitfields):
(WebCore::RenderObject::setHasTransform): Deleted.

  • rendering/RenderTableRow.h:
  • rendering/RenderView.cpp:

(WebCore::RenderView::mapLocalToContainer): nullptr goodness.
(WebCore::RenderView::pushMappingToContainer): Ditto.
(WebCore::RenderView::mapAbsoluteToLocalPoint): Ditto.

LayoutTests:

New tests and updated results:

  • platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt: Progression, caused

by RenderLayerBacking::updateCompositedBounds() now allowing shouldClipCompositedBounds on
preserve-3d layers, since they are no longer considered to have a transform.

  • platform/mac/compositing/visible-rect/3d-transform-style-expected.txt: Ditto.
  • transforms/2d/perspective-not-fixed-container-expected.html: Added.
  • transforms/2d/perspective-not-fixed-container.html: Added. Tests that

perspective does not act as containing block for fixed position (not a behavior change).

  • transforms/2d/preserve3d-not-fixed-container-expected.html: Added.
  • transforms/2d/preserve3d-not-fixed-container.html: Added. Tests that

preserve3d does not act as containing block for fixed position. This is a behavior change.

  • transforms/perspective-is-containing-block-for-absolute-expected.html: Added.
  • transforms/perspective-is-containing-block-for-absolute.html: Added. Tests that

perspective is a as containing block for absolute/relative position. This is not a behavior change.

  • transforms/preserve3d-is-containing-block-for-absolute-expected.html: Added.
  • transforms/preserve3d-is-containing-block-for-absolute.html: Added. Tests that

preserve3d is a as containing block for absolute/relative position. This is not a behavior change,
but seems like incorrect behavior for now.

  • transforms/transform-is-containing-block-for-absolute-expected.html: Added.
  • transforms/transform-is-containing-block-for-absolute.html: Added. Tests that

transform is a as containing block for absolute/relative position. This is not a behavior change.

5:48 PM Changeset in webkit [177199] by Beth Dakin
  • 3 edits in trunk/Source/WebKit/mac

WK1: Need new SPI for Webkit clients to override default immediate action
https://bugs.webkit.org/show_bug.cgi?id=139568
-and corresponding-
rdar://problem/19225448

Reviewed by Dan Bernstein.

Call SPI giving clients a chance to override the default behavior.

  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController _updateImmediateActionItem]):

New SPI.

  • WebView/WebUIDelegatePrivate.h:
5:41 PM Changeset in webkit [177198] by benjamin@webkit.org
  • 2 edits in trunk/Source/WebCore

[iOS] Normalize iOS DeviceOrientation beta/gamma per spec.
https://bugs.webkit.org/show_bug.cgi?id=137134
<radr://problem/9414459>

Patch by Rich Tibbett <rich.tibbett@gmail.com> on 2014-12-11
Reviewed by Benjamin Poulain.

Normalize DeviceOrientation beta and gamma on iOS to match the
conventions defined in the W3C DeviceOrientation Events specification.

beta values are returned in the range [-180, 180). gamma values are
returned in the range [-90, 90).

  • platform/ios/WebCoreMotionManager.mm:
5:37 PM Changeset in webkit [177197] by bshafiei@apple.com
  • 8 edits in tags/Safari-601.1.12/Source

Merged r177196.

5:02 PM Changeset in webkit [177196] by commit-queue@webkit.org
  • 8 edits in trunk/Source

Unreviewed, rolling out r177081.
https://bugs.webkit.org/show_bug.cgi?id=139569

broke iOS video playback (Requested by eric_carlson on
#webkit).

Reverted changeset:

"Fix iOS builders for 8.0"
https://bugs.webkit.org/show_bug.cgi?id=139495
http://trac.webkit.org/changeset/177081

4:59 PM Changeset in webkit [177195] by roger_fong@apple.com
  • 2 edits in trunk/Source/WebCore

Unreviewed. Fix to build fix in r177134.

  • html/canvas/WebGLDrawBuffers.cpp: iOS should query the system for GL extension availability.
4:56 PM Changeset in webkit [177194] by roger_fong@apple.com
  • 15 edits
    3 adds in trunk

Implement frag depth as a WebGL 1 extension.
https://bugs.webkit.org/show_bug.cgi?id=133635.
<rdar://problem/19195381>
Reviewed by Dean Jackson.
Test:
webgl/1.0.3/conformance/extensions/ext-frag-depth.html
Spec for this extension outlined here:
http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/

  • CMakeLists.txt:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSWebGLRenderingContextCustom.cpp:

(WebCore::toJS):

  • html/canvas/EXTFragDepth.cpp: Added.

(WebCore::EXTFragDepth::EXTFragDepth):
(WebCore::EXTFragDepth::~EXTFragDepth):
(WebCore::EXTFragDepth::getName):

  • html/canvas/EXTFragDepth.h: Added.
  • html/canvas/EXTFragDepth.idl: Added.
  • html/canvas/WebGLExtension.h:
  • html/canvas/WebGLRenderingContext.cpp:

(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getSupportedExtensions):

  • html/canvas/WebGLRenderingContext.h:
  • platform/graphics/opengl/Extensions3DOpenGL.cpp:

(WebCore::Extensions3DOpenGL::supportsExtension):

  • platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:

(WebCore::Extensions3DOpenGLCommon::ensureEnabled):

4:46 PM Changeset in webkit [177193] by Chris Dumez
  • 2 edits in trunk/Source/WebCore

Optimize RenderElement::rendererForRootBackground() a bit
https://bugs.webkit.org/show_bug.cgi?id=139527

Reviewed by Andreas Kling.

Optimize RenderElement::rendererForRootBackground() a bit by not
calling Document::body(). We are only interested in the child element
with a <body> tag. However, Document::body() first checks if a
<frameset> child is present.

No new tests, no behavior change.

  • rendering/RenderElement.cpp:

(WebCore::RenderElement::rendererForRootBackground):

4:25 PM Changeset in webkit [177192] by Beth Dakin
  • 6 edits in trunk/Source/WebKit2

WK2: Need new SPI for Webkit clients to override default immediate action
https://bugs.webkit.org/show_bug.cgi?id=139564
-and corresponding-
rdar://problem/19225448

Reviewed by Tim Horton.

New SPI _immediateActionAnimationControllerForHitTestResult:withType:userData:

  • UIProcess/API/Cocoa/WKViewPrivate.h:
  • UIProcess/API/mac/WKView.mm:

(-[WKView _immediateActionAnimationControllerForHitTestResult:withType:userData:]):

Keep at ivar for the userData so that it can be passed to the new SPI.

  • UIProcess/mac/WKImmediateActionController.h:
  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController _clearImmediateActionState]):
(-[WKImmediateActionController didPerformActionMenuHitTest:userData:]):

Always give the SPI a chance to override the animationController.
(-[WKImmediateActionController _updateImmediateActionItem]):

Need to mark WKImmediateActionTypes.h as Private.

  • WebKit2.xcodeproj/project.pbxproj:
4:22 PM Changeset in webkit [177191] by ggaren@apple.com
  • 5 edits in trunk/Source/bmalloc

bmalloc should support system memory analysis tools (part 2)
https://bugs.webkit.org/show_bug.cgi?id=139565

Reviewed by Mark Lam.

This patch actually queries the environment to see if memory analysis
tools have been enabled.

  • bmalloc/Deallocator.cpp:

(bmalloc::Deallocator::scavenge): Don't process the object log if
we've disabled bmalloc because it will be full of invalid nullptrs.

  • bmalloc/Environment.cpp:

(bmalloc::isMallocEnvironmentVariableSet): Test for the list of known
Malloc debugging flags. I also added a plain "Malloc" catch-all for
when you want to disable bmalloc without enabling any kind of funny
business.

It would be slightly nicer just to iterate the list of environment
variables and strstr them, but getenv is the more portable option,
and performance here doesn't really matter.

(bmalloc::isLibgmallocEnabled): Test for the libgmalloc insertion
environment variable.

(bmalloc::Environment::computeIsBmallocEnabled):

4:18 PM Changeset in webkit [177190] by b.long@cablelabs.com
  • 7 edits in trunk

Remove DataCue "text" attribute
https://bugs.webkit.org/show_bug.cgi?id=139461

Reviewed by Eric Carlson.

Source/WebCore:

  • html/track/DataCue.cpp:
  • html/track/DataCue.h:
  • html/track/DataCue.idl:

LayoutTests:

  • media/track/track-datacue-expected.txt:
  • media/track/track-datacue.html:
4:13 PM Changeset in webkit [177189] by ggaren@apple.com
  • 3 edits in trunk/Source/bmalloc

2014-12-11 Geoffrey Garen <ggaren@apple.com>

Try to fix the iOS simulator build.

#include the declaration of malloc / free.

  • bmalloc/Allocator.cpp:
  • bmalloc/Deallocator.cpp:
3:50 PM Changeset in webkit [177188] by ap@apple.com
  • 2 edits in trunk/Source/WebCore

Initialize m_ownsGeneratedFile when decoding a FormDataElement
https://bugs.webkit.org/show_bug.cgi?id=139566

Reviewed by Tim Horton.

No tests, because it's random, and I couldn't reproduce an assertion failure in
controlled circumstances.

  • platform/network/FormData.h: (WebCore::FormDataElement::decode): A newly created

FormDataElement by definition doesn't own the file.

3:28 PM Changeset in webkit [177187] by ap@apple.com
  • 2 edits in trunk/LayoutTests

fast/workers/worker-constructor.html frequently crashes
https://bugs.webkit.org/show_bug.cgi?id=139548

we can't reproduce locally.

3:11 PM Changeset in webkit [177186] by timothy_horton@apple.com
  • 9 edits in trunk/Source

Move the preview popover to WebImmediateActionController
https://bugs.webkit.org/show_bug.cgi?id=139563
<rdar://problem/19208291>

Reviewed by Beth Dakin.

  • WebView/WebActionMenuController.mm:

(-[WebActionMenuController _defaultMenuItemsForLink]):
(-[WebActionMenuController menuItem:viewAtScreenPoint:]): Deleted.
(-[WebActionMenuController menuItem:previewItemAtPoint:]): Deleted.
(-[WebActionMenuController menuItem:preferredEdgeForPoint:]): Deleted.

  • WebView/WebImmediateActionController.h:
  • WebView/WebImmediateActionController.mm:

(-[WebImmediateActionController webViewClosed]):
(-[WebImmediateActionController immediateActionRecognizerWillPrepare:]):
(-[WebImmediateActionController immediateActionRecognizerWillBeginAnimation:]):
(-[WebImmediateActionController immediateActionRecognizerDidCancelAnimation:]):
(-[WebImmediateActionController immediateActionRecognizerDidCompleteAnimation:]):
(-[WebImmediateActionController _updateImmediateActionItem]):
(-[WebImmediateActionController menuItem:viewAtScreenPoint:]):
(-[WebImmediateActionController menuItem:previewItemAtPoint:]):
(-[WebImmediateActionController menuItem:preferredEdgeForPoint:]):
Move page preview popover related code to WebImmediateActionController.

  • WebView/WebUIDelegatePrivate.h:

Add a link preview type.

  • WebView/WebView.mm:

(-[WebView _commonInitializationWithFrameName:groupName:]):
Pass the gesture recognizer to the WebImmediateActionController.

  • UIProcess/mac/WKImmediateActionController.h:

Remove an unnecessary forward declaration.

  • UIProcess/mac/WKImmediateActionController.mm:

(-[WKImmediateActionController willDestroyView:]):
Clear the immediate action recognizer when the view goes away.

2:59 PM Changeset in webkit [177185] by andersca@apple.com
  • 3 edits in trunk/Source/WebCore

Fix Windows build.

  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
2:52 PM Changeset in webkit [177184] by ggaren@apple.com
  • 2 edits in trunk/Source/bmalloc

2014-12-11 Geoffrey Garen <ggaren@apple.com>

Try to fix the build.

  • bmalloc.xcodeproj/project.pbxproj: Marked a header exported.
2:38 PM Changeset in webkit [177183] by timothy_horton@apple.com
  • 8 edits in trunk/Source

Fix the build.

  • WebView/WebImmediateActionController.h:
  • WebView/WebImmediateActionController.mm:
  • UIProcess/mac/WKImmediateActionController.h:
  • UIProcess/mac/WKImmediateActionController.mm:
  • platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h:
2:23 PM Changeset in webkit [177182] by timothy_horton@apple.com
  • 2 edits in trunk/Source/WebCore

Fix the build.

  • platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h:
2:17 PM Changeset in webkit [177181] by ggaren@apple.com
  • 11 edits
    2 adds in trunk/Source/bmalloc

bmalloc should support system memory analysis tools (part 1)
https://bugs.webkit.org/show_bug.cgi?id=139559

Reviewed by Mark Lam.

This patch adds the hooks to disable bmalloc at runtime if certain
environment variables are set, but doesn't actually read from the
environment yet.

No performance change.

  • bmalloc.xcodeproj/project.pbxproj: Added the Environment class, which

we'll use to read environment variables and see if memory analysis tools
have been enabled.

  • bmalloc/Allocator.cpp:

(bmalloc::Allocator::Allocator):
(bmalloc::Allocator::allocateSlowCase): Added a hook to disable bmalloc
on the allocation path. We cache the setting to make the check fast.

  • bmalloc/Allocator.h: Interface changes.
  • bmalloc/Cache.cpp:

(bmalloc::Cache::Cache): Pass a heap pointer through to our allocator
and deallocator. This main purpose is to enable them to query the
environment for whether bmalloc is enabled; but this is also a slightly
cleaner way to guarantee to them that the Heap has been pre-initialized.

  • bmalloc/Deallocator.cpp:

(bmalloc::Deallocator::Deallocator): If bmalloc is disable, artificially
fill the object log to force us to take the slow path on all deallocations.

(bmalloc::Deallocator::deallocateSlowCase): Do the disabled check.

  • bmalloc/Deallocator.h: Interface changes.
  • bmalloc/Environment.cpp: Added.

(bmalloc::Environment::Environment):
(bmalloc::Environment::computeIsBmallocEnabled):

  • bmalloc/Environment.h: Added.

(bmalloc::Environment::isBmallocEnabled): This is the class that will
encapsulate looking for environment variables that turn on heap
analysis tools.

  • bmalloc/Heap.h:

(bmalloc::Heap::environment):

  • bmalloc/Mutex.h:

(bmalloc::Mutex::Mutex):

  • bmalloc/StaticMutex.h: A little refactoring to clarify these comments,

since I got super confused about them while writing this patch.

  • bmalloc/VMHeap.cpp: Fixed an #include.
2:00 PM Changeset in webkit [177180] by timothy_horton@apple.com
  • 10 edits
    2 adds in trunk/Source

Move the preview popover to WKImmediateActionController
https://bugs.webkit.org/show_bug.cgi?id=139560
<rdar://problem/19208291>

Reviewed by Beth Dakin.

  • Shared/API/c/WKImmediateActionTypes.h:

Add a link preview type.

  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:context:configuration:webView:]):
Pass the gesture recognizer to the WKImmediateActionController.

(-[WKView _setPreviewTitle:]):
Forward preview title changes to the WKImmediateActionController,
because that's where the preview popover lives now.

  • UIProcess/mac/WKActionMenuController.h:
  • UIProcess/mac/WKActionMenuController.mm:

Move WKPagePreviewViewController into its own file.
Move page preview popover related code to WKImmediateActionController.

  • UIProcess/mac/WKImmediateActionController.h:
  • UIProcess/mac/WKImmediateActionController.mm:

Compare the gesture recognizers directly instead of their views, for accuracy.
Move page preview popover related code in from WKActionMenuController.
Some of this should eventually move to WKPagePreviewViewController, but
for now for ease of transition we will move it here.

  • UIProcess/mac/WKPagePreviewViewController.h: Added.
  • UIProcess/mac/WKPagePreviewViewController.mm: Added.
  • WebKit2.xcodeproj/project.pbxproj:

Move WKPagePreviewViewController into its own file.

  • platform/spi/mac/NSImmediateActionGestureRecognizerSPI.h:

Add some requisite SPI.

1:57 PM Changeset in webkit [177179] by jer.noble@apple.com
  • 3 edits in trunk/Source/WebCore

[Mac] Crash in -[WebVideoFullscreenHUDWindowController playing] in WK1 clients without FULLSCREEN_API enabled.
https://bugs.webkit.org/show_bug.cgi?id=139546

Reviewed by Eric Carlson.

Finish the work started by r173230 and rename mediaElement -> videoElement in WebVideoFullscreenHUDWindowController.

  • platform/mac/WebVideoFullscreenHUDWindowController.h:
  • platform/mac/WebVideoFullscreenHUDWindowController.mm:

(-[WebVideoFullscreenHUDWindowController endScrubbing]):
(-[WebVideoFullscreenHUDWindowController timelinePositionChanged:]):
(-[WebVideoFullscreenHUDWindowController currentTime]):
(-[WebVideoFullscreenHUDWindowController setCurrentTime:]):
(-[WebVideoFullscreenHUDWindowController duration]):
(-[WebVideoFullscreenHUDWindowController decrementVolume]):
(-[WebVideoFullscreenHUDWindowController incrementVolume]):
(-[WebVideoFullscreenHUDWindowController volume]):
(-[WebVideoFullscreenHUDWindowController setVolume:]):
(-[WebVideoFullscreenHUDWindowController playing]):
(-[WebVideoFullscreenHUDWindowController setPlaying:]):
(-[WebVideoFullscreenHUDWindowController remainingTimeText]):
(-[WebVideoFullscreenHUDWindowController elapsedTimeText]):
(-[WebVideoFullscreenHUDWindowController rewind:]):
(-[WebVideoFullscreenHUDWindowController fastForward:]):

1:42 PM Changeset in webkit [177178] by andersca@apple.com
  • 2 edits in trunk/Source/WebCore

Fix iOS build.

  • storage/StorageTracker.cpp:

(WebCore::StorageTracker::syncDeleteAllOrigins):

1:17 PM Changeset in webkit [177177] by commit-queue@webkit.org
  • 3 edits in trunk/Source/WebKit2

[GTK] Minor fixes for documentation and translations
https://bugs.webkit.org/show_bug.cgi?id=139450

Patch by Tomas Popela <tpopela@redhat.com> on 2014-12-11
Reviewed by Sergio Villar Senin.

  • UIProcess/API/gtk/WebKitNavigationAction.cpp:

Fix typo in documentation.

  • UIProcess/API/gtk/WebKitWebView.cpp:

(webkit_web_view_class_init):
Mark zoom-level and is-loading properties names for translation and
when touching them also fix the indentation style.

1:09 PM Changeset in webkit [177176] by ap@apple.com
  • 2 edits in trunk/LayoutTests

fast/workers/worker-constructor.html frequently crashes
https://bugs.webkit.org/show_bug.cgi?id=139548

12:45 PM Changeset in webkit [177175] by dbates@webkit.org
  • 3 edits
    3 adds
    497 deletes in trunk/LayoutTests

[iOS] Update expected results for LayoutTests/{scrollingcoordinator, security, sputnik,
storage, svg, tables, transforms, transitions, traversal}

Also skip some animation, css, compositing, transitions, and crypto tests that timeout
when using WebKit1/WebKit2 and remove duplicate and erroneous entries from file
LayoutTests/platform/ios-simulator/TestExpectations.

  • platform/ios-simulator-wk2/TestExpectations:
  • platform/ios-simulator/TestExpectations:

[...]

12:41 PM Changeset in webkit [177174] by ap@apple.com
  • 2 edits in trunk/LayoutTests

fast/workers/worker-constructor.html frequently crashes
https://bugs.webkit.org/show_bug.cgi?id=139548

  • TestExpectations: Skip the test while Michael is investigating. This is a pre-existing

failure that became a lot more frequent today.

12:18 PM Changeset in webkit [177173] by andersca@apple.com
  • 1 edit in trunk/Source/WebCore/ChangeLog

Remove a duplicate ChangeLog entry.

12:17 PM Changeset in webkit [177172] by andersca@apple.com
  • 3 edits in trunk/Source/WebCore

Stop using SQLiteFileSystem in the storage code
https://bugs.webkit.org/show_bug.cgi?id=139549

Reviewed by Sam Weinig.

Just inline the SQLiteFileSystem calls into their respective call sites.
This is more preparation for moving the old storage code into WebKit proper.

  • storage/StorageAreaSync.cpp:

(WebCore::StorageAreaSync::deleteEmptyDatabase):

  • storage/StorageTracker.cpp:

(WebCore::StorageTracker::trackerDatabasePath):
(WebCore::ensureDatabaseFileExists):
(WebCore::StorageTracker::openTrackerDatabase):
(WebCore::truncateDatabaseFile):
(WebCore::StorageTracker::syncDeleteAllOrigins):
(WebCore::StorageTracker::syncDeleteOrigin):
(WebCore::StorageTracker::diskUsageForOrigin):

12:15 PM Changeset in webkit [177171] by bshafiei@apple.com
  • 5 edits in trunk/Source

Versioning.

12:11 PM Changeset in webkit [177170] by bshafiei@apple.com
  • 1 copy in tags/Safari-601.1.12

New tag.

12:08 PM Changeset in webkit [177169] by ap@apple.com
  • 28 edits
    35 deletes in trunk

Unreviewed, rolling out r177155.

Caused crashes on webarchive tests.

Reverted changeset:

"[SVG Masking] Enable the use of <mask> elements for -webkit-
mask-image"
https://bugs.webkit.org/show_bug.cgi?id=139294
http://trac.webkit.org/changeset/177155

11:46 AM Changeset in webkit [177168] by Joseph Pecoraro
  • 16 edits in trunk/Source/JavaScriptCore

Explicitly export somre more RWIProtocol classes.
rdar://problem/19220408

Unreviewed build fix.

  • inspector/scripts/codegen/generate_objc_configuration_header.py:

(ObjCConfigurationHeaderGenerator._generate_configuration_interface_for_domains):

  • inspector/scripts/codegen/generate_objc_header.py:

(ObjCHeaderGenerator._generate_event_interfaces):

  • inspector/scripts/tests/expected/commands-with-async-attribute.json-result:
  • inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result:
  • inspector/scripts/tests/expected/domains-with-varying-command-sizes.json-result:
  • inspector/scripts/tests/expected/enum-values.json-result:
  • inspector/scripts/tests/expected/events-with-optional-parameters.json-result:
  • inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result:
  • inspector/scripts/tests/expected/same-type-id-different-domain.json-result:
  • inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result:
  • inspector/scripts/tests/expected/type-declaration-aliased-primitive-type.json-result:
  • inspector/scripts/tests/expected/type-declaration-array-type.json-result:
  • inspector/scripts/tests/expected/type-declaration-enum-type.json-result:
  • inspector/scripts/tests/expected/type-declaration-object-type.json-result:
  • inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result:
11:38 AM Changeset in webkit [177167] by andersca@apple.com
  • 6 edits in trunk/Source

Call StorageThread::releaseFastMallocFreeMemoryInAllThreads from WebKit
https://bugs.webkit.org/show_bug.cgi?id=139547

Reviewed by Sam Weinig.

Source/WebCore:

This is another step towards moving StorageThread (and friends) to WebKit.

  • WebCore.exp.in:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/MemoryPressureHandler.cpp:

(WebCore::MemoryPressureHandler::releaseMemory):

Source/WebKit/mac:

  • WebView/WebView.mm:

(+[WebView _handleMemoryWarning]):

11:35 AM Changeset in webkit [177166] by dino@apple.com
  • 4 edits
    2 adds in trunk

ASSERTION FAILED: animatedTypes[0].properties.size() == 1 in WebCore::SVGAnimatedTypeAnimator::constructFromBaseValue.
https://bugs.webkit.org/show_bug.cgi?id=139046.

Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2014-12-11
Reviewed by Dirk Schulze.

Source/WebCore:

Test: svg/animations/unsupported-animate-element-attributes.svg.

The SVG base animator element should not animate an attribute if it is not
supported by the target SVG element. Besides the CSS presentation attributes,
every SVG element defines which attributes can be animated by including them
between BEGIN_DECLARE_ANIMATED_PROPERTIES and END_DECLARE_ANIMATED_PROPERTIES
in the definition of the class. This definition builds attribute-properties map.
When restarting the animation, the animator looks for all the attributes that
match the animated attribute name. If the supported attribute-properties map
does not include the animated attribute name, an empty element-properties list
should be returned. When getting an empty element-properties list, the animator
should not start any animation for the unsupported attribute.

Do not start the animation if the animated attribute is not supported by
the target SVG element.

  • svg/SVGAnimateElementBase.cpp:

(WebCore::SVGAnimateElementBase::resetAnimatedType):

Return an empty element-properties list if the animated attribute is not
supported by the target SVG element.

  • svg/SVGAnimatedTypeAnimator.cpp:

(WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):

LayoutTests:

Ensure the animation attributes will be ignored by the SVG base animator if
they are not supported by the SVG target element.

  • svg/animations/unsupported-animate-element-attributes-expected.svg: Added.
  • svg/animations/unsupported-animate-element-attributes.svg: Added.
11:29 AM Changeset in webkit [177165] by dino@apple.com
  • 4 edits
    4 adds in trunk

InstancedArray crashes attempting to draw out of bounds
https://bugs.webkit.org/show_bug.cgi?id=139521
Source/WebCore:

Reviewed by Simon Fraser.

We were not doing index validation correctly for instancing.

Test: fast/canvas/webgl/angle-instanced-arrays-out-of-bounds.html

  • html/canvas/WebGLRenderingContext.cpp:

(WebCore::WebGLRenderingContext::validateVertexAttributes): We need to check
the number of instances drawn against the amount of instance data that has
been provided, taking into account the number of repeats (the divisor).
(WebCore::WebGLRenderingContext::drawArrays): Added some whitespace to make it more clear.
(WebCore::WebGLRenderingContext::validateDrawElements): This needs to take a primcount
parameter so that it can correctly validate the call (when used from drawElementsInstanced).
(WebCore::WebGLRenderingContext::drawElements): New signature to validate.
(WebCore::WebGLRenderingContext::drawArraysInstanced): Rearrange this a bit. The
primcount validation is already being done by the validateDrawArrays call. Also, there
was a bogus UNUSED_PARAM hanging around.
(WebCore::WebGLRenderingContext::drawElementsInstanced): Similar rearrangement. Use
the primcount parameter.

  • html/canvas/WebGLRenderingContext.h:

LayoutTests:

<rdar://problem/17540398>

Reviewed by Simon Fraser.

This is a copy of the official webgl/1.0.3 test.

  • platform/mac-mountainlion/fast/canvas/webgl/angle-instanced-arrays-out-of-bounds-expected.txt: Added. This extension is not available on Mountain Lion.
  • fast/canvas/webgl/angle-instanced-arrays-out-of-bounds-expected.txt: Added.
  • fast/canvas/webgl/angle-instanced-arrays-out-of-bounds.html: Added.
  • fast/canvas/webgl/resources/out-of-bounds-test.js: Added.

(OutOfBoundsTest):

11:28 AM Changeset in webkit [177164] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

Web Inspector: Inspector Process crash when navigating to non-inspectable page
https://bugs.webkit.org/show_bug.cgi?id=139508

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-12-11
Reviewed by Zalan Bujtas.

The Inspector Process can still receive InspectorFrontendHost messages
even though the backend connection has been invalidated and cleared.
Only send messages if the connection exists.

  • WebProcess/WebPage/WebInspectorUI.cpp:

(WebKit::WebInspectorUI::openInNewTab):
(WebKit::WebInspectorUI::sendMessageToBackend):

11:26 AM Changeset in webkit [177163] by commit-queue@webkit.org
  • 6 edits in trunk/Source/WebKit2

WebKit2 should expose FirstVisuallyNonEmptyLayout rendering milestone.
https://bugs.webkit.org/show_bug.cgi?id=139514

Expose DidFirstVisuallyNonEmptyLayout so that WebKit2 client can listen to visually non-empty layout rendering event.

Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-12-11
Reviewed by Dan Bernstein.

  • Shared/API/Cocoa/WKRenderingProgressEvents.h: Add WKRenderingProgressEventFirstVisuallyNonEmptyLayout to WKRenderingProgressEvents.
  • Shared/API/Cocoa/WKRenderingProgressEventsInternal.h: Also map kWKDidFirstVisuallyNonEmptyLayout to WKRenderingProgressEventFirstVisuallyNonEmptyLayout.

(renderingProgressEvents):

  • UIProcess/API/Cocoa/WKWebView.mm:

(layoutMilestones): Map _WKRenderingProgressEventFirstVisuallyNonEmptyLayout to WebCore::DidFirstVisuallyNonEmptyLayout.

  • UIProcess/API/Cocoa/WKWebViewPrivate.h:
  • UIProcess/Cocoa/NavigationState.mm: Add _WKRenderingProgressEventFirstVisuallyNonEmptyLayout to _WKRenderingProgressEventFirstLayout.

(WebKit::renderingProgressEvents): Map WebCore::DidFirstVisuallyNonEmptyLayout to _WKRenderingProgressEventFirstVisuallyNonEmptyLayout.

11:24 AM Changeset in webkit [177162] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[GTK] Disable backspace key navigation
https://bugs.webkit.org/show_bug.cgi?id=136231

Patch by Michael Catanzaro <Michael Catanzaro> on 2014-12-11
Reviewed by Carlos Garcia Campos.

  • WebProcess/WebPage/gtk/WebPageGtk.cpp:

(WebKit::WebPage::performDefaultBehaviorForKeyEvent): remove handling
for backspace and <shift>backspace key combinations.

11:23 AM Changeset in webkit [177161] by commit-queue@webkit.org
  • 2 edits in trunk/Source/WebKit2

[GTK] String changes for the HTTP authentication dialog
https://bugs.webkit.org/show_bug.cgi?id=136782

Patch by Michael Catanzaro <Michael Catanzaro> on 2014-12-11
Reviewed by Carlos Garcia Campos.

  • UIProcess/API/gtk/WebKitAuthenticationDialog.cpp:

(webkitAuthenticationDialogInitialize): Add a title to the dialog, add
some missing mnemonics, and tweak a few strings.

10:30 AM Changeset in webkit [177160] by dbates@webkit.org
  • 3 edits
    3 adds
    1 delete in trunk/LayoutTests

[iOS] Update expected results for LayoutTests/{js, loader, mathml, pageoverlay, scrollbars}

  • platform/ios-simulator-wk2/TestExpectations:
  • platform/ios-simulator/TestExpectations:
  • platform/ios-simulator/js/dom/constructor-length-expected.txt: Added.
  • platform/ios-simulator/scrollbars/scrollbar-selectors-expected.png: Removed.
10:23 AM Changeset in webkit [177159] by andersca@apple.com
  • 2 edits in trunk/Source/WebKit

Build fix.

  • Storage/WebStorageNamespaceProvider.h:
10:17 AM Changeset in webkit [177158] by andersca@apple.com
  • 1 edit in trunk/Source/WebCore/ChangeLog

Remove unused storage header includes
https://bugs.webkit.org/show_bug.cgi?id=139540

Reviewed by Antti Koivisto.

  • storage/StorageAreaImpl.cpp:
  • storage/StorageAreaSync.cpp:
  • storage/StorageNamespaceImpl.cpp:

(WebCore::StorageNamespaceImpl::localStorageNamespace): Deleted.
(WebCore::StorageNamespaceImpl::sessionStorageNamespace): Deleted.
(WebCore::StorageNamespaceImpl::transientLocalStorageNamespace): Deleted.

  • storage/StorageNamespaceImpl.h:
  • storage/StorageSyncManager.cpp:
  • storage/StorageThread.cpp:
  • storage/StorageTracker.cpp:
10:15 AM Changeset in webkit [177157] by andersca@apple.com
  • 3 edits in trunk/Source/WebKit

Replicate a bunch of PageGroup functions in WebStorageNamespaceProvider
https://bugs.webkit.org/show_bug.cgi?id=139544

Reviewed by Antti Koivisto.

This code is currently unused but will be called by StorageTracker once that class has been
moved from WebCore to WebKit.

  • Storage/WebStorageNamespaceProvider.cpp:

(WebStorageNamespaceProvider::clearLocalStorageForAllOrigins):
(WebStorageNamespaceProvider::clearLocalStorageForOrigin):
(WebStorageNamespaceProvider::closeIdleLocalStorageDatabases):
(WebStorageNamespaceProvider::syncLocalStorage):

  • Storage/WebStorageNamespaceProvider.h:
10:02 AM Changeset in webkit [177156] by ap@apple.com
  • 9 edits in trunk/Source/JavaScriptCore

Explicitly export some RWIProtocol classes
rdar://problem/19220408

  • inspector/scripts/codegen/generate_objc_header.py:

(ObjCHeaderGenerator._generate_type_interface):

  • inspector/scripts/tests/expected/commands-with-async-attribute.json-result:
  • inspector/scripts/tests/expected/commands-with-optional-call-return-parameters.json-result:
  • inspector/scripts/tests/expected/events-with-optional-parameters.json-result:
  • inspector/scripts/tests/expected/generate-domains-with-feature-guards.json-result:
  • inspector/scripts/tests/expected/shadowed-optional-type-setters.json-result:
  • inspector/scripts/tests/expected/type-declaration-object-type.json-result:
  • inspector/scripts/tests/expected/type-requiring-runtime-casts.json-result:
9:54 AM Changeset in webkit [177155] by Antti Koivisto
  • 28 edits
    35 adds in trunk

[SVG Masking] Enable the use of <mask> elements for -webkit-mask-image
https://bugs.webkit.org/show_bug.cgi?id=139294

Patch by Radu Stavila <stavila@adobe.com> on 2014-12-11
Reviewed by Simon Fraser.

Source/WebCore:

This patch links together all parts required for the functionality which improves
the -webkit-mask-image property by allowing it to reference a <mask> element defined
in an inline or external SVG document.
Support for this new functionality has been added in a previous patch, under issue
https://bugs.webkit.org/show_bug.cgi?id=139092. A more detailed description of how
the new functionality works can be found in the ChangeLog for that commit.
The containsSVGDocument in ScrollView has been removed because it was added in the
previous patch but is no longer required.

Tests: css3/masking/mask-base64.html

css3/masking/mask-multiple-values.html
css3/masking/mask-svg-clipped-fragmentId.html
css3/masking/mask-svg-fragmentId.html
css3/masking/mask-svg-inline-fragmentId.html
css3/masking/mask-svg-inline-invalid-fragmentId.html
css3/masking/mask-svg-invalid-fragmentId.html
css3/masking/mask-svg-no-fragmentId-tiled.html
css3/masking/mask-svg-no-fragmentId.html
css3/masking/mask-svg-script-entire-svg-to-mask.html
css3/masking/mask-svg-script-mask-to-entire-svg.html
css3/masking/mask-svg-script-mask-to-none.html
css3/masking/mask-svg-script-mask-to-png.html
css3/masking/mask-svg-script-none-to-mask.html
css3/masking/mask-svg-script-none-to-png.html
css3/masking/mask-svg-script-png-to-mask.html
css3/masking/mask-svg-script-png-to-none.html

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::ComputedStyleExtractor::propertyValue):

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFillShorthand):
(WebCore::CSSParser::parseFillProperty):
(WebCore::CSSParser::parseMaskImage):

  • css/CSSParser.h:
  • css/DeprecatedStyleBuilder.cpp:

(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::adjustStyleForMaskImages):
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::loadPendingSVGDocuments):
(WebCore::StyleResolver::createMaskImageOperations):
(WebCore::StyleResolver::loadPendingImages):

  • page/animation/CSSPropertyAnimation.cpp:

(WebCore::blendFunc):
(WebCore::MaskImagePropertyWrapper::MaskImagePropertyWrapper):
(WebCore::MaskImagePropertyWrapper::equals):
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

  • platform/graphics/MaskImageOperation.cpp:

(WebCore::MaskImageOperation::~MaskImageOperation):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::maskClipRect):

  • rendering/RenderBox.h:
  • rendering/RenderBoxModelObject.cpp:

(WebCore::RenderBoxModelObject::paintFillLayerExtended):
(WebCore::RenderBoxModelObject::calculateFillTileSize):
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):

  • rendering/RenderElement.cpp:

(WebCore::RenderElement::~RenderElement):
(WebCore::RenderElement::updateFillImages):

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::calculateClipRects):

  • rendering/RenderLayer.h:
  • rendering/style/FillLayer.h:
  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::setMaskImage):

  • rendering/style/RenderStyle.h:

LayoutTests:

Added tests for different situations using URLs with fragment id
for the -webkit-mask-image property.

  • css3/masking/mask-base64-expected.html: Added.
  • css3/masking/mask-base64.html: Added.
  • css3/masking/mask-multiple-values-expected.html: Added.
  • css3/masking/mask-multiple-values.html: Added.
  • css3/masking/mask-repeat-space-padding-expected.html:
  • css3/masking/mask-repeat-space-padding.html:
  • css3/masking/mask-svg-clipped-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-clipped-fragmentId.html: Added.
  • css3/masking/mask-svg-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-fragmentId.html: Added.
  • css3/masking/mask-svg-inline-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-inline-fragmentId.html: Added.
  • css3/masking/mask-svg-inline-invalid-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-inline-invalid-fragmentId.html: Added.
  • css3/masking/mask-svg-invalid-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-invalid-fragmentId.html: Added.
  • css3/masking/mask-svg-no-fragmentId-expected.html: Added.
  • css3/masking/mask-svg-no-fragmentId-tiled-expected.html: Added.
  • css3/masking/mask-svg-no-fragmentId-tiled.html: Added.
  • css3/masking/mask-svg-no-fragmentId.html: Added.
  • css3/masking/mask-svg-script-entire-svg-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-entire-svg-to-mask.html: Added.
  • css3/masking/mask-svg-script-mask-to-entire-svg-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-entire-svg.html: Added.
  • css3/masking/mask-svg-script-mask-to-none-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-none.html: Added.
  • css3/masking/mask-svg-script-mask-to-png-expected.html: Added.
  • css3/masking/mask-svg-script-mask-to-png.html: Added.
  • css3/masking/mask-svg-script-none-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-none-to-mask.html: Added.
  • css3/masking/mask-svg-script-none-to-png-expected.html: Added.
  • css3/masking/mask-svg-script-none-to-png.html: Added.
  • css3/masking/mask-svg-script-png-to-mask-expected.html: Added.
  • css3/masking/mask-svg-script-png-to-mask.html: Added.
  • css3/masking/mask-svg-script-png-to-none-expected.html: Added.
  • css3/masking/mask-svg-script-png-to-none.html: Added.
  • css3/masking/resources/masks.svg: Added.
9:51 AM Changeset in webkit [177154] by jeremyj-wk@apple.com
  • 13 edits in trunk/Source

Restore interface state when stopping optimized fullscreen.
https://bugs.webkit.org/show_bug.cgi?id=139465

Reviewed by Simon Fraser.

  • platform/ios/WebVideoFullscreenControllerAVKit.mm:

(-[WebVideoFullscreenController fullscreenMayReturnToInline:]): add empty implementation.

  • platform/ios/WebVideoFullscreenInterfaceAVKit.h: add declaration
  • platform/ios/WebVideoFullscreenInterfaceAVKit.mm:

(WebVideoFullscreenInterfaceAVKit::enterFullscreen): restore interface context when optimized mode ends.
(WebVideoFullscreenInterfaceAVKit::setIsOptimized): restore interface context when optimized mode ends.

  • UIProcess/API/APIUIClient.h:

(API::UIClient::fullscreenMayReturnToInline): added

  • UIProcess/API/Cocoa/WKUIDelegatePrivate.h: add declaration
  • UIProcess/Cocoa/UIDelegate.h: add declaration
  • UIProcess/Cocoa/UIDelegate.mm:

(WebKit::UIDelegate::setDelegate): check for responds to selector
(WebKit::UIDelegate::UIClient::fullscreenMayReturnToInline): added

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::fullscreenMayReturnToInline): added.

  • UIProcess/WebPageProxy.h: add declaration
  • UIProcess/ios/WebVideoFullscreenManagerProxy.h: add declaration
  • UIProcess/ios/WebVideoFullscreenManagerProxy.mm:

(WebKit::WebVideoFullscreenManagerProxy::fullscreenMayReturnToInline): show the tab.

9:37 AM Changeset in webkit [177153] by andersca@apple.com
  • 8 edits in trunk/Source/WebCore

Remove unused storage header includes
https://bugs.webkit.org/show_bug.cgi?id=139540

Reviewed by Antti Koivisto.

  • storage/StorageAreaImpl.cpp:
  • storage/StorageAreaSync.cpp:
  • storage/StorageNamespaceImpl.cpp:

(WebCore::StorageNamespaceImpl::localStorageNamespace): Deleted.
(WebCore::StorageNamespaceImpl::sessionStorageNamespace): Deleted.
(WebCore::StorageNamespaceImpl::transientLocalStorageNamespace): Deleted.

  • storage/StorageNamespaceImpl.h:
  • storage/StorageSyncManager.cpp:
  • storage/StorageThread.cpp:
  • storage/StorageTracker.cpp:
9:23 AM Changeset in webkit [177152] by ap@apple.com
  • 18 edits in trunk/Source

REGRESSION (Async Text Input): Text input method state is not reset when reloading a page
https://bugs.webkit.org/show_bug.cgi?id=139504
rdar://problem/19034674

Reviewed by Enrica Casucci.

Source/WebCore:

Explicitly notify EditorClient when a composition is voluntarily canceled by WebCore.
These are almost certainly not all the places where this happens, but this fixes the bug,
and lays the groundwork for using this new client call instead of didChangeSelection
hacks.

  • editing/Editor.cpp:

(WebCore::Editor::clear):
(WebCore::Editor::cancelComposition):

  • loader/EmptyClients.h:
  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::willTransitionToCommitted):

  • page/EditorClient.h:

Source/WebKit/mac:

Stub out new client calls, this patch does not attempt to make any changes on WebKit1.

  • WebCoreSupport/WebEditorClient.h:
  • WebCoreSupport/WebEditorClient.mm:

(WebEditorClient::discardedComposition):

Source/WebKit/win:

Stub out new client calls, this patch doesn't attempt to make any changes on Windows.

  • WebCoreSupport/WebEditorClient.cpp:

(WebEditorClient::discardedComposition):

  • WebCoreSupport/WebEditorClient.h:

Source/WebKit2:

WebKit2 used to look at EditorState changes and guess when to cancel a composition.
This was quite unreliable, and needlessly complicated - WebCore knows when it decides
to destroy a composition, so it now explicitly notifies the clients.

  • UIProcess/API/mac/WKView.mm: (-[WKView _processDidExit]): Address crashing case too.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::resetStateAfterProcessExited):

  • WebProcess/WebCoreSupport/WebEditorClient.cpp:

(WebKit::WebEditorClient::discardedComposition):

  • WebProcess/WebCoreSupport/WebEditorClient.h:
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::didChangeSelection):
(WebKit::WebPage::discardedComposition):

  • WebProcess/WebPage/WebPage.h:
9:12 AM Changeset in webkit [177151] by andersca@apple.com
  • 23 edits
    3 deletes in trunk/Source

Get rid of the storage strategy
https://bugs.webkit.org/show_bug.cgi?id=139519

Reviewed by Antti Koivisto.

Source/WebCore:

  • CMakeLists.txt:
  • WebCore.exp.in:
  • WebCore.vcxproj/WebCore.vcxproj:
  • WebCore.vcxproj/WebCore.vcxproj.filters:
  • WebCore.xcodeproj/project.pbxproj:
  • page/DOMWindow.cpp:

(WebCore::DOMWindow::localStorage):

  • page/Page.cpp:

(WebCore::Page::Page):
(WebCore::Page::~Page):
(WebCore::Page::sessionStorage):
(WebCore::Page::setStorageNamespaceProvider):

  • page/Page.h:

(WebCore::Page::storageNamespaceProvider):

  • page/PageGroup.cpp:

(WebCore::PageGroup::localStorage):
(WebCore::PageGroup::transientLocalStorage):

  • platform/PlatformStrategies.h:

(WebCore::PlatformStrategies::PlatformStrategies):
(WebCore::PlatformStrategies::storageStrategy): Deleted.

  • storage/StorageNamespace.cpp: Removed.
  • storage/StorageNamespace.h:
  • storage/StorageStrategy.cpp: Removed.
  • storage/StorageStrategy.h: Removed.

Source/WebKit/mac:

  • WebCoreSupport/WebPlatformStrategies.h:
  • WebCoreSupport/WebPlatformStrategies.mm:

(WebPlatformStrategies::createStorageStrategy): Deleted.

Source/WebKit/win:

  • WebCoreSupport/WebPlatformStrategies.cpp:

(WebPlatformStrategies::createStorageStrategy): Deleted.

  • WebCoreSupport/WebPlatformStrategies.h:

Source/WebKit2:

  • NetworkProcess/NetworkProcessPlatformStrategies.cpp:

(WebKit::NetworkProcessPlatformStrategies::createStorageStrategy): Deleted.

  • NetworkProcess/NetworkProcessPlatformStrategies.h:
  • WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:

(WebKit::WebPlatformStrategies::createStorageStrategy): Deleted.

  • WebProcess/WebCoreSupport/WebPlatformStrategies.h:
9:09 AM Changeset in webkit [177150] by Carlos Garcia Campos
  • 3 edits in trunk/Source/WebKit2

[GTK] WebKitNotification is defined twice
https://bugs.webkit.org/show_bug.cgi?id=139538

Reviewed by Martin Robinson.

Remove the typedef from WebKitForwardDeclarations.h since it's
already in WebKitNotification.h and include WebKitNotification.h
in WebKitWebView.h.

  • UIProcess/API/gtk/WebKitForwardDeclarations.h:
  • UIProcess/API/gtk/WebKitWebView.h:
9:09 AM Changeset in webkit [177149] by mark.lam@apple.com
  • 3 edits in trunk/Source/JavaScriptCore

Fix broken build after r177146.
https://bugs.webkit.org/show_bug.cgi?id=139533

Not reviewed.

  • interpreter/CallFrame.h:

(JSC::ExecState::init):

  • Restored CallFrame::init() minus the unused JSScope* arg.
  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::init):

  • Remove JSScope* arg when calling CallFrame::init().
9:07 AM Changeset in webkit [177148] by Carlos Garcia Campos
  • 4 edits
    2 deletes in trunk/Source

[GTK] Move click counter logic back to WebKitWebViewBase
https://bugs.webkit.org/show_bug.cgi?id=137685

Reviewed by Martin Robinson.

Source/WebCore:

Remove GtkClickCounter.

  • PlatformGTK.cmake:
  • platform/gtk/GtkClickCounter.cpp: Removed.
  • platform/gtk/GtkClickCounter.h: Removed.

Source/WebKit2:

It was moved to a shared class in platform to be used by both
WebKit1 and WebKit2, but it's currently only used by WebKitWebViewBase.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp:

(ClickCounter::reset):
(ClickCounter::currentClickCountForGdkButtonEvent):
(webkitWebViewBaseButtonPressEvent):

9:02 AM Changeset in webkit [177147] by clopez@igalia.com
  • 3 edits in trunk/Tools

[GTK] REGRESSION(r175555) GTK API Tests run outside the JHBuild.
https://bugs.webkit.org/show_bug.cgi?id=139537

Reviewed by Carlos Garcia Campos.

  • jhbuild/jhbuild-wrapper: Pass the port name in the invocation

of get_dependencies_path().

  • jhbuild/jhbuildutils.py:

(get_dependencies_path): Fix the function to return the new
dependencies path: DependenciesPORT.
(enter_jhbuild_environment_if_available): Pass the port name
when invoking get_dependencies_path().

8:41 AM Changeset in webkit [177146] by msaboff@apple.com
  • 19 edits in trunk/Source/JavaScriptCore

REGRESSION: Use of undefined CallFrame::ScopeChain value
https://bugs.webkit.org/show_bug.cgi?id=139533

Reviewed by Mark Lam.

Removed CallFrame::scope() and CallFrame::setScope() and eliminated or changed
all usages of these funcitons. In some cases the scope is passed in or determined
another way. In some cases the scope is used to calculate other values. Lastly
were places where these functions where used that are no longer needed. For
example when making a call, the caller's ScopeChain was copied to the callee's
ScopeChain. This change no longer uses the ScopeChain call frame header slot.
That slot will be removed in a future patch.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::parseBlock):

  • dfg/DFGSpeculativeJIT32_64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT64.cpp:

(JSC::DFG::SpeculativeJIT::compile):

  • dfg/DFGSpeculativeJIT.h:

(JSC::DFG::SpeculativeJIT::callOperation):

  • jit/JIT.h:
  • jit/JITInlines.h:

(JSC::JIT::callOperation):

  • runtime/JSLexicalEnvironment.h:

(JSC::JSLexicalEnvironment::create):
(JSC::JSLexicalEnvironment::JSLexicalEnvironment):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_create_lexical_environment):

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::emit_op_create_lexical_environment):

  • jit/JITOperations.cpp:
  • jit/JITOperations.h:
  • llint/LLIntSlowPaths.cpp:

(JSC::LLInt::LLINT_SLOW_PATH_DECL):
(JSC::LLInt::handleHostCall):
(JSC::LLInt::setUpCall):
(JSC::LLInt::llint_throw_stack_overflow_error):
Pass the current scope value to the helper operationCreateActivation() and
the call to JSLexicalEnvironment::create() instead of using the stack frame
scope chain value.

  • dfg/DFGFixupPhase.cpp:

(JSC::DFG::FixupPhase::fixupNode):
CreateActivation now has a second child, the scope.

  • interpreter/CallFrame.h:

(JSC::ExecState::init): Deleted. This is dead code.
(JSC::ExecState::scope): Deleted.
(JSC::ExecState::setScope): Deleted.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::dumpRegisters): Changed so we didn't access the scope
chain slot.

(JSC::Interpreter::execute):
(JSC::Interpreter::executeCall):
(JSC::Interpreter::executeConstruct):
Changed process to find JSScope values on the stack or by some other means.

  • runtime/JSWithScope.h:

(JSC::JSWithScope::JSWithScope): Deleted.
Eliminated unused constructor.

  • runtime/StrictEvalActivation.cpp:

(JSC::StrictEvalActivation::StrictEvalActivation):

  • runtime/StrictEvalActivation.h:

(JSC::StrictEvalActivation::create):
Changed to pass in the current scope.

5:37 AM Changeset in webkit [177145] by clopez@igalia.com
  • 2 edits in trunk/Source/WebKit2

[SOUP] [GTK] warning: unused parameter at NetworkProcessSoup.cpp after r177056.
https://bugs.webkit.org/show_bug.cgi?id=139534

Reviewed by Martin Robinson.

  • NetworkProcess/soup/NetworkProcessSoup.cpp:

(WebKit::NetworkProcess::clearDiskCache): Comment the parameter names.

3:22 AM Changeset in webkit [177144] by Carlos Garcia Campos
  • 3 edits in trunk/Source/WebKit2

[GTK] Timers might never be fired during animations
https://bugs.webkit.org/show_bug.cgi?id=139062

Reviewed by Martin Robinson.

This can happen in old/slow machines where the time to render
layers might take more than 0.016. Since the layer flush timer is
using a higher priority than WebCore timers, when scheduling all
(or several) layer flushes immediately, no other sources with
lower priority are dispatched in the main loop. We could detect if
we are scheduling layer flushes immediately for too long (100ms)
and schedule the next flush after a delay to ensure other sources
with lower priority have a chance to be dispatched. Also use a
lower priority, GDK_PRIORITY_EVENTS is too high, so we use
GDK_PRIORITY_REDRAW - 1 to ensure it's higher than WebCore timers.

  • WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:

(WebKit::LayerTreeHostGtk::LayerTreeHostGtk): Rename
m_lastFlushTime as m_lastImmediateFlushTime.
(WebKit::LayerTreeHostGtk::layerFlushTimerFired): Save the
fireTime before calling flushAndRenderLayers() and compute the
next flush delay based on the elapsed time using monotonically
increasing time instead of current time. Use the target delay
as next flush delay if we have scheduled flushes immediately for
more than 100ms.
(WebKit::LayerTreeHostGtk::flushAndRenderLayers): Do not save the
layer flush time here, it's done in layerFlushTimerFired() so that
we don't need to keep it as a member.
(WebKit::LayerTreeHostGtk::scheduleLayerFlush): Use global
layerFlushTimerPriority.

  • WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
2:31 AM Changeset in webkit [177143] by Carlos Garcia Campos
  • 6 edits in trunk/Source/WebCore

[GTK] Implement sizes attribute for link tag
https://bugs.webkit.org/show_bug.cgi?id=125775

Reviewed by Martin Robinson.

  • bindings/gobject/WebKitDOMCustom.cpp:

(webkit_dom_html_link_element_set_sizes): Add custom setter implementation.

  • bindings/gobject/WebKitDOMCustomUnstable.h:
  • bindings/js/JSHTMLLinkElementCustom.cpp:

(WebCore::JSHTMLLinkElement::sizes): Remove custom getter implementation.

  • bindings/scripts/CodeGeneratorGObject.pm:

(HasUnstableCustomAPI): Mark WebKitDOMHTMLLinkElement as having custom unstable API.

  • html/HTMLLinkElement.idl: Mark sizes attribute as CustomSetter

instead of Custom, since the getter can be autogenerated, and make
it available to the GObject DOM bindings too.

1:18 AM Changeset in webkit [177142] by matthew_hanson@apple.com
  • 2 edits in branches/safari-600.3-branch/Source/WebKit2

Merged r177106. rdar://problems/19135389

1:18 AM Changeset in webkit [177141] by matthew_hanson@apple.com
  • 16 edits in branches/safari-600.3-branch/Source/WebKit2

Merged r177104. rdar://problems/19135389

12:52 AM Changeset in webkit [177140] by ap@apple.com
  • 5 edits
    1 delete in trunk/LayoutTests

Mac test expectations gardening.
https://bugs.webkit.org/show_bug.cgi?id=139472

Removed expectations for tests that are no longer flaky, moved WK1 and WK2 only
expectations to correct files, added more flakiness expectations for tests that
fail with ATI graphics.

  • platform/mac-wk1/TestExpectations:
  • platform/mac-wk2/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/mac/canvas/philip/tests/2d.gradient.interpolate.colouralpha-expected.txt: Removed.
  • platform/wk2/TestExpectations:
12:50 AM Changeset in webkit [177139] by matthew_hanson@apple.com
  • 2 edits in branches/safari-600.3-branch/Source/WebKit/mac

Merged r177132. rdar://problems/19213620

12:50 AM Changeset in webkit [177138] by matthew_hanson@apple.com
  • 4 edits in branches/safari-600.3-branch/Source

Merged r177111. rdar://problems/19198388

12:25 AM Changeset in webkit [177137] by Lucas Forschler
  • 1 edit in trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json

Remove invalid Apple slave.

12:11 AM Changeset in webkit [177136] by Lucas Forschler
  • 1 edit in trunk/Tools/BuildSlaveSupport/build.webkit.org-config/config.json

Fix config.json.

Note: See TracTimeline for information about the timeline view.