Changeset 141454 in webkit


Ignore:
Timestamp:
Jan 31, 2013 11:40:14 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

WebFrameTest.DisambiguationPopup is failing
https://bugs.webkit.org/show_bug.cgi?id=108160

Patch by Dan Alcantara <dfalcantara@chromium.org> on 2013-01-31
Reviewed by Adam Barth.

Fix the unit test so that it is using the right HTML file.

  • tests/WebFrameTest.cpp:
Location:
trunk/Source/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r141453 r141454  
     12013-01-31  Dan Alcantara  <dfalcantara@chromium.org>
     2
     3        WebFrameTest.DisambiguationPopup is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=108160
     5
     6        Reviewed by Adam Barth.
     7
     8        Fix the unit test so that it is using the right HTML file.
     9
     10        * tests/WebFrameTest.cpp:
     11
    1122013-01-31  Tony Chang  <tony@chromium.org>
    213
  • trunk/Source/WebKit/chromium/tests/WebFrameTest.cpp

    r141450 r141454  
    18001800}
    18011801
    1802 TEST_F(WebFrameTest, DISABLED_DisambiguationPopup)
    1803 {
    1804     registerMockedHttpURLLoad("disambiguation_popup.html");
     1802TEST_F(WebFrameTest, DisambiguationPopup)
     1803{
     1804    const std::string htmlFile = "disambiguation_popup.html";
     1805    registerMockedHttpURLLoad(htmlFile);
    18051806
    18061807    DisambiguationPopupTestWebViewClient client;
     
    18081809    // Make sure we initialize to minimum scale, even if the window size
    18091810    // only becomes available after the load begins.
    1810     WebViewImpl* webViewImpl = static_cast<WebViewImpl*>(FrameTestHelpers::createWebViewAndLoad(m_baseURL + "disambiguation_popup.html", true, 0, &client));
     1811    WebViewImpl* webViewImpl = static_cast<WebViewImpl*>(FrameTestHelpers::createWebViewAndLoad(m_baseURL + htmlFile, true, 0, &client));
    18111812    webViewImpl->resize(WebSize(1000, 1000));
    18121813    webViewImpl->layout();
     
    18611862}
    18621863
    1863 TEST_F(WebFrameTest, DISABLED_DisambiguationPopupMobileSite)
    1864 {
    1865     registerMockedHttpURLLoad("disambiguation_popup_mobile_site.html");
     1864TEST_F(WebFrameTest, DisambiguationPopupMobileSite)
     1865{
     1866    const std::string htmlFile = "disambiguation_popup_mobile_site.html";
     1867    registerMockedHttpURLLoad(htmlFile);
    18661868
    18671869    DisambiguationPopupTestWebViewClient client;
     
    18691871    // Make sure we initialize to minimum scale, even if the window size
    18701872    // only becomes available after the load begins.
    1871     WebViewImpl* webViewImpl = static_cast<WebViewImpl*>(FrameTestHelpers::createWebViewAndLoad(m_baseURL + "disambiguation_popup.html", true, 0, &client));
     1873    WebViewImpl* webViewImpl = static_cast<WebViewImpl*>(FrameTestHelpers::createWebViewAndLoad(m_baseURL + htmlFile, true, 0, &client));
    18721874    webViewImpl->resize(WebSize(1000, 1000));
    18731875    webViewImpl->layout();
Note: See TracChangeset for help on using the changeset viewer.