Changeset 95943 in webkit


Ignore:
Timestamp:
Sep 26, 2011 5:15:28 AM (13 years ago)
Author:
Adam Roben
Message:

Remove two failing WebKitAPITest tests

The failures are covered by <http://webkit.org/b/33162> and <http://webkit.org/b/32868>.

Reviewed by Anders Carlsson.

  • WebKitAPITest/tests/WebViewDestruction.cpp: Removed the NoCloseOrDestroyViewWindow and

MainFrameAfterClose tests.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r95934 r95943  
     12011-09-23  Adam Roben  <aroben@apple.com>
     2
     3        Remove two failing WebKitAPITest tests
     4
     5        The failures are covered by <http://webkit.org/b/33162> and <http://webkit.org/b/32868>.
     6
     7        Reviewed by Anders Carlsson.
     8
     9        * WebKitAPITest/tests/WebViewDestruction.cpp: Removed the NoCloseOrDestroyViewWindow and
     10        MainFrameAfterClose tests.
     11
    1122011-09-25  Adam Barth  <abarth@webkit.org>
    213
  • trunk/Tools/WebKitAPITest/tests/WebViewDestruction.cpp

    r81135 r95943  
    115115}
    116116
    117 // Tests that releasing a WebView without calling IWebView::close or DestroyWindow doesn't leak. <http://webkit.org/b/33162>
    118 TEST(WebViewDestruction, NoCloseOrDestroyViewWindow)
    119 {
    120     COMPtr<IWebView> webView;
    121     HostWindow window;
    122     HWND viewWindow;
    123     createAndInitializeWebView(webView, window, viewWindow);
    124 
    125     finishWebViewDestructionTest(webView, viewWindow);
    126 }
    127 
    128117// Tests that calling IWebView::close without calling DestroyWindow, then releasing a WebView doesn't crash. <http://webkit.org/b/32827>
    129118TEST(WebViewDestruction, CloseWithoutDestroyViewWindow)
     
    215204}
    216205
    217 // Tests that calling IWebView::mainFrame after calling IWebView::close doesn't crash. <http://webkit.org/b/32868>
    218 TEST(WebViewDestruction, MainFrameAfterClose)
    219 {
    220     COMPtr<IWebView> webView;
    221     HostWindow window;
    222     HWND viewWindow;
    223     createAndInitializeWebView(webView, window, viewWindow);
    224 
    225     TEST_ASSERT(SUCCEEDED(webView->close()));
    226     COMPtr<IWebFrame> mainFrame;
    227     TEST_ASSERT(SUCCEEDED(webView->mainFrame(&mainFrame)));
    228 
    229     finishWebViewDestructionTest(webView, viewWindow);
    230 }
    231 
    232206} // namespace WebKitAPITest
Note: See TracChangeset for help on using the changeset viewer.