Changeset 129605 in webkit


Ignore:
Timestamp:
Sep 26, 2012 12:41:08 AM (12 years ago)
Author:
rakuco@webkit.org
Message:

[DRT][WTR] Support overriding the 'WebKitDisplayImagesKey' preference
https://bugs.webkit.org/show_bug.cgi?id=96883

Reviewed by Kenneth Rohde Christiansen.

Source/WebKit2:

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Add
support for changing
WebPreferencesKey::loadsImagesAutomaticallyKey().

Tools:

  • DumpRenderTree/efl/TestRunnerEfl.cpp:

(TestRunner::overridePreference): Support the
'WebKitDisplayImagesKey' preference.

LayoutTests:

  • platform/efl/TestExpectations: Unskip test that only fails on

WK2.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r129604 r129605  
     12012-09-25  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
     2
     3        [DRT][WTR] Support overriding the 'WebKitDisplayImagesKey' preference
     4        https://bugs.webkit.org/show_bug.cgi?id=96883
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        * platform/efl/TestExpectations: Unskip test that only fails on
     9        WK2.
     10
    1112012-09-26  Zan Dobersek  <zandobersek@gmail.com>
    212
  • trunk/LayoutTests/platform/efl/TestExpectations

    r129599 r129605  
    11811181# Frame does not get focus as expected
    11821182webkit.org/b/97077 inspector/extensions/extensions-panel.html [ Failure ]
    1183 
    1184 # Fails after r129462
    1185 webkit.org/b/96883 fast/loader/display-image-unset-can-block-image-and-can-reload-in-place.html [ Failure ]
  • trunk/Source/WebKit2/ChangeLog

    r129596 r129605  
     12012-09-25  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
     2
     3        [DRT][WTR] Support overriding the 'WebKitDisplayImagesKey' preference
     4        https://bugs.webkit.org/show_bug.cgi?id=96883
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        * WebProcess/InjectedBundle/InjectedBundle.cpp:
     9        (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner): Add
     10        support for changing
     11        WebPreferencesKey::loadsImagesAutomaticallyKey().
     12
    1132012-09-25  Dan Bernstein  <mitz@apple.com>
    214
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp

    r129531 r129605  
    183183    macro(WebKitXSSAuditorEnabled, XSSAuditorEnabled, xssAuditorEnabled) \
    184184    macro(WebKitShouldRespectImageOrientation, ShouldRespectImageOrientation, shouldRespectImageOrientation) \
    185     macro(WebKitEnableCaretBrowsing, CaretBrowsingEnabled, caretBrowsingEnabled)
     185    macro(WebKitEnableCaretBrowsing, CaretBrowsingEnabled, caretBrowsingEnabled) \
     186    macro(WebKitDisplayImagesKey, LoadsImagesAutomatically, loadsImagesAutomatically)
    186187
    187188    if (preference == "WebKitAcceleratedCompositingEnabled")
  • trunk/Tools/ChangeLog

    r129604 r129605  
     12012-09-25  Raphael Kubo da Costa  <raphael.kubo.da.costa@intel.com>
     2
     3        [DRT][WTR] Support overriding the 'WebKitDisplayImagesKey' preference
     4        https://bugs.webkit.org/show_bug.cgi?id=96883
     5
     6        Reviewed by Kenneth Rohde Christiansen.
     7
     8        * DumpRenderTree/efl/TestRunnerEfl.cpp:
     9        (TestRunner::overridePreference): Support the
     10        'WebKitDisplayImagesKey' preference.
     11
    1122012-09-26  Zan Dobersek  <zandobersek@gmail.com>
    213
  • trunk/Tools/DumpRenderTree/efl/TestRunnerEfl.cpp

    r129444 r129605  
    712712    else if (equals(key, "WebKitWebAudioEnabled"))
    713713        ewk_view_setting_web_audio_set(browser->mainView(), toBool(value));
     714    else if (equals(key, "WebKitDisplayImagesKey"))
     715        ewk_view_setting_auto_load_images_set(browser->mainView(), toBool(value));
    714716    else
    715717        fprintf(stderr, "TestRunner::overridePreference tried to override unknown preference '%s'.\n", value->string().utf8().data());
Note: See TracChangeset for help on using the changeset viewer.