Bug 951800 - Port bug 853973 to avoid test-plugin-crashing.js failure on linux opt builds. r=Standard8. Part bustage fix for CLOSED TREE