WebKit-https.git
5 years agoUnreviewed, rolling out r187812.
cdumez@apple.com [Tue, 4 Aug 2015 17:12:19 +0000 (17:12 +0000)]
Unreviewed, rolling out r187812.

This is not safe

Reverted changeset:

"[WK2] Reserve Vector capacity in VectorArgumentCoder<false,
T, inlineCapacity>::decode()"
https://bugs.webkit.org/show_bug.cgi?id=147619
http://trac.webkit.org/changeset/187812

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

5 years agoImplement isPictureInPictureInterrupted.
commit-queue@webkit.org [Tue, 4 Aug 2015 17:09:05 +0000 (17:09 +0000)]
Implement isPictureInPictureInterrupted.
https://bugs.webkit.org/show_bug.cgi?id=147620

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

Implement isPictureInPictureInterrupted so setting the property to true pauses playback.
This allows PiP to pause when the device is locked while the app is suspended.

* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(-[WebAVPlayerController init]):
(-[WebAVPlayerController isPictureInPictureInterrupted]):
(-[WebAVPlayerController setPictureInPictureInterrupted:]):

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

5 years ago[GTK] Accelerated 2D Canvas enabled when cairo-gl is not available
mario@webkit.org [Tue, 4 Aug 2015 12:58:10 +0000 (12:58 +0000)]
[GTK] Accelerated 2D Canvas enabled when cairo-gl is not available
https://bugs.webkit.org/show_bug.cgi?id=147625

Reviewed by Martin Robinson.

Do not set the CAIRO_<COMPONENT>_* CMake variables for cairo-gl
components unless they were actually found, not to accidentally
enable Accelerated 2D canvas, which would cause the build to fail.

* Source/cmake/FindCairoGL.cmake: Set this variables only when
pkg_check_modules() had actually found the relevant component.

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

5 years ago[GTK] Add gtk icon to remove comma separated values from CSS properties
agomez@igalia.com [Tue, 4 Aug 2015 11:19:37 +0000 (11:19 +0000)]
[GTK] Add gtk icon to remove comma separated values from CSS properties
https://bugs.webkit.org/show_bug.cgi?id=147623

Reviewed by Carlos Garcia Campos.

* UserInterface/Images/gtk/Minus.svg: Added.

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

5 years agoUnreviewed, updated Streams API watchlist.
calvaris@igalia.com [Tue, 4 Aug 2015 08:47:19 +0000 (08:47 +0000)]
Unreviewed, updated Streams API watchlist.

* Scripts/webkitpy/common/config/watchlist: Matched .*Readable.*Stream.* and .*QueuingStrategy.* in bindings/js.

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

5 years agoIntroduce COMPILER(GCC_OR_CLANG) guard and make COMPILER(GCC) true only for GCC
ossy@webkit.org [Tue, 4 Aug 2015 06:51:29 +0000 (06:51 +0000)]
Introduce COMPILER(GCC_OR_CLANG) guard and make COMPILER(GCC) true only for GCC
https://bugs.webkit.org/show_bug.cgi?id=146833

Reviewed by Alexey Proskuryakov.

Source/JavaScriptCore:

* assembler/ARM64Assembler.h:
* assembler/ARMAssembler.h:
(JSC::ARMAssembler::cacheFlush):
* assembler/MacroAssemblerARM.cpp:
(JSC::isVFPPresent):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::isSSE2Present):
* heap/MachineStackMarker.h:
* interpreter/StackVisitor.cpp: Removed redundant COMPILER(CLANG) guards.
(JSC::logF):
* jit/HostCallReturnValue.h:
* jit/JIT.h:
* jit/JITOperations.cpp:
* jit/JITStubsARM.h:
* jit/JITStubsARMv7.h:
* jit/JITStubsX86.h:
* jit/JITStubsX86Common.h:
* jit/JITStubsX86_64.h:
* jit/ThunkGenerators.cpp:
* runtime/JSExportMacros.h:
* runtime/MathCommon.h: Removed redundant COMPILER(CLANG) guard.
(JSC::clz32):

