mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
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:
parent
24c853281d
commit
342fe780c6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user