WebKit-https.git
4 years agoMove platform/mac/accessibility tests to accessibility/mac.
simon.fraser@apple.com [Tue, 4 Aug 2015 03:00:09 +0000 (03:00 +0000)]
Move platform/mac/accessibility tests to accessibility/mac.

Fix paths to script files in the tests. Fix TestExpectations. Remove an unused result.

* TestExpectations:
* accessibility/mac/abbr-acronym-tags-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/abbr-acronym-tags-expected.txt.
* accessibility/mac/abbr-acronym-tags.html: Renamed from LayoutTests/platform/mac/accessibility/abbr-acronym-tags.html.
* accessibility/mac/accesskey-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/accesskey-expected.txt.
* accessibility/mac/accesskey.html: Renamed from LayoutTests/platform/mac/accessibility/accesskey.html.
* accessibility/mac/alt-for-css-content-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/alt-for-css-content-expected.txt.
* accessibility/mac/alt-for-css-content.html: Renamed from LayoutTests/platform/mac/accessibility/alt-for-css-content.html.
* accessibility/mac/area-with-aria-label-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/area-with-aria-label-expected.txt.
* accessibility/mac/area-with-aria-label.html: Renamed from LayoutTests/platform/mac/accessibility/area-with-aria-label.html.
* accessibility/mac/aria-alerts-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-alerts-expected.txt.
* accessibility/mac/aria-alerts.html: Renamed from LayoutTests/platform/mac/accessibility/aria-alerts.html.
* accessibility/mac/aria-columnrowheaders-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-columnrowheaders-expected.txt.
* accessibility/mac/aria-columnrowheaders.html: Renamed from LayoutTests/platform/mac/accessibility/aria-columnrowheaders.html.
* accessibility/mac/aria-directory-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-directory-expected.txt.
* accessibility/mac/aria-directory.html: Renamed from LayoutTests/platform/mac/accessibility/aria-directory.html.
* accessibility/mac/aria-divs-not-ignored-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-divs-not-ignored-expected.txt.
* accessibility/mac/aria-divs-not-ignored.html: Renamed from LayoutTests/platform/mac/accessibility/aria-divs-not-ignored.html.
* accessibility/mac/aria-drag-drop-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-drag-drop-expected.txt.
* accessibility/mac/aria-drag-drop.html: Renamed from LayoutTests/platform/mac/accessibility/aria-drag-drop.html.
* accessibility/mac/aria-expanded-not-exposed-when-undefined-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-not-exposed-when-undefined-expected.txt.
* accessibility/mac/aria-expanded-not-exposed-when-undefined.html: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-not-exposed-when-undefined.html.
* accessibility/mac/aria-expanded-notifications-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-notifications-expected.txt.
* accessibility/mac/aria-expanded-notifications.html: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-notifications.html.
* accessibility/mac/aria-expanded-standard-items-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-standard-items-expected.txt.
* accessibility/mac/aria-expanded-standard-items.html: Renamed from LayoutTests/platform/mac/accessibility/aria-expanded-standard-items.html.
* accessibility/mac/aria-grid-with-strange-hierarchy-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-grid-with-strange-hierarchy-expected.txt.
* accessibility/mac/aria-grid-with-strange-hierarchy.html: Renamed from LayoutTests/platform/mac/accessibility/aria-grid-with-strange-hierarchy.html.
* accessibility/mac/aria-grouping-roles-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-grouping-roles-expected.txt.
* accessibility/mac/aria-grouping-roles.html: Renamed from LayoutTests/platform/mac/accessibility/aria-grouping-roles.html.
* accessibility/mac/aria-hidden-changes-for-non-ignored-elements-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-hidden-changes-for-non-ignored-elements-expected.txt.
* accessibility/mac/aria-hidden-changes-for-non-ignored-elements.html: Renamed from LayoutTests/platform/mac/accessibility/aria-hidden-changes-for-non-ignored-elements.html.
* accessibility/mac/aria-image-emits-object-replacement-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-image-emits-object-replacement-expected.txt.
* accessibility/mac/aria-image-emits-object-replacement.html: Renamed from LayoutTests/platform/mac/accessibility/aria-image-emits-object-replacement.html.
* accessibility/mac/aria-label-overrides-visible-text-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-label-overrides-visible-text-expected.txt.
* accessibility/mac/aria-label-overrides-visible-text.html: Renamed from LayoutTests/platform/mac/accessibility/aria-label-overrides-visible-text.html.
* accessibility/mac/aria-listbox-selectedchildren-change-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-listbox-selectedchildren-change-expected.txt.
* accessibility/mac/aria-listbox-selectedchildren-change.html: Renamed from LayoutTests/platform/mac/accessibility/aria-listbox-selectedchildren-change.html.
* accessibility/mac/aria-liveregion-marquee-default-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default-expected.txt.
* accessibility/mac/aria-liveregion-marquee-default.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregion-marquee-default.html.
* accessibility/mac/aria-liveregion-on-image-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregion-on-image-expected.txt.
* accessibility/mac/aria-liveregion-on-image.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregion-on-image.html.
* accessibility/mac/aria-liveregions-addedelement-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-addedelement-expected.txt.
* accessibility/mac/aria-liveregions-addedelement.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-addedelement.html.
* accessibility/mac/aria-liveregions-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-attributes-expected.txt.
* accessibility/mac/aria-liveregions-attributes.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-attributes.html.
* accessibility/mac/aria-liveregions-changedalt-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-changedalt-expected.txt.
* accessibility/mac/aria-liveregions-changedalt.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-changedalt.html.
* accessibility/mac/aria-liveregions-changedtext-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-changedtext-expected.txt.
* accessibility/mac/aria-liveregions-changedtext.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-changedtext.html.
* accessibility/mac/aria-liveregions-notifications-always-sent-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-notifications-always-sent-expected.txt.
* accessibility/mac/aria-liveregions-notifications-always-sent.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-notifications-always-sent.html.
* accessibility/mac/aria-liveregions-notifications-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-notifications-expected.txt.
* accessibility/mac/aria-liveregions-notifications.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-notifications.html.
* accessibility/mac/aria-liveregions-removedelement-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-removedelement-expected.txt.
* accessibility/mac/aria-liveregions-removedelement.html: Renamed from LayoutTests/platform/mac/accessibility/aria-liveregions-removedelement.html.
* accessibility/mac/aria-menu-closed-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-closed-notification-expected.txt.
* accessibility/mac/aria-menu-closed-notification.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-closed-notification.html.
* accessibility/mac/aria-menu-item-selected-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-item-selected-notification-expected.txt.
* accessibility/mac/aria-menu-item-selected-notification.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-item-selected-notification.html.
* accessibility/mac/aria-menu-open-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-open-notification-expected.txt.
* accessibility/mac/aria-menu-open-notification.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-open-notification.html.
* accessibility/mac/aria-menu-role-descriptions-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-role-descriptions-expected.txt.
* accessibility/mac/aria-menu-role-descriptions.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menu-role-descriptions.html.
* accessibility/mac/aria-menubar-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menubar-expected.txt.
* accessibility/mac/aria-menubar.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menubar.html.
* accessibility/mac/aria-menuitem-checked-value-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menuitem-checked-value-expected.txt.
* accessibility/mac/aria-menuitem-checked-value.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menuitem-checked-value.html.
* accessibility/mac/aria-menuitem-focus-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-menuitem-focus-expected.txt.
* accessibility/mac/aria-menuitem-focus.html: Renamed from LayoutTests/platform/mac/accessibility/aria-menuitem-focus.html.
* accessibility/mac/aria-multiline-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-multiline-expected.txt.
* accessibility/mac/aria-multiline.html: Renamed from LayoutTests/platform/mac/accessibility/aria-multiline.html.
* accessibility/mac/aria-multiple-liveregions-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-multiple-liveregions-notification-expected.txt.
* accessibility/mac/aria-multiple-liveregions-notification.html: Renamed from LayoutTests/platform/mac/accessibility/aria-multiple-liveregions-notification.html.
* accessibility/mac/aria-multiselectable-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-multiselectable-expected.txt.
* accessibility/mac/aria-multiselectable.html: Renamed from LayoutTests/platform/mac/accessibility/aria-multiselectable.html.
* accessibility/mac/aria-owns-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-owns-expected.txt.
* accessibility/mac/aria-owns.html: Renamed from LayoutTests/platform/mac/accessibility/aria-owns.html.
* accessibility/mac/aria-popup-buttons-on-native-elements-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-popup-buttons-on-native-elements-expected.txt.
* accessibility/mac/aria-popup-buttons-on-native-elements.html: Renamed from LayoutTests/platform/mac/accessibility/aria-popup-buttons-on-native-elements.html.
* accessibility/mac/aria-popup-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-popup-expected.txt.
* accessibility/mac/aria-popup.html: Renamed from LayoutTests/platform/mac/accessibility/aria-popup.html.
* accessibility/mac/aria-pressed-button-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-pressed-button-attributes-expected.txt.
* accessibility/mac/aria-pressed-button-attributes.html: Renamed from LayoutTests/platform/mac/accessibility/aria-pressed-button-attributes.html.
* accessibility/mac/aria-radiobutton-text-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-radiobutton-text-expected.txt.
* accessibility/mac/aria-radiobutton-text.html: Renamed from LayoutTests/platform/mac/accessibility/aria-radiobutton-text.html.
* accessibility/mac/aria-radiogroup-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-radiogroup-expected.txt.
* accessibility/mac/aria-radiogroup.html: Renamed from LayoutTests/platform/mac/accessibility/aria-radiogroup.html.
* accessibility/mac/aria-required-popup-button-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-required-popup-button-expected.txt.
* accessibility/mac/aria-required-popup-button.html: Renamed from LayoutTests/platform/mac/accessibility/aria-required-popup-button.html.
* accessibility/mac/aria-slider-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-slider-expected.txt.
* accessibility/mac/aria-slider.html: Renamed from LayoutTests/platform/mac/accessibility/aria-slider.html.
* accessibility/mac/aria-spinbutton-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-spinbutton-crash-expected.txt.
* accessibility/mac/aria-spinbutton-crash.html: Renamed from LayoutTests/platform/mac/accessibility/aria-spinbutton-crash.html.
* accessibility/mac/aria-spinbutton-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-spinbutton-expected.txt.
* accessibility/mac/aria-spinbutton.html: Renamed from LayoutTests/platform/mac/accessibility/aria-spinbutton.html.
* accessibility/mac/aria-table-with-colspan-cells-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-table-with-colspan-cells-expected.txt.
* accessibility/mac/aria-table-with-colspan-cells.html: Renamed from LayoutTests/platform/mac/accessibility/aria-table-with-colspan-cells.html.
* accessibility/mac/aria-toolbar-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-toolbar-expected.txt.
* accessibility/mac/aria-toolbar.html: Renamed from LayoutTests/platform/mac/accessibility/aria-toolbar.html.
* accessibility/mac/aria-tree-activedescendant-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-tree-activedescendant-expected.txt.
* accessibility/mac/aria-tree-activedescendant.html: Renamed from LayoutTests/platform/mac/accessibility/aria-tree-activedescendant.html.
* accessibility/mac/aria-tree-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-tree-expected.txt.
* accessibility/mac/aria-tree-index-of-items-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-tree-index-of-items-expected.txt.
* accessibility/mac/aria-tree-index-of-items.html: Renamed from LayoutTests/platform/mac/accessibility/aria-tree-index-of-items.html.
* accessibility/mac/aria-tree.html: Renamed from LayoutTests/platform/mac/accessibility/aria-tree.html.
* accessibility/mac/aria-treegrid-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-treegrid-expected.txt.
* accessibility/mac/aria-treegrid.html: Renamed from LayoutTests/platform/mac/accessibility/aria-treegrid.html.
* accessibility/mac/aria-valuetext-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-valuetext-expected.txt.
* accessibility/mac/aria-valuetext-on-native-slider-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-valuetext-on-native-slider-expected.txt.
* accessibility/mac/aria-valuetext-on-native-slider.html: Renamed from LayoutTests/platform/mac/accessibility/aria-valuetext-on-native-slider.html.
* accessibility/mac/aria-valuetext.html: Renamed from LayoutTests/platform/mac/accessibility/aria-valuetext.html.
* accessibility/mac/attributed-string-includes-highlighting-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/attributed-string-includes-highlighting-expected.txt.
* accessibility/mac/attributed-string-includes-highlighting.html: Renamed from LayoutTests/platform/mac/accessibility/attributed-string-includes-highlighting.html.
* accessibility/mac/attributed-string-includes-misspelled-with-selection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/attributed-string-includes-misspelled-with-selection-expected.txt.
* accessibility/mac/attributed-string-includes-misspelled-with-selection.html: Renamed from LayoutTests/platform/mac/accessibility/attributed-string-includes-misspelled-with-selection.html.
* accessibility/mac/bounds-for-range-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/bounds-for-range-expected.txt.
* accessibility/mac/bounds-for-range.html: Renamed from LayoutTests/platform/mac/accessibility/bounds-for-range.html.
* accessibility/mac/button-shouldnot-have-axvalue-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/button-shouldnot-have-axvalue-expected.txt.
* accessibility/mac/button-shouldnot-have-axvalue.html: Renamed from LayoutTests/platform/mac/accessibility/button-shouldnot-have-axvalue.html.
* accessibility/mac/canvas-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/canvas-expected.txt.
* accessibility/mac/canvas.html: Renamed from LayoutTests/platform/mac/accessibility/canvas.html.
* accessibility/mac/caret-browsing-arrow-nav-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-arrow-nav-expected.txt.
* accessibility/mac/caret-browsing-arrow-nav.html: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-arrow-nav.html.
* accessibility/mac/caret-browsing-attribute-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-attribute-expected.txt.
* accessibility/mac/caret-browsing-attribute.html: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-attribute.html.
* accessibility/mac/caret-browsing-tab-selection-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-tab-selection-expected.txt.
* accessibility/mac/caret-browsing-tab-selection.html: Renamed from LayoutTests/platform/mac/accessibility/caret-browsing-tab-selection.html.
* accessibility/mac/change-notification-on-scroll-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/change-notification-on-scroll-expected.txt.
* accessibility/mac/change-notification-on-scroll.html: Renamed from LayoutTests/platform/mac/accessibility/change-notification-on-scroll.html.
* accessibility/mac/checkbox-posts-value-change-notification-after-activation-with-space-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/checkbox-posts-value-change-notification-after-activation-with-space-expected.txt.
* accessibility/mac/checkbox-posts-value-change-notification-after-activation-with-space.html: Renamed from LayoutTests/platform/mac/accessibility/checkbox-posts-value-change-notification-after-activation-with-space.html.
* accessibility/mac/clipped-text-under-element-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/clipped-text-under-element-expected.txt.
* accessibility/mac/clipped-text-under-element.html: Renamed from LayoutTests/platform/mac/accessibility/clipped-text-under-element.html.
* accessibility/mac/combobox-activedescendant-notifications-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/combobox-activedescendant-notifications-expected.txt.
* accessibility/mac/combobox-activedescendant-notifications.html: Renamed from LayoutTests/platform/mac/accessibility/combobox-activedescendant-notifications.html.
* accessibility/mac/combox-box-value-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/combox-box-value-expected.txt.
* accessibility/mac/combox-box-value.html: Renamed from LayoutTests/platform/mac/accessibility/combox-box-value.html.
* accessibility/mac/content-editable-range-properties-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/content-editable-range-properties-expected.txt.
* accessibility/mac/content-editable-range-properties.html: Renamed from LayoutTests/platform/mac/accessibility/content-editable-range-properties.html.
* accessibility/mac/crash-in-element-for-text-marker-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/crash-in-element-for-text-marker-expected.txt.
* accessibility/mac/crash-in-element-for-text-marker.html: Renamed from LayoutTests/platform/mac/accessibility/crash-in-element-for-text-marker.html.
* accessibility/mac/crash-invalid-text-marker-node.html: Renamed from LayoutTests/platform/mac/accessibility/crash-invalid-text-marker-node.html.
* accessibility/mac/css-speech-speak-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/css-speech-speak-expected.txt.
* accessibility/mac/css-speech-speak.html: Renamed from LayoutTests/platform/mac/accessibility/css-speech-speak.html.
* accessibility/mac/definition-list-term-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/definition-list-term-expected.txt.
* accessibility/mac/definition-list-term.html: Renamed from LayoutTests/platform/mac/accessibility/definition-list-term.html.
* accessibility/mac/descriptionlist-not-ignored-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/descriptionlist-not-ignored-expected.txt.
* accessibility/mac/descriptionlist-not-ignored.html: Renamed from LayoutTests/platform/mac/accessibility/descriptionlist-not-ignored.html.
* accessibility/mac/details-summary-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/details-summary-expected.txt.
* accessibility/mac/details-summary.html: Renamed from LayoutTests/platform/mac/accessibility/details-summary.html.
* accessibility/mac/div-containing-div-with-aria-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/div-containing-div-with-aria-expected.txt.
* accessibility/mac/div-containing-div-with-aria.html: Renamed from LayoutTests/platform/mac/accessibility/div-containing-div-with-aria.html.
* accessibility/mac/document-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/document-attributes-expected.txt.
* accessibility/mac/document-attributes.html: Renamed from LayoutTests/platform/mac/accessibility/document-attributes.html.
* accessibility/mac/document-links-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/document-links-expected.txt.
* accessibility/mac/document-links.html: Renamed from LayoutTests/platform/mac/accessibility/document-links.html.
* accessibility/mac/document-title-used-for-description-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/document-title-used-for-description-expected.txt.
* accessibility/mac/document-title-used-for-description.html: Renamed from LayoutTests/platform/mac/accessibility/document-title-used-for-description.html.
* accessibility/mac/double-title-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/double-title-expected.txt.
* accessibility/mac/double-title.html: Renamed from LayoutTests/platform/mac/accessibility/double-title.html.
* accessibility/mac/editable-webarea-context-menu-point-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/editable-webarea-context-menu-point-expected.txt.
* accessibility/mac/editable-webarea-context-menu-point.html: Renamed from LayoutTests/platform/mac/accessibility/editable-webarea-context-menu-point.html.
* accessibility/mac/element-busy-changed-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-busy-changed-expected.txt.
* accessibility/mac/element-busy-changed.html: Renamed from LayoutTests/platform/mac/accessibility/element-busy-changed.html.
* accessibility/mac/element-focus-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-focus-expected.txt.
* accessibility/mac/element-focus.html: Renamed from LayoutTests/platform/mac/accessibility/element-focus.html.
* accessibility/mac/element-for-text-marker-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-for-text-marker-expected.txt.
* accessibility/mac/element-for-text-marker.html: Renamed from LayoutTests/platform/mac/accessibility/element-for-text-marker.html.
* accessibility/mac/element-is-ignored-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-is-ignored-expected.txt.
* accessibility/mac/element-is-ignored.html: Renamed from LayoutTests/platform/mac/accessibility/element-is-ignored.html.
* accessibility/mac/element-level-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-level-expected.txt.
* accessibility/mac/element-level.html: Renamed from LayoutTests/platform/mac/accessibility/element-level.html.
* accessibility/mac/element-paths-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/element-paths-expected.txt.
* accessibility/mac/element-paths.html: Renamed from LayoutTests/platform/mac/accessibility/element-paths.html.
* accessibility/mac/estimated-progress-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/estimated-progress-expected.txt.
* accessibility/mac/estimated-progress.html: Renamed from LayoutTests/platform/mac/accessibility/estimated-progress.html.
* accessibility/mac/expanded-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/expanded-notification-expected.txt.
* accessibility/mac/expanded-notification.html: Renamed from LayoutTests/platform/mac/accessibility/expanded-notification.html.
* accessibility/mac/file-upload-button-subrole-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/file-upload-button-subrole-expected.txt.
* accessibility/mac/file-upload-button-subrole.html: Renamed from LayoutTests/platform/mac/accessibility/file-upload-button-subrole.html.
* accessibility/mac/find-and-replace-match-capitalization-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/find-and-replace-match-capitalization-expected.txt.
* accessibility/mac/find-and-replace-match-capitalization.html: Renamed from LayoutTests/platform/mac/accessibility/find-and-replace-match-capitalization.html.
* accessibility/mac/focus-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/focus-crash-expected.txt.
* accessibility/mac/focus-crash.html: Renamed from LayoutTests/platform/mac/accessibility/focus-crash.html.
* accessibility/mac/focus-setting-selection-syncronizing-not-clearing-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/focus-setting-selection-syncronizing-not-clearing-expected.txt.
* accessibility/mac/focus-setting-selection-syncronizing-not-clearing.html: Renamed from LayoutTests/platform/mac/accessibility/focus-setting-selection-syncronizing-not-clearing.html.
* accessibility/mac/footer-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/footer-expected.txt.
* accessibility/mac/footer-roledescription-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/footer-roledescription-expected.txt.
* accessibility/mac/footer-roledescription.html: Renamed from LayoutTests/platform/mac/accessibility/footer-roledescription.html.
* accessibility/mac/footer.html: Renamed from LayoutTests/platform/mac/accessibility/footer.html.
* accessibility/mac/form-control-value-settable-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/form-control-value-settable-expected.txt.
* accessibility/mac/form-control-value-settable.html: Renamed from LayoutTests/platform/mac/accessibility/form-control-value-settable.html.
* accessibility/mac/frame-with-title-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/frame-with-title-expected.txt.
* accessibility/mac/frame-with-title.html: Renamed from LayoutTests/platform/mac/accessibility/frame-with-title.html.
* accessibility/mac/header-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/header-expected.txt.
* accessibility/mac/header.html: Renamed from LayoutTests/platform/mac/accessibility/header.html.
* accessibility/mac/heading-clickpoint-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/heading-clickpoint-expected.txt.
* accessibility/mac/heading-clickpoint.html: Renamed from LayoutTests/platform/mac/accessibility/heading-clickpoint.html.
* accessibility/mac/hr-element-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/hr-element-expected.txt.
* accessibility/mac/hr-element.html: Renamed from LayoutTests/platform/mac/accessibility/hr-element.html.
* accessibility/mac/html-section-elements-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/html-section-elements-expected.txt.
* accessibility/mac/html-section-elements.html: Renamed from LayoutTests/platform/mac/accessibility/html-section-elements.html.
* accessibility/mac/html-slider-indicator-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/html-slider-indicator-expected.txt.
* accessibility/mac/html-slider-indicator.html: Renamed from LayoutTests/platform/mac/accessibility/html-slider-indicator.html.
* accessibility/mac/html-with-aria-label-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/html-with-aria-label-expected.txt.
* accessibility/mac/html-with-aria-label.html: Renamed from LayoutTests/platform/mac/accessibility/html-with-aria-label.html.
* accessibility/mac/html5-input-number-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/html5-input-number-expected.txt.
* accessibility/mac/html5-input-number.html: Renamed from LayoutTests/platform/mac/accessibility/html5-input-number.html.
* accessibility/mac/id-class-attributes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/id-class-attributes-expected.txt.
* accessibility/mac/id-class-attributes.html: Renamed from LayoutTests/platform/mac/accessibility/id-class-attributes.html.
* accessibility/mac/iframe-aria-hidden-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/iframe-aria-hidden-expected.txt.
* accessibility/mac/iframe-aria-hidden.html: Renamed from LayoutTests/platform/mac/accessibility/iframe-aria-hidden.html.
* accessibility/mac/iframe-with-title-correct-hierarchy-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/iframe-with-title-correct-hierarchy-expected.txt.
* accessibility/mac/iframe-with-title-correct-hierarchy.html: Renamed from LayoutTests/platform/mac/accessibility/iframe-with-title-correct-hierarchy.html.
* accessibility/mac/imagemap-hittest-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/imagemap-hittest-expected.txt.
* accessibility/mac/imagemap-hittest.html: Renamed from LayoutTests/platform/mac/accessibility/imagemap-hittest.html.
* accessibility/mac/inherited-presentational-lists-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/inherited-presentational-lists-expected.txt.
* accessibility/mac/inherited-presentational-lists.html: Renamed from LayoutTests/platform/mac/accessibility/inherited-presentational-lists.html.
* accessibility/mac/input-image-url-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/input-image-url-expected.txt.
* accessibility/mac/input-image-url.html: Renamed from LayoutTests/platform/mac/accessibility/input-image-url.html.
* accessibility/mac/input-replacevalue-userinfo-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/input-replacevalue-userinfo-expected.txt.
* accessibility/mac/input-replacevalue-userinfo.html: Renamed from LayoutTests/platform/mac/accessibility/input-replacevalue-userinfo.html.
* accessibility/mac/input-slider-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/input-slider-expected.txt.
* accessibility/mac/input-slider.html: Renamed from LayoutTests/platform/mac/accessibility/input-slider.html.
* accessibility/mac/input-title-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/input-title-expected.txt.
* accessibility/mac/input-title.html: Renamed from LayoutTests/platform/mac/accessibility/input-title.html.
* accessibility/mac/internal-link-anchors-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors-expected.txt.
* accessibility/mac/internal-link-anchors.html: Renamed from LayoutTests/platform/mac/accessibility/internal-link-anchors.html.
* accessibility/mac/internal-link-when-document-has-fragment-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/internal-link-when-document-has-fragment-expected.txt.
* accessibility/mac/internal-link-when-document-has-fragment.html: Renamed from LayoutTests/platform/mac/accessibility/internal-link-when-document-has-fragment.html.
* accessibility/mac/invalid-menu-role-does-not-send-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/invalid-menu-role-does-not-send-notification-expected.txt.
* accessibility/mac/invalid-menu-role-does-not-send-notification.html: Renamed from LayoutTests/platform/mac/accessibility/invalid-menu-role-does-not-send-notification.html.
* accessibility/mac/label-element-with-hidden-control-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/label-element-with-hidden-control-expected.txt.
* accessibility/mac/label-element-with-hidden-control.html: Renamed from LayoutTests/platform/mac/accessibility/label-element-with-hidden-control.html.
* accessibility/mac/label-elements-exposed-as-title-ui-elements-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/label-elements-exposed-as-title-ui-elements-expected.txt.
* accessibility/mac/label-elements-exposed-as-title-ui-elements.html: Renamed from LayoutTests/platform/mac/accessibility/label-elements-exposed-as-title-ui-elements.html.
* accessibility/mac/landmark-not-ignored-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/landmark-not-ignored-expected.txt.
* accessibility/mac/landmark-not-ignored.html: Renamed from LayoutTests/platform/mac/accessibility/landmark-not-ignored.html.
* accessibility/mac/line-range-for-text-marker-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/line-range-for-text-marker-expected.txt.
* accessibility/mac/line-range-for-text-marker.html: Renamed from LayoutTests/platform/mac/accessibility/line-range-for-text-marker.html.
* accessibility/mac/link-with-title-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/link-with-title-expected.txt.
* accessibility/mac/link-with-title.html: Renamed from LayoutTests/platform/mac/accessibility/link-with-title.html.
* accessibility/mac/list-items-ignored-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/list-items-ignored-expected.txt.
* accessibility/mac/list-items-ignored.html: Renamed from LayoutTests/platform/mac/accessibility/list-items-ignored.html.
* accessibility/mac/listbox-hit-test-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/listbox-hit-test-expected.txt.
* accessibility/mac/listbox-hit-test.html: Renamed from LayoutTests/platform/mac/accessibility/listbox-hit-test.html.
* accessibility/mac/listmarker-suffix-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/listmarker-suffix-expected.txt.
* accessibility/mac/listmarker-suffix.html: Renamed from LayoutTests/platform/mac/accessibility/listmarker-suffix.html.
* accessibility/mac/live-region-creation-notification-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/live-region-creation-notification-expected.txt.
* accessibility/mac/live-region-creation-notification.html: Renamed from LayoutTests/platform/mac/accessibility/live-region-creation-notification.html.
* accessibility/mac/live-region-on-span-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/live-region-on-span-expected.txt.
* accessibility/mac/live-region-on-span.html: Renamed from LayoutTests/platform/mac/accessibility/live-region-on-span.html.
* accessibility/mac/main-element-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/main-element-expected.txt.
* accessibility/mac/main-element.html: Renamed from LayoutTests/platform/mac/accessibility/main-element.html.
* accessibility/mac/malformed-tree-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/malformed-tree-expected.txt.
* accessibility/mac/malformed-tree.html: Renamed from LayoutTests/platform/mac/accessibility/malformed-tree.html.
* accessibility/mac/math-alttext-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/math-alttext-expected.txt.
* accessibility/mac/math-alttext.html: Renamed from LayoutTests/platform/mac/accessibility/math-alttext.html.
* accessibility/mac/mathml-elements-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/mathml-elements-expected.txt.
* accessibility/mac/mathml-elements.html: Renamed from LayoutTests/platform/mac/accessibility/mathml-elements.html.
* accessibility/mac/mathml-line-fraction-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/mathml-line-fraction-expected.txt.
* accessibility/mac/mathml-line-fraction.html: Renamed from LayoutTests/platform/mac/accessibility/mathml-line-fraction.html.
* accessibility/mac/mathml-multiscript-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/mathml-multiscript-expected.txt.
* accessibility/mac/mathml-multiscript.html: Renamed from LayoutTests/platform/mac/accessibility/mathml-multiscript.html.
* accessibility/mac/mathml-root-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/mathml-root-expected.txt.
* accessibility/mac/mathml-root.html: Renamed from LayoutTests/platform/mac/accessibility/mathml-root.html.
* accessibility/mac/media-emits-object-replacement-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/media-emits-object-replacement-expected.txt.
* accessibility/mac/media-emits-object-replacement.html: Renamed from LayoutTests/platform/mac/accessibility/media-emits-object-replacement.html.
* accessibility/mac/media-role-descriptions-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/media-role-descriptions-expected.txt.
* accessibility/mac/media-role-descriptions.html: Renamed from LayoutTests/platform/mac/accessibility/media-role-descriptions.html.
* accessibility/mac/menu-item-values-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/menu-item-values-expected.txt.
* accessibility/mac/menu-item-values.html: Renamed from LayoutTests/platform/mac/accessibility/menu-item-values.html.
* accessibility/mac/misspelled-attributed-string-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/misspelled-attributed-string-expected.txt.
* accessibility/mac/misspelled-attributed-string.html: Renamed from LayoutTests/platform/mac/accessibility/misspelled-attributed-string.html.
* accessibility/mac/mixed-checkbox-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/mixed-checkbox-expected.txt.
* accessibility/mac/mixed-checkbox.html: Renamed from LayoutTests/platform/mac/accessibility/mixed-checkbox.html.
* accessibility/mac/native-list-item-should-not-expose-label-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/native-list-item-should-not-expose-label-expected.txt.
* accessibility/mac/native-list-item-should-not-expose-label.html: Renamed from LayoutTests/platform/mac/accessibility/native-list-item-should-not-expose-label.html.
* accessibility/mac/native-vs-nonnative-checkboxes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/native-vs-nonnative-checkboxes-expected.txt.
* accessibility/mac/native-vs-nonnative-checkboxes.html: Renamed from LayoutTests/platform/mac/accessibility/native-vs-nonnative-checkboxes.html.
* accessibility/mac/no-unknown-objects-when-title-attribute-present-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/no-unknown-objects-when-title-attribute-present-expected.txt.
* accessibility/mac/no-unknown-objects-when-title-attribute-present.html: Renamed from LayoutTests/platform/mac/accessibility/no-unknown-objects-when-title-attribute-present.html.
* accessibility/mac/object-replacement-with-no-rendered-children-at-node-start-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/object-replacement-with-no-rendered-children-at-node-start-expected.txt.
* accessibility/mac/object-replacement-with-no-rendered-children-at-node-start.html: Renamed from LayoutTests/platform/mac/accessibility/object-replacement-with-no-rendered-children-at-node-start.html.
* accessibility/mac/object-replacement-with-rendered-children-at-node-start-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/object-replacement-with-rendered-children-at-node-start-expected.txt.
* accessibility/mac/object-replacement-with-rendered-children-at-node-start.html: Renamed from LayoutTests/platform/mac/accessibility/object-replacement-with-rendered-children-at-node-start.html.
* accessibility/mac/option-with-arialabel-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/option-with-arialabel-expected.txt.
* accessibility/mac/option-with-arialabel.html: Renamed from LayoutTests/platform/mac/accessibility/option-with-arialabel.html.
* accessibility/mac/option-with-lang-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/option-with-lang-expected.txt.
* accessibility/mac/option-with-lang.html: Renamed from LayoutTests/platform/mac/accessibility/option-with-lang.html.
* accessibility/mac/ordered-textmarker-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/ordered-textmarker-crash-expected.txt.
* accessibility/mac/ordered-textmarker-crash.html: Renamed from LayoutTests/platform/mac/accessibility/ordered-textmarker-crash.html.
* accessibility/mac/parent-of-table-row-is-table-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/parent-of-table-row-is-table-expected.txt.
* accessibility/mac/parent-of-table-row-is-table.html: Renamed from LayoutTests/platform/mac/accessibility/parent-of-table-row-is-table.html.
* accessibility/mac/popup-button-exposes-axvalue-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/popup-button-exposes-axvalue-expected.txt.
* accessibility/mac/popup-button-exposes-axvalue.html: Renamed from LayoutTests/platform/mac/accessibility/popup-button-exposes-axvalue.html.
* accessibility/mac/press-action-for-presentational-descendants-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/press-action-for-presentational-descendants-expected.txt.
* accessibility/mac/press-action-for-presentational-descendants.html: Renamed from LayoutTests/platform/mac/accessibility/press-action-for-presentational-descendants.html.
* accessibility/mac/press-action-is-first-expected.txt: Renamed from LayoutTests/platform/mac/platform/mac/accessibility/press-action-is-first-expected.txt.
* accessibility/mac/press-action-is-first.html: Renamed from LayoutTests/platform/mac/accessibility/press-action-is-first.html.
* accessibility/mac/press-action-not-exposed-for-event-delegation-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/press-action-not-exposed-for-event-delegation-expected.txt.
* accessibility/mac/press-action-not-exposed-for-event-delegation.html: Renamed from LayoutTests/platform/mac/accessibility/press-action-not-exposed-for-event-delegation.html.
* accessibility/mac/prevent-keyboard-event-dispatch-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/prevent-keyboard-event-dispatch-expected.txt.
* accessibility/mac/prevent-keyboard-event-dispatch.html: Renamed from LayoutTests/platform/mac/accessibility/prevent-keyboard-event-dispatch.html.
* accessibility/mac/progressbar-indeterminate-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/progressbar-indeterminate-expected.txt.
* accessibility/mac/progressbar-indeterminate.html: Renamed from LayoutTests/platform/mac/accessibility/progressbar-indeterminate.html.
* accessibility/mac/radio-button-checkbox-size-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/radio-button-checkbox-size-expected.txt.
* accessibility/mac/radio-button-checkbox-size.html: Renamed from LayoutTests/platform/mac/accessibility/radio-button-checkbox-size.html.
* accessibility/mac/range-for-line-textarea-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/range-for-line-textarea-expected.txt.
* accessibility/mac/range-for-line-textarea.html: Renamed from LayoutTests/platform/mac/accessibility/range-for-line-textarea.html.
* accessibility/mac/range-for-position-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/range-for-position-expected.txt.
* accessibility/mac/range-for-position.html: Renamed from LayoutTests/platform/mac/accessibility/range-for-position.html.
* accessibility/mac/removing-textarea-after-edit-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/removing-textarea-after-edit-crash-expected.txt.
* accessibility/mac/removing-textarea-after-edit-crash.html: Renamed from LayoutTests/platform/mac/accessibility/removing-textarea-after-edit-crash.html.
* accessibility/mac/resources/accessibility-helper.js: Renamed from LayoutTests/platform/mac/accessibility/resources/accessibility-helper.js.
(clearSelectionAndFocusOnWebArea):
(elementAtStartMarkerOfSelectedTextMarkerRange):
(caretBrowsingEnabled):
(setCaretBrowsingEnabled):
* accessibility/mac/resources/cake.png: Renamed from LayoutTests/platform/mac/accessibility/resources/cake.png.
* accessibility/mac/rowheader-outside-table-role-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/rowheader-outside-table-role-expected.txt.
* accessibility/mac/rowheader-outside-table-role.html: Renamed from LayoutTests/platform/mac/accessibility/rowheader-outside-table-role.html.
* accessibility/mac/ruby-hierarchy-roles-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/ruby-hierarchy-roles-expected.txt.
* accessibility/mac/ruby-hierarchy-roles.html: Renamed from LayoutTests/platform/mac/accessibility/ruby-hierarchy-roles.html.
* accessibility/mac/scroll-to-visible-action-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/scroll-to-visible-action-expected.txt.
* accessibility/mac/scroll-to-visible-action.html: Renamed from LayoutTests/platform/mac/accessibility/scroll-to-visible-action.html.
* accessibility/mac/scrollbars-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/scrollbars-expected.txt.
* accessibility/mac/scrollbars.html: Renamed from LayoutTests/platform/mac/accessibility/scrollbars.html.
* accessibility/mac/search-field-cancel-button-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-field-cancel-button-expected.txt.
* accessibility/mac/search-field-cancel-button.html: Renamed from LayoutTests/platform/mac/accessibility/search-field-cancel-button.html.
* accessibility/mac/search-predicate-container-not-included-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-container-not-included-expected.txt.
* accessibility/mac/search-predicate-container-not-included.html: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-container-not-included.html.
* accessibility/mac/search-predicate-element-count-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-element-count-expected.txt.
* accessibility/mac/search-predicate-element-count.html: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-element-count.html.
* accessibility/mac/search-predicate-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-expected.txt.
* accessibility/mac/search-predicate-immediate-descendants-only-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-immediate-descendants-only-expected.txt.
* accessibility/mac/search-predicate-immediate-descendants-only.html: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-immediate-descendants-only.html.
* accessibility/mac/search-predicate-start-not-specified-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-start-not-specified-expected.txt.
* accessibility/mac/search-predicate-start-not-specified.html: Renamed from LayoutTests/platform/mac/accessibility/search-predicate-start-not-specified.html.
* accessibility/mac/search-predicate.html: Renamed from LayoutTests/platform/mac/accessibility/search-predicate.html.
* accessibility/mac/search-subrole-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-subrole-expected.txt.
* accessibility/mac/search-subrole.html: Renamed from LayoutTests/platform/mac/accessibility/search-subrole.html.
* accessibility/mac/search-when-element-starts-in-table-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-when-element-starts-in-table-expected.txt.
* accessibility/mac/search-when-element-starts-in-table.html: Renamed from LayoutTests/platform/mac/accessibility/search-when-element-starts-in-table.html.
* accessibility/mac/search-with-frames-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/search-with-frames-expected.txt.
* accessibility/mac/search-with-frames.html: Renamed from LayoutTests/platform/mac/accessibility/search-with-frames.html.
* accessibility/mac/secure-text-field-supports-fast-search-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/secure-text-field-supports-fast-search-expected.txt.
* accessibility/mac/secure-text-field-supports-fast-search.html: Renamed from LayoutTests/platform/mac/accessibility/secure-text-field-supports-fast-search.html.
* accessibility/mac/select-element-selection-with-optgroups-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-element-selection-with-optgroups-expected.txt.
* accessibility/mac/select-element-selection-with-optgroups.html: Renamed from LayoutTests/platform/mac/accessibility/select-element-selection-with-optgroups.html.
* accessibility/mac/select-text-should-match-whole-words-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text-should-match-whole-words-expected.txt.
* accessibility/mac/select-text-should-match-whole-words.html: Renamed from LayoutTests/platform/mac/accessibility/select-text-should-match-whole-words.html.
* accessibility/mac/select-text-stays-inside-text-controls-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text-stays-inside-text-controls-expected.txt.
* accessibility/mac/select-text-stays-inside-text-controls.html: Renamed from LayoutTests/platform/mac/accessibility/select-text-stays-inside-text-controls.html.
* accessibility/mac/select-text/select-text-1-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-1-expected.txt.
* accessibility/mac/select-text/select-text-1.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-1.html.
* accessibility/mac/select-text/select-text-135546-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-135546-expected.txt.
* accessibility/mac/select-text/select-text-135546.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-135546.html.
* accessibility/mac/select-text/select-text-135575-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-135575-expected.txt.
* accessibility/mac/select-text/select-text-135575.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-135575.html.
* accessibility/mac/select-text/select-text-2-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-2-expected.txt.
* accessibility/mac/select-text/select-text-2.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-2.html.
* accessibility/mac/select-text/select-text-3-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-3-expected.txt.
* accessibility/mac/select-text/select-text-3.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-3.html.
* accessibility/mac/select-text/select-text-4-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-4-expected.txt.
* accessibility/mac/select-text/select-text-4.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-4.html.
* accessibility/mac/select-text/select-text-5-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-5-expected.txt.
* accessibility/mac/select-text/select-text-5.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-5.html.
* accessibility/mac/select-text/select-text-6-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-6-expected.txt.
* accessibility/mac/select-text/select-text-6.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-6.html.
* accessibility/mac/select-text/select-text-7-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-7-expected.txt.
* accessibility/mac/select-text/select-text-7.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-7.html.
* accessibility/mac/select-text/select-text-8-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-8-expected.txt.
* accessibility/mac/select-text/select-text-8.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-8.html.
* accessibility/mac/select-text/select-text-9-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-9-expected.txt.
* accessibility/mac/select-text/select-text-9.html: Renamed from LayoutTests/platform/mac/accessibility/select-text/select-text-9.html.
* accessibility/mac/selected-rows-table-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selected-rows-table-expected.txt.
* accessibility/mac/selected-rows-table.html: Renamed from LayoutTests/platform/mac/accessibility/selected-rows-table.html.
* accessibility/mac/selected-tab-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selected-tab-crash-expected.txt.
* accessibility/mac/selected-tab-crash.html: Renamed from LayoutTests/platform/mac/accessibility/selected-tab-crash.html.
* accessibility/mac/selected-text-range-for-empty-textarea-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selected-text-range-for-empty-textarea-expected.txt.
* accessibility/mac/selected-text-range-for-empty-textarea.html: Renamed from LayoutTests/platform/mac/accessibility/selected-text-range-for-empty-textarea.html.
* accessibility/mac/selection-change-userinfo-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-change-userinfo-expected.txt.
* accessibility/mac/selection-change-userinfo.html: Renamed from LayoutTests/platform/mac/accessibility/selection-change-userinfo.html.
* accessibility/mac/selection-element-tabbing-to-link-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-element-tabbing-to-link-expected.txt.
* accessibility/mac/selection-element-tabbing-to-link.html: Renamed from LayoutTests/platform/mac/accessibility/selection-element-tabbing-to-link.html.
* accessibility/mac/selection-initial-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-initial-expected.txt.
* accessibility/mac/selection-initial.html: Renamed from LayoutTests/platform/mac/accessibility/selection-initial.html.
* accessibility/mac/selection-notification-focus-change-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-notification-focus-change-expected.txt.
* accessibility/mac/selection-notification-focus-change.html: Renamed from LayoutTests/platform/mac/accessibility/selection-notification-focus-change.html.
* accessibility/mac/selection-sync-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-sync-expected.txt.
* accessibility/mac/selection-sync.html: Renamed from LayoutTests/platform/mac/accessibility/selection-sync.html.
* accessibility/mac/selection-value-changes-for-aria-textbox-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/selection-value-changes-for-aria-textbox-expected.txt.
* accessibility/mac/selection-value-changes-for-aria-textbox.html: Renamed from LayoutTests/platform/mac/accessibility/selection-value-changes-for-aria-textbox.html.
* accessibility/mac/setting-attributes-is-asynchronous-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/setting-attributes-is-asynchronous-expected.txt.
* accessibility/mac/setting-attributes-is-asynchronous.html: Renamed from LayoutTests/platform/mac/accessibility/setting-attributes-is-asynchronous.html.
* accessibility/mac/slider-allows-title-ui-element-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/slider-allows-title-ui-element-expected.txt.
* accessibility/mac/slider-allows-title-ui-element.html: Renamed from LayoutTests/platform/mac/accessibility/slider-allows-title-ui-element.html.
* accessibility/mac/slider-supports-actions-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/slider-supports-actions-expected.txt.
* accessibility/mac/slider-supports-actions.html: Renamed from LayoutTests/platform/mac/accessibility/slider-supports-actions.html.
* accessibility/mac/spinbutton-valuedescription-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/spinbutton-valuedescription-expected.txt.
* accessibility/mac/spinbutton-valuedescription.html: Renamed from LayoutTests/platform/mac/accessibility/spinbutton-valuedescription.html.
* accessibility/mac/stale-table-rows-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/stale-table-rows-expected.txt.
* accessibility/mac/stale-table-rows.html: Renamed from LayoutTests/platform/mac/accessibility/stale-table-rows.html.
* accessibility/mac/stale-textmarker-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/stale-textmarker-crash-expected.txt.
* accessibility/mac/stale-textmarker-crash.html: Renamed from LayoutTests/platform/mac/accessibility/stale-textmarker-crash.html.
* accessibility/mac/static-text-role-uses-text-under-element-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/static-text-role-uses-text-under-element-expected.txt.
* accessibility/mac/static-text-role-uses-text-under-element.html: Renamed from LayoutTests/platform/mac/accessibility/static-text-role-uses-text-under-element.html.
* accessibility/mac/static-text-with-aria-label-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/static-text-with-aria-label-expected.txt.
* accessibility/mac/static-text-with-aria-label.html: Renamed from LayoutTests/platform/mac/accessibility/static-text-with-aria-label.html.
* accessibility/mac/string-range-contains-listmarker-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/string-range-contains-listmarker-expected.txt.
* accessibility/mac/string-range-contains-listmarker.html: Renamed from LayoutTests/platform/mac/accessibility/string-range-contains-listmarker.html.
* accessibility/mac/submit-button-default-value-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/submit-button-default-value-expected.txt.
* accessibility/mac/submit-button-default-value.html: Renamed from LayoutTests/platform/mac/accessibility/submit-button-default-value.html.
* accessibility/mac/supports-focus-setting-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/supports-focus-setting-expected.txt.
* accessibility/mac/supports-focus-setting.html: Renamed from LayoutTests/platform/mac/accessibility/supports-focus-setting.html.
* accessibility/mac/table-column-and-row-count-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-column-and-row-count-expected.txt.
* accessibility/mac/table-column-and-row-count.html: Renamed from LayoutTests/platform/mac/accessibility/table-column-and-row-count.html.
* accessibility/mac/table-headers-attribute-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-headers-attribute-expected.txt.
* accessibility/mac/table-headers-attribute.html: Renamed from LayoutTests/platform/mac/accessibility/table-headers-attribute.html.
* accessibility/mac/table-multi-bodies-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-multi-bodies-expected.txt.
* accessibility/mac/table-multi-bodies.html: Renamed from LayoutTests/platform/mac/accessibility/table-multi-bodies.html.
* accessibility/mac/table-updating-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-updating-expected.txt.
* accessibility/mac/table-updating.html: Renamed from LayoutTests/platform/mac/accessibility/table-updating.html.
* accessibility/mac/table-visible-rows-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-visible-rows-expected.txt.
* accessibility/mac/table-visible-rows.html: Renamed from LayoutTests/platform/mac/accessibility/table-visible-rows.html.
* accessibility/mac/table-with-row-col-of-headers-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-row-col-of-headers-expected.txt.
* accessibility/mac/table-with-row-col-of-headers.html: Renamed from LayoutTests/platform/mac/accessibility/table-with-row-col-of-headers.html.
* accessibility/mac/table-with-zebra-rows-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/table-with-zebra-rows-expected.txt.
* accessibility/mac/table-with-zebra-rows.html: Renamed from LayoutTests/platform/mac/accessibility/table-with-zebra-rows.html.
* accessibility/mac/test-convenience-methods-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/test-convenience-methods-expected.txt.
* accessibility/mac/test-convenience-methods.html: Renamed from LayoutTests/platform/mac/accessibility/test-convenience-methods.html.
* accessibility/mac/text-marker-for-bounds-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/text-marker-for-bounds-expected.txt.
* accessibility/mac/text-marker-for-bounds.html: Renamed from LayoutTests/platform/mac/accessibility/text-marker-for-bounds.html.
* accessibility/mac/text-marker-length-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/text-marker-length-expected.txt.
* accessibility/mac/text-marker-length.html: Renamed from LayoutTests/platform/mac/accessibility/text-marker-length.html.
* accessibility/mac/textbox-role-reports-line-number-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/textbox-role-reports-line-number-expected.txt.
* accessibility/mac/textbox-role-reports-line-number.html: Renamed from LayoutTests/platform/mac/accessibility/textbox-role-reports-line-number.html.
* accessibility/mac/textbox-role-reports-notifications-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/textbox-role-reports-notifications-expected.txt.
* accessibility/mac/textbox-role-reports-notifications.html: Renamed from LayoutTests/platform/mac/accessibility/textbox-role-reports-notifications.html.
* accessibility/mac/textmarker-for-index-out-of-bounds-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/textmarker-for-index-out-of-bounds-crash-expected.txt.
* accessibility/mac/textmarker-for-index-out-of-bounds-crash.html: Renamed from LayoutTests/platform/mac/accessibility/textmarker-for-index-out-of-bounds-crash.html.
* accessibility/mac/textmarker-routines-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/textmarker-routines-expected.txt.
* accessibility/mac/textmarker-routines.html: Renamed from LayoutTests/platform/mac/accessibility/textmarker-routines.html.
* accessibility/mac/title-attribute-not-used-as-axtitle-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/title-attribute-not-used-as-axtitle-expected.txt.
* accessibility/mac/title-attribute-not-used-as-axtitle.html: Renamed from LayoutTests/platform/mac/accessibility/title-attribute-not-used-as-axtitle.html.
* accessibility/mac/title-attribute-used-as-last-resort-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/title-attribute-used-as-last-resort-expected.txt.
* accessibility/mac/title-attribute-used-as-last-resort.html: Renamed from LayoutTests/platform/mac/accessibility/title-attribute-used-as-last-resort.html.
* accessibility/mac/unexpected-help-text-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/unexpected-help-text-expected.txt.
* accessibility/mac/unexpected-help-text.html: Renamed from LayoutTests/platform/mac/accessibility/unexpected-help-text.html.
* accessibility/mac/unsupported-attribute-does-not-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/unsupported-attribute-does-not-crash-expected.txt.
* accessibility/mac/unsupported-attribute-does-not-crash.html: Renamed from LayoutTests/platform/mac/accessibility/unsupported-attribute-does-not-crash.html.
* accessibility/mac/update-children-when-aria-role-changes-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/update-children-when-aria-role-changes-expected.txt.
* accessibility/mac/update-children-when-aria-role-changes.html: Renamed from LayoutTests/platform/mac/accessibility/update-children-when-aria-role-changes.html.
* accessibility/mac/updating-attribute-in-table-row-crash-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/updating-attribute-in-table-row-crash-expected.txt.
* accessibility/mac/updating-attribute-in-table-row-crash.html: Renamed from LayoutTests/platform/mac/accessibility/updating-attribute-in-table-row-crash.html.
* accessibility/mac/value-change-userinfo-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/value-change-userinfo-expected.txt.
* accessibility/mac/value-change-userinfo.html: Renamed from LayoutTests/platform/mac/accessibility/value-change-userinfo.html.
* accessibility/mac/visible-position-crash-for-text-node-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/visible-position-crash-for-text-node-expected.txt.
* accessibility/mac/visible-position-crash-for-text-node.html: Renamed from LayoutTests/platform/mac/accessibility/visible-position-crash-for-text-node.html.
* accessibility/mac/webarea-can-set-focus-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/webarea-can-set-focus-expected.txt.
* accessibility/mac/webarea-can-set-focus.html: Renamed from LayoutTests/platform/mac/accessibility/webarea-can-set-focus.html.
* accessibility/mac/webarea-size-equals-content-size-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/webarea-size-equals-content-size-expected.txt.
* accessibility/mac/webarea-size-equals-content-size.html: Renamed from LayoutTests/platform/mac/accessibility/webarea-size-equals-content-size.html.
* accessibility/mac/webkit-alt-for-css-content-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/webkit-alt-for-css-content-expected.txt.
* accessibility/mac/webkit-alt-for-css-content.html: Renamed from LayoutTests/platform/mac/accessibility/webkit-alt-for-css-content.html.
* accessibility/mac/webkit-scrollarea-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/webkit-scrollarea-expected.txt.
* accessibility/mac/webkit-scrollarea-position-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/webkit-scrollarea-position-expected.txt.
* accessibility/mac/webkit-scrollarea-position.html: Renamed from LayoutTests/platform/mac/accessibility/webkit-scrollarea-position.html.
* accessibility/mac/webkit-scrollarea.html: Renamed from LayoutTests/platform/mac/accessibility/webkit-scrollarea.html.
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* platform/mac/accessibility/press-action-is-first-expected.txt: Removed.
* platform/mac/platform/mac/accessibility/role-subrole-roledescription-expected.txt: Removed.
* platform/wk2/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoREGRESSION(r184899): Crash when focusing an input element styled with a web font
mmaxfield@apple.com [Tue, 4 Aug 2015 01:39:40 +0000 (01:39 +0000)]
REGRESSION(r184899): Crash when focusing an input element styled with a web font
https://bugs.webkit.org/show_bug.cgi?id=147616
<rdar://problem/21838271>

