operasoftware/operadriver — pull request #55 by rjatkins (2012-01-22 06:29:26+00:00)
Title: Escape quotes in javascript parameters

Unescaped quotes in parameters in a javascript call causes the current test to fail with a ecmascript-debugger exception (which is bearable, although not ideal) but also causes all subsequent tests to fail because the browser is no longer connected (which is fatal). This patch addresses the basic issue of ensuring that all strings are properly escaped so they don't trigger this fatal error.

It would be nice to also fix the fatal error that's causing the exception to make all subsequent tests fail, but I'm out of time this weekend for this.