test_find_nac.html (385B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <input value="bar"> 6 <script> 7 test(function() { 8 // The exact return value of this first call is tested in 9 // test_find.html. 10 window.find("bar"); 11 assert_false(window.find("bar")); 12 }, "window.find doesn't get stuck on NAC"); 13 </script>