Back out Bug 810644 part 2 to fix b2g test_closeOnGC.html orange.
Back out Bug 810644 part 1 to fix b2g test_closeOnGC.html orange on CLOSED TREE