It misses a single quote.
Created attachment 16599 [details] fix
Does this change the expected results?
No. In the original version, WebKit does not throw an exception for the syntax error.
Comment on attachment 16599 [details] fix r=me for feature-branch
Landed in r26578.