mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1293000 - Replace Iterator() with Object.entries() in layout/. r=bz
--HG-- extra : rebase_source : c0c04c2fcb0ddb8b6e36e12c993da4003c0e0f50
This commit is contained in:
parent
ed272011eb
commit
ea762cae5a
@ -33,8 +33,8 @@ function run(test_window)
|
||||
let height_val = 182;
|
||||
iframe_style.width = width_val + "px";
|
||||
iframe_style.height = height_val + "px";
|
||||
for (let [feature, value] in
|
||||
Iterator({ "width": width_val, "height": height_val })) {
|
||||
for (let [feature, value] of
|
||||
Object.entries({ "width": width_val, "height": height_val })) {
|
||||
should_apply("all and (" + feature + ": " + value + "px)");
|
||||
should_not_apply("all and (" + feature + ": " + (value + 1) + "px)");
|
||||
should_not_apply("all and (" + feature + ": " + (value - 1) + "px)");
|
||||
|
Loading…
Reference in New Issue
Block a user