mozilla/addon-sdk — pull request #383 by ZER0 (2012-03-22 23:11:55+00:00)
Title: bug 634764 - Fixed / cleaned `contentScript*` validation

Previously the check worked only if an array was given as value of `contentScriptFile` property, not for a string.

With this fix, it's also possible use `data` scheme in unit test properly, instead of just bypass the check using single string instead of arrays.

Notice that `contentStyle*` shares the same validation of `contentScript*`, and it will fix the failure in unit tests introduced by the last merge of bug 634764.