1 <p>This page test that using the Web Inspector's search field on a page that
2 overrides <tt>Document.evaluate</tt> or <tt>Document.querySelectorAll</tt>
5 <p>To test, right-click on this page and select “Inspect Element”,
6 then type “p” in the search field (without the quotes). If the
7 search results list appears, then you have passed the test. If one or more
8 alert dialogs appear, you have failed the test.</p>
11 function fail() { alert('FAIL') }
12 document.querySelectorAll = fail;
13 document.evaluate = fail;