From 41386e9cb918eed93b3f13648cbef387e371e451 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 20 May 2015 09:56:07 +0000 Subject: webkitgtk-2.4.9 --- Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp') diff --git a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp index 4b280424c..16db87d98 100644 --- a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp +++ b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestDOMNode.cpp @@ -59,27 +59,13 @@ static void testWebKitDOMNodeTagNames(WebViewTest* test, gconstpointer) g_assert(test->runWebProcessTest("WebKitDOMNode", "tag-names")); } -static void testWebKitDOMObjectCache(WebViewTest* test, gconstpointer) -{ - static const char* testHTML = "

DOM Cache test

link
"; - - // Run the test 3 times to make sure the DOM objects are correctly released when the - // document is detached from the frame for every new document created. - for (unsigned i = 0; i < 3; ++i) { - test->loadHtml(testHTML, nullptr); - test->waitUntilLoadFinished(); - - g_assert(test->runWebProcessTest("WebKitDOMNode", "dom-cache")); - } -} - - void beforeAll() { + webkit_web_context_set_web_extensions_directory(webkit_web_context_get_default(), WEBKIT_TEST_WEB_EXTENSIONS_DIR); + WebViewTest::add("WebKitDOMNode", "hierarchy-navigation", testWebKitDOMNodeHierarchyNavigation); WebViewTest::add("WebKitDOMNode", "insertion", testWebKitDOMNodeInsertion); WebViewTest::add("WebKitDOMNode", "tag-names", testWebKitDOMNodeTagNames); - WebViewTest::add("WebKitDOMNode", "dom-cache", testWebKitDOMObjectCache); } void afterAll() -- cgit v1.2.1