Funny “Print preview failed” bug in Google Chrome

3 links to print current page in HTML:

<a href="#" onclick="window.print();">print it #1</a>

<a href=“#” onclick=“window.print();return false;”>print it #2</a>

<a href=“javascript:window.print()”>print it #3</a>

Question: What is wrong with one of them?

Same links clickable: print it #1, print it #2, print it #3

Answer: first link launches print interface in Google Chrome but Chrome fails to render print preview because of “Print preview failed” error. All three links work fine in Firefox and IE.

This entry was posted in Uncategorized. Bookmark the permalink.