Test chromium/chrome/fast/dom/function_arguments.html Detail
- id
- chromium/chrome/fast/dom/function_arguments.html
- type
- layouttest
- version
- 0
- enabled
- 1
- tags
- flags
- sections
-
- url
- http://localhost:8888/chromium/chrome/fast/dom/function_arguments.html
- file
- chromium/chrome/fast/dom/function_arguments.html
- results
-
Layouttest detail
expected:
Test purpose: This tests if [Function.]arguments works in Chrome. See bug# 805211 for more details.
RESULT: Test PASSED
file:
<html>
<body>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
function foo(name, value) {
var argc = foo.arguments.length;
if (argc == "5")
{
document.write("<b> RESULT: </b> Test PASSED");
}
else{
document.write("<b> RESULT: </b> Test FAILED");
}
}
</script>
<p> <b>Test purpose:</b> This tests if [Function.]arguments works in Chrome. See bug# 805211 for more details. </p>
<div id="abc"></div>
<script>
foo("From", "%E5%8C%97%E4%BA%AC", 360, '/', "kooxoo.com");
</script>
</body>
</HTML>
file frame
show/hide: