mozilla/addon-sdk — pull request #1053 by clarkbw (2013-06-26 21:00:53+00:00)
Title: bind the xul window to the hideChromeForLocation function

In order to avoid a "can't access dead object" TypeError we need to bind the hideChromeForLocation back to the XULBrowserWindow object.

I've been struggling to write a test for this but can't come up with anything to ensure that this function is applied correctly. Help wanted.