1
0
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:
Witold Filipczyk 2024-12-02 17:30:21 +01:00
parent fb5a72dfd8
commit ee51263825

View File

@ -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;