Source/WebCore:

* platform/graphics/cpu/arm/filters/FELightingNEON.cpp:
* platform/graphics/cpu/arm/filters/FELightingNEON.h:
* platform/graphics/filters/FELighting.cpp:
(WebCore::FELighting::platformApply):
* platform/network/efl/NetworkStateNotifierEfl.cpp:
(WebCore::NetworkStateNotifier::readSocketCallback):

Source/WTF:

* wtf/Assertions.cpp:
* wtf/Assertions.h: Removed redundant COMPILER(CLANG) guard.
* wtf/Atomics.cpp:
* wtf/Atomics.h:
(WTF::weakCompareAndSwap):
(WTF::compilerFence):
* wtf/Compiler.h:
 - Renamed COMPILER(GCC) to COMPILER(GCC_OR_CLANG), because it is true for both compiler.
 - Added COMPILER(GCC) which is true only for GCC.
 - Moved all GCC related stuff to one block and removed redundant guards accordingly.
 - Removed the unused default false definition of GCC_VERSION_AT_LEAST for non GCC compilers.
* wtf/ExportMacros.h:
* wtf/FastMalloc.h:
* wtf/Platform.h:
* wtf/StdLibExtras.h:
* wtf/Vector.h:
* wtf/text/ASCIIFastPath.h:
(WTF::copyLCharsFromUCharSource):

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

5 years ago[CMake] Add an option to build AllInOne files
ossy@webkit.org [Tue, 4 Aug 2015 06:49:35 +0000 (06:49 +0000)]
[CMake] Add an option to build AllInOne files
https://bugs.webkit.org/show_bug.cgi?id=102647

Reviewed by Alex Christensen.

.:

* Source/cmake/OptionsEfl.cmake: Disabled by default.
* Source/cmake/OptionsGTK.cmake: Disabled by default.
* Source/cmake/OptionsWindows.cmake: Enabled by default.
* Source/cmake/WebKitFeatures.cmake:
* Source/cmake/WebKitMacros.cmake:

Source/WebCore:

* CMakeLists.txt:

Tools:

* Scripts/webkitperl/FeatureList.pm:

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

5 years agoUnreviewed build fix.
zandobersek@gmail.com [Tue, 4 Aug 2015 06:44:42 +0000 (06:44 +0000)]
Unreviewed build fix.

* wtf/text/StringConcatenate.h: Include <tuple> to avoid missing
std::tuple<> class definitions.

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

5 years agoFix the all-in-one build on Linux after r187659
ossy@webkit.org [Tue, 4 Aug 2015 06:44:19 +0000 (06:44 +0000)]
Fix the all-in-one build on Linux after r187659
https://bugs.webkit.org/show_bug.cgi?id=147557

Reviewed by Alex Christensen.

Removed MediaFeatureNames.cpp from the all-in-one build, because it caused build failures on Linux.
Additionally removed css/MediaAllInOne.cpp since it is unused.

* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* css/CSSAllInOne.cpp:
* css/MediaAllInOne.cpp: Removed.

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

5 years ago[WTF] Turn tryMakeString(), makeString() into variadic templates
zandobersek@gmail.com [Tue, 4 Aug 2015 06:27:12 +0000 (06:27 +0000)]
[WTF] Turn tryMakeString(), makeString() into variadic templates
https://bugs.webkit.org/show_bug.cgi?id=147142

Reviewed by Sam Weinig.

Built upon the original work by Anders Carlsson, Mark Rowe and Sam Weinig.

Implement tryMakeString() and makeString() as variadic templates, replacing
the argument count-based overloads.

tryMakeString() now constructs a stack-based tuple of necessary StringTypeAdapter
objects and utilizes the StringAdapterTuple struct template to operate on that
tuple, recursively calling the necessary operations on each element in the tuple.
This effectively mimics the process of previous tryMakeString() implementation,
but makes it scalable to a tuple of elements that are to be concatenated.

StringAppend class template now stores two StringTypeAdapter objects for the
two passed-in string objects, packed in a tuple, calling
StringAdapterTuple<>::createString() directly when concatenating the two objects
into one String.

* wtf/text/StringConcatenate.h:
(WTF::StringTypeAdapter<char>::length):
(WTF::StringTypeAdapter<char>::is8Bit):
(WTF::StringAdapterTuple::sumWithOverflow):
(WTF::StringAdapterTuple::is8Bit):
(WTF::StringAdapterTuple::writeTo):
(WTF::StringAdapterTuple::createString):
(WTF::tryMakeString):
(WTF::makeString):
(WTF::sumWithOverflow): Deleted.
* wtf/text/StringOperators.h:
(WTF::StringAppend::StringAppend):
(WTF::StringAppend::operator String):
(WTF::StringAppend::is8Bit):
(WTF::StringAppend::writeTo):
(WTF::StringAppend::length):
(WTF::StringAppend::string1):
(WTF::StringAppend::string2):

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

5 years agoAdd WK1 Mac result for this test.
simon.fraser@apple.com [Tue, 4 Aug 2015 06:05:35 +0000 (06:05 +0000)]
Add WK1 Mac result for this test.

* platform/mac-wk1/editing/selection/caret-mode-document-begin-end-expected.txt: Added.

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

5 years agoReturns inconsistent types for el.style.property and el.style.getPropertyValue('color')
benjamin@webkit.org [Tue, 4 Aug 2015 05:14:43 +0000 (05:14 +0000)]
Returns inconsistent types for el.style.property and el.style.getPropertyValue('color')
https://bugs.webkit.org/show_bug.cgi?id=147549

Patch by Benjamin Poulain <bpoulain@apple.com> on 2015-08-03
Reviewed by Andreas Kling.

Source/WebCore:

Kudos to Greg Whitworth for finding this bug.

Test: fast/css/getPropertyValue-returns-empty-on-missing-property.html

* css/CSSStyleDeclaration.idl:
Our definition was wrong.
Current spec: http://www.w3.org/TR/cssom/#dom-cssstyledeclaration-getpropertyvalue
Current draft: https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-getpropertyvalue
Gecko and EdgeHTML follow the spec.

LayoutTests:

The bug is very old, there were a lot of tests to update.

The tests in css3/shapes are incorrect W3C tests. I only updated the expected
results.

The test fast/css/getPropertyValue-returns-empty-on-missing-property.html
is the new one covering the bug fix.

