Catch calls to html_clone, which is guaranteed to result in breakage, so it's safer to just die, rather than limp on.

svn path=/trunk/netsurf/; revision=10341
This commit is contained in:
John Mark Bell 2010-04-10 12:36:21 +00:00
parent 24c853281d
commit 342fe780c6

View File

@ -1858,6 +1858,12 @@ void html_destroy_iframe(struct content_html_iframe *iframe) {
bool html_clone(const struct content *old, struct content *new_content)
{
/** \todo Clone HTML specifics */
/* In the meantime, we should never be called, as HTML contents
* cannot be shared and we're not intending to fix printing's
* cloning of documents. */
assert(0 && "html_clone should never be called");
return true;
}