Skip to content

Commit

Permalink
Fixup indentation from PR 21353
Browse files Browse the repository at this point in the history
#21353 used an approach
which was known to cause indentation problems in some cases. This commit
is an attempt to fixup any indentation issues, by running a (hacky)
script to parse the diff and locate places where indentation was broken.
  • Loading branch information
stephenmcgruer committed Jan 27, 2020
1 parent 3584c9d commit e4499c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions IndexedDB/idbcursor-advance-exception-order.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

setTimeout(t.step_func(() => {
assert_throws_js(TypeError, () => { cursor.advance(0); },
'"zero" check (TypeError) should precede ' +
'"not active" check (TransactionInactiveError)');
'"zero" check (TypeError) should precede ' +
'"not active" check (TransactionInactiveError)');
t.done();
}), 0);
});
Expand Down
4 changes: 2 additions & 2 deletions encoding/textdecoder-fatal.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ test(() => {
'♥',
'decode() should decode full sequence');
assert_throws_js(TypeError,
() => decoder.decode(new DataView(bytes.buffer, 0, 2)),
'decode() should throw on incomplete sequence');
() => decoder.decode(new DataView(bytes.buffer, 0, 2)),
'decode() should throw on incomplete sequence');
assert_equals(decoder.decode(new DataView(bytes.buffer, 0, 3)),
'♥',
'decode() should not throw on subsequent call');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@
*/
addTest(function(win) {
assert_throws_js(TypeError, function() { Object.preventExtensions(win) },
"preventExtensions on cross-origin Window should throw");
"preventExtensions on cross-origin Window should throw");
assert_throws_js(TypeError, function() { Object.preventExtensions(win.location) },
"preventExtensions on cross-origin Location should throw");
"preventExtensions on cross-origin Location should throw");
}, "[[PreventExtensions]] should throw for cross-origin objects");

/*
Expand Down

0 comments on commit e4499c8

Please sign in to comment.