A regular expression like /a/Z doesn't create an error.
<rdar://problem/27975736>
Note that is is only a problem for literal regular expressions in JavaScript code. When the new RegExp() constructor is used, the flags are checked.
Created attachment 288869 [details] Patch
Comment on attachment 288869 [details] Patch r=me
Comment on attachment 288869 [details] Patch Clearing flags on attachment: 288869 Committed r205937: <http://trac.webkit.org/changeset/205937>
All reviewed patches have been landed. Closing bug.