send(somevalue) is deprecated and no longer supported by any browser. It was part of the legacy generator objects used by SpiderMonkey. Use next(somevalue) instead.