Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Re-enable HEIC tests
https://bugs.webkit.org/show_bug.cgi?id=240843 <rdar://90658250> Reviewed by Per Arne Vollan. Re-enable HEIC tests as although we are not supporting them in web content, we want to re-enable them as the process they are testing is still being used in Mail and other apps. * LayoutTests/fast/images/heic-as-background-image-expected.html: Added. * LayoutTests/fast/images/heic-as-background-image.html: Added. * LayoutTests/fast/images/resources/green-400x400.heic: Added. * LayoutTests/platform/ios/TestExpectations: * LayoutTests/platform/mac/TestExpectations: * Source/WebCore/platform/RuntimeApplicationChecks.h: * Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm: (WebCore::CocoaApplication::isWebkitTestRunner): * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformInitializeWebProcess): Canonical link: https://commits.webkit.org/250930@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
9 changed files
with
43 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
.green-box { | ||
width: 100px; | ||
height: 100px; | ||
background-color: green; | ||
} | ||
</style> | ||
<body> | ||
<div class="green-box"></div> | ||
</body> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html><!-- webkit-test-runner [ additionalSupportedImageTypes=public.heic;public.heics ] --> | ||
<style> | ||
.green-box { | ||
width: 100px; | ||
height: 100px; | ||
background: url("resources/green-400x400.heic") 200px 200px; | ||
} | ||
</style> | ||
<body> | ||
<div class="green-box"></div> | ||
</body> |
BIN
+710 Bytes
LayoutTests/fast/images/resources/green-400x400.heic
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -70,6 +70,7 @@ WEBCORE_EXPORT void clearApplicationBundleIdentifierTestingOverride(); | ||
namespace CocoaApplication { | ||
|
||
WEBCORE_EXPORT bool isIBooks(); | ||
WEBCORE_EXPORT bool isWebkitTestRunner(); | ||
|
||
} | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters