The code (from infoRSS) starts off like this:
Code: Select all
/* exported EXPORTED_SYMBOLS */
var EXPORTED_SYMBOLS = [
"alert", /* exported alert */
"prompt", /* exported prompt */
"confirm", /* exported confirm */
promptService.alert(null, inforssGetName(), msg);
and it seemed to work fine.
Today I installed s3.translator so I could see what I was filling in on that Japanese survey.
And all its prompts came up with an inforss prefix.
So what context are extensions run in? Is it a huge global one, where any function name can mess with any other extension? And if so, how the heck is one meant to protect against conflicts?