⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185696 in webkit


Ignore:
Timestamp:
Jun 18, 2015, 1:57:09 AM (11 years ago)
Author:
Gyuyoung Kim
Message:

[EFL] test_ewk2_context has been failed since r185529
https://bugs.webkit.org/show_bug.cgi?id=146046

Reviewed by Csaba Osztrogonác.

ewk_context_network_process_model test has been failed since r185529.
This patch modifies the test which is similar to ewk_context_network_process_model
based on multiple process model to fix the failure. Besides ewk_context_network_process_model
seems to be fixed indirectly. So we enable it again.

  • UIProcess/API/efl/tests/test_ewk2_context.cpp:

(TEST_F):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r185684 r185696  
     12015-06-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
     2
     3        [EFL] test_ewk2_context has been failed since r185529
     4        https://bugs.webkit.org/show_bug.cgi?id=146046
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        ewk_context_network_process_model test has been failed since r185529.
     9        This patch modifies the test which is similar to ewk_context_network_process_model
     10        based on multiple process model to fix the failure. Besides ewk_context_network_process_model
     11        seems to be fixed indirectly. So we enable it again.
     12
     13        * UIProcess/API/efl/tests/test_ewk2_context.cpp:
     14        (TEST_F):
     15
    1162015-06-17  Yongjun Zhang  <yongjun_zhang@apple.com>
    217
  • trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp

    r182886 r185696  
    211211    ASSERT_EQ(webView1WebProcessID, webView2WebProcessID);
    212212
    213     ASSERT_TRUE(toImpl(EWKViewGetWKView(webView1))->page()->process().processPool().networkProcess() == nullptr);
    214     ASSERT_TRUE(toImpl(EWKViewGetWKView(webView2))->page()->process().processPool().networkProcess() == nullptr);
    215 }
    216 
    217 
    218 TEST_F(EWK2ContextTestMultipleProcesses, DISABLED_ewk_context_network_process_model)
     213    PlatformProcessIdentifier webView1NetworkProcessID = toImpl(EWKViewGetWKView(webView1))->page()->process().processPool().networkProcess()->processIdentifier();
     214    PlatformProcessIdentifier webView2NetworkProcessID = toImpl(EWKViewGetWKView(webView2))->page()->process().processPool().networkProcess()->processIdentifier();
     215
     216    ASSERT_EQ(webView1NetworkProcessID, webView2NetworkProcessID);
     217}
     218
     219TEST_F(EWK2ContextTestMultipleProcesses, ewk_context_network_process_model)
    219220{
    220221    Ewk_Context* context = ewk_view_context_get(webView());
Note: See TracChangeset for help on using the changeset viewer.