diff options
| author | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-16 14:01:00 -0400 |
|---|---|---|
| committer | Tianren Dong <tianrendong.dtr@gmail.com> | 2026-05-16 14:01:00 -0400 |
| commit | b792f22f2c2ef4dfb7bd300e7381a186e34e0c18 (patch) | |
| tree | a31a4e6d1213478f5ac96e2208d1a1c16fc825b9 /test-suite/task-manifest.json | |
| parent | f133011c8ecda06ae63068649a9714c88a7b901e (diff) | |
0.15.25: fix reload after stale singleton
Diffstat (limited to 'test-suite/task-manifest.json')
| -rw-r--r-- | test-suite/task-manifest.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test-suite/task-manifest.json b/test-suite/task-manifest.json index 22e9590..e780510 100644 --- a/test-suite/task-manifest.json +++ b/test-suite/task-manifest.json @@ -18,7 +18,7 @@ ], "grader": { "type": "inPageProgrammatic", - "expression": "JSON.stringify(window.__taskValidation || {v:window.__taskVerdict,r:window.__taskReason})", + "expression": "window.__taskVerdict || (window.__taskValidation?.done ? \"PASS\" : \"FAIL\")", "passValue": "PASS" }, "browserGymLike": { @@ -122,7 +122,7 @@ ], "grader": { "type": "inPageProgrammatic", - "expression": "JSON.stringify(window.__taskValidation || {v:window.__taskVerdict,r:window.__taskReason})", + "expression": "window.__taskVerdict || (window.__taskValidation?.done ? \"PASS\" : \"FAIL\")", "passValue": "PASS" }, "browserGymLike": { @@ -227,7 +227,7 @@ ], "grader": { "type": "inPageProgrammatic", - "expression": "JSON.stringify(window.__taskValidation || {v:window.__taskVerdict,r:window.__taskReason})", + "expression": "window.__taskVerdict || (window.__taskValidation?.done ? \"PASS\" : \"FAIL\")", "passValue": "PASS" }, "browserGymLike": { @@ -330,7 +330,7 @@ ], "grader": { "type": "inPageProgrammatic", - "expression": "JSON.stringify(window.__taskValidation || {v:window.__taskVerdict,r:window.__taskReason})", + "expression": "window.__taskVerdict || (window.__taskValidation?.done ? \"PASS\" : \"FAIL\")", "passValue": "PASS" }, "browserGymLike": { |