* animations/script-tests/trigger-parsing.js:
(testTriggerRule):
* animations/trigger-parsing-expected.txt:
* animations/unprefixed-properties-expected.txt:
* animations/unprefixed-properties.html:
* css3/blending/blend-mode-property-parsing-invalid-expected.txt:
* css3/blending/script-tests/blend-mode-property-parsing-invalid.js:
(testInvalidFilterRule):
* css3/filters/backdrop/backdropfilter-property-parsing-invalid-expected.txt:
* css3/filters/backdrop/script-tests/backdropfilter-property-parsing-invalid.js:
(testInvalidFilterRule):
* css3/filters/filter-property-parsing-invalid-expected.txt:
* css3/filters/script-tests/filter-property-parsing-invalid.js:
(testInvalidFilterRule):
* css3/shapes/shape-outside/values/shape-image-threshold-002-expected.txt:
* css3/shapes/shape-outside/values/shape-image-threshold-003-expected.txt:
* css3/shapes/shape-outside/values/shape-margin-004-expected.txt:
* css3/shapes/shape-outside/values/shape-margin-005-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-circle-003-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-circle-006-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-circle-007-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-circle-008-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-ellipse-003-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-ellipse-006-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-ellipse-007-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-ellipse-008-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-inset-005-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-inset-006-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-inset-007-expected.txt:
* css3/shapes/shape-outside/values/shape-outside-polygon-003-expected.txt:
* fast/backgrounds/repeat/parsing-background-repeat-expected.txt:
* fast/backgrounds/repeat/script-tests/parsing-background-repeat.js:
* fast/backgrounds/size/parsing-background-size-values-expected.txt:
* fast/backgrounds/size/resources/parsing-background-size-values.js:
* fast/box-decoration-break/box-decoration-break-parsing-expected.txt:
* fast/box-decoration-break/box-decoration-break-parsing.html:
* fast/box-shadow/box-shadow-parsing-invalid-expected.txt:
* fast/box-shadow/script-tests/box-shadow-parsing-invalid.js:
(testInvalidFilterRule):
* fast/css/background-clip-text-expected.txt:
* fast/css/border-spacing-without-vertical-value.html:
* fast/css/getPropertyValue-border-expected.txt:
* fast/css/getPropertyValue-border.html:
* fast/css/getPropertyValue-column-rule-expected.txt:
* fast/css/getPropertyValue-column-rule.html:
* fast/css/getPropertyValue-columns-expected.txt:
* fast/css/getPropertyValue-columns.html:
* fast/css/getPropertyValue-returns-empty-on-missing-property-expected.txt: Added.
* fast/css/getPropertyValue-returns-empty-on-missing-property.html: Added.
* fast/css/getPropertyValue-webkit-margin-collapse-expected.txt:
* fast/css/getPropertyValue-webkit-margin-collapse.html:
* fast/css/getPropertyValue-webkit-marquee-expected.txt:
* fast/css/getPropertyValue-webkit-marquee.html:
* fast/css/getPropertyValue-webkit-text-stroke-expected.txt:
* fast/css/getPropertyValue-webkit-text-stroke.html:
* fast/css/line-height-text-autosizing.html:
* fast/css/outline-offset-parsing-expected.txt:
* fast/css/parsing-color-correction-expected.txt:
* fast/css/parsing-object-fit-expected.txt:
* fast/css/parsing-object-fit.html:
* fast/css/parsing-text-rendering-expected.txt:
* fast/css/parsing-webkit-font-smoothing-expected.txt:
* fast/css/resources/parsing-color-correction.js:
* fast/css/resources/parsing-text-rendering.js:
* fast/css/resources/parsing-webkit-font-smoothing.js:
* fast/css/script-tests/background-clip-text.js:
* fast/css/script-tests/outline-offset-parsing.js:
* fast/css/script-tests/transform-origin-parsing.js:
* fast/css/sticky/parsing-position-sticky-expected.txt:
* fast/css/sticky/resources/parsing-position-sticky.js:
* fast/css/transform-origin-parsing-expected.txt:
* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip-expected.txt:
* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html:
* fast/css3-text/font-synthesis-parse-expected.txt:
* fast/css3-text/font-synthesis-parse.html:
* fast/filter-image/parse-filter-image-expected.txt:
* fast/filter-image/parse-filter-image.html:
* fast/masking/parsing-clip-path-shape-expected.txt:
* fast/masking/parsing-clip-path-shape.html:
* fast/masking/parsing-mask-expected.txt:
* fast/masking/parsing-mask.html:
* fast/shapes/css-shapes-disabled-expected.txt:
* fast/shapes/css-shapes-disabled.html:
* fast/shapes/parsing/parsing-shape-lengths-expected.txt:
* fast/shapes/parsing/parsing-shape-lengths.html:
* platform/mac/fast/css/dashboard-region-parser-expected.txt:
* platform/mac/fast/css/dashboard-region-parser.html:
* platform/mac/fast/text/trailing-word-parse-expected.txt:
* platform/mac/fast/text/trailing-word-parse.html:
* svg/paint-order/parsing-paint-order-expected.txt:
* svg/paint-order/parsing-paint-order.html:

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

5 years ago[WK2] Reserve Vector capacity in VectorArgumentCoder<false, T, inlineCapacity>::decode()
cdumez@apple.com [Tue, 4 Aug 2015 05:01:51 +0000 (05:01 +0000)]
[WK2] Reserve Vector capacity in VectorArgumentCoder<false, T, inlineCapacity>::decode()
https://bugs.webkit.org/show_bug.cgi?id=147619

Reviewed by Andreas Kling.

Reserve Vector capacity in VectorArgumentCoder<false, T, inlineCapacity>::decode()
as we know the size of the Vector in advance.

* Platform/IPC/ArgumentCoders.h:

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

5 years agoAdd a result missed in earlier file moves.
simon.fraser@apple.com [Tue, 4 Aug 2015 04:45:10 +0000 (04:45 +0000)]
Add a result missed in earlier file moves.

* accessibility/mac/crash-invalid-text-marker-node-expected.txt: Added.

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

5 years agoMake LayoutTests/platform/gtk/fast/css/rect-shadow-tiled.html a cross-platform test.
simon.fraser@apple.com [Tue, 4 Aug 2015 04:44:11 +0000 (04:44 +0000)]
Make LayoutTests/platform/gtk/fast/css/rect-shadow-tiled.html a cross-platform test.

* fast/css/rect-shadow-tiled-expected.txt: Renamed from LayoutTests/platform/gtk/fast/css/rect-shadow-tiled-expected.txt.
* fast/css/rect-shadow-tiled.html: Renamed from LayoutTests/platform/gtk/fast/css/rect-shadow-tiled.html.

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

5 years agoMake platform/gtk/editing/selection/caret-mode-document-begin-end.html into cross...
simon.fraser@apple.com [Tue, 4 Aug 2015 04:44:09 +0000 (04:44 +0000)]
Make platform/gtk/editing/selection/caret-mode-document-begin-end.html into cross-platform test.

* editing/selection/caret-mode-document-begin-end-expected.txt: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt.
* editing/selection/caret-mode-document-begin-end.html: Renamed from LayoutTests/platform/gtk/editing/selection/caret-mode-document-begin-end.html.

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

5 years agoMake accessibility/media-emits-object-replacement.html not specific to EFL.
simon.fraser@apple.com [Tue, 4 Aug 2015 04:43:57 +0000 (04:43 +0000)]
Make accessibility/media-emits-object-replacement.html not specific to EFL.

* accessibility/media-emits-object-replacement-expected.txt: Added.
* accessibility/media-emits-object-replacement.html: Renamed from LayoutTests/platform/efl/accessibility/media-emits-object-replacement.html.
* platform/gtk/TestExpectations:
* platform/win/TestExpectations:

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

5 years agoFix crashing Mavericks test
mmaxfield@apple.com [Tue, 4 Aug 2015 04:40:13 +0000 (04:40 +0000)]
Fix crashing Mavericks test

Unreviewed.

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

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

5 years agoUnreviewed post-review feedback on r187797
mmaxfield@apple.com [Tue, 4 Aug 2015 03:42:00 +0000 (03:42 +0000)]
Unreviewed post-review feedback on r187797

The correct terminology is "registered" instead of "activated."

Source/WebCore:

No new tests because there is no behavior change.

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

Source/WebKit/mac:

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

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

5 years agoClean up casts between NSFont*s and CTFontRefs
mmaxfield@apple.com [Tue, 4 Aug 2015 03:32:27 +0000 (03:32 +0000)]
Clean up casts between NSFont*s and CTFontRefs
https://bugs.webkit.org/show_bug.cgi?id=147618

Source/WebCore:

Reviewed by Mitz Pettel.

For toll free bridged types, it makes more sense to do a C-style cast, than jump
through hoops for older compilers.

No new tests because there is no behavior change.

* platform/graphics/FontPlatformData.h:
(WebCore::FontPlatformData::nsFont):
(WebCore::FontPlatformData::hash):

Source/WebKit/mac:

Reviewed by Mitz Pettel

For toll free bridged types, it makes more sense to do a C-style cast, than jump
through hoops for older compilers.

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

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

5 years agoFix paths to js-test-pre.js and js-test-post.js after earlier file move.
simon.fraser@apple.com [Tue, 4 Aug 2015 03:21:43 +0000 (03:21 +0000)]
Fix paths to js-test-pre.js and js-test-post.js after earlier file move.
Move platform/gtk/resources/atk-helpers.js into accessibility/gtk since
these are the only callers.

* accessibility/gtk/aria-listbox-crash.html:
* accessibility/gtk/aria-options-and-menuitems-crash.html:
* accessibility/gtk/aria-roles-unignored.html:
* accessibility/gtk/aria-slider-required-attributes.html:
* accessibility/gtk/aria-toggle-button-role.html:
* accessibility/gtk/button-accessible-name.html:
* accessibility/gtk/caret-browsing-select-focus.html:
* accessibility/gtk/caret-browsing-text-focus.html:
* accessibility/gtk/caret-offsets-and-extraneous-white-spaces.html:
* accessibility/gtk/caret-offsets.html:
* accessibility/gtk/combobox-descendants-orientation-crash.html:
* accessibility/gtk/detached-object-role.html:
* accessibility/gtk/entry-and-password.html:
* accessibility/gtk/list-items-always-exposed.html:
* accessibility/gtk/media-controls-panel-title.html:
* accessibility/gtk/media-emits-object-replacement.html:
* accessibility/gtk/menu-list-unfocused-notifications.html:
* accessibility/gtk/name-from-label.html:
* accessibility/gtk/no-notification-for-unrendered-iframe-children.html:
* accessibility/gtk/object-attributes.html:
* accessibility/gtk/object-with-title.html:
* accessibility/gtk/remapped-aria-crash.html:
* accessibility/gtk/replaced-objects-in-anonymous-blocks.html:
* accessibility/gtk/resources/atk-helpers.js: Renamed from LayoutTests/platform/gtk/resources/atk-helpers.js.
(setCaretOffset):
* accessibility/gtk/spans-paragraphs-and-divs.html:
* accessibility/gtk/spans.html:
* accessibility/gtk/text-at-offset-embedded-objects.html:
* accessibility/gtk/text-at-offset-newlines.html:
* accessibility/gtk/text-at-offset-preformatted.html:
* accessibility/gtk/text-at-offset-simple.html:
* accessibility/gtk/text-at-offset-special-chars.html:
* accessibility/gtk/text-at-offset-textarea.html:
* accessibility/gtk/text-at-offset-textinput.html:
* accessibility/gtk/text-at-offset-wrapped-lines.html:
* accessibility/gtk/text-for-range-combo-box.html:
* accessibility/gtk/text-for-range-embedded-objects.html:
* accessibility/gtk/text-for-range-entry-and-password.html:
* accessibility/gtk/text-for-range-extraneous-whitespace.html:
* accessibility/gtk/text-for-range-formatted.html:
* accessibility/gtk/text-for-range-heading.html:
* accessibility/gtk/text-for-range-list-items.html:
* accessibility/gtk/text-for-range-simple.html:
* accessibility/gtk/text-for-range-table-cells.html:
* accessibility/gtk/text-for-range-with-link.html:
* accessibility/gtk/text-for-table.html:
* accessibility/gtk/text-in-span-block-in-a-block.html:
* accessibility/gtk/title-and-alt.html:
* accessibility/gtk/xml-roles-exposed.html:

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

5 years agoMove platform/gtk/editing/pasteboard tests into editing/pasteboard/gtk.
simon.fraser@apple.com [Tue, 4 Aug 2015 03:11:39 +0000 (03:11 +0000)]
Move platform/gtk/editing/pasteboard tests into editing/pasteboard/gtk.

