Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
141998f6
Commit
141998f6
authored
Jul 08, 2016
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Removed no longer used nav_test.html file.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
895ad74f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
92 deletions
+0
-92
nav_test.html
dlls/mshtml/tests/nav_test.html
+0
-92
No files found.
dlls/mshtml/tests/nav_test.html
deleted
100644 → 0
View file @
895ad74f
<html>
<head>
<script>
function
ok
(
b
,
m
)
{
return
external
.
ok
(
b
,
m
);
}
function
nav_parent_test
()
{
external
.
trace
(
"Running _parent navigation tests..."
);
var
iframe
=
document
.
getElementById
(
"testframe"
);
var
subframe
=
iframe
.
contentWindow
.
document
.
createElement
(
"iframe"
);
subframe
.
onload
=
function
()
{
var
doc
=
subframe
.
contentWindow
.
document
;
doc
.
body
.
innerHTML
=
'<a href="blank2.html" id="aid" target="_parent">test</a>'
;
doc
.
getElementById
(
"aid"
).
click
();
}
iframe
.
onload
=
function
()
{
iframe
.
onload
=
null
;
var
href
=
iframe
.
contentWindow
.
location
.
href
;
ok
(
/.*blank2.html/
.
test
(
href
),
"Unexpected href "
+
href
);
next_test
();
}
iframe
.
contentWindow
.
document
.
body
.
appendChild
(
subframe
);
subframe
.
src
=
"blank.html"
;
}
function
window_navigate_test
()
{
external
.
trace
(
"Running window.navigate() tests..."
);
var
iframe
=
document
.
getElementById
(
"testframe"
);
iframe
.
onload
=
function
()
{
iframe
.
onload
=
null
;
var
href
=
iframe
.
contentWindow
.
location
.
href
;
ok
(
href
===
"about:blank"
,
"Unexpected href "
+
href
);
next_test
();
}
iframe
.
contentWindow
.
navigate
(
"about:blank"
);
}
function
window_open_self_test
()
{
external
.
trace
(
"Running window.open(_self) tests..."
);
var
iframe
=
document
.
getElementById
(
"testframe"
);
var
iframe_window
=
iframe
.
contentWindow
;
iframe
.
onload
=
function
()
{
iframe
.
onload
=
null
;
var
href
=
iframe
.
contentWindow
.
location
.
href
;
ok
(
/.*blank.html
\?
window_open_self/
.
test
(
href
),
"Unexpected href "
+
href
);
ok
(
iframe
.
contentWindow
===
iframe_window
,
"iframe.contentWindow !== iframe_window"
);
next_test
();
}
iframe_window
.
open
(
"blank.html?window_open_self"
,
"_self"
);
}
function
detached_src_test
()
{
var
iframe
=
document
.
createElement
(
"iframe"
);
var
onload_called
=
false
;
iframe
.
onload
=
function
()
{
onload_called
=
true
;
next_test
();
}
iframe
.
src
=
"blank.html"
;
document
.
body
.
appendChild
(
iframe
);
ok
(
onload_called
===
false
,
"called onload too early?"
);
}
var
tests
=
[
nav_parent_test
,
window_navigate_test
,
window_open_self_test
,
detached_src_test
,
function
()
{
external
.
reportSuccess
();
}
];
function
next_test
()
{
window
.
setTimeout
(
tests
.
shift
(),
0
);
}
</script>
<body
onload=
"next_test()"
>
<iframe
src=
"about:blank"
id=
"testframe"
></iframe>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment