mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[spidermonkey] default for readyState
This commit is contained in:
parent
fb5a72dfd8
commit
ee51263825
@ -907,6 +907,7 @@ document_get_property_readyState(JSContext *ctx, unsigned int argc, JS::Value *v
|
||||
}
|
||||
|
||||
switch (doc_private->state) {
|
||||
default:
|
||||
case LOADING:
|
||||
args.rval().setString(JS_NewStringCopyZ(ctx, "loading"));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user