Title: [277029] trunk/LayoutTests
Revision
277029
Author
[email protected]
Date
2021-05-05 11:12:25 -0700 (Wed, 05 May 2021)

Log Message

[LayoutTests] http/tests/css/object-fit-delayed-img-svg.html yields errors due to missing scripts
https://bugs.webkit.org/show_bug.cgi?id=225246
<rdar://problem/77397227>

Reviewed by Jonathan Bedard.

* http/tests/css/object-fit-delayed-img-svg.html:
* http/tests/css/resources/circle.svg: Added.
* http/tests/css/resources/delayedCircle.py: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (277028 => 277029)


--- trunk/LayoutTests/ChangeLog	2021-05-05 17:58:55 UTC (rev 277028)
+++ trunk/LayoutTests/ChangeLog	2021-05-05 18:12:25 UTC (rev 277029)
@@ -1,3 +1,15 @@
+2021-05-05  Chris Gambrell  <[email protected]>
+
+        [LayoutTests] http/tests/css/object-fit-delayed-img-svg.html yields errors due to missing scripts
+        https://bugs.webkit.org/show_bug.cgi?id=225246
+        <rdar://problem/77397227>
+
+        Reviewed by Jonathan Bedard.
+
+        * http/tests/css/object-fit-delayed-img-svg.html:
+        * http/tests/css/resources/circle.svg: Added.
+        * http/tests/css/resources/delayedCircle.py: Added.
+
 2021-05-05  Youenn Fablet  <[email protected]>
 
         No need to error a fetch body stream if its request or response is stopped

Modified: trunk/LayoutTests/http/tests/css/object-fit-delayed-img-svg.html (277028 => 277029)


--- trunk/LayoutTests/http/tests/css/object-fit-delayed-img-svg.html	2021-05-05 17:58:55 UTC (rev 277028)
+++ trunk/LayoutTests/http/tests/css/object-fit-delayed-img-svg.html	2021-05-05 18:12:25 UTC (rev 277029)
@@ -25,13 +25,13 @@
   <body>
 
     <div class="group">
-      <img id="hest" src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
-      <img src="" type="image/svg+xml">
+      <img id="hest" src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
+      <img src="" type="image/svg+xml">
     </div>
 
     <script>

Added: trunk/LayoutTests/http/tests/css/resources/circle.svg (0 => 277029)


--- trunk/LayoutTests/http/tests/css/resources/circle.svg	                        (rev 0)
+++ trunk/LayoutTests/http/tests/css/resources/circle.svg	2021-05-05 18:12:25 UTC (rev 277029)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="144px" height="72px" viewBox="0 0 144 72" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
+ <!-- Generated by Pixelmator Pro 2.0.8 -->
+ <path id="Ellipse" d="M108 36 C108 16.118 91.882 0 72 0 52.118 0 36 16.118 36 36 36 55.882 52.118 72 72 72 91.882 72 108 55.882 108 36 Z" fill="#000000" fill-opacity="1" stroke="none"/>
+</svg>

Added: trunk/LayoutTests/http/tests/css/resources/delayedCircle.py (0 => 277029)


--- trunk/LayoutTests/http/tests/css/resources/delayedCircle.py	                        (rev 0)
+++ trunk/LayoutTests/http/tests/css/resources/delayedCircle.py	2021-05-05 18:12:25 UTC (rev 277029)
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+
+import sys
+import time
+
+time.sleep(0.01)
+
+sys.stdout.write('Content-Type: image/svg+xml\r\n\r\n')
+
+with open('./circle.svg', 'rb') as open_file:
+    sys.stdout.flush()
+    sys.stdout.buffer.write(open_file.read())
Property changes on: trunk/LayoutTests/http/tests/css/resources/delayedCircle.py
___________________________________________________________________

Added: svn:executable

+* \ No newline at end of property
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to