summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-28 20:16:48 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-28 20:16:48 +0000
commit8d13c93c894d536f4061e981a3d470d272516654 (patch)
treedec6e8060fac65ffcf2dffe9f08c2b612acf2922 /content
parentabbf958b4cd9af05933f33a3bbf923d077099caa (diff)
downloadnetsurf-8d13c93c894d536f4061e981a3d470d272516654.tar.gz
netsurf-8d13c93c894d536f4061e981a3d470d272516654.tar.bz2
Remove bogus assertions: content handlers which spawn fetches may not transition out of the LOADING state until after the fetches have completed.
svn path=/trunk/netsurf/; revision=11860
Diffstat (limited to 'content')
-rw-r--r--content/content.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/content.c b/content/content.c
index 8db831255..7b9207d44 100644
--- a/content/content.c
+++ b/content/content.c
@@ -697,13 +697,6 @@ void content_convert(struct content *c)
content_set_ready(c);
content_set_done(c);
}
-
- /* After conversion, the content must be in error or either the
- * READY or DONE state and must not be locked */
- assert(c->status == CONTENT_STATUS_READY ||
- c->status == CONTENT_STATUS_DONE ||
- c->status == CONTENT_STATUS_ERROR);
- assert(c->locked == false);
}
/**