Reviewed by Dean Jackson.

Source/WebCore:

NSFontManager can't handle web fonts. We used to pass null to NSFontManager in this case,
but r184899 changed that.

Test: fast/text/input-webfont-focus.html

* platform/graphics/FontPlatformData.h:
* platform/graphics/cocoa/FontPlatformDataCocoa.mm:
(WebCore::FontPlatformData::activatedFont):

Source/WebKit/mac:

NSFontManager can't handle web fonts. We used to pass null to NSFontManager in this case,
but r184899 changed that.

* WebView/WebHTMLView.mm:
(-[WebHTMLView _updateFontPanel]):

LayoutTests:

* fast/text/input-webfont-focus-expected.txt: Added.
* fast/text/input-webfont-focus.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187797 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[CoordinatedGraphics] Rearrange uses of USE_COORDINATED_GRAPHICS_MULTIPROCESS
gyuyoung.kim@webkit.org [Tue, 4 Aug 2015 01:16:59 +0000 (01:16 +0000)]
[CoordinatedGraphics] Rearrange uses of USE_COORDINATED_GRAPHICS_MULTIPROCESS
https://bugs.webkit.org/show_bug.cgi?id=147256

Reviewed by Benjamin Poulain.

Reduce uses of USE_COORDINATED_GRAPHICS_MULTIPROCESS guard in order to fix build
breaks when USE_COORDINATED_GRAPHICS_MULTIPROCESS is off. This is first step to switch
between multiprocess model to thread model.

