Comment 75 for bug 294712

Created an attachment (id=384799)
patch

Patch with a test. The test lives in browser/base/content as it tests the context menu (original intention of this bug).