GlobalFunctions.baseline 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Expando_In_Eval_Ok
  2. test: isNaN(Number.NaN) : true
  3. test: isNaN(123) : false
  4. Expando_In_IsNaN_Ok
  5. test: isFinite(Number.POSITIVE_INFINITY) : false
  6. test: isFinite(123) : true
  7. Expando_In_IsNaN_Ok
  8. *** Test URI functions ***
  9. Test print wchar: "\u00a9"
  10. true
  11. Test encode : encodeURI("\u00a9");
  12. %C2%A9
  13. Test decode back:
  14. true
  15. Test encode : encodeURI("http://www.isp.com/app.cgi?arg1=1&arg2=hello world");
  16. http://www.isp.com/app.cgi?arg1=1&arg2=hello%20world
  17. Test decode back:
  18. http://www.isp.com/app.cgi?arg1=1&arg2=hello world
  19. Test encode component : encodeURIComponent("http");
  20. http
  21. Test decode component back:
  22. http
  23. Test encode component : encodeURIComponent("//www.isp.com/app.cgi");
  24. %2F%2Fwww.isp.com%2Fapp.cgi
  25. Test decode component back:
  26. //www.isp.com/app.cgi
  27. Test encode component : encodeURIComponent("arg1=1&arg2=hello world");
  28. arg1%3D1%26arg2%3Dhello%20world
  29. Test decode component back:
  30. arg1=1&arg2=hello world
  31. Test global constants:
  32. Infinity
  33. undefined
  34. Escape Unescape
  35. Hello%20World
  36. Hello World
  37. foo bar
  38. It's a test!