Skip to content
Permalink
Browse files
Fix srcset change test flakiness
https://bugs.webkit.org/show_bug.cgi?id=128265

Patch by Yoav Weiss <yoav@yoav.ws> on 2014-02-05
Reviewed by Alexey Proskuryakov.

* fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt:
* fast/hidpi/image-srcset-change-dynamically-from-js-2x.html:
* platform/gtk-wk2/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt: Removed.

Canonical link: https://commits.webkit.org/146265@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
yoavweiss authored and webkit-commit-queue committed Feb 5, 2014
1 parent 031a76c commit 9d70a3befa8661878b64c734a3e4eec0bc05bcdb
@@ -1,3 +1,14 @@
2014-02-05 Yoav Weiss <yoav@yoav.ws>

Fix srcset change test flakiness
https://bugs.webkit.org/show_bug.cgi?id=128265

Reviewed by Alexey Proskuryakov.

* fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt:
* fast/hidpi/image-srcset-change-dynamically-from-js-2x.html:
* platform/gtk-wk2/fast/hidpi/image-srcset-change-dynamically-from-js-2x-expected.txt: Removed.

2014-02-04 Myles C. Maxfield <mmaxfield@apple.com>

Move characterAt index checks from InlineIterator to RenderText
@@ -1,7 +1,3 @@
blue-100-px-square.png has MIME type image/png
image-srcset-change-dynamically-from-js-2x.html has MIME type text/html
srcset-helper.js has MIME type text/javascript
js-test-pre.js has MIME type text/javascript
green-400-px-square.png has MIME type image/png
PASS document.getElementById("foo").clientWidth==200 is true
This test passes if this img tag below is a green square when the scale factor is 2. It ensures that attributes can be changed dynamically from javascript, and that only the correct resource is loaded.
@@ -5,7 +5,6 @@
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpResourceResponseMIMETypes();
}

function updateSrc() {
@@ -16,6 +15,8 @@
}

addEventListener("DOMContentLoaded", function() {
if (sessionStorage.pageReloaded)
testRunner.dumpResourceResponseMIMETypes();
updateSrc();
}, false);
addEventListener("load", function() {

This file was deleted.

0 comments on commit 9d70a3b

Please sign in to comment.