Proposed type of test: chrome Proposed location of test: toolkit/mozapps/downloads/tests/chrome
Created attachment 331156 [details] [diff] [review] v1.0 The test passes. Actually I thought of clubbing this with 447830 and 447831. But since the litmus tests were separate and the tests seemed to give a separate identity to contextmenus of each kind of download, I separated the 3 tests.
Created attachment 331499 [details] [diff] [review] v2.0 Test updated to accommodate the updated utils.js. The test passes.
Comment on attachment 331499 [details] [diff] [review] v2.0 I was about to say that the litmus test in question wasn't worth being a test, but then it occurred to me that we have different menus for different states of the downloads. So, instead of checking string values, we should just be checking the command attribute on the menuitems. Those won't ever change, and it's more reliable and easier than getting the strings.