Main Content

Bending JavaScript to your will, or why testing JavaScript in the browser can drive you crazy

A talk by Jason Huggins

About the Talk

April 25, 2009 9:30 AM

Bending JavaScript to your will, or why testing JavaScript in the browser can drive you crazy: This talk will cover the previously untold story of Selenium's JavaScript internals. You'll learn how Selenium had to trick the browser's single-threaded JavaScript engine into a continuation machine to wait for things like page loads or returned Ajax messages. You'll also learn how Selenium could have used Brendan Eich's Narcissus meta-circular JavaScript interpreter to clean up the mess, and why Narcissus is just really run to play with. (Hint: You can use Narcissus as a code pre-processor to tweak JavaScript into your own little language. Want optional parens on function calls? Done!)

Ratings and Recommendations

Avg. Rating

Average based
on 4 ratings

comments powered by Disqus