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
Firefox 2 Win (2.0.0.20) Firefox 2 Lin (2.0.0.20) Firefox 3 Win (3.0.6) Firefox 3 Lin (3.0.6) Firefox 3.1 Win (3.1b2) Firefox 3.1 Lin (3.1b2) Firefox trunk Win (2009 02 22) Firefox trunk Lin (2009 02 22) Safari 3 Win (3.2) Safari trunk Win (41121) Opera 9 Win (9.62) Opera 9 Lin (9.62) IE 6 Win (6) IE 7 Win (7) IE 8 Win (8rc1)
PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS PASS

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: