archives

« Bugzilla Issues Index

#3152 — 21.1.3.* String.prototype.{contains, endsWith, startsWith}: If isRegExp is not true → is true


21.1.3.6 String.prototype.contains
21.1.3.7 String.prototype.endsWith
21.1.3.18 String.prototype.startsWith

step 4.c: If isRegExp is not true, then throw a TypeError exception.

Replace with: If isRegExp is true ...


fixed in rev28 editor's draft


fixed in rev28