mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1385824 - Convert docshell/test/test_bug675587.html to comply with new data: URI inheritance model. r=smaug
This commit is contained in:
parent
653d6f7ced
commit
913d05755a
1
docshell/test/file_bug675587.html
Normal file
1
docshell/test/file_bug675587.html
Normal file
@ -0,0 +1 @@
|
||||
<script>location.hash='';</script>
|
@ -89,6 +89,7 @@ skip-if = toolkit == 'android'
|
||||
support-files = file_bug668513.html
|
||||
[test_bug669671.html]
|
||||
[test_bug675587.html]
|
||||
support-files = file_bug675587.html
|
||||
[test_bug680257.html]
|
||||
[test_bug691547.html]
|
||||
[test_bug694612.html]
|
||||
|
@ -11,7 +11,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=675587
|
||||
<body>
|
||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=675587">Mozilla Bug 675587</a>
|
||||
<p id="display">
|
||||
<iframe src="data:text/html,<script>location.hash='';</script>#hash"></iframe>
|
||||
<iframe src="file_bug675587.html#hash"></iframe>
|
||||
</p>
|
||||
<div id="content" style="display: none">
|
||||
|
||||
@ -22,8 +22,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=675587
|
||||
/** Test for Bug 675587 **/
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
addLoadEvent(function() {
|
||||
is(window.frames[0].location.href,
|
||||
"data:text/html,<script>location.hash='';</" + "script>#",
|
||||
ok(window.frames[0].location.href.endsWith("file_bug675587.html#"),
|
||||
"Should have the right href");
|
||||
SimpleTest.finish();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user