* TestExpectations:
* editing/pasteboard/gtk/middle-button-paste-expected.txt: Renamed from LayoutTests/platform/gtk/editing/pasteboard/middle-button-paste-expected.txt.
* editing/pasteboard/gtk/middle-button-paste.html: Renamed from LayoutTests/platform/gtk/editing/pasteboard/middle-button-paste.html.
* editing/pasteboard/gtk/middle-click-onpaste-expected.txt: Renamed from LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste-expected.txt.
* editing/pasteboard/gtk/middle-click-onpaste.html: Renamed from LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste.html.
* editing/pasteboard/gtk/script-tests/TEMPLATE.html: Renamed from LayoutTests/platform/gtk/editing/pasteboard/script-tests/TEMPLATE.html.
* editing/pasteboard/gtk/script-tests/middle-click-onpaste.js: Renamed from LayoutTests/platform/gtk/editing/pasteboard/script-tests/middle-click-onpaste.js.
(handlePaste):
* platform/gtk/TestExpectations:

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

5 years agoUnreviewed, rolling out r187707, r187709, r187724, and
mmaxfield@apple.com [Tue, 4 Aug 2015 03:08:18 +0000 (03:08 +0000)]
Unreviewed, rolling out r187707, r187709, r187724, and
r187728.
https://bugs.webkit.org/show_bug.cgi?id=147617

