Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 576 Bytes
<p>This page test that using the Web Inspector's search field on a page that
overrides <tt>Document.evaluate</tt> or <tt>Document.querySelectorAll</tt>
still works.<p>
<p>To test, right-click on this page and select &ldquo;Inspect Element&rdquo;,
then type &ldquo;p&rdquo; in the search field (without the quotes). If the
search results list appears, then you have passed the test. If one or more
alert dialogs appear, you have failed the test.</p>
function fail() { alert('FAIL') }
document.querySelectorAll = fail;
document.evaluate = fail;
Jump to Line
Something went wrong with that request. Please try again.