* PlatformEfl.cmake:
* Shared/DrawingAreaInfo.h:
* UIProcess/API/C/CoordinatedGraphics/WKView.cpp:
(WKViewFindZoomableAreaForRect):
* UIProcess/CoordinatedGraphics/CoordinatedDrawingAreaProxy.cpp:
(WebKit::CoordinatedDrawingAreaProxy::CoordinatedDrawingAreaProxy):
* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.cpp:
(WebKit::CoordinatedLayerTreeHostProxy::commitCoordinatedGraphicsState):
* UIProcess/CoordinatedGraphics/CoordinatedLayerTreeHostProxy.h:
* UIProcess/CoordinatedGraphics/PageViewportController.cpp:
(WebKit::PageViewportController::pageTransitionViewportReady):
* UIProcess/CoordinatedGraphics/WebPageProxyCoordinatedGraphics.cpp:
* UIProcess/CoordinatedGraphics/WebView.cpp:
* UIProcess/CoordinatedGraphics/WebView.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::commitPageTransitionViewport):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp:
(WebKit::CoordinatedDrawingArea::CoordinatedDrawingArea):
* WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.h:
* WebProcess/WebPage/CoordinatedGraphics/WebPageCoordinatedGraphics.cpp:
* WebProcess/WebPage/DrawingAreaImpl.cpp:
(WebKit::DrawingAreaImpl::DrawingAreaImpl):
* WebProcess/WebPage/DrawingAreaImpl.h:
* WebProcess/WebPage/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::create):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::sendViewportAttributesChanged):
(WebKit::WebPage::pageDidRequestScroll):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187795 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed, fix uninitialized property leading to an assert.
fpizlo@apple.com [Tue, 4 Aug 2015 01:14:38 +0000 (01:14 +0000)]
Unreviewed, fix uninitialized property leading to an assert.

* runtime/PutPropertySlot.h:
(JSC::PutPropertySlot::PutPropertySlot):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187794 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[Win] Unreviewed build fix.
bfulgham@apple.com [Tue, 4 Aug 2015 01:11:27 +0000 (01:11 +0000)]
[Win] Unreviewed build fix.

It turns out that the IFEQ command (at least on Cygwin) does not
understand Wildcards for OS types. Consequently, we should not use
Windows* in makefiles. Luckily, we only need Windows_NT anymore.

* DerivedSources.make: Change Windows* -> Windows_NT to correct build.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187793 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoREGRESSION (r186916): TextIndicators for multiline link previews are unreadable/offse...
timothy_horton@apple.com [Tue, 4 Aug 2015 00:48:41 +0000 (00:48 +0000)]
REGRESSION (r186916): TextIndicators for multiline link previews are unreadable/offset/blank
https://bugs.webkit.org/show_bug.cgi?id=147615
<rdar://problem/22116575>

Reviewed by Dean Jackson.

* page/mac/TextIndicatorWindow.mm:
(-[WebTextIndicatorView initWithFrame:textIndicator:margin:offset:]):
No need to offset by the difference between the text bounding rect and the selection bounding rect,
because the snapshot is now (after r186916) taken of exactly the text bounding rect.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187792 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: let UI clients query whether a media element is paused
mrajca@apple.com [Tue, 4 Aug 2015 00:30:45 +0000 (00:30 +0000)]
Media Session: let UI clients query whether a media element is paused
https://bugs.webkit.org/show_bug.cgi?id=147588

Reviewed by Tim Horton.

WebCore:
* page/Page.cpp:
(WebCore::Page::isMediaElementPaused): Determine if the media element with the given ID is paused.
* page/Page.h:

WebKit2: Added plumbing to determine if a page's media element is paused.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::isMediaElementPaused):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::isMediaElementPaused):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187790 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed, fix Windows.
fpizlo@apple.com [Mon, 3 Aug 2015 23:45:57 +0000 (23:45 +0000)]
Unreviewed, fix Windows.

* bytecode/ObjectPropertyConditionSet.h:
(JSC::ObjectPropertyConditionSet::fromRawPointer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187783 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoDFG should have adaptive structure watchpoints
fpizlo@apple.com [Mon, 3 Aug 2015 23:13:56 +0000 (23:13 +0000)]
DFG should have adaptive structure watchpoints
https://bugs.webkit.org/show_bug.cgi?id=146929

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Before this change, if you wanted to efficiently validate whether an object has (or doesn't have) a
property, you'd check that the object still has the structure that you first saw the object have. We
optimized this a bit with transition watchpoints on the structure, which sometimes allowed us to
elide the structure check.

But this approach fails when that object frequently has new properties added to it. This would
change the structure and fire the transition watchpoint, so the code we emitted would be invalid and
we'd have to recompile either the IC or an entire code block.

This change introduces a new concept: an object property condition. This value describes some
condition involving a property on some object. There are four kinds: presence, absence,
absence-of-setter, and equivalence. For example, a presence condition says that we expect that the
object has some property at some offset with some attributes. This allows us to implement a new kind
of watchpoint, which knows about the object property condition that it's being used to enforce. If
the watchpoint fires because of a structure transition, the watchpoint may simply reinstall itself
on the new structure.

Object property conditions are used on the prototype chain of PutById transitions, GetById misses,
and prototype accesses. They are also used for any DFG accesses to object constants, including
global property accesses.

Mostly because of the effect on global property access, this is a 9% speed-up on Kraken. It's
neutral on most other things. It's a 68x speed-up on a microbenchmark that illustrates the prototype
chain situation. It's also a small speed-up on getter-richards.

* CMakeLists.txt:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::printGetByIdCacheStatus):
(JSC::CodeBlock::printPutByIdCacheStatus):
* bytecode/CodeBlockJettisoningWatchpoint.cpp:
(JSC::CodeBlockJettisoningWatchpoint::fireInternal):
* bytecode/ComplexGetStatus.cpp:
(JSC::ComplexGetStatus::computeFor):
* bytecode/ComplexGetStatus.h:
(JSC::ComplexGetStatus::ComplexGetStatus):
(JSC::ComplexGetStatus::takesSlowPath):
(JSC::ComplexGetStatus::kind):
(JSC::ComplexGetStatus::offset):
(JSC::ComplexGetStatus::conditionSet):
(JSC::ComplexGetStatus::attributes): Deleted.
(JSC::ComplexGetStatus::specificValue): Deleted.
(JSC::ComplexGetStatus::chain): Deleted.
* bytecode/ConstantStructureCheck.cpp: Removed.
* bytecode/ConstantStructureCheck.h: Removed.
* bytecode/GetByIdStatus.cpp:
(JSC::GetByIdStatus::computeForStubInfo):
* bytecode/GetByIdVariant.cpp:
(JSC::GetByIdVariant::GetByIdVariant):
(JSC::GetByIdVariant::~GetByIdVariant):
(JSC::GetByIdVariant::operator=):
(JSC::GetByIdVariant::attemptToMerge):
(JSC::GetByIdVariant::dumpInContext):
(JSC::GetByIdVariant::baseStructure): Deleted.
* bytecode/GetByIdVariant.h:
(JSC::GetByIdVariant::operator!):
(JSC::GetByIdVariant::structureSet):
(JSC::GetByIdVariant::conditionSet):
(JSC::GetByIdVariant::offset):
(JSC::GetByIdVariant::callLinkStatus):
(JSC::GetByIdVariant::constantChecks): Deleted.
(JSC::GetByIdVariant::alternateBase): Deleted.
* bytecode/ObjectPropertyCondition.cpp: Added.
(JSC::ObjectPropertyCondition::dumpInContext):
(JSC::ObjectPropertyCondition::dump):
(JSC::ObjectPropertyCondition::structureEnsuresValidityAssumingImpurePropertyWatchpoint):
(JSC::ObjectPropertyCondition::validityRequiresImpurePropertyWatchpoint):
(JSC::ObjectPropertyCondition::isStillValid):
(JSC::ObjectPropertyCondition::structureEnsuresValidity):
(JSC::ObjectPropertyCondition::isWatchableAssumingImpurePropertyWatchpoint):
(JSC::ObjectPropertyCondition::isWatchable):
(JSC::ObjectPropertyCondition::isStillLive):
(JSC::ObjectPropertyCondition::validateReferences):
(JSC::ObjectPropertyCondition::attemptToMakeEquivalenceWithoutBarrier):
* bytecode/ObjectPropertyCondition.h: Added.
(JSC::ObjectPropertyCondition::ObjectPropertyCondition):
(JSC::ObjectPropertyCondition::presenceWithoutBarrier):
(JSC::ObjectPropertyCondition::presence):
(JSC::ObjectPropertyCondition::absenceWithoutBarrier):
(JSC::ObjectPropertyCondition::absence):
(JSC::ObjectPropertyCondition::absenceOfSetterWithoutBarrier):
(JSC::ObjectPropertyCondition::absenceOfSetter):
(JSC::ObjectPropertyCondition::equivalenceWithoutBarrier):
(JSC::ObjectPropertyCondition::equivalence):
(JSC::ObjectPropertyCondition::operator!):
(JSC::ObjectPropertyCondition::object):
(JSC::ObjectPropertyCondition::condition):
(JSC::ObjectPropertyCondition::kind):
(JSC::ObjectPropertyCondition::uid):
(JSC::ObjectPropertyCondition::hasOffset):
(JSC::ObjectPropertyCondition::offset):
(JSC::ObjectPropertyCondition::hasAttributes):
(JSC::ObjectPropertyCondition::attributes):
(JSC::ObjectPropertyCondition::hasPrototype):
(JSC::ObjectPropertyCondition::prototype):
(JSC::ObjectPropertyCondition::hasRequiredValue):
(JSC::ObjectPropertyCondition::requiredValue):
(JSC::ObjectPropertyCondition::hash):
(JSC::ObjectPropertyCondition::operator==):
(JSC::ObjectPropertyCondition::isHashTableDeletedValue):
(JSC::ObjectPropertyCondition::isCompatibleWith):
(JSC::ObjectPropertyCondition::watchingRequiresStructureTransitionWatchpoint):
(JSC::ObjectPropertyCondition::watchingRequiresReplacementWatchpoint):
(JSC::ObjectPropertyCondition::isValidValueForPresence):
(JSC::ObjectPropertyConditionHash::hash):
(JSC::ObjectPropertyConditionHash::equal):
* bytecode/ObjectPropertyConditionSet.cpp: Added.
(JSC::ObjectPropertyConditionSet::forObject):
(JSC::ObjectPropertyConditionSet::forConditionKind):
(JSC::ObjectPropertyConditionSet::numberOfConditionsWithKind):
(JSC::ObjectPropertyConditionSet::hasOneSlotBaseCondition):
(JSC::ObjectPropertyConditionSet::slotBaseCondition):
(JSC::ObjectPropertyConditionSet::mergedWith):
(JSC::ObjectPropertyConditionSet::structuresEnsureValidity):
(JSC::ObjectPropertyConditionSet::structuresEnsureValidityAssumingImpurePropertyWatchpoint):
(JSC::ObjectPropertyConditionSet::needImpurePropertyWatchpoint):
(JSC::ObjectPropertyConditionSet::areStillLive):
(JSC::ObjectPropertyConditionSet::dumpInContext):
(JSC::ObjectPropertyConditionSet::dump):
(JSC::generateConditionsForPropertyMiss):
(JSC::generateConditionsForPropertySetterMiss):
(JSC::generateConditionsForPrototypePropertyHit):
(JSC::generateConditionsForPrototypePropertyHitCustom):
(JSC::generateConditionsForPropertySetterMissConcurrently):
* bytecode/ObjectPropertyConditionSet.h: Added.
(JSC::ObjectPropertyConditionSet::ObjectPropertyConditionSet):
(JSC::ObjectPropertyConditionSet::invalid):
(JSC::ObjectPropertyConditionSet::nonEmpty):
(JSC::ObjectPropertyConditionSet::isValid):
(JSC::ObjectPropertyConditionSet::isEmpty):
(JSC::ObjectPropertyConditionSet::begin):
(JSC::ObjectPropertyConditionSet::end):
(JSC::ObjectPropertyConditionSet::releaseRawPointer):
(JSC::ObjectPropertyConditionSet::adoptRawPointer):
(JSC::ObjectPropertyConditionSet::fromRawPointer):
(JSC::ObjectPropertyConditionSet::Data::Data):
* bytecode/PolymorphicGetByIdList.cpp:
(JSC::GetByIdAccess::GetByIdAccess):
(JSC::GetByIdAccess::~GetByIdAccess):
(JSC::GetByIdAccess::visitWeak):
* bytecode/PolymorphicGetByIdList.h:
(JSC::GetByIdAccess::GetByIdAccess):
(JSC::GetByIdAccess::structure):
(JSC::GetByIdAccess::conditionSet):
(JSC::GetByIdAccess::stubRoutine):
(JSC::GetByIdAccess::chain): Deleted.
(JSC::GetByIdAccess::chainCount): Deleted.
* bytecode/PolymorphicPutByIdList.cpp:
(JSC::PutByIdAccess::fromStructureStubInfo):
(JSC::PutByIdAccess::visitWeak):
* bytecode/PolymorphicPutByIdList.h:
(JSC::PutByIdAccess::PutByIdAccess):
(JSC::PutByIdAccess::transition):
(JSC::PutByIdAccess::setter):
(JSC::PutByIdAccess::newStructure):
(JSC::PutByIdAccess::conditionSet):
(JSC::PutByIdAccess::stubRoutine):
(JSC::PutByIdAccess::chain): Deleted.
(JSC::PutByIdAccess::chainCount): Deleted.
* bytecode/PropertyCondition.cpp: Added.
(JSC::PropertyCondition::dumpInContext):
(JSC::PropertyCondition::dump):
(JSC::PropertyCondition::isStillValidAssumingImpurePropertyWatchpoint):
(JSC::PropertyCondition::validityRequiresImpurePropertyWatchpoint):
(JSC::PropertyCondition::isStillValid):
(JSC::PropertyCondition::isWatchableWhenValid):
(JSC::PropertyCondition::isWatchableAssumingImpurePropertyWatchpoint):
(JSC::PropertyCondition::isWatchable):
(JSC::PropertyCondition::isStillLive):
(JSC::PropertyCondition::validateReferences):
(JSC::PropertyCondition::isValidValueForAttributes):
(JSC::PropertyCondition::isValidValueForPresence):
(JSC::PropertyCondition::attemptToMakeEquivalenceWithoutBarrier):
(WTF::printInternal):
* bytecode/PropertyCondition.h: Added.
(JSC::PropertyCondition::PropertyCondition):
(JSC::PropertyCondition::presenceWithoutBarrier):
(JSC::PropertyCondition::presence):
(JSC::PropertyCondition::absenceWithoutBarrier):
(JSC::PropertyCondition::absence):
(JSC::PropertyCondition::absenceOfSetterWithoutBarrier):
(JSC::PropertyCondition::absenceOfSetter):
(JSC::PropertyCondition::equivalenceWithoutBarrier):
(JSC::PropertyCondition::equivalence):
(JSC::PropertyCondition::operator!):
(JSC::PropertyCondition::kind):
(JSC::PropertyCondition::uid):
(JSC::PropertyCondition::hasOffset):
(JSC::PropertyCondition::offset):
(JSC::PropertyCondition::hasAttributes):
(JSC::PropertyCondition::attributes):
(JSC::PropertyCondition::hasPrototype):
(JSC::PropertyCondition::prototype):
(JSC::PropertyCondition::hasRequiredValue):
(JSC::PropertyCondition::requiredValue):
(JSC::PropertyCondition::hash):
(JSC::PropertyCondition::operator==):
(JSC::PropertyCondition::isHashTableDeletedValue):
(JSC::PropertyCondition::isCompatibleWith):
(JSC::PropertyCondition::watchingRequiresStructureTransitionWatchpoint):
(JSC::PropertyCondition::watchingRequiresReplacementWatchpoint):
(JSC::PropertyConditionHash::hash):
(JSC::PropertyConditionHash::equal):
* bytecode/PutByIdStatus.cpp:
(JSC::PutByIdStatus::computeFromLLInt):
(JSC::PutByIdStatus::computeFor):
(JSC::PutByIdStatus::computeForStubInfo):
* bytecode/PutByIdVariant.cpp:
(JSC::PutByIdVariant::operator=):
(JSC::PutByIdVariant::transition):
(JSC::PutByIdVariant::setter):
(JSC::PutByIdVariant::makesCalls):
(JSC::PutByIdVariant::attemptToMerge):
(JSC::PutByIdVariant::attemptToMergeTransitionWithReplace):
(JSC::PutByIdVariant::dumpInContext):
(JSC::PutByIdVariant::baseStructure): Deleted.
* bytecode/PutByIdVariant.h:
(JSC::PutByIdVariant::PutByIdVariant):
(JSC::PutByIdVariant::kind):
(JSC::PutByIdVariant::structure):
(JSC::PutByIdVariant::structureSet):
(JSC::PutByIdVariant::oldStructure):
(JSC::PutByIdVariant::conditionSet):
(JSC::PutByIdVariant::offset):
(JSC::PutByIdVariant::callLinkStatus):
(JSC::PutByIdVariant::constantChecks): Deleted.
(JSC::PutByIdVariant::alternateBase): Deleted.
* bytecode/StructureStubClearingWatchpoint.cpp:
(JSC::StructureStubClearingWatchpoint::~StructureStubClearingWatchpoint):
(JSC::StructureStubClearingWatchpoint::push):
(JSC::StructureStubClearingWatchpoint::fireInternal):
(JSC::WatchpointsOnStructureStubInfo::~WatchpointsOnStructureStubInfo):
(JSC::WatchpointsOnStructureStubInfo::addWatchpoint):
(JSC::WatchpointsOnStructureStubInfo::ensureReferenceAndAddWatchpoint):
* bytecode/StructureStubClearingWatchpoint.h:
(JSC::StructureStubClearingWatchpoint::StructureStubClearingWatchpoint):
(JSC::WatchpointsOnStructureStubInfo::codeBlock):
(JSC::WatchpointsOnStructureStubInfo::stubInfo):
* bytecode/StructureStubInfo.cpp:
(JSC::StructureStubInfo::deref):
(JSC::StructureStubInfo::visitWeakReferences):
* bytecode/StructureStubInfo.h:
(JSC::StructureStubInfo::initPutByIdTransition):
(JSC::StructureStubInfo::initPutByIdReplace):
(JSC::StructureStubInfo::setSeen):
(JSC::StructureStubInfo::addWatchpoint):
* dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* dfg/DFGAdaptiveInferredPropertyValueWatchpoint.cpp: Added.
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::AdaptiveInferredPropertyValueWatchpoint):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::install):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::fire):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::StructureWatchpoint::fireInternal):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::PropertyWatchpoint::fireInternal):
* dfg/DFGAdaptiveInferredPropertyValueWatchpoint.h: Added.
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::key):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::StructureWatchpoint::StructureWatchpoint):
(JSC::DFG::AdaptiveInferredPropertyValueWatchpoint::PropertyWatchpoint::PropertyWatchpoint):
* dfg/DFGAdaptiveStructureWatchpoint.cpp: Added.
(JSC::DFG::AdaptiveStructureWatchpoint::AdaptiveStructureWatchpoint):
(JSC::DFG::AdaptiveStructureWatchpoint::install):
(JSC::DFG::AdaptiveStructureWatchpoint::fireInternal):
* dfg/DFGAdaptiveStructureWatchpoint.h: Added.
(JSC::DFG::AdaptiveStructureWatchpoint::key):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::cellConstantWithStructureCheck):
(JSC::DFG::ByteCodeParser::handleConstantInternalFunction):
(JSC::DFG::ByteCodeParser::handleGetByOffset):
(JSC::DFG::ByteCodeParser::handlePutByOffset):
(JSC::DFG::ByteCodeParser::check):
(JSC::DFG::ByteCodeParser::promoteToConstant):
(JSC::DFG::ByteCodeParser::planLoad):
(JSC::DFG::ByteCodeParser::load):
(JSC::DFG::ByteCodeParser::presenceLike):
(JSC::DFG::ByteCodeParser::checkPresenceLike):
(JSC::DFG::ByteCodeParser::store):
(JSC::DFG::ByteCodeParser::handleGetById):
(JSC::DFG::ByteCodeParser::handlePutById):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::emitChecks): Deleted.
* dfg/DFGCommonData.cpp:
(JSC::DFG::CommonData::validateReferences):
* dfg/DFGCommonData.h:
* dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::foldConstants):
(JSC::DFG::ConstantFoldingPhase::emitGetByOffset):
(JSC::DFG::ConstantFoldingPhase::addBaseCheck):
(JSC::DFG::ConstantFoldingPhase::addStructureTransitionCheck):
(JSC::DFG::ConstantFoldingPhase::addChecks): Deleted.
* dfg/DFGDesiredWatchpoints.cpp:
(JSC::DFG::ArrayBufferViewWatchpointAdaptor::add):
(JSC::DFG::InferredValueAdaptor::add):
(JSC::DFG::AdaptiveStructureWatchpointAdaptor::add):
(JSC::DFG::DesiredWatchpoints::DesiredWatchpoints):
(JSC::DFG::DesiredWatchpoints::addLazily):
(JSC::DFG::DesiredWatchpoints::consider):
(JSC::DFG::DesiredWatchpoints::reallyAdd):
(JSC::DFG::DesiredWatchpoints::areStillValid):
(JSC::DFG::DesiredWatchpoints::dumpInContext):
* dfg/DFGDesiredWatchpoints.h:
(JSC::DFG::SetPointerAdaptor::add):
(JSC::DFG::SetPointerAdaptor::hasBeenInvalidated):
(JSC::DFG::SetPointerAdaptor::dumpInContext):
(JSC::DFG::InferredValueAdaptor::hasBeenInvalidated):
(JSC::DFG::InferredValueAdaptor::dumpInContext):
(JSC::DFG::ArrayBufferViewWatchpointAdaptor::hasBeenInvalidated):
(JSC::DFG::ArrayBufferViewWatchpointAdaptor::dumpInContext):
(JSC::DFG::AdaptiveStructureWatchpointAdaptor::hasBeenInvalidated):
(JSC::DFG::AdaptiveStructureWatchpointAdaptor::dumpInContext):
(JSC::DFG::GenericDesiredWatchpoints::reallyAdd):
(JSC::DFG::GenericDesiredWatchpoints::isWatched):
(JSC::DFG::GenericDesiredWatchpoints::dumpInContext):
(JSC::DFG::DesiredWatchpoints::isWatched):
(JSC::DFG::GenericSetAdaptor::add): Deleted.
(JSC::DFG::GenericSetAdaptor::hasBeenInvalidated): Deleted.
* dfg/DFGDesiredWeakReferences.cpp:
(JSC::DFG::DesiredWeakReferences::addLazily):
(JSC::DFG::DesiredWeakReferences::contains):
* dfg/DFGDesiredWeakReferences.h:
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
(JSC::DFG::Graph::clearFlagsOnAllNodes):
(JSC::DFG::Graph::watchCondition):
(JSC::DFG::Graph::isSafeToLoad):
(JSC::DFG::Graph::livenessFor):
(JSC::DFG::Graph::tryGetConstantProperty):
(JSC::DFG::Graph::visitChildren):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::identifiers):
(JSC::DFG::Graph::watchpoints):
* dfg/DFGMultiGetByOffsetData.cpp: Added.
(JSC::DFG::GetByOffsetMethod::dumpInContext):
(JSC::DFG::GetByOffsetMethod::dump):
(JSC::DFG::MultiGetByOffsetCase::dumpInContext):
(JSC::DFG::MultiGetByOffsetCase::dump):
(WTF::printInternal):
* dfg/DFGMultiGetByOffsetData.h: Added.
(JSC::DFG::GetByOffsetMethod::GetByOffsetMethod):
(JSC::DFG::GetByOffsetMethod::constant):
(JSC::DFG::GetByOffsetMethod::load):
(JSC::DFG::GetByOffsetMethod::loadFromPrototype):
(JSC::DFG::GetByOffsetMethod::operator!):
(JSC::DFG::GetByOffsetMethod::kind):
(JSC::DFG::GetByOffsetMethod::prototype):
(JSC::DFG::GetByOffsetMethod::offset):
(JSC::DFG::MultiGetByOffsetCase::MultiGetByOffsetCase):
(JSC::DFG::MultiGetByOffsetCase::set):
(JSC::DFG::MultiGetByOffsetCase::method):
* dfg/DFGNode.h:
* dfg/DFGSafeToExecute.h:
(JSC::DFG::safeToExecute):
* dfg/DFGStructureRegistrationPhase.cpp:
(JSC::DFG::StructureRegistrationPhase::run):
* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::DFG::LowerDFGToLLVM::compileMultiGetByOffset):
* jit/Repatch.cpp:
(JSC::repatchByIdSelfAccess):
(JSC::checkObjectPropertyCondition):
(JSC::checkObjectPropertyConditions):
(JSC::replaceWithJump):
(JSC::generateByIdStub):
(JSC::actionForCell):
(JSC::tryBuildGetByIDList):
(JSC::emitPutReplaceStub):
(JSC::emitPutTransitionStub):
(JSC::tryCachePutByID):
(JSC::tryBuildPutByIdList):
(JSC::tryRepatchIn):
(JSC::addStructureTransitionCheck): Deleted.
(JSC::emitPutTransitionStubAndGetOldStructure): Deleted.
* runtime/IntendedStructureChain.cpp: Removed.
* runtime/IntendedStructureChain.h: Removed.
* runtime/JSCJSValue.h:
* runtime/JSObject.cpp:
(JSC::throwTypeError):
(JSC::JSObject::convertToDictionary):
(JSC::JSObject::shiftButterflyAfterFlattening):
* runtime/JSObject.h:
(JSC::JSObject::flattenDictionaryObject):
(JSC::JSObject::convertToDictionary): Deleted.
* runtime/Operations.h:
(JSC::normalizePrototypeChain):
(JSC::normalizePrototypeChainForChainAccess): Deleted.
(JSC::isPrototypeChainNormalized): Deleted.
* runtime/PropertySlot.h:
(JSC::PropertySlot::PropertySlot):
(JSC::PropertySlot::slotBase):
* runtime/Structure.cpp:
(JSC::Structure::addPropertyTransition):
(JSC::Structure::attributeChangeTransition):
(JSC::Structure::toDictionaryTransition):
(JSC::Structure::toCacheableDictionaryTransition):
(JSC::Structure::toUncacheableDictionaryTransition):
(JSC::Structure::ensurePropertyReplacementWatchpointSet):
(JSC::Structure::startWatchingPropertyForReplacements):
(JSC::Structure::didCachePropertyReplacement):
(JSC::Structure::dump):
* runtime/Structure.h:
* runtime/VM.h:
* tests/stress/fold-multi-get-by-offset-to-get-by-offset-without-folding-the-structure-check-new.js: Added.
(foo):
(bar):
(baz):
* tests/stress/multi-get-by-offset-self-or-proto.js: Added.
(foo):
* tests/stress/replacement-watchpoint-dictionary.js: Added.
(foo):
* tests/stress/replacement-watchpoint.js: Added.
(foo):
* tests/stress/undefined-access-dictionary-then-proto-change.js: Added.
(foo):
* tests/stress/undefined-access-then-proto-change.js: Added.
(foo):

LayoutTests:

* js/regress/global-object-access-with-mutating-structure-expected.txt: Added.
* js/regress/global-object-access-with-mutating-structure.html: Added.
* js/regress/prototype-access-with-mutating-prototype-expected.txt: Added.
* js/regress/prototype-access-with-mutating-prototype.html: Added.
* js/regress/script-tests/global-object-access-with-mutating-structure.js: Added.
(foo):
* js/regress/script-tests/prototype-access-with-mutating-prototype.js: Added.
(foo):
* js/regress/script-tests/undefined-property-access.js:
(foo):
(bar):
(baz):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187780 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoPrepare screenshots for a potential blog post
benjamin@webkit.org [Mon, 3 Aug 2015 22:45:40 +0000 (22:45 +0000)]
Prepare screenshots for a potential blog post

* blog-files/css-selectors-level-4/dynamic-specificity-1x.png: Added.
* blog-files/css-selectors-level-4/dynamic-specificity-2x.png: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187779 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix ASSERTy test added in r187752
beidson@apple.com [Mon, 3 Aug 2015 22:40:33 +0000 (22:40 +0000)]
Fix ASSERTy test added in r187752

* http/tests/appcache/resources/identifier-test-real.php: Only post one message.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187778 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMove platform/gtk/accessibility tests into accessibility/gtk
simon.fraser@apple.com [Mon, 3 Aug 2015 22:34:57 +0000 (22:34 +0000)]
Move platform/gtk/accessibility tests into accessibility/gtk
https://bugs.webkit.org/show_bug.cgi?id=147594

Move platform/gtk/accessibility tests into accessibility/gtk. Skip them in global TestExpectations, re-enable them in platform/gtk/TestExpectations.