fast/text/international/arabic-justify.html is flakey
(Requested by litherum on #webkit).

Reverted changesets:

"[OS X] Migrate to CTFontCreateForCharactersWithLanguage from
[NSFont findFontLike:forString:withRange:inLanguage]"
https://bugs.webkit.org/show_bug.cgi?id=147483
http://trac.webkit.org/changeset/187707

"Fix the build"
http://trac.webkit.org/changeset/187709

"Expand CharacterFallbackMapKey to a struct"
https://bugs.webkit.org/show_bug.cgi?id=147530
http://trac.webkit.org/changeset/187724

"CharacterFallbackMapKey should be locale-specific"
https://bugs.webkit.org/show_bug.cgi?id=147532
http://trac.webkit.org/changeset/187728

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

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

5 years agoFix the Yosemite build after r187797
mmaxfield@apple.com [Tue, 4 Aug 2015 03:06:05 +0000 (03:06 +0000)]
Fix the Yosemite build after r187797

Unreviewed.

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

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

5 years agoMove platform/win/accessibility tests to accessibility/win.
simon.fraser@apple.com [Tue, 4 Aug 2015 03:00:24 +0000 (03:00 +0000)]
Move platform/win/accessibility tests to accessibility/win.

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

* TestExpectations:
* accessibility/win/detached-object-notification-crash-expected.txt: Renamed from LayoutTests/platform/win/accessibility/detached-object-notification-crash-expected.txt.
* accessibility/win/detached-object-notification-crash.html: Renamed from LayoutTests/platform/win/accessibility/detached-object-notification-crash.html.
* accessibility/win/document-enabled-state-expected.txt: Renamed from LayoutTests/platform/win/accessibility/document-enabled-state-expected.txt.
* accessibility/win/document-enabled-state.html: Renamed from LayoutTests/platform/win/accessibility/document-enabled-state.html.
* accessibility/win/document-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/document-role-expected.txt.
* accessibility/win/document-role.html: Renamed from LayoutTests/platform/win/accessibility/document-role.html.
* accessibility/win/focus-events-expected.txt: Renamed from LayoutTests/platform/win/accessibility/focus-events-expected.txt.
* accessibility/win/focus-events.html: Renamed from LayoutTests/platform/win/accessibility/focus-events.html.
* accessibility/win/heading-elements-expected.txt: Renamed from LayoutTests/platform/win/accessibility/heading-elements-expected.txt.
* accessibility/win/heading-elements.html: Renamed from LayoutTests/platform/win/accessibility/heading-elements.html.
* accessibility/win/img-alt-attribute-expected.txt: Renamed from LayoutTests/platform/win/accessibility/img-alt-attribute-expected.txt.
* accessibility/win/img-alt-attribute.html: Renamed from LayoutTests/platform/win/accessibility/img-alt-attribute.html.
* accessibility/win/linked-elements-expected.txt: Renamed from LayoutTests/platform/win/accessibility/linked-elements-expected.txt.
* accessibility/win/linked-elements.html: Renamed from LayoutTests/platform/win/accessibility/linked-elements.html.
* accessibility/win/list-item-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/list-item-role-expected.txt.
* accessibility/win/list-item-role.html: Renamed from LayoutTests/platform/win/accessibility/list-item-role.html.
* accessibility/win/list-marker-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/list-marker-role-expected.txt.
* accessibility/win/list-marker-role.html: Renamed from LayoutTests/platform/win/accessibility/list-marker-role.html.
* accessibility/win/list-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/list-role-expected.txt.
* accessibility/win/list-role.html: Renamed from LayoutTests/platform/win/accessibility/list-role.html.
* accessibility/win/multiple-select-element-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/multiple-select-element-role-expected.txt.
* accessibility/win/multiple-select-element-role.html: Renamed from LayoutTests/platform/win/accessibility/multiple-select-element-role.html.
* accessibility/win/option-element-position-and-size-expected.txt: Renamed from LayoutTests/platform/win/platform/win/accessibility/option-element-position-and-size-expected.txt.
* accessibility/win/option-element-position-and-size.html: Renamed from LayoutTests/platform/win/accessibility/option-element-position-and-size.html.
* accessibility/win/option-element-selection-and-focus-events-expected.txt: Renamed from LayoutTests/platform/win/accessibility/option-element-selection-and-focus-events-expected.txt.
* accessibility/win/option-element-selection-and-focus-events.html: Renamed from LayoutTests/platform/win/accessibility/option-element-selection-and-focus-events.html.
* accessibility/win/parent-element-expected.txt: Renamed from LayoutTests/platform/win/accessibility/parent-element-expected.txt.
* accessibility/win/parent-element.html: Renamed from LayoutTests/platform/win/accessibility/parent-element.html.
* accessibility/win/scroll-to-anchor-expected.txt: Renamed from LayoutTests/platform/win/accessibility/scroll-to-anchor-expected.txt.
* accessibility/win/scroll-to-anchor.html: Renamed from LayoutTests/platform/win/accessibility/scroll-to-anchor.html.
* accessibility/win/select-element-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/select-element-role-expected.txt.
* accessibility/win/select-element-role.html: Renamed from LayoutTests/platform/win/accessibility/select-element-role.html.
* accessibility/win/select-element-valuechange-event-expected.txt: Renamed from LayoutTests/platform/win/accessibility/select-element-valuechange-event-expected.txt.
* accessibility/win/select-element-valuechange-event.html: Renamed from LayoutTests/platform/win/accessibility/select-element-valuechange-event.html.
* accessibility/win/selection-and-focus-expected.txt: Renamed from LayoutTests/platform/win/accessibility/selection-and-focus-expected.txt.
* accessibility/win/selection-and-focus.html: Renamed from LayoutTests/platform/win/accessibility/selection-and-focus.html.
* accessibility/win/single-select-children-changed-expected.txt: Renamed from LayoutTests/platform/win/accessibility/single-select-children-changed-expected.txt.
* accessibility/win/single-select-children-changed.html: Renamed from LayoutTests/platform/win/accessibility/single-select-children-changed.html.
* accessibility/win/single-select-children-expected.txt: Renamed from LayoutTests/platform/win/accessibility/single-select-children-expected.txt.
* accessibility/win/single-select-children.html: Renamed from LayoutTests/platform/win/accessibility/single-select-children.html.
* accessibility/win/text-role-expected.txt: Renamed from LayoutTests/platform/win/accessibility/text-role-expected.txt.
* accessibility/win/text-role.html: Renamed from LayoutTests/platform/win/accessibility/text-role.html.
* platform/win/TestExpectations:
* platform/win/accessibility/option-element-position-and-size-expected.txt: Removed.

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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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