mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Refactors new extension find bar code to support old FF versions
This commit is contained in:
parent
bc66c8119e
commit
9f9454d2ae
2 changed files with 18 additions and 10 deletions
|
@ -32,13 +32,13 @@ function test() {
|
|||
|
||||
// Runs tests after all 'load' event handlers have fired off
|
||||
window.addEventListener("documentload", function() {
|
||||
runTests(document, window, finish);
|
||||
runTests(document, window, tab, finish);
|
||||
}, false, true);
|
||||
}, true);
|
||||
}
|
||||
|
||||
|
||||
function runTests(document, window, callback) {
|
||||
function runTests(document, window, tab, callback) {
|
||||
|
||||
//
|
||||
// Overall sanity tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue