Skip to content

Commit a9eeb70

Browse files
rm cruft.
1 parent 97d857a commit a9eeb70

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ describe("Core morphing tests", function () {
108108
});
109109

110110
it("morphs outerHTML properly when oldNode has siblings", function () {
111+
// FIXME something about the `make` utility function in this context hangs in Firefox, so use getWorkArea().innerHTML= instead
111112
getWorkArea().innerHTML =
112113
"<div><p>Preserve me!</p><button>Foo</button><p>Preserve me too!</p></div>";
113114
let initial = getWorkArea().querySelector("button");

test/lib/utilities.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
function setup() {
44
beforeEach(() => {
5-
if (window.useMoveBefore && !Element.prototype.moveBefore) {
6-
throw new Error('Element.prototype.moveBefore is not available.');
7-
}
85
clearWorkArea();
96
});
107
}

0 commit comments

Comments
 (0)