| Index: third_party/WebKit/LayoutTests/http/tests/subresource_filter/image-allow-disallow-transitions-expected.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/subresource_filter/image-allow-disallow-transitions-expected.html b/third_party/WebKit/LayoutTests/http/tests/subresource_filter/image-allow-disallow-transitions-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..05c61444b8bd1f8992d38728a476a33f9770524f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/subresource_filter/image-allow-disallow-transitions-expected.html
|
| @@ -0,0 +1,27 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<script type="text/javascript">
|
| +var STATES = ["primary", "fallback", "collapsed"];
|
| +
|
| +let table = document.createElement("table");
|
| +let headerRow = table.insertRow();
|
| +headerRow.insertCell().innerHTML = "- - - - \\ Final<br>Initial \\";
|
| +for (let finalState of STATES) {
|
| + headerRow.insertCell().textContent = finalState;
|
| +}
|
| +
|
| +for (let initialState of STATES) {
|
| + let row = table.insertRow();
|
| + row.insertCell().textContent = initialState;
|
| + for (let finalState of STATES) {
|
| + let cell = row.insertCell();
|
| + let img = document.createElement("img");
|
| + if (finalState == "primary")
|
| + img.src = "resources/alpha.png";
|
| + else if (finalState == "fallback")
|
| + img.src = "non-existent.png"
|
| + cell.appendChild(img);
|
| + }
|
| +}
|
| +document.body.appendChild(table);
|
| +</script>
|
|
|