Almost all the tests add a new tab, and head removes all tabs but the first one. browser_scratchpad_bug_669612_unsaved.js and browser_scratchpad_bug_660560_tab.js though modify the first tab and that may be detected as a document leak by the harness.
Created attachment 611573 [details] [diff] [review]
doing minimum changes based on the other tests here.
Comment on attachment 611573 [details] [diff] [review]