2 if (window
.testRunner
) {
3 testRunner
.dumpAsText();
4 testRunner
.waitUntilDone();
6 window
.onload = function() {
7 window
.location
= 'data:text/html,' +
10 'history.pushState({},"","data:");' +
11 'document.write("FAIL data URL was manipula via pushState.");' +
13 'document.write("PASS: data URLs cannot be manipulated via pushState.");' +
15 'if (window.testRunner)' +
16 'testRunner.notifyDone();' +