* TestExpectations:
* accessibility/gtk/aria-checkbox-sends-notification-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-checkbox-sends-notification-expected.txt.
* accessibility/gtk/aria-fallback-roles-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-fallback-roles-expected.txt.
* accessibility/gtk/aria-help-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-help-expected.txt.
* accessibility/gtk/aria-hidden-false-works-in-subtrees-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-hidden-false-works-in-subtrees-expected.txt.
* accessibility/gtk/aria-inherits-presentational-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-inherits-presentational-expected.txt.
* accessibility/gtk/aria-listbox-crash-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-listbox-crash-expected.txt.
* accessibility/gtk/aria-listbox-crash.html: Renamed from LayoutTests/platform/gtk/accessibility/aria-listbox-crash.html.
* accessibility/gtk/aria-menubar-menuitems-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-menubar-menuitems-expected.txt.
* accessibility/gtk/aria-options-and-menuitems-crash-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-options-and-menuitems-crash-expected.txt.
* accessibility/gtk/aria-options-and-menuitems-crash.html: Renamed from LayoutTests/platform/gtk/accessibility/aria-options-and-menuitems-crash.html.
* accessibility/gtk/aria-roles-unignored-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-roles-unignored-expected.txt.
* accessibility/gtk/aria-roles-unignored.html: Renamed from LayoutTests/platform/gtk/accessibility/aria-roles-unignored.html.
* accessibility/gtk/aria-slider-required-attributes-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-slider-required-attributes-expected.txt.
* accessibility/gtk/aria-slider-required-attributes.html: Renamed from LayoutTests/platform/gtk/accessibility/aria-slider-required-attributes.html.
* accessibility/gtk/aria-switch-text-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-switch-text-expected.txt.
* accessibility/gtk/aria-table-hierarchy-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-table-hierarchy-expected.txt.
* accessibility/gtk/aria-toggle-button-role-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-toggle-button-role-expected.txt.
* accessibility/gtk/aria-toggle-button-role.html: Renamed from LayoutTests/platform/gtk/accessibility/aria-toggle-button-role.html.
* accessibility/gtk/aria-toggle-button-with-title-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/aria-toggle-button-with-title-expected.txt.
* accessibility/gtk/button-accessible-name-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/button-accessible-name-expected.txt.
* accessibility/gtk/button-accessible-name.html: Renamed from LayoutTests/platform/gtk/accessibility/button-accessible-name.html.
* accessibility/gtk/caret-browsing-select-focus-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/caret-browsing-select-focus-expected.txt.
* accessibility/gtk/caret-browsing-select-focus.html: Renamed from LayoutTests/platform/gtk/accessibility/caret-browsing-select-focus.html.
* accessibility/gtk/caret-browsing-text-focus-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/caret-browsing-text-focus-expected.txt.
* accessibility/gtk/caret-browsing-text-focus.html: Renamed from LayoutTests/platform/gtk/accessibility/caret-browsing-text-focus.html.
* accessibility/gtk/caret-offsets-and-extraneous-white-spaces-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/caret-offsets-and-extraneous-white-spaces-expected.txt.
* accessibility/gtk/caret-offsets-and-extraneous-white-spaces.html: Renamed from LayoutTests/platform/gtk/accessibility/caret-offsets-and-extraneous-white-spaces.html.
* accessibility/gtk/caret-offsets-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/caret-offsets-expected.txt.
* accessibility/gtk/caret-offsets.html: Renamed from LayoutTests/platform/gtk/accessibility/caret-offsets.html.
* accessibility/gtk/color-well-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/color-well-expected.txt.
* accessibility/gtk/combobox-descendants-orientation-crash-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/combobox-descendants-orientation-crash-expected.txt.
* accessibility/gtk/combobox-descendants-orientation-crash.html: Renamed from LayoutTests/platform/gtk/accessibility/combobox-descendants-orientation-crash.html.
* accessibility/gtk/css-content-attribute-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/css-content-attribute-expected.txt.
* accessibility/gtk/detached-object-role-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/detached-object-role-expected.txt.
* accessibility/gtk/detached-object-role.html: Renamed from LayoutTests/platform/gtk/accessibility/detached-object-role.html.
* accessibility/gtk/dimensions-include-descendants-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/dimensions-include-descendants-expected.txt.
* accessibility/gtk/disabled-controls-not-focusable-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/disabled-controls-not-focusable-expected.txt.
* accessibility/gtk/entry-and-password-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/entry-and-password-expected.txt.
* accessibility/gtk/entry-and-password.html: Renamed from LayoutTests/platform/gtk/accessibility/entry-and-password.html.
* accessibility/gtk/file-upload-button-stringvalue-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/file-upload-button-stringvalue-expected.txt.
* accessibility/gtk/image-link-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/image-link-expected.txt.
* accessibility/gtk/image-map1-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/image-map1-expected.txt.
* accessibility/gtk/image-map2-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/image-map2-expected.txt.
* accessibility/gtk/image-with-alt-and-map-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/image-with-alt-and-map-expected.txt.
* accessibility/gtk/img-fallsback-to-title-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/img-fallsback-to-title-expected.txt.
* accessibility/gtk/inline-continuations-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/inline-continuations-expected.txt.
* accessibility/gtk/input-slider-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/input-slider-expected.txt.
* accessibility/gtk/input-slider.html: Renamed from LayoutTests/platform/gtk/accessibility/input-slider.html.
* accessibility/gtk/list-detection-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/list-detection-expected.txt.
* accessibility/gtk/list-items-always-exposed-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/list-items-always-exposed-expected.txt.
* accessibility/gtk/list-items-always-exposed.html: Renamed from LayoutTests/platform/gtk/accessibility/list-items-always-exposed.html.
* accessibility/gtk/lists-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/lists-expected.txt.
* accessibility/gtk/math-multiscript-attributes-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/math-multiscript-attributes-expected.txt.
* accessibility/gtk/math-text-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/math-text-expected.txt.
* accessibility/gtk/media-controls-panel-title-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/media-controls-panel-title-expected.txt.
* accessibility/gtk/media-controls-panel-title.html: Renamed from LayoutTests/platform/gtk/accessibility/media-controls-panel-title.html.
* accessibility/gtk/media-element-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/media-element-expected.txt.
* accessibility/gtk/media-emits-object-replacement-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/media-emits-object-replacement-expected.txt.
* accessibility/gtk/media-emits-object-replacement.html: Renamed from LayoutTests/platform/gtk/accessibility/media-emits-object-replacement.html.
* accessibility/gtk/menu-list-crash2-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/menu-list-crash2-expected.txt.
* accessibility/gtk/menu-list-sends-change-notification-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/menu-list-sends-change-notification-expected.txt.
* accessibility/gtk/menu-list-unfocused-notifications-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/menu-list-unfocused-notifications-expected.txt.
* accessibility/gtk/menu-list-unfocused-notifications.html: Renamed from LayoutTests/platform/gtk/accessibility/menu-list-unfocused-notifications.html.
* accessibility/gtk/meter-element-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/meter-element-expected.txt.
* accessibility/gtk/name-from-label-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/name-from-label-expected.txt.
* accessibility/gtk/name-from-label.html: Renamed from LayoutTests/platform/gtk/accessibility/name-from-label.html.
* accessibility/gtk/no-notification-for-unrendered-iframe-children-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/no-notification-for-unrendered-iframe-children-expected.txt.
* accessibility/gtk/no-notification-for-unrendered-iframe-children.html: Renamed from LayoutTests/platform/gtk/accessibility/no-notification-for-unrendered-iframe-children.html.
* accessibility/gtk/object-attributes-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/object-attributes-expected.txt.
* accessibility/gtk/object-attributes.html: Renamed from LayoutTests/platform/gtk/accessibility/object-attributes.html.
* accessibility/gtk/object-with-title-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/object-with-title-expected.txt.
* accessibility/gtk/object-with-title.html: Renamed from LayoutTests/platform/gtk/accessibility/object-with-title.html.
* accessibility/gtk/platform-name-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/platform-name-expected.txt.
* accessibility/gtk/plugin-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/plugin-expected.txt.
* accessibility/gtk/press-targets-center-point-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/press-targets-center-point-expected.txt.
* accessibility/gtk/radio-button-title-label-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/radio-button-title-label-expected.txt.
* accessibility/gtk/remapped-aria-crash-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/remapped-aria-crash-expected.txt.
* accessibility/gtk/remapped-aria-crash.html: Renamed from LayoutTests/platform/gtk/accessibility/remapped-aria-crash.html.
* accessibility/gtk/render-counter-text-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/render-counter-text-expected.txt.
* accessibility/gtk/replaced-objects-in-anonymous-blocks-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/replaced-objects-in-anonymous-blocks-expected.txt.
* accessibility/gtk/replaced-objects-in-anonymous-blocks.html: Renamed from LayoutTests/platform/gtk/accessibility/replaced-objects-in-anonymous-blocks.html.
* accessibility/gtk/roles-computedRoleString-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/roles-computedRoleString-expected.txt.
* accessibility/gtk/roles-exposed-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/roles-exposed-expected.txt.
* accessibility/gtk/spans-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/spans-expected.txt.
* accessibility/gtk/spans-paragraphs-and-divs-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/spans-paragraphs-and-divs-expected.txt.
* accessibility/gtk/spans-paragraphs-and-divs.html: Renamed from LayoutTests/platform/gtk/accessibility/spans-paragraphs-and-divs.html.
* accessibility/gtk/spans.html: Renamed from LayoutTests/platform/gtk/accessibility/spans.html.
* accessibility/gtk/spinbutton-value-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/spinbutton-value-expected.txt.
* accessibility/gtk/tabindex-elements-are-accessible-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/tabindex-elements-are-accessible-expected.txt.
* accessibility/gtk/table-attributes-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-attributes-expected.txt.
* accessibility/gtk/table-cell-spans-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-cell-spans-expected.txt.
* accessibility/gtk/table-cells-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-cells-expected.txt.
* accessibility/gtk/table-column-headers-with-captions-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-column-headers-with-captions-expected.txt.
* accessibility/gtk/table-detection-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-detection-expected.txt.
* accessibility/gtk/table-hierarchy-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-hierarchy-expected.txt.
* accessibility/gtk/table-one-cell-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-one-cell-expected.txt.
* accessibility/gtk/table-roles-hierarchy-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-roles-hierarchy-expected.txt.
* accessibility/gtk/table-sections-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-sections-expected.txt.
* accessibility/gtk/table-with-rules-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/table-with-rules-expected.txt.
* accessibility/gtk/text-at-offset-embedded-objects-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-embedded-objects-expected.txt.
* accessibility/gtk/text-at-offset-embedded-objects.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-embedded-objects.html.
* accessibility/gtk/text-at-offset-newlines-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-newlines-expected.txt.
* accessibility/gtk/text-at-offset-newlines.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-newlines.html.
* accessibility/gtk/text-at-offset-preformatted-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-preformatted-expected.txt.
* accessibility/gtk/text-at-offset-preformatted.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-preformatted.html.
* accessibility/gtk/text-at-offset-simple-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-simple-expected.txt.
* accessibility/gtk/text-at-offset-simple.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-simple.html.
* accessibility/gtk/text-at-offset-special-chars-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-special-chars-expected.txt.
* accessibility/gtk/text-at-offset-special-chars.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-special-chars.html.
* accessibility/gtk/text-at-offset-textarea-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-textarea-expected.txt.
* accessibility/gtk/text-at-offset-textarea.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-textarea.html.
* accessibility/gtk/text-at-offset-textinput-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-textinput-expected.txt.
* accessibility/gtk/text-at-offset-textinput.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-textinput.html.
* accessibility/gtk/text-at-offset-wrapped-lines-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-wrapped-lines-expected.txt.
* accessibility/gtk/text-at-offset-wrapped-lines.html: Renamed from LayoutTests/platform/gtk/accessibility/text-at-offset-wrapped-lines.html.
* accessibility/gtk/text-for-range-combo-box-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-combo-box-expected.txt.
* accessibility/gtk/text-for-range-combo-box.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-combo-box.html.
* accessibility/gtk/text-for-range-embedded-objects-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-embedded-objects-expected.txt.
* accessibility/gtk/text-for-range-embedded-objects.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-embedded-objects.html.
* accessibility/gtk/text-for-range-entry-and-password-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-entry-and-password-expected.txt.
* accessibility/gtk/text-for-range-entry-and-password.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-entry-and-password.html.
* accessibility/gtk/text-for-range-extraneous-whitespace-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-extraneous-whitespace-expected.txt.
* accessibility/gtk/text-for-range-extraneous-whitespace.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-extraneous-whitespace.html.
* accessibility/gtk/text-for-range-formatted-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-formatted-expected.txt.
* accessibility/gtk/text-for-range-formatted.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-formatted.html.
* accessibility/gtk/text-for-range-heading-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-heading-expected.txt.
* accessibility/gtk/text-for-range-heading.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-heading.html.
* accessibility/gtk/text-for-range-list-items-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-list-items-expected.txt.
* accessibility/gtk/text-for-range-list-items.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-list-items.html.
* accessibility/gtk/text-for-range-simple-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-simple-expected.txt.
* accessibility/gtk/text-for-range-simple.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-simple.html.
* accessibility/gtk/text-for-range-table-cells-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-table-cells-expected.txt.
* accessibility/gtk/text-for-range-table-cells.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-table-cells.html.
* accessibility/gtk/text-for-range-with-link-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-with-link-expected.txt.
* accessibility/gtk/text-for-range-with-link.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-range-with-link.html.
* accessibility/gtk/text-for-table-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-for-table-expected.txt.
* accessibility/gtk/text-for-table.html: Renamed from LayoutTests/platform/gtk/accessibility/text-for-table.html.
* accessibility/gtk/text-in-span-block-in-a-block-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/text-in-span-block-in-a-block-expected.txt.
* accessibility/gtk/text-in-span-block-in-a-block.html: Renamed from LayoutTests/platform/gtk/accessibility/text-in-span-block-in-a-block.html.
* accessibility/gtk/title-and-alt-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/title-and-alt-expected.txt.
* accessibility/gtk/title-and-alt.html: Renamed from LayoutTests/platform/gtk/accessibility/title-and-alt.html.
* accessibility/gtk/transformed-element-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/transformed-element-expected.txt.
* accessibility/gtk/xml-roles-exposed-expected.txt: Renamed from LayoutTests/platform/gtk/accessibility/xml-roles-exposed-expected.txt.
* accessibility/gtk/xml-roles-exposed.html: Renamed from LayoutTests/platform/gtk/accessibility/xml-roles-exposed.html.
* platform/gtk/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187777 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[Mac] Always require user gesture to begin playing to AppleTV automatically
eric.carlson@apple.com [Mon, 3 Aug 2015 22:20:11 +0000 (22:20 +0000)]
[Mac] Always require user gesture to begin playing to AppleTV automatically
https://bugs.webkit.org/show_bug.cgi?id=147591

Reviewed by Jer Noble.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::mediaState): Don't set the ExternalDeviceAutoPlayCandidate
  flag until the user has explicitly triggered playback.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187776 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: REGRESSION (r187708): Breakpoint dialog script action editing broken
mattbaker@apple.com [Mon, 3 Aug 2015 22:05:38 +0000 (22:05 +0000)]
Web Inspector: REGRESSION (r187708): Breakpoint dialog script action editing broken
https://bugs.webkit.org/show_bug.cgi?id=147553

Reviewed by Joseph Pecoraro.

Passing a widget to CodeMirror.setBookmark generates a viewportChange event, causing the
BreakpointActionView to update the popup for the breakpoint. The spurious update dismisses
the suggestion list, removes the CodeMirror completion hint, and causes other problems.

Now we ignore viewportChange events unless the viewport size changes. We still want to update
the popup when a carriage return or text wrap modifies the viewport.

* UserInterface/Views/BreakpointActionView.js:
(WebInspector.BreakpointActionView.prototype._updateBody):
Evaluate and Probe actions store the current viewport size.
(WebInspector.BreakpointActionView.prototype._codeMirrorViewportChanged):
Check if viewport size has changed since last event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187775 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoAppScale: Add required indices
ap@apple.com [Mon, 3 Aug 2015 21:59:29 +0000 (21:59 +0000)]
AppScale: Add required indices
https://bugs.webkit.org/show_bug.cgi?id=147593

Reviewed by Tim Horton.

* QueueStatusServer/index.yaml:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187774 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Application cache DataGrid has incorrect column heading styles
burg@cs.washington.edu [Mon, 3 Aug 2015 21:56:34 +0000 (21:56 +0000)]
Web Inspector: Application cache DataGrid has incorrect column heading styles
https://bugs.webkit.org/show_bug.cgi?id=147531

Reviewed by Joseph Pecoraro.

* UserInterface/Views/ApplicationCacheFrameContentView.js:
(WebInspector.ApplicationCacheFrameContentView): Remove erroneous
"storage-view" class, which is intended for databases, not AppCache.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoCheck in LLVM 3.6.2 binary drops for El Capitan
fpizlo@apple.com [Mon, 3 Aug 2015 21:53:31 +0000 (21:53 +0000)]
Check in LLVM 3.6.2 binary drops for El Capitan
https://bugs.webkit.org/show_bug.cgi?id=147582

Reviewed by Alexey Proskuryakov.

Tools:

Recognize 10.11 and use the right drops.

* Scripts/copy-webkitlibraries-to-product-directory:

WebKitLibraries:

Check in drops built from the LLVM 3.6.2 open source release.

These drops were built by doing:

1) Check out WebKit to a directory like /some/path/OpenSource.

2) Unpack LLVM 3.6.2 into /some/path/OpenSource/llvm. I got LLVM 3.6.2 from:

http://llvm.org/releases/3.6.2/llvm-3.6.2.src.tar.xz

3) While in /some/path/OpenSource, run Tools/Scripts/build-jsc --release. Make sure it's a
totally clean build (i.e. delete WebKitBuild before starting).

4) Run the following to create binary drops:

Tools/Scripts/export-llvm-build -i WebKitLibraries/LLVMIncludesElCapitan.tar.bz2 -l WebKitLibraries/LLVMLibrariesElCapitan.tar.bz2 -b llvm/wkLLVMBuild -B llvm/wkLLVMBuild/Release+Asserts -s llvm

* LLVMIncludesElCapitan.tar.bz2: Added.
* LLVMLibrariesElCapitan.tar.bz2: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187772 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoRemove Windows XP test results
simon.fraser@apple.com [Mon, 3 Aug 2015 21:37:36 +0000 (21:37 +0000)]
Remove Windows XP test results
https://bugs.webkit.org/show_bug.cgi?id=147592

Reviewed by Brent Fulgham.

We no longer need to maintain Windows XP test results.

* platform/win-xp/TestExpectations: Removed.
* platform/win-xp/*: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187766 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMake sure error handling code APIUserContentExtensionStore closes open file descriptors
cdumez@apple.com [Mon, 3 Aug 2015 21:30:38 +0000 (21:30 +0000)]
Make sure error handling code APIUserContentExtensionStore closes open file descriptors
https://bugs.webkit.org/show_bug.cgi?id=147562

Reviewed by Alex Christensen.

Make sure error handling code APIUserContentExtensionStore closes open
file descriptors to avoid leaking them.

* NetworkProcess/cache/NetworkCacheData.cpp:
(WebKit::NetworkCache::adoptAndMapFile):
* UIProcess/API/APIUserContentExtensionStore.cpp:
(API::compiledToFile):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187765 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoNeed WKWebView API to enable/disable link preview
bdakin@apple.com [Mon, 3 Aug 2015 21:27:19 +0000 (21:27 +0000)]
Need WKWebView API to enable/disable link preview
https://bugs.webkit.org/show_bug.cgi?id=147573
-and corresponding-
rdar://problem/22077836

Reviewed by Dan Bernstein.

WKView implementation.
* UIProcess/API/Cocoa/WKViewPrivate.h:

New API. Call into WKView to handle Mac.
* UIProcess/API/Cocoa/WKWebView.h:
* UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView initWithFrame:configuration:]):
(-[WKWebView allowsLinkPreview]):
(-[WKWebView setAllowsLinkPreview:]):

Remove the SPI declaration from WKWebViewPrivate in order to make this API.
* UIProcess/API/Cocoa/WKWebViewPrivate.h:

Handle the Mac side.
* UIProcess/API/mac/WKView.mm:
(-[WKView viewDidMoveToWindow]):
(-[WKView initWithFrame:processPool:configuration:webView:]):
(-[WKView allowsBackForwardNavigationGestures]):
(-[WKView allowsLinkPreview]):
(-[WKView setAllowsLinkPreview:]):

Don’t register previews when link preview is prevented.
* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _registerPreview]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187764 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoJavascriptCore Crash in JSC::ASTBuilder::Property JSC::Parser<JSC::Lexer<unsigned...
utatane.tea@gmail.com [Mon, 3 Aug 2015 21:26:07 +0000 (21:26 +0000)]
JavascriptCore Crash in JSC::ASTBuilder::Property JSC::Parser<JSC::Lexer<unsigned char> >::parseProperty<JSC::ASTBuilder>(JSC::ASTBuilder&, bool)
https://bugs.webkit.org/show_bug.cgi?id=147538

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Due to the order of the ARROWFUNCTION token in JSTokenType enum, it is categorized as the one of the Keyword.
As a result, when lexing the property name that can take the keywords, the ARROWFUNCTION token is accidentally accepted.
This patch changes the order of the ARROWFUNCTION token in JSTokenType to make it the operator token.

* parser/ParserTokens.h:
* tests/stress/arrow-function-token-is-not-keyword.js: Added.
(testSyntaxError):

LayoutTests:

Update the test expectation file because '=>' is a token, not a keywowrd.

* js/arrowfunction-syntax-errors-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187763 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoInline video controls overlap each other while playing video in slideover mode
dino@apple.com [Mon, 3 Aug 2015 21:05:23 +0000 (21:05 +0000)]
Inline video controls overlap each other while playing video in slideover mode
https://bugs.webkit.org/show_bug.cgi?id=147535
<rdar://problem/22026864>

Reviewed by Eric Carlson.

Now that the resizing code is in the shared controller, we need to
make sure to hide the timeline scrubber in iOS when the controls
get too small. This involved adding the dropped class to the timeline,
and rules for hiding to the CSS.

Meanwhile, when the page scale factor is less than one, we use the CSS zoom property
and don't need to factor in the page scale factor when calculating
the size.

* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.updateLayoutForDisplayedWidth): Don't use pageScaleFactor.
* Modules/mediacontrols/mediaControlsiOS.css:
(audio::-webkit-media-controls-panel .dropped): Add display none for this rule.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187762 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoClean up the naming for AST expression generation.
commit-queue@webkit.org [Mon, 3 Aug 2015 20:47:54 +0000 (20:47 +0000)]
Clean up the naming for AST expression generation.
https://bugs.webkit.org/show_bug.cgi?id=147581

Patch by Keith Miller <keith_miller@apple.com> on 2015-08-03
Reviewed by Yusuke Suzuki.

* parser/ASTBuilder.h:
(JSC::ASTBuilder::createThisExpr):
(JSC::ASTBuilder::createSuperExpr):
(JSC::ASTBuilder::createNewTargetExpr):
(JSC::ASTBuilder::thisExpr): Deleted.
(JSC::ASTBuilder::superExpr): Deleted.
(JSC::ASTBuilder::newTargetExpr): Deleted.
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parsePrimaryExpression):
(JSC::Parser<LexerType>::parseMemberExpression):
* parser/SyntaxChecker.h:
(JSC::SyntaxChecker::createThisExpr):
(JSC::SyntaxChecker::createSuperExpr):
(JSC::SyntaxChecker::createNewTargetExpr):
(JSC::SyntaxChecker::thisExpr): Deleted.
(JSC::SyntaxChecker::superExpr): Deleted.
(JSC::SyntaxChecker::newTargetExpr): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187760 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoSafari is failing to remove SQLite Databases via Remove All Website Data
andersca@apple.com [Mon, 3 Aug 2015 20:40:38 +0000 (20:40 +0000)]
Safari is failing to remove SQLite Databases via Remove All Website Data
https://bugs.webkit.org/show_bug.cgi?id=147584
rdar://problem/22095006

Reviewed by Brady Eidson.

If we end up deleting every single database for an origin, make sure to also delete the origin.

* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::deleteDatabasesModifiedSince):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187758 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMove "starting from root" frame flattening logging to the correct place.
zalan@apple.com [Mon, 3 Aug 2015 20:29:55 +0000 (20:29 +0000)]
Move "starting from root" frame flattening logging to the correct place.
https://bugs.webkit.org/show_bug.cgi?id=147571

Reviewed by Simon Fraser.

* page/FrameView.cpp:
(WebCore::FrameView::startLayoutAtMainFrameViewIfNeeded):
(WebCore::FrameView::layout): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187757 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[iOS] Link previews sometimes don't hide the link highlight
timothy_horton@apple.com [Mon, 3 Aug 2015 20:23:36 +0000 (20:23 +0000)]
[iOS] Link previews sometimes don't hide the link highlight
https://bugs.webkit.org/show_bug.cgi?id=147585
<rdar://problem/22119648>

Reviewed by Beth Dakin.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _interactionStartedFromPreviewItemController:]):
(-[WKContentView _interactionStoppedFromPreviewItemController:]):
(-[WKContentView _previewItemController:didDismissPreview:committing:]):
(-[WKContentView _previewItemController:willPresentPreview:forPosition:inSourceView:]): Deleted.
Use interactionStarted/Stopped, which are always called, instead of didDismiss/willPresent,
which are only called if we return a custom view controller from _presentedViewControllerForPreviewItemController.
We continue using didDismiss to inform clients of dismissal because they'll
only care if they customized the view controller.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187756 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[WK2][NetworkCache] Do not munmap() on the main thread
cdumez@apple.com [Mon, 3 Aug 2015 19:35:55 +0000 (19:35 +0000)]
[WK2][NetworkCache] Do not munmap() on the main thread
https://bugs.webkit.org/show_bug.cgi?id=147569

Reviewed by Geoffrey Garen.

Do not munmap() on the main thread for performance reasons and
consistency as we already make sure to mmap() on another thread.

* NetworkProcess/cache/NetworkCacheDataCocoa.mm:
(WebKit::NetworkCache::Data::adoptMap):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187753 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoAdding a test for:
beidson@apple.com [Mon, 3 Aug 2015 19:35:38 +0000 (19:35 +0000)]
Adding a test for:
Crash when signing into twitter calling WebCore::DocumentLoader::responseReceived(WebCore::CachedResource*, WebCore::ResourceResponse const&).
<rdar://problem/22098457> and https://bugs.webkit.org/show_bug.cgi?id=147560

Reviewed by Alexey Proskuryakov.

* http/tests/appcache/identifier-test-expected.txt: Added.
* http/tests/appcache/identifier-test.html: Added.
* http/tests/appcache/resources/identifier-test-real.php: Added.
* http/tests/appcache/resources/identifier-test.manifest: Added.
* http/tests/appcache/resources/identifier-test.php: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187752 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoInputs with the autofocus attribute cause the keyboard to not deploy
wenson_hsieh@apple.com [Mon, 3 Aug 2015 19:29:47 +0000 (19:29 +0000)]
Inputs with the autofocus attribute cause the keyboard to not deploy
https://bugs.webkit.org/show_bug.cgi?id=147555
<rdar://problem/22018044>

Reviewed by Andreas Kling.

Upon submitting a form by pressing "Go" on the keyboard, an <input> on the next page with the
autofocus attribute may become non-interactible. When attempting to tap on the input, nothing
seems to happen. This is because the state of WebPage upon invoking WebPage::elementDidFocus
indicates (incorrectly) that the input element is already focused, and therefore hits an early
return. To solve this, we explicitly reset m_hasFocusedDueToUserInteraction upon transitioning
to a new page.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didStartPageTransition): On iOS, resets m_hasFocusedDueToUserInteraction as
    well. It was previously thought that this would be handled by blur() called on the assisted
    element when submitting a form. However, pressing "Go" on the iOS keyboard is an implicit
    submission and does not trigger a blur event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187751 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoDon't set up the callsite to operationGetByValDefault when the optimization is alread...
utatane.tea@gmail.com [Mon, 3 Aug 2015 19:25:03 +0000 (19:25 +0000)]
Don't set up the callsite to operationGetByValDefault when the optimization is already done
https://bugs.webkit.org/show_bug.cgi?id=147577

Reviewed by Filip Pizlo.

operationGetByValDefault should be called only when the IC is not set.
operationGetByValString breaks this invariant and `ASSERT(!byValInfo.stubRoutine)` in
operationGetByValDefault raises the assertion failure.
In this patch, we change the callsite setting up code in operationGetByValString when
the IC is already set. And to make the operation's meaning explicitly, we changed the
name operationGetByValDefault to operationGetByValOptimize, that is aligned to the
GetById case.

* jit/JITOperations.cpp:
* jit/JITOperations.h:
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emitSlow_op_get_by_val):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emitSlow_op_get_by_val):
* tests/stress/operation-get-by-val-default-should-not-called-for-already-optimized-site.js: Added.
(hello):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187750 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix error handling case in Cache::dumpContentsToFile()
cdumez@apple.com [Mon, 3 Aug 2015 19:20:27 +0000 (19:20 +0000)]
Fix error handling case in Cache::dumpContentsToFile()
https://bugs.webkit.org/show_bug.cgi?id=147567

Reviewed by Andreas Kling.

Cache::dumpContentsToFile() was expecting openFile() to return 0 in case
of error. However, it returns invalidPlatformFileHandle, which is -1 on
Unix.

* NetworkProcess/cache/NetworkCache.cpp:
(WebKit::NetworkCache::Cache::dumpContentsToFile):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187749 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed, rolling out r187729.
mmaxfield@apple.com [Mon, 3 Aug 2015 18:47:05 +0000 (18:47 +0000)]
Unreviewed, rolling out r187729.
https://bugs.webkit.org/show_bug.cgi?id=147575

10% performance hit (Requested by litherum on #webkit).

Reverted changeset:

"[OS X] Font fallback is not language-sensitive"
https://bugs.webkit.org/show_bug.cgi?id=147390
http://trac.webkit.org/changeset/187729

Patch by Commit Queue <commit-queue@webkit.org> on 2015-08-03

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187748 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMake sure WebMemorySampler doesn't leak file descriptor
cdumez@apple.com [Mon, 3 Aug 2015 18:45:01 +0000 (18:45 +0000)]
Make sure WebMemorySampler doesn't leak file descriptor
https://bugs.webkit.org/show_bug.cgi?id=147564

Reviewed by Anders Carlsson.

WebMemorySampler was opening files but never closing them.

* Shared/WebMemorySampler.cpp:
(WebKit::WebMemorySampler::stop):
* Shared/WebMemorySampler.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187747 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoChildWidgetState::ChildWidgetIs* naming is redundant.
zalan@apple.com [Mon, 3 Aug 2015 18:24:48 +0000 (18:24 +0000)]
ChildWidgetState::ChildWidgetIs* naming is redundant.
https://bugs.webkit.org/show_bug.cgi?id=147565

Reviewed by Simon Fraser.

Since strongly typed enum requires to write out 'ChildWidgetState::ChildWidgetIsDestroyed',
the enumerator list names can be shortened.

No change in behaviour.

* rendering/RenderFrameBase.cpp:
(WebCore::RenderFrameBase::peformLayoutWithFlattening):
* rendering/RenderWidget.cpp:
(WebCore::RenderWidget::updateWidgetPosition):
* rendering/RenderWidget.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187746 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMake it possible to use String::utf8() in the debugger
andersca@apple.com [Mon, 3 Aug 2015 17:59:31 +0000 (17:59 +0000)]
Make it possible to use String::utf8() in the debugger
https://bugs.webkit.org/show_bug.cgi?id=147566

Reviewed by Tim Horton.

Add a new utf8() overload that doesn't take any parameters and just calls utf8(LenientConversion), since lldb doesn't support evaluating
function calls with default parameters at the moment.

* wtf/text/WTFString.cpp:
(WTF::String::utf8):
* wtf/text/WTFString.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187745 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[FTL] Remove unused scripts related to native call inlining
ossy@webkit.org [Mon, 3 Aug 2015 17:28:01 +0000 (17:28 +0000)]
[FTL] Remove unused scripts related to native call inlining
https://bugs.webkit.org/show_bug.cgi?id=147448

Reviewed by Filip Pizlo.

* build-symbol-table-index.py: Removed.
* copy-llvm-ir-to-derived-sources.sh: Removed.
* create-llvm-ir-from-source-file.py: Removed.
* create-symbol-table-index.py: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187742 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoPass ControlStates& to RenderTheme methods instead of ControlStates*
zalan@apple.com [Mon, 3 Aug 2015 17:14:52 +0000 (17:14 +0000)]
Pass ControlStates& to RenderTheme methods instead of ControlStates*
https://bugs.webkit.org/show_bug.cgi?id=147521

Reviewed by Andreas Kling.

No change in functionality.

* platform/Theme.h:
(WebCore::Theme::selectionColor):
(WebCore::Theme::paint):
(WebCore::Theme::inflateControlPaintRect):
* platform/mac/ThemeMac.h:
* platform/mac/ThemeMac.mm:
(WebCore::updateStates):
(WebCore::convertControlStatesToThemeDrawState):
(WebCore::configureToggleButton):
(WebCore::sharedRadioCell):
(WebCore::sharedCheckboxCell):
(WebCore::paintToggleButton):
(WebCore::setUpButtonCell):
(WebCore::button):
(WebCore::paintButton):
(WebCore::paintStepper):
(WebCore::ThemeMac::ensuredView):
(WebCore::ThemeMac::inflateControlPaintRect):
(WebCore::ThemeMac::paint):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintBoxDecorations):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::adjustRepaintRect):
(WebCore::RenderTheme::updateControlStatesForRenderer):
* rendering/RenderTheme.h:
* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::documentViewFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoCrash when signing into twitter calling WebCore::DocumentLoader::responseReceived...
beidson@apple.com [Mon, 3 Aug 2015 17:06:38 +0000 (17:06 +0000)]
Crash when signing into twitter calling WebCore::DocumentLoader::responseReceived(WebCore::CachedResource*, WebCore::ResourceResponse const&).
<rdar://problem/22098457> and https://bugs.webkit.org/show_bug.cgi?id=147560

Reviewed by Alexey Proskuryakov.

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::willSendRequest): Only grab identifierForLoadWithoutResourceLoader() if there's no ResourceLoader.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187740 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agothemePainted in RenderBox::paintBoxDecorations() is confusing.
zalan@apple.com [Mon, 3 Aug 2015 16:06:45 +0000 (16:06 +0000)]
themePainted in RenderBox::paintBoxDecorations() is confusing.
https://bugs.webkit.org/show_bug.cgi?id=147492

Reviewed by Andreas Kling.

What themePainted is supposed to indicate is whether the theme requires additional border and background painting.
Rename it to borderOrBackgroundPaintingIsNeeded.

No change in behaviour.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintBoxDecorations):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[Win] Build fix after r187733.
achristensen@apple.com [Mon, 3 Aug 2015 15:55:08 +0000 (15:55 +0000)]
[Win] Build fix after r187733.

* WinLauncher/PageLoadTestClient.cpp:
(PageLoadTestClient::dumpRunStatistics):
wtf/MathExtras.h is now included in HashTable.h, which #defines pow to wtf_pow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[EFL] http/tests/media/media-stream/disconnected-frame-already.html is crashing after...
youenn.fablet@crf.canon.fr [Mon, 3 Aug 2015 15:38:32 +0000 (15:38 +0000)]
[EFL] http/tests/media/media-stream/disconnected-frame-already.html is crashing after r185903
https://bugs.webkit.org/show_bug.cgi?id=146834

Reviewed by Eric Carlson.

r185903 went to far in removing some tests, in particular whether the current process is related to a frame.
Readded that check.
Refactored the code to remove the need for NavigatorUserMedia class.

Covered by existing tests.

* CMakeLists.txt: Removed NavigatorUserMedia.cpp.
* Modules/mediastream/NavigatorUserMedia.cpp: Removed.
* Modules/mediastream/NavigatorUserMedia.h: Removed.
* WebCore.xcodeproj/project.pbxproj: Ditto.
* bindings/js/JSNavigatorCustom.cpp:
(WebCore::JSNavigator::webkitGetUserMedia): Inlined NavigatorUserMeia::webkitGetUserMedia.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187737 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoJSXMLHttpRequest::visitAdditionalChildren does not need to explicitly mark m_response
youenn.fablet@crf.canon.fr [Mon, 3 Aug 2015 12:48:52 +0000 (12:48 +0000)]
JSXMLHttpRequest::visitAdditionalChildren does not need to explicitly mark m_response
https://bugs.webkit.org/show_bug.cgi?id=147488

Reviewed by Andreas Kling.

Covered by existing tests.

* bindings/js/JSXMLHttpRequestCustom.cpp:
(WebCore::JSXMLHttpRequest::visitAdditionalChildren): Removed m_response marking.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187736 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed. Update OptionsGTK.cmake and NEWS for 2.9.5 release.
carlosgc@webkit.org [Mon, 3 Aug 2015 08:34:31 +0000 (08:34 +0000)]
Unreviewed. Update OptionsGTK.cmake and NEWS for 2.9.5 release.

.:

* Source/cmake/OptionsGTK.cmake: Bump version numbers.

Source/WebKit2:

* gtk/NEWS: Add release notes for 2.9.5.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187734 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoInvestigate HashTable::HashTable(const HashTable&) and HashTable::operator=(const...
benjamin@webkit.org [Mon, 3 Aug 2015 04:33:15 +0000 (04:33 +0000)]
Investigate HashTable::HashTable(const HashTable&) and HashTable::operator=(const HashTable&) performance for hash-based static analyses
https://bugs.webkit.org/show_bug.cgi?id=118455

Patch by Benjamin Poulain <bpoulain@apple.com> on 2015-08-02
Reviewed by Filip Pizlo.

Source/JavaScriptCore:

LivenessAnalysisPhase lights up like a christmas tree in profiles.

This patch cuts its cost by 4.
About half of the gains come from removing many rehash() when copying
the HashSet.
The last quarter is achieved by having a special add() function for initializing
a HashSet.

This makes benchmarks progress by 1-2% here and there. Nothing massive.

* dfg/DFGLivenessAnalysisPhase.cpp:
(JSC::DFG::LivenessAnalysisPhase::process):
The m_live HashSet is only useful per block. When we are done with it,
we can transfer it to liveAtHead to avoid a copy.

Source/WTF:

Previously, when copying a HashTable, we would start from scratch
with an empty table and insert elements one by one, growing-rehashing
the table as needed.

With this patch, we have 2 improvements to remove most of the cost.

First, we compute a good size from the start. This removes all the
reallocations and rehashs.
This is where the biggest gain comes from.

The second part is a simpler version of add() when we know that
we cannot find a bucket with the same key and there cannot
be any deleted bucket.
This removes most branches from the hot loop, cutting another 25%
of the time.

* wtf/HashTable.h:
(WTF::KeyTraits>::addUniqueForInitialization):
(WTF::KeyTraits>::HashTable):

Tools:

* TestWebKitAPI/Tests/WTF/HashSet.cpp:
(TestWebKitAPI::TEST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187733 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Unnamespaced Formatter classes break CSSStyleDeclarationTextEditor
mattbaker@apple.com [Mon, 3 Aug 2015 01:44:05 +0000 (01:44 +0000)]
Web Inspector: Unnamespaced Formatter classes break CSSStyleDeclarationTextEditor
https://bugs.webkit.org/show_bug.cgi?id=147544

Reviewed by Brian Burg.

Added Formatter and FormatterContentBuilder to WebInspector namespace.

* UserInterface/Controllers/Formatter.js:
* UserInterface/Controllers/FormatterContentBuilder.js:
* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._formattedContentFromEditor):
* UserInterface/Views/TextEditor.js:
(WebInspector.TextEditor.prototype.prettyPrint.prettyPrintAndUpdateEditor):
(WebInspector.TextEditor.prototype.prettyPrint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187732 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoAX: On some complex sites, iOS instantly crashes once VoiceOver is turned on
cfleizach@apple.com [Sun, 2 Aug 2015 19:28:55 +0000 (19:28 +0000)]
AX: On some complex sites, iOS instantly crashes once VoiceOver is turned on
https://bugs.webkit.org/show_bug.cgi?id=147529

Reviewed by Dan Bernstein.

Sometimes after focusing on a node, it seems like the entire document is destroyed.
Accessibility the axObjectCache returns nullptr and we crash.

Despite my best efforts, I couldn't make a layout test that reproduced this. It's possible
the entire document needs to be destroyed and replaced with something.

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::setFocused):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187731 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: REGRESSION (r187689): Timeline overview graph layout is broken
mattbaker@apple.com [Sun, 2 Aug 2015 18:48:01 +0000 (18:48 +0000)]
Web Inspector: REGRESSION (r187689): Timeline overview graph layout is broken
https://bugs.webkit.org/show_bug.cgi?id=147539

Reviewed by Brian Burg.

Removed timeline argument being passed to TimelineOverviewGraph constructor.

* UserInterface/Views/LayoutTimelineOverviewGraph.js:
(WebInspector.LayoutTimelineOverviewGraph):
* UserInterface/Views/NetworkTimelineOverviewGraph.js:
(WebInspector.NetworkTimelineOverviewGraph):
* UserInterface/Views/RenderingFrameTimelineOverviewGraph.js:
(WebInspector.RenderingFrameTimelineOverviewGraph):
* UserInterface/Views/ScriptTimelineOverviewGraph.js:
(WebInspector.ScriptTimelineOverviewGraph):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187730 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[OS X] Font fallback is not language-sensitive
mmaxfield@apple.com [Sun, 2 Aug 2015 00:48:48 +0000 (00:48 +0000)]
[OS X] Font fallback is not language-sensitive
https://bugs.webkit.org/show_bug.cgi?id=147390

Reviewed by Dean Jackson.

Source/WebCore:

We need to make our font fallback code sensitive to locale.

Test: fast/text/fallback-language-han.html

* platform/graphics/mac/FontCacheMac.mm:
(WebCore::lookupCTFont):
(WebCore::FontCache::systemFallbackForCharacters):

LayoutTests:

Updating tests.

* css3/line-break/line-break-auto-centered-expected.html:
* css3/line-break/line-break-auto-centered.html:
* css3/line-break/line-break-auto-postfixes-expected.html:
* css3/line-break/line-break-auto-postfixes.html:
* css3/line-break/line-break-loose-centered-expected.html:
* css3/line-break/line-break-loose-centered.html:
* css3/line-break/line-break-loose-hyphens-expected.html:
* css3/line-break/line-break-loose-hyphens.html:
* css3/line-break/line-break-loose-postfixes-expected.html:
* css3/line-break/line-break-loose-postfixes.html:
* css3/line-break/line-break-loose-sound-marks-expected.html:
* css3/line-break/line-break-loose-sound-marks.html:
* css3/line-break/line-break-normal-centered-expected.html:
* css3/line-break/line-break-normal-centered.html:
* css3/line-break/line-break-normal-hyphens-expected.html:
* css3/line-break/line-break-normal-hyphens.html:
* css3/line-break/line-break-normal-postfixes-expected.html:
* css3/line-break/line-break-normal-postfixes.html:
* css3/line-break/line-break-normal-sound-marks-expected.html:
* css3/line-break/line-break-normal-sound-marks.html:
* css3/line-break/line-break-strict-centered-expected.html:
* css3/line-break/line-break-strict-centered.html:
* css3/line-break/line-break-strict-hyphens-expected.html:
* css3/line-break/line-break-strict-hyphens.html:
* css3/line-break/line-break-strict-postfixes-expected.html:
* css3/line-break/line-break-strict-postfixes.html:
* css3/line-break/line-break-strict-sound-marks-expected.html:
* css3/line-break/line-break-strict-sound-marks.html:
* fast/text/fallback-language-han-expected.html: Added.
* fast/text/fallback-language-han.html: Added.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoCharacterFallbackMapKey should be locale-specific
mmaxfield@apple.com [Sat, 1 Aug 2015 23:49:08 +0000 (23:49 +0000)]
CharacterFallbackMapKey should be locale-specific
https://bugs.webkit.org/show_bug.cgi?id=147532

Reviewed by Dean Jackson.

This is in preparation for locale-specific font fallback.

No new tests because there is no behavior change.

* platform/graphics/Font.cpp:
(WebCore::CharacterFallbackMapKey::CharacterFallbackMapKey):
(WebCore::CharacterFallbackMapKey::operator==):
(WebCore::CharacterFallbackMapKeyHash::hash):
(WebCore::Font::systemFallbackFontForCharacter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix 64-bit CMake build on Windows.
achristensen@apple.com [Sat, 1 Aug 2015 21:53:08 +0000 (21:53 +0000)]
Fix 64-bit CMake build on Windows.

* PlatformWin.cmake:
Win64 needs PaintHooks.asm.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187726 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[Win] Test gardening
mmaxfield@apple.com [Sat, 1 Aug 2015 20:43:56 +0000 (20:43 +0000)]
[Win] Test gardening

Unreviewed

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2015-08-01

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187725 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoExpand CharacterFallbackMapKey to a struct
mmaxfield@apple.com [Sat, 1 Aug 2015 20:15:23 +0000 (20:15 +0000)]
Expand CharacterFallbackMapKey to a struct
https://bugs.webkit.org/show_bug.cgi?id=147530

Reviewed by Dean Jackson.

This is in prepraration for making this struct locale-specific.

No new tests because there is no behavior change.

* platform/graphics/Font.cpp:
(WebCore::CharacterFallbackMapKey::CharacterFallbackMapKey):
(WebCore::CharacterFallbackMapKey::isHashTableDeletedValue):
(WebCore::CharacterFallbackMapKey::operator==):
(WebCore::CharacterFallbackMapKeyHash::hash):
(WebCore::CharacterFallbackMapKeyHash::equal):
(WebCore::Font::systemFallbackFontForCharacter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187724 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoHashTraits<AtomicString> can use SimpleClassHashTraits
mmaxfield@apple.com [Sat, 1 Aug 2015 20:14:20 +0000 (20:14 +0000)]
HashTraits<AtomicString> can use SimpleClassHashTraits
https://bugs.webkit.org/show_bug.cgi?id=147528

Reviewed by Andreas Kling.

No point in duplicating the code inside SimpleClassHashTraits.

* wtf/text/AtomicStringHash.h:
(WTF::HashTraits<WTF::AtomicString>::constructDeletedValue): Deleted.
(WTF::HashTraits<WTF::AtomicString>::isDeletedValue): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187723 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix the build after r187721
mmaxfield@apple.com [Sat, 1 Aug 2015 20:08:24 +0000 (20:08 +0000)]
Fix the build after r187721

Unreviewed.

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2015-08-01

* bindings/js/JSDOMBinding.h:
(WebCore::createWrapper):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187722 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix compile errors with VS2015
achristensen@apple.com [Sat, 1 Aug 2015 19:55:50 +0000 (19:55 +0000)]
Fix compile errors with VS2015
https://bugs.webkit.org/show_bug.cgi?id=147526

Reviewed by Myles Maxfield.

Source/WebCore:

* bindings/js/JSDOMBinding.h:
(WebCore::createWrapper):
Explicitly call the Ref constructor to avoid unresolved symbols with VS2015.
Otherwise, VS2015 tries to use CSSPrimitiveValue::operator<Ref<CSSPrimitiveValue> > which doesn't exist.

Source/WebKit/win:

* WebKitDLL.cpp:
(shutDownWebKit):
(loadResourceIntoBuffer): Needs to be exported from WebKit.dll to link with CMake using VS2015.

Source/WTF:

* wtf/StringExtras.h:
(snprintf):
(wtf_vsnprintf):
VS2015 has an implementation of snprintf.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187721 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed. Remove unintentional "print" statement in test case.
saambarati1@gmail.com [Sat, 1 Aug 2015 15:27:11 +0000 (15:27 +0000)]
Unreviewed. Remove unintentional "print" statement in test case.
https://bugs.webkit.org/show_bug.cgi?id=142567

* tests/stress/class-syntax-definition-semantics.js:
(shouldBeSyntaxError):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Replace "unknown-mac" CSS class with "el-capitan"
nvasilyev@apple.com [Sat, 1 Aug 2015 10:55:28 +0000 (10:55 +0000)]
Web Inspector: Replace "unknown-mac" CSS class with "el-capitan"
https://bugs.webkit.org/show_bug.cgi?id=147524

Reviewed by Timothy Hatcher.

* UserInterface/Base/Platform.js:
No need to repeat WebInspector.Platform.version.release for every possible case.

* UserInterface/Views/Toolbar.css:
(body:not(.el-capitan) .toolbar .dashboard-container):
(body:not(.el-capitan) .toolbar .search-bar > input[type="search"]):
(body:not(.el-capitan) .toolbar .search-bar > input[type="search"]:focus):
(body:not(.el-capitan) .toolbar .item.button:active):
(body.window-inactive:not(.el-capitan) .toolbar .dashboard-container):
(body.el-capitan .toolbar .dashboard-container):
(body.el-capitan .toolbar .search-bar > input[type="search"]):
(body.el-capitan .toolbar .search-bar > input[type="search"]:focus):
(@media (-webkit-min-device-pixel-ratio: 2)):
(body.el-capitan .toolbar .item.button:active):
(body.el-capitan.window-inactive .toolbar .dashboard-container):
(body:not(.unknown-mac) .toolbar .dashboard-container): Deleted.
(body:not(.unknown-mac) .toolbar .search-bar > input[type="search"]): Deleted.
(body:not(.unknown-mac) .toolbar .search-bar > input[type="search"]:focus): Deleted.
(body:not(.unknown-mac) .toolbar .item.button:active): Deleted.
(body.window-inactive:not(.unknown-mac) .toolbar .dashboard-container): Deleted.
(body.unknown-mac .toolbar .dashboard-container): Deleted.
(body.unknown-mac .toolbar .search-bar > input[type="search"]): Deleted.
(body.unknown-mac .toolbar .search-bar > input[type="search"]:focus): Deleted.
(body.unknown-mac .toolbar .item.button:active): Deleted.
(body.unknown-mac.window-inactive .toolbar .dashboard-container): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187715 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: inherited CSS rules disappear from Styles sidebar while editing
drousso@apple.com [Sat, 1 Aug 2015 06:48:27 +0000 (06:48 +0000)]
Web Inspector: inherited CSS rules disappear from Styles sidebar while editing
https://bugs.webkit.org/show_bug.cgi?id=147441

Reviewed by Timothy Hatcher.

If the user edits a style declaration such that it would dissapear mid-edit, prevent
the rules panel from refreshing until that editor is blurred.

* UserInterface/Views/CSSStyleDeclarationSection.js:
(WebInspector.CSSStyleDeclarationSection):
(WebInspector.CSSStyleDeclarationSection.prototype.get editorActive):
(WebInspector.CSSStyleDeclarationSection.prototype.get _hasInvalidSelector):
(WebInspector.CSSStyleDeclarationSection.prototype._editorContentChanged):
(WebInspector.CSSStyleDeclarationSection.prototype._editorBlurred):
* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._editorBlured):
(WebInspector.CSSStyleDeclarationTextEditor.prototype._contentChanged):
* UserInterface/Views/RulesStyleDetailsPanel.js:
(WebInspector.RulesStyleDetailsPanel):
(WebInspector.RulesStyleDetailsPanel.prototype._removeSectionWithActiveEditor):
* UserInterface/Views/StyleDetailsPanel.js:
(WebInspector.StyleDetailsPanel.prototype._refreshPreservingScrollPosition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187714 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: inform the UI process when the focused Content media element changes
mrajca@apple.com [Sat, 1 Aug 2015 06:47:50 +0000 (06:47 +0000)]
Media Session: inform the UI process when the focused Content media element changes
https://bugs.webkit.org/show_bug.cgi?id=147323

Reviewed by Tim Horton.

WebCore:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::playInternal): Eventually tell the UI process that the focused Content media element changed.
* page/ChromeClient.h:

WebKit2:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::isPlayingMediaDidChange):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::focusedContentMediaElementDidChange):
* WebProcess/WebCoreSupport/WebChromeClient.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187713 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: give media elements unique IDs https://bugs.webkit.org/show_bug.cgi...
mrajca@apple.com [Sat, 1 Aug 2015 06:39:36 +0000 (06:39 +0000)]
Media Session: give media elements unique IDs https://bugs.webkit.org/show_bug.cgi?id=147322

Reviewed by Eric Carlson.

* html/HTMLMediaElement.cpp:
(WebCore::elementIDsToElements): Create a global map of element IDs to elements.
(WebCore::HTMLMediaElement::elementWithID): Retrieve the element with the given ID.
(WebCore::HTMLMediaElement::HTMLMediaElement): Give the element a unique ID.
(WebCore::HTMLMediaElement::playInternal): Removed whitespace.
(WebCore::HTMLMediaElement::pauseInternal): Ditto.
* html/HTMLMediaElement.h:
(WebCore::HTMLMediaElement::elementID):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoAdding -expected.png for fast/text/international/arabic-justify.html
mmaxfield@apple.com [Sat, 1 Aug 2015 06:27:54 +0000 (06:27 +0000)]
Adding -expected.png for fast/text/international/arabic-justify.html

* platform/mac-yosemite/fast/text/international/arabic-justify-expected.png: Added

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187711 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: add test to ensure that switching media sessions pauses elements
mrajca@apple.com [Sat, 1 Aug 2015 05:33:50 +0000 (05:33 +0000)]
Media Session: add test to ensure that switching media sessions pauses elements
https://bugs.webkit.org/show_bug.cgi?id=147493

Reviewed by Eric Carlson.

* media/session/switching-sessions-expected.txt: Added.
* media/session/switching-sessions.html: Added.
* platform/mac/TestExpectations: Media Session support is disabled by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187710 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoFix the build
mmaxfield@apple.com [Sat, 1 Aug 2015 04:27:49 +0000 (04:27 +0000)]
Fix the build

Unreviewed.

* platform/graphics/mac/FontCacheMac.mm:
(WebCore::lookupCTFont):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187709 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Autocomplete: Undo (Cmd+Z) doesn't work as expected
drousso@apple.com [Sat, 1 Aug 2015 04:15:48 +0000 (04:15 +0000)]
Web Inspector: Autocomplete: Undo (Cmd+Z) doesn't work as expected
https://bugs.webkit.org/show_bug.cgi?id=147316

Reviewed by Timothy Hatcher.

Instead of replacing the text for a completion, which messes up the undo history, add
a unique marker that contains the remaining text for the current completion.

* UserInterface/Controllers/CodeMirrorCompletionController.js:
(WebInspector.CodeMirrorCompletionController.prototype._createCompletionHintMarker):
(WebInspector.CodeMirrorCompletionController.prototype._applyCompletionHint.update):
(WebInspector.CodeMirrorCompletionController.prototype._applyCompletionHint):
(WebInspector.CodeMirrorCompletionController.prototype._removeCompletionHint.update):
(WebInspector.CodeMirrorCompletionController.prototype._removeCompletionHint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187708 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[OS X] Migrate to CTFontCreateForCharactersWithLanguage from [NSFont findFontLike...
mmaxfield@apple.com [Sat, 1 Aug 2015 04:06:30 +0000 (04:06 +0000)]
[OS X] Migrate to CTFontCreateForCharactersWithLanguage from [NSFont findFontLike:forString:withRange:inLanguage]
https://bugs.webkit.org/show_bug.cgi?id=147483

Reviewed by Dean Jackson.

[NSFont findFontLike:forString:withRange:inLanguage] doesn't properly handle its last argument. In
addition, we want to be moving away from NSFont in the first place and on to Core Text. This new
CoreText function correctly handles its language argument, which is required for language-specific
font fallback.

No new tests because there is no behavior change.

* platform/graphics/FontCache.cpp:
(WebCore::FontCache::purgeInactiveFontData):
* platform/graphics/FontCache.h:
(WebCore::FontCache::platformPurgeInactiveFontData):
* platform/graphics/mac/FontCacheMac.mm:
(WebCore::fallbackDedupSet):
(WebCore::FontCache::platformPurgeInactiveFontData):
(WebCore::lookupCTFont):
(WebCore::FontCache::systemFallbackForCharacters):
* platform/spi/cocoa/CoreTextSPI.h:
* platform/spi/mac/NSFontSPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187707 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoDrop dummy Timer callbacks
cdumez@apple.com [Sat, 1 Aug 2015 03:41:07 +0000 (03:41 +0000)]
Drop dummy Timer callbacks
https://bugs.webkit.org/show_bug.cgi?id=147516

Reviewed by Alexey Proskuryakov.

Drop dummy Timer callbacks in the code base. A lot of Timer callbacks
do nothing else beside calling a particular method. In such case, we
can use the called method as Timer callback instead.

Source/WebCore:

* css/FontLoader.cpp:
(WebCore::FontLoader::FontLoader):
* css/FontLoader.h:
* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::styleRecalcTimerFired): Deleted.
(WebCore::Document::domCookieCacheExpiryTimerFired): Deleted.
* dom/Document.h:
* html/MediaController.cpp:
(MediaController::MediaController):
(MediaController::timeupdateTimerFired): Deleted.
* html/MediaController.h:
* loader/cache/CachedResource.cpp:
(WebCore::CachedResource::CachedResource):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::CachedResourceLoader):
(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired): Deleted.
* loader/cache/CachedResourceLoader.h:
* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::MemoryCache):
(WebCore::MemoryCache::pruneTimerFired): Deleted.
* loader/cache/MemoryCache.h:
* page/EventSource.cpp:
(WebCore::EventSource::EventSource):
(WebCore::EventSource::connectTimerFired): Deleted.
* page/EventSource.h:
* page/FrameView.cpp:
(WebCore::FrameView::FrameView):
(WebCore::FrameView::delayedScrollEventTimerFired): Deleted.
(WebCore::FrameView::postLayoutTimerFired): Deleted.
* page/FrameView.h:
* page/scrolling/ios/ScrollingCoordinatorIOS.h:
* page/scrolling/ios/ScrollingCoordinatorIOS.mm:
(WebCore::ScrollingCoordinatorIOS::ScrollingCoordinatorIOS):
(WebCore::ScrollingCoordinatorIOS::scrollingStateTreeCommitterTimerFired): Deleted.
* page/scrolling/mac/ScrollingCoordinatorMac.h:
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::ScrollingCoordinatorMac):
(WebCore::ScrollingCoordinatorMac::scrollingStateTreeCommitterTimerFired): Deleted.
* platform/graphics/FontCache.cpp:
(WebCore::FontCache::FontCache):
(WebCore::FontCache::purgeTimerFired): Deleted.
* platform/graphics/FontCache.h:
* platform/graphics/ShadowBlur.cpp:
(WebCore::ScratchBuffer::ScratchBuffer):
(WebCore::ScratchBuffer::timerFired): Deleted.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::MediaPlayerPrivateMediaSourceAVFObjC):
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::seekTimerFired): Deleted.

Source/WebKit/mac:

* Plugins/WebNetscapePluginStream.h:
* Plugins/WebNetscapePluginStream.mm:
(WebNetscapePluginStream::WebNetscapePluginStream):
(WebNetscapePluginStream::deliverDataTimerFired): Deleted.

Source/WebKit2:

* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea):
(WebKit::RemoteLayerTreeDrawingArea::layerFlushTimerFired): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoRemoved pointSize from _addMarkersToList
mdaiter@apple.com [Sat, 1 Aug 2015 02:39:34 +0000 (02:39 +0000)]
Removed pointSize from _addMarkersToList
https://bugs.webkit.org/show_bug.cgi?id=147515

Reviewed by Eric Carlson.

* editing/cocoa/HTMLConverter.mm:
(HTMLConverter::_addMarkersToList): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187704 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoPrepare for VS2015
achristensen@apple.com [Sat, 1 Aug 2015 01:56:57 +0000 (01:56 +0000)]
Prepare for VS2015
https://bugs.webkit.org/show_bug.cgi?id=146579

Reviewed by Jon Honeycutt.

Source/JavaScriptCore:

* heap/Heap.h:
Fix compiler error by explicitly casting zombifiedBits to the size of a pointer.

Source/WebCore:

* WebCore.vcxproj/build-generated-files.pl:
Find a correct preprocessor when using VS2015.

Source/WTF:

* wtf/StdLibExtras.h:
(std::exchange):
Added preprocessor macros around functions implemented in VS2015's standard library.

Tools:

* WinLauncher/stdafx.h:
Define __STDC_LIMIT_MACROS to have access to INTMAX_MAX.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187702 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed gardening. Skip Media Sessions tests, the feature is not yet enabled.
joepeck@webkit.org [Sat, 1 Aug 2015 01:36:13 +0000 (01:36 +0000)]
Unreviewed gardening. Skip Media Sessions tests, the feature is not yet enabled.

* TestExpectations:
* platform/efl/TestExpectations:
* platform/mac/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187701 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Scrolling "jumps" in console
drousso@apple.com [Sat, 1 Aug 2015 01:32:02 +0000 (01:32 +0000)]
Web Inspector: Scrolling "jumps" in console
https://bugs.webkit.org/show_bug.cgi?id=147482

Reviewed by Joseph Pecoraro.

Removed focus call on messageElement.

* UserInterface/Views/LogContentView.js:
(WebInspector.LogContentView):
(WebInspector.LogContentView.prototype._mousedown): Deleted.
(WebInspector.LogContentView.prototype._didFocus): Deleted.
(WebInspector.LogContentView.prototype._didBlur): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187700 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed gardening. Update inspector test skips based on bots.
joepeck@webkit.org [Sat, 1 Aug 2015 01:22:23 +0000 (01:22 +0000)]
Unreviewed gardening. Update inspector test skips based on bots.

* TestExpectations:
* platform/gtk/TestExpectations:
* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[WK2][NetworkCache] Drop HTTP method from NetworkCache::Key
cdumez@apple.com [Sat, 1 Aug 2015 00:43:36 +0000 (00:43 +0000)]
[WK2][NetworkCache] Drop HTTP method from NetworkCache::Key
https://bugs.webkit.org/show_bug.cgi?id=143348

Reviewed by Antti Koivisto.

Drop HTTP method from NetworkCache::Key as we only cache GET responses
for now. Even when we start caching HEAD responses, we likely will not
want the method to be part of the key because:
- A HEAD response can be used to update the headers of a previously cached response to GET
- A cached GET response may be used to satisfy subsequent HEAD requests

* NetworkProcess/cache/NetworkCache.cpp:
(WebKit::NetworkCache::makeCacheKey):
* NetworkProcess/cache/NetworkCacheKey.cpp:
(WebKit::NetworkCache::Key::Key):
(WebKit::NetworkCache::Key::operator==):
(WebKit::NetworkCache::Key::decode):
(WebKit::NetworkCache::Key::operator=): Deleted.
(WebKit::NetworkCache::Key::computeHash): Deleted.
(WebKit::NetworkCache::Key::encode): Deleted.
* NetworkProcess/cache/NetworkCacheKey.h:
(WebKit::NetworkCache::Key::method): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187698 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[iOS] use a media-specific user gesture check
eric.carlson@apple.com [Sat, 1 Aug 2015 00:09:23 +0000 (00:09 +0000)]
[iOS] use a media-specific user gesture check
https://bugs.webkit.org/show_bug.cgi?id=147509

Reviewed by Tim Horton.

Change an enum name added in r187688.

* dom/UserGestureIndicator.cpp:
(WebCore::isDefinite): DefinitelyProcessingMediaUserGesture -> DefinitelyProcessingPotentialUserGesture
(WebCore::UserGestureIndicator::processingUserGestureForMedia): Ditto.
* dom/UserGestureIndicator.h: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187694 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[Cocoa] Latin quotes are used with the system font on Chinese devices
mmaxfield@apple.com [Sat, 1 Aug 2015 00:00:44 +0000 (00:00 +0000)]
[Cocoa] Latin quotes are used with the system font on Chinese devices
https://bugs.webkit.org/show_bug.cgi?id=147504

Reviewed by Dean Jackson.

The system font has some fancy logic regarding character selection which requires
using Core Text for glyph selection.

No new tests because tests can't change the system language of the device.

* platform/graphics/mac/GlyphPageMac.cpp:
(WebCore::shouldUseCoreText):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187693 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Unskip / Unflake inspector tests after r187627
joepeck@webkit.org [Fri, 31 Jul 2015 23:57:22 +0000 (23:57 +0000)]
Web Inspector: Unskip / Unflake inspector tests after r187627
https://bugs.webkit.org/show_bug.cgi?id=147503

Reviewed by Brian Burg.

Source/WebInspectorUI:

* UserInterface/Base/Test.js:
(InspectorTest.completeTest):
(InspectorTest.completeTest.signalCompletionToTestPage): Deleted.
(InspectorTest.testPageDidLoad):
Instead of immediately resending results if completeTest was called
during a reload before the load has completed, we just set a flag
to complete the test when the load completes. This consistently
resends the output to the new page for test output.

(InspectorTest._resendResults):
Delete clear results. If the page had logged anything directly on
the page side (using InspectorTestProxy) this clearMessages would
have deleted those messages and not been able to recreate them.
Clearing messages wasn't really serving a purpose.

LayoutTests:

* TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
Unskip and unflake inspector tests.

* http/tests/inspector/inspector-test.js:
(InspectorTestProxy.addResult):
Simplify with the new append API.

(InspectorTestProxy.clearResults): Deleted.
Delete, as it is no longer used.

* inspector/debugger/probe-manager-add-remove-actions-expected.txt:
Include output that was getting erronously cleared by clearResults
which we removed.

* inspector/dom/highlightSelector-expected.txt:
* inspector/dom/highlightSelector.html:
Make this test more reliable when run with other tests.
Never assume the frame id for the main frame or sub frame,
instead compute them and mask them in the output.

* inspector/dom/resources/highlightSelector-iframe.html: Renamed from LayoutTests/inspector/dom/highlightSelector-iframe.html.
Move the non-test iframe html resource into a sub-folder
so it won't be treated like an actual test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187692 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoSource/WebCore:
cdumez@apple.com [Fri, 31 Jul 2015 23:56:00 +0000 (23:56 +0000)]
Source/WebCore:
Coalesce authentication credential requests
https://bugs.webkit.org/show_bug.cgi?id=128006
<rdar://problem/16839069>

Reviewed by Alexey Proskuryakov.

Export symbol for ProtectionSpace::compare() so it can be called from
WebKit2.

* platform/network/ProtectionSpaceBase.h:

Source/WebKit2:
Coalesce concurrent authentication challenges for the same ProtectionSpace
https://bugs.webkit.org/show_bug.cgi?id=147496
<rdar://problem/16839069>

Reviewed by Alexey Proskuryakov.

Coalesce concurrent authentication challenges for the same ProtectionSpace.
Ideally, this would be done in the network layer but short term, this will
make sure the user no longer gets repeating authentication dialogs for the
same protection space.

This gets rid of a long-standing bug in WebKit / Safari where visiting a
site using HTTP authentication would pop up one authentication dialog for
each subresource being loaded from the network (especially when the main
resource is loaded from the cache).

* Shared/Authentication/AuthenticationManager.cpp:
(WebKit::canCoalesceChallenge):
(WebKit::AuthenticationManager::addChallengeToChallengeMap):
(WebKit::AuthenticationManager::shouldCoalesceChallenge):
(WebKit::AuthenticationManager::coalesceChallengesMatching):
(WebKit::AuthenticationManager::didReceiveAuthenticationChallenge):
(WebKit::AuthenticationManager::useCredentialForChallenge):
(WebKit::AuthenticationManager::useCredentialForSingleChallenge):
(WebKit::AuthenticationManager::continueWithoutCredentialForChallenge):
(WebKit::AuthenticationManager::continueWithoutCredentialForSingleChallenge):
(WebKit::AuthenticationManager::cancelChallenge):
(WebKit::AuthenticationManager::cancelSingleChallenge):
(WebKit::AuthenticationManager::performDefaultHandling):
(WebKit::AuthenticationManager::performDefaultHandlingForSingleChallenge):
(WebKit::AuthenticationManager::rejectProtectionSpaceAndContinue):
(WebKit::AuthenticationManager::rejectProtectionSpaceAndContinueForSingleChallenge):
(WebKit::AuthenticationManager::AuthenticationManager): Deleted.
* Shared/Authentication/AuthenticationManager.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187691 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed gardening. Skip more inspector tests on Windows.
joepeck@webkit.org [Fri, 31 Jul 2015 23:50:01 +0000 (23:50 +0000)]
Unreviewed gardening. Skip more inspector tests on Windows.

It may be that no inspector tests are working on Windows,
if that is the case we may move to skipping all of them
and investigate unskipping in chunks.

* platform/win/TestExpectations:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Convert timeline view classes to ES6 classes
burg@cs.washington.edu [Fri, 31 Jul 2015 23:27:04 +0000 (23:27 +0000)]
Web Inspector: Convert timeline view classes to ES6 classes
https://bugs.webkit.org/show_bug.cgi?id=147381

Reviewed by Joseph Pecoraro.

Along the way, inline a few style class names.

Elided mechanical changes from the Changelog.

* UserInterface/Views/LayoutTimelineOverviewGraph.js:
* UserInterface/Views/LayoutTimelineView.js:
* UserInterface/Views/LinearTimelineOverview.js:
* UserInterface/Views/NetworkTimelineOverviewGraph.js:
* UserInterface/Views/NetworkTimelineView.js:
* UserInterface/Views/OverviewTimelineView.js:
* UserInterface/Views/RenderingFrameTimelineOverview.js:
* UserInterface/Views/RenderingFrameTimelineOverviewGraph.js:
* UserInterface/Views/RenderingFrameTimelineView.js:
* UserInterface/Views/ScriptTimelineOverviewGraph.js:
* UserInterface/Views/ScriptTimelineView.js:
* UserInterface/Views/TimelineOverview.js:
* UserInterface/Views/TimelineOverviewGraph.js:
* UserInterface/Views/TimelineRecordBar.js:
* UserInterface/Views/TimelineRecordFrame.js:
* UserInterface/Views/TimelineRecordingContentView.js:
* UserInterface/Views/TimelineRuler.js:
* UserInterface/Views/TimelineTabContentView.js:
* UserInterface/Views/TimelineView.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187689 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[iOS] use a media-specific user gesture check
eric.carlson@apple.com [Fri, 31 Jul 2015 22:59:04 +0000 (22:59 +0000)]
[iOS] use a media-specific user gesture check
https://bugs.webkit.org/show_bug.cgi?id=147509

Reviewed by Jer Noble.

* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::processingUserGestureForMedia): New.
* bindings/js/ScriptController.h:

* dom/UserGestureIndicator.cpp:
(WebCore::isDefinite): Allow DefinitelyProcessingMediaUserGesture.
(WebCore::UserGestureIndicator::processingUserGestureForMedia): New.
* dom/UserGestureIndicator.h:

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::load): Use ScriptController::processingUserGestureForMedia instead of
  ScriptController::processingUserGesture
(WebCore::HTMLMediaElement::play): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187688 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoCrashes under HTMLMediaElement::updateActiveTextTrackCues() when destroying CachedPage.
akling@apple.com [Fri, 31 Jul 2015 22:43:55 +0000 (22:43 +0000)]
Crashes under HTMLMediaElement::updateActiveTextTrackCues() when destroying CachedPage.
<https://webkit.org/b/147506>
<rdar://problem/21939014>

Reviewed by Chris Dumez.

Don't mess with the media element's text tracks below its ActiveDOMObject::stop()
implementation, since that may cause DOM mutations.

I don't have a repro or a test for this, but plenty of crash logs to indicate that
we're getting ourselves into trouble by modifying the DOM during CachedPage teardown.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::configureTextTrackDisplay):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187687 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[iOS] DOMNode preview snapshot rects are wrong for user-select: none links
timothy_horton@apple.com [Fri, 31 Jul 2015 22:34:23 +0000 (22:34 +0000)]
[iOS] DOMNode preview snapshot rects are wrong for user-select: none links
https://bugs.webkit.org/show_bug.cgi?id=147513
<rdar://problem/22083354>

Reviewed by Simon Fraser.

* bindings/objc/DOM.mm:
(-[DOMNode getPreviewSnapshotImage:andRects:]):
Use the same code as WebKit2 to compute the fallback rect (if TextIndicator fails),
asking the RenderObject (or RenderImage) for its bounding box instead of using the
(often wrong) Range bounding rect.

Make sure to use the fallback rect *any* time TextIndicator fails (before
we would return no rects at all if TextIndicator::createWithRange returned null,
and the fallback rect if it returned with an empty image).

Inverse-page-scale the margin, to match the appearance in WebKit2.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187686 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[SVG -> OTF Converter] Crash when converting Arabic fonts
mmaxfield@apple.com [Fri, 31 Jul 2015 22:24:56 +0000 (22:24 +0000)]
[SVG -> OTF Converter] Crash when converting Arabic fonts
https://bugs.webkit.org/show_bug.cgi?id=147510

Reviewed by Anders Carlsson.

Source/WebCore:

SVGToOTFFontConverter::compareCodepointsLexicographically() wasn't transitive.

Test: fast/text/arabic-duplicate-glyph-font.html

* svg/SVGToOTFFontConversion.cpp:
(WebCore::SVGToOTFFontConverter::compareCodepointsLexicographically):

LayoutTests:

* fast/text/arabic-duplicate-glyph-font-expected.txt: Added.
* fast/text/arabic-duplicate-glyph-font.html: Added.
* fast/text/resources/arabic-duplicate-glyph-font.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187685 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoRename AVPlayerLayerView to _AVPlayerLayerView.
commit-queue@webkit.org [Fri, 31 Jul 2015 22:20:30 +0000 (22:20 +0000)]
Rename AVPlayerLayerView to _AVPlayerLayerView.
https://bugs.webkit.org/show_bug.cgi?id=147399

Patch by Jeremy Jones <jeremyj@apple.com> on 2015-07-31
Reviewed by Eric Carlson.

Change class name AVPlayerLayerView to match change in AVKit SPI.
This prevents conflicts with 3rd party apps.

* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(WebAVPlayerLayerView_dealloc):
(getWebAVPlayerLayerViewClass):
* platform/spi/cocoa/AVKitSPI.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187684 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoUnreviewed parameter name typo fix.
joepeck@webkit.org [Fri, 31 Jul 2015 21:26:15 +0000 (21:26 +0000)]
Unreviewed parameter name typo fix.

* UIProcess/API/Cocoa/WKPreferences.mm:
(-[WKPreferences _setHiddenPageDOMTimerThrottlingEnabled:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187682 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoImageBufferDataCG should not add IOSurfaces to the pool
cdumez@apple.com [Fri, 31 Jul 2015 21:16:42 +0000 (21:16 +0000)]
ImageBufferDataCG should not add IOSurfaces to the pool
https://bugs.webkit.org/show_bug.cgi?id=147494

Reviewed by Tim Horton.

ImageBufferDataCG should not add IOSurfaces to the pool as it is not
safe. IOSurfaceIsInUse() does not return accurate result for those
surfaces.

This is a partial revert of r181301.

* platform/graphics/cg/ImageBufferDataCG.cpp:
(WebCore::ImageBufferData::~ImageBufferData): Deleted.
* platform/graphics/cg/ImageBufferDataCG.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187681 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoES6 class syntax should use block scoping
saambarati1@gmail.com [Fri, 31 Jul 2015 21:05:19 +0000 (21:05 +0000)]
ES6 class syntax should use block scoping
https://bugs.webkit.org/show_bug.cgi?id=142567

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

We treat class declarations like we do "let" declarations.
The class name is under TDZ until the class declaration
statement is evaluated. Class declarations also follow
the same rules as "let": No duplicate definitions inside
a lexical environment.

* parser/ASTBuilder.h:
(JSC::ASTBuilder::createClassDeclStatement):
* parser/Parser.cpp:
(JSC::Parser<LexerType>::parseClassDeclaration):
* tests/stress/class-syntax-block-scoping.js: Added.
(assert):
(truth):
(.):
* tests/stress/class-syntax-definition-semantics.js: Added.
(shouldBeSyntaxError):
(shouldNotBeSyntaxError):
(truth):
* tests/stress/class-syntax-tdz.js:
(assert):
(shouldThrowTDZ):
(truth):
(.):

LayoutTests:

* js/class-constructor-return-expected.txt:
* js/class-syntax-call-expected.txt:
* js/class-syntax-declaration-expected.txt:
* js/class-syntax-default-constructor-expected.txt:
* js/class-syntax-extends-expected.txt:
* js/class-syntax-name-expected.txt:
* js/class-syntax-super-expected.txt:
* js/script-tests/class-constructor-return.js:
(shouldThrow):
(shouldNotThrow):
(shouldBeTrue):
(shouldBeFalse):
* js/script-tests/class-syntax-call.js:
(A):
(B):
(shouldThrow):
(shouldNotThrow):
* js/script-tests/class-syntax-declaration.js:
(shouldThrow):
(shouldNotThrow):
(shouldBe):
* js/script-tests/class-syntax-default-constructor.js:
(shouldThrow):
(shouldBe):
(shouldBeTrue):
(assert):
(A):
(B):
* js/script-tests/class-syntax-extends.js:
(shouldThrow):
(shouldNotThrow):
(shouldBe):
(shouldBeTrue):
(Base):
(Base.prototype.baseMethod):
* js/script-tests/class-syntax-name.js:
(shouldThrow):
(shouldNotThrow):
(shouldBe):
(shouldBeTrue):
(runTestShouldBe):
* js/script-tests/class-syntax-super.js:
(shouldThrow):
(shouldNotThrow):
(shouldBe):
(shouldBeTrue):
(shouldBeFalse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187680 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoImplement WebAssembly module parser
commit-queue@webkit.org [Fri, 31 Jul 2015 20:34:50 +0000 (20:34 +0000)]
Implement WebAssembly module parser
https://bugs.webkit.org/show_bug.cgi?id=147293

Patch by Sukolsak Sakshuwong <sukolsak@gmail.com> on 2015-07-31
Reviewed by Mark Lam.

Re-landing after fix for the "..\..\jsc.cpp(46): fatal error C1083: Cannot open
include file: 'JSWASMModule.h'" issue on Windows.

Implement WebAssembly module parser for WebAssembly files produced by pack-asmjs
<https://github.com/WebAssembly/polyfill-prototype-1>. This patch only checks
the magic number at the beginning of the files. Parsing of the rest will be
implemented in a subsequent patch.

* CMakeLists.txt:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* JavaScriptCore.xcodeproj/project.pbxproj:
* jsc.cpp:
(GlobalObject::finishCreation):
(functionLoadWebAssembly):
* parser/SourceProvider.h:
(JSC::WebAssemblySourceProvider::create):
(JSC::WebAssemblySourceProvider::data):
(JSC::WebAssemblySourceProvider::WebAssemblySourceProvider):
* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
(JSC::JSGlobalObject::visitChildren):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::wasmModuleStructure):
* wasm/WASMMagicNumber.h: Added.
* wasm/WASMModuleParser.cpp: Added.
(JSC::WASMModuleParser::WASMModuleParser):
(JSC::WASMModuleParser::parse):
(JSC::WASMModuleParser::parseModule):
(JSC::parseWebAssembly):
* wasm/WASMModuleParser.h: Added.
* wasm/WASMReader.cpp: Added.
(JSC::WASMReader::readUnsignedInt32):
(JSC::WASMReader::readFloat):
(JSC::WASMReader::readDouble):
* wasm/WASMReader.h: Added.
(JSC::WASMReader::WASMReader):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187677 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago CRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
jer.noble@apple.com [Fri, 31 Jul 2015 20:21:15 +0000 (20:21 +0000)]
 CRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
 https://bugs.webkit.org/show_bug.cgi?id=147485

 Rubber-stamped by Joseph Pecoraro.

 Follow-up test crash fix: call superclass's contextDestroyed() which allows the
 m_scriptExecutionContext variable to be cleared.

 * html/HTMLMediaElement.cpp:
 (WebCore::HTMLMediaElement::contextDestroyed):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187675 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoREGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageF...
beidson@apple.com [Fri, 31 Jul 2015 19:43:43 +0000 (19:43 +0000)]
REGRESSION (r174791): Returning a zombie NSImage from sharingService:transitionImageForShareItem:contentRect:
<rdar://problem/22060183> and https://bugs.webkit.org/show_bug.cgi?id=147497

Reviewed by Tim Horton.

* WebCoreSupport/WebContextMenuClient.mm:
(WebContextMenuClient::imageForCurrentSharingServicePickerItem): Don't return what is basically a temporary NSImage.
  Instead do a [[retain] autorelease] on it while still valid.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187669 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoOnly generate "themeWin*" UserAgentStyleSheet constants for Windows builds
commit-queue@webkit.org [Fri, 31 Jul 2015 19:25:58 +0000 (19:25 +0000)]
Only generate "themeWin*" UserAgentStyleSheet constants for Windows builds
https://bugs.webkit.org/show_bug.cgi?id=147378

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-07-31
Reviewed by Alex Christensen.

* DerivedSources.make:
Only include windows user agent style sheets for Windows OSes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187668 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoPrepare for debug CMake builds on Windows.
achristensen@apple.com [Fri, 31 Jul 2015 18:07:06 +0000 (18:07 +0000)]
Prepare for debug CMake builds on Windows.
https://bugs.webkit.org/show_bug.cgi?id=147484

Reviewed by Tim Horton.

.:

* Source/cmake/OptionsWindows.cmake:
Don't use debug runtimes in debug builds because the dependencies are only built with multithreaded runtimes.

Source/WebCore:

In order to get debug builds to link on Windows with CMake, we will need to use AllInOnes.
This patch includes more files in the AllInOnes and removes some duplicate code.

* WebCore.vcxproj/WebCore.vcxproj:
* bindings/js/JSBindingsAllInOne.cpp:
* css/CSSAllInOne.cpp:
Many files were added to the AllInOne files.  They should not be included in the Visual Studio solutions.
* css/CSSCalculationValue.cpp:
(WebCore::CSSCalcValue::create):
Use CSSParserString::equalIgnoringCase to avoid ambiguous calls to overloaded functions.
* css/StyleResolver.cpp:
(WebCore::StyleResolver::pseudoStyleRulesForElement):
(WebCore::shouldApplyPropertyInParseOrder):
(WebCore::convertToFloatLength): Deleted.
* css/TransformFunctions.cpp:
(WebCore::transformOperationType):
(WebCore::convertToFloatLength):
* css/TransformFunctions.h:
Removed duplicate convertToFloatLength function.
* html/HTMLElementsAllInOne.cpp:
* rendering/FlowThreadController.cpp:
(WebCore::FlowThreadController::updateNamedFlowsLayerListsIfNeeded):
(WebCore::compareZIndexFlowThreadController): Renamed from compareZIndex to prevent naming conflicts.
(WebCore::FlowThreadController::collectFixedPositionedLayers):
(WebCore::compareZIndex): Deleted.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::shouldRepaintAfterLayout):
(WebCore::compositedWithOwnBackingStore):
* rendering/RenderLayer.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::isSimpleContainerCompositingLayer):
(WebCore::descendantLayerPaintsIntoAncestor):
(WebCore::RenderLayerBacking::paintIntoLayer):
(WebCore::RenderLayerBacking::paintContents):
(WebCore::compositedWithOwnBackingStore): Deleted.
Removed duplicate compositedWithOwnBackingStore.
(WebCore::paintScrollbar): Deleted duplicate function.
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::requiresScrollLayer):
(WebCore::paintScrollbar):
* rendering/RenderLayerCompositor.h:
* rendering/RenderingAllInOne.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187659 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoCRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
jer.noble@apple.com [Fri, 31 Jul 2015 17:49:15 +0000 (17:49 +0000)]
CRASH at WebCore::TaskDispatcher<WebCore::ScriptExecutionContext>::postTask + 38
https://bugs.webkit.org/show_bug.cgi?id=147485

Reviewed by Eric Carlson.

CrashLogs indicate a use-after-free of the ScriptExecutionContext (i.e., Document) used by
the GenericTaskQueue objects owned by HTMLMediaElement. When the ScriptExecutionContext
notifies its ActiveDOMObjects that it is about to be destroyed, close() the
GenericTaskQueues so that they can no longer accept new tasks.

Previously, enqueueing a task on a closed GenericTaskQueue ASSERTed in debug builds, but
silently succeeded in release builds. Calling enqueueTask() on a  closed GenericTaskQueue is
now a no-op.

* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::contextDestroyed):
* html/HTMLMediaElement.h:
* platform/GenericTaskQueue.h:
(WebCore::GenericTaskQueue::enqueueTask):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187655 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: add test for MediaSession.releaseSession()
mrajca@apple.com [Fri, 31 Jul 2015 17:08:51 +0000 (17:08 +0000)]
Media Session: add test for MediaSession.releaseSession()
https://bugs.webkit.org/show_bug.cgi?id=147478

Reviewed by Eric Carlson.

* media/session/releasing-sessions-expected.txt: Added.
* media/session/releasing-sessions.html: Added.
* platform/mac/TestExpectations: Media Session support is disabled by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187654 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: add test to ensure next/previous-track event handlers are not fired...
mrajca@apple.com [Fri, 31 Jul 2015 16:59:51 +0000 (16:59 +0000)]
Media Session: add test to ensure next/previous-track event handlers are not fired when they are disabled
https://bugs.webkit.org/show_bug.cgi?id=147477

Reviewed by Eric Carlson.

* media/session/track-media-events-disabled-expected.txt: Added.
* media/session/track-media-events-disabled.html: Added.
* platform/mac/TestExpectations: Media Session support is disabled by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187653 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoMedia Session: add test to ensure media sessions are in an Idle state after creation
mrajca@apple.com [Fri, 31 Jul 2015 16:51:57 +0000 (16:51 +0000)]
Media Session: add test to ensure media sessions are in an Idle state after creation
https://bugs.webkit.org/show_bug.cgi?id=147471

Reviewed by Eric Carlson.

* media/session/session-creation-expected.txt: Added.
* media/session/session-creation.html: Added.
* platform/mac/TestExpectations: Media Session support is disabled by default.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187652 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[EFL] Fix pixman build on ARM with GCC 4.9.3
ossy@webkit.org [Fri, 31 Jul 2015 14:28:37 +0000 (14:28 +0000)]
[EFL] Fix pixman build on ARM with GCC 4.9.3
https://bugs.webkit.org/show_bug.cgi?id=147224

Reviewed by Gyuyoung Kim.

* efl/jhbuild.modules: Disable ARM IWMMXT fast paths as workarounding a GCC bug.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187642 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[GTK] NPAPI code crashes on Wayland
carlosgc@webkit.org [Fri, 31 Jul 2015 12:24:05 +0000 (12:24 +0000)]
[GTK] NPAPI code crashes on Wayland
https://bugs.webkit.org/show_bug.cgi?id=147297

Reviewed by Žan Doberšek.

Do not crete NPAPI plugins when runing on Wayland, since they are
not supported. ENABLE_NETSCAPE_PLUGIN_API option used to be
incompatible with building with the Wayland target, but now that
we allow to build X11 and Wayland targets at the same time, we
need runtime checks to avoid creating NPAPI plugins in Wayland.

* UIProcess/API/gtk/WebKitSettings.cpp:
(webkit_settings_set_enable_plugins): Do not allow to change the
setting when running in Wayland.
* UIProcess/gtk/WebPreferencesGtk.cpp:
(WebKit::WebPreferences::platformInitializeStore): Initialize
EnablePlugins preference to false when running in Wayland.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187641 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years ago[GTK] Have DataObjectGtk::unknownTypes() return a reference to the HashMap object
zandobersek@gmail.com [Fri, 31 Jul 2015 08:06:37 +0000 (08:06 +0000)]
[GTK] Have DataObjectGtk::unknownTypes() return a reference to the HashMap object
https://bugs.webkit.org/show_bug.cgi?id=147401

Reviewed by Carlos Garcia Campos.

Don't copy the DataObjectGtk::m_unknownTypes HashMap on every retrieval through
DataObjectGtk::unknownTypes(). The range-based for-loops that iterate over the
map in PasteboardGtk.cpp and PasteboardHelper.cpp are also cleaned up.

* platform/gtk/DataObjectGtk.cpp:
(WebCore::DataObjectGtk::unknownTypes):
* platform/gtk/DataObjectGtk.h:
* platform/gtk/PasteboardGtk.cpp:
(WebCore::Pasteboard::writePasteboard):
(WebCore::Pasteboard::types):
* platform/gtk/PasteboardHelper.cpp:
(WebCore::PasteboardHelper::fillSelectionData):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187640 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoRenderTheme::paintBorderOnly and paintDecorations should take RenderBox instead of...
zalan@apple.com [Fri, 31 Jul 2015 03:48:40 +0000 (03:48 +0000)]
RenderTheme::paintBorderOnly and paintDecorations should take RenderBox instead of RenderObject.
https://bugs.webkit.org/show_bug.cgi?id=147470

Reviewed by Simon Fraser.

Tighten the code so that RenderTheme paint functions take RenderBox instead of RenderObject.

No change in functionality.

* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::paintBorderOnly):
(WebCore::RenderTheme::paintDecorations):
* rendering/RenderTheme.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

4 years agoWeb Inspector: Better share objects generated from timeline events (Records)
mattbaker@apple.com [Fri, 31 Jul 2015 01:55:56 +0000 (01:55 +0000)]
Web Inspector: Better share objects generated from timeline events (Records)
https://bugs.webkit.org/show_bug.cgi?id=147029

Reviewed by Brian Burg.

This patch changes the way TimelineManager processes events, preserving the event hierarchy after
converting payloads to TimelineRecord objects by retaining parent-child relationships between records.
This eliminates the need for RenderingFrameTimelineRecord objects to create a separate copy of their child
records, and provides richer data for the Timelines UI.

* UserInterface/Controllers/TimelineManager.js:
(WebInspector.TimelineManager.prototype.eventRecorded):
Track the parent TimelineRecord as child record payloads are unpacked, and create
a hierarchy of TimelineRecords that mirrors the original event payload hierarchy.
(WebInspector.TimelineManager.prototype._processRecord):
RenderingFrameTimelineRecord is now processed like any other event.
(WebInspector.TimelineManager.prototype._processNestedRecords): Deleted.
Reverted back to a single pass over the incoming timeline event payload.

* UserInterface/Models/LayoutTimelineRecord.js:
(WebInspector.LayoutTimelineRecord):
(WebInspector.LayoutTimelineRecord.prototype.get duringComposite): Deleted.
Removed duringComposite property and constructor parameter. No longer needed.

* UserInterface/Models/RenderingFrameTimelineRecord.js:
(WebInspector.RenderingFrameTimelineRecord.prototype.get children): Deleted.
Removed children property. It now exists on the base class TimelineRecord.
Also removed code that was needed to prevent paint time from being added twice.

* UserInterface/Models/ScriptTimelineRecord.js:
(WebInspector.ScriptTimelineRecord.prototype._initializeProfileFromPayload):
(WebInspector.ScriptTimelineRecord):
Removed workaround added in:
<https://webkit.org/b/147025> Web Inspector: REGRESSION (r186218) ScriptTimelineRecord attempts to access null property

* UserInterface/Models/TimelineRecord.js:
(WebInspector.TimelineRecord):
(WebInspector.TimelineRecord.prototype.get children):
Added children property.

* UserInterface/Views/RenderingFrameTimelineView.js:
(WebInspector.RenderingFrameTimelineView.prototype._processPendingRecords):
Now that we preserve the frame's child record hierarchy, we process the entire tree,
yielding richer data grid output:

   Frame X
      Styles Recalculated
         Layout Invalidated
      Composite
         Paint
         Paint

Compared to the previous output:

   Frame X
      Styles Recalculated
      Layout Invalidated
      Composite
      Paint
      Paint

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187634 268f45cc-cd09-0410-ab3c-d52691b4dbfc