File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -293,22 +293,22 @@ test "Browser.HTML.Window" {
293293 \\ }
294294 \\ }
295295 ,
296- "undefined" ,
296+ null ,
297297 },
298- .{ "let id = requestAnimationFrame(step);" , "undefined" },
298+ .{ "requestAnimationFrame(step);" , null }, // returned id is checked in the next test
299299 }, .{});
300300
301301 // cancelAnimationFrame should be able to cancel a request with the given id
302302 try runner .testCases (&.{
303- .{ "let request_id = requestAnimationFrame(timestamp => {});" , "undefined" },
303+ .{ "let request_id = requestAnimationFrame(timestamp => {});" , null },
304304 .{ "cancelAnimationFrame(request_id);" , "undefined" },
305305 }, .{});
306306
307307 try runner .testCases (&.{
308308 .{ "innerHeight" , "1" },
309309 .{ "innerWidth" , "1" }, // Width is 1 even if there are no elements
310- .{ "document.createElement('div').getClientRects()" , "[object Object]" },
311- .{ "document.createElement('div').getClientRects()" , "[object Object]" },
310+ .{ "document.createElement('div').getClientRects()" , null },
311+ .{ "document.createElement('div').getClientRects()" , null },
312312 .{ "innerHeight" , "1" },
313313 .{ "innerWidth" , "2" },
314314 }, .{});
You can’t perform that action at this time.
0 commit comments