« ... and my PowerBook killed itself :-( | Main | iCab 3.0 Beta 375 »

Mon, Dec 05, 2005

InScript Release 184

InScript release 184 is a minor update only with two bug fixes and two new features. Features: XMLHttpRequest now has a overrideMimeType method, and HTMLImageElement knows its position on screen (properties x and y). Fixes: Array.prototype.join deals with Unicode characters correctly, and \nnn in regexp character classes is evaluated as an octal escape (and not as a back reference), i.e.

/He(l)[\1]o/.test("Hello")
yields false now (in contrast to previous InScript releases), and

/He(l)[\001-\234]o/.test("Hello")
yields true.

Both is explicitely forbidden according to the ECMAScript standard (a SyntaxError should be thrown instead), but InScript's behavious now matches Safari and Firefox (and not Perl, though back references in character classes are really cool!).

Posted by Thomas Much at 13:35
Categories: iCab & InScript