window_test.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <!--
  4. Copyright 2009 The Closure Library Authors. All Rights Reserved.
  5. Use of this source code is governed by the Apache License, Version 2.0.
  6. See the COPYING file for details.
  7. -->
  8. <!--
  9. @author marcosalmeida@google.com (Marcos Almeida)
  10. -->
  11. <head>
  12. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  13. <meta charset="UTF-8" />
  14. <title>
  15. Closure Unit Tests - goog.window
  16. </title>
  17. <script src="../base.js">
  18. </script>
  19. <script>
  20. goog.require('goog.windowTest');
  21. </script>
  22. <style type="text/css">
  23. .goog-like-link {
  24. color: blue;
  25. text-decoration: underline;
  26. cursor: pointer;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <h4>Some links for testing referrer stripping manually.</h4>
  32. <div class='goog-like-link'>http://www.google.com/search?q=;</div>
  33. <div class='goog-like-link'>http://www.google.com/search?q=x&amp;lang=en</div>
  34. <div class='goog-like-link'>http://www.google.com/search?q=x;lang=en</div>
  35. <div class='goog-like-link'>http://www.google.com/search?q="</div>
  36. <div class='goog-like-link'>http://www.google.com/search?q='</div>
  37. <div class='goog-like-link'>http://www.google.com/search?q=&lt;</div>
  38. <div class='goog-like-link'>http://www.google.com/search?q=&gt;</div>
  39. </body>
  40. </html>