summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Tests/DOM/document.createDocumentFragment.js
blob: bebc137313238e244ed6027bd50f590d054e92ee (plain)
1
2
3
4
5
6
7
8
9
10
11
loadPage("file:///res/html/misc/blank.html");

afterInitialPageLoad(() => {
    test("Basic functionality", () => {
        const fragment = document.createDocumentFragment();

        // FIXME: Add this in once DocumentFragment's constructor is implemented.
        //expect(fragment).toBeInstanceOf(DocumentFragment);
        expect(fragment.nodeName).toBe("#document-fragment");
    });
});