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

Changeset 117804 in webkit


Ignore:
Timestamp:
May 21, 2012, 11:50:36 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK] DRT support for layoutTestController.setSerializeHTTPLoads
https://bugs.webkit.org/show_bug.cgi?id=86653

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-21
Reviewed by Gustavo Noronha Silva.

Source/WebKit/gtk:

Add support for setSerializeHTTPLoads in DumpRenderTreeSupportGtk
to allow testing resource load order.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:

(DumpRenderTreeSupportGtk::setSerializeHTTPLoads):

  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

(DumpRenderTreeSupportGtk):

Tools:

Add missing implementation setSerializeHTTPLoads to allow
testing resource load order.

  • DumpRenderTree/gtk/DumpRenderTree.cpp:

(resetDefaultsToConsistentValues):

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:

(LayoutTestController::setSerializeHTTPLoads):

LayoutTests:

Unskip test cases which rely on LayoutTestController's setSerializeHTTPLoads
implementation.

  • platform/gtk/fast/loader/file-protocol-fragment-expected.txt: Removed. The current

result matches the base expectation, so removed the platform-specific results.

  • platform/gtk/test_expectations.txt:
Location:
trunk
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r117801 r117804  
     12012-05-21  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [GTK] DRT support for layoutTestController.setSerializeHTTPLoads
     4        https://bugs.webkit.org/show_bug.cgi?id=86653
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Unskip test cases which rely on LayoutTestController's setSerializeHTTPLoads
     9        implementation.
     10
     11        * platform/gtk/fast/loader/file-protocol-fragment-expected.txt: Removed. The current
     12        result matches the base expectation, so removed the platform-specific results.
     13        * platform/gtk/test_expectations.txt:
     14
    1152012-05-21  Brady Eidson  <beidson@apple.com>
    216
  • trunk/LayoutTests/platform/gtk/test_expectations.txt

    r117772 r117804  
    10541054BUGWK50740 : editing/spelling/spellcheck-async-mutation.html = FAIL
    10551055
    1056 // These require DRT setSerializeHTTPLoads implementation to be reliable.
    1057 BUGWK50758 : http/tests/local/link-stylesheet-load-order.html = FAIL
    1058 BUGWK50758 : http/tests/local/link-stylesheet-load-order-preload.html = FAIL
    1059 BUGWK50758 : fast/preloader/document-write.html = FAIL
    1060 BUGWK50758 : fast/preloader/document-write-2.html = FAIL
     1056BUGWK82675 : http/tests/local/link-stylesheet-load-order.html = FAIL
    10611057
    10621058// Passing just a username or just a password to
  • trunk/Source/WebKit/gtk/ChangeLog

    r117671 r117804  
     12012-05-21  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [GTK] DRT support for layoutTestController.setSerializeHTTPLoads
     4        https://bugs.webkit.org/show_bug.cgi?id=86653
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Add support for setSerializeHTTPLoads in DumpRenderTreeSupportGtk
     9        to allow testing resource load order.
     10
     11        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
     12        (DumpRenderTreeSupportGtk::setSerializeHTTPLoads):
     13        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
     14        (DumpRenderTreeSupportGtk):
     15
    1162012-05-18  Sheriff Bot  <webkit.review.bot@gmail.com>
    217
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp

    r117460 r117804  
    5757#include "RenderTreeAsText.h"
    5858#include "RenderView.h"
     59#include "ResourceLoadScheduler.h"
    5960#include "SchemeRegistry.h"
    6061#include "SecurityOrigin.h"
     
    886887    SchemeRegistry::setDomainRelaxationForbiddenForURLScheme(forbidden, String::fromUTF8(urlScheme));
    887888}
     889
     890void DumpRenderTreeSupportGtk::setSerializeHTTPLoads(bool enabled)
     891{
     892    resourceLoadScheduler()->setSerialLoadingEnabled(enabled);
     893}
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h

    r117460 r117804  
    128128    static void deliverAllMutationsIfNecessary();
    129129    static void setDomainRelaxationForbiddenForURLScheme(bool forbidden, const char* urlScheme);
     130    static void setSerializeHTTPLoads(bool enabled);
    130131
    131132private:
  • trunk/Tools/ChangeLog

    r117789 r117804  
     12012-05-21  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [GTK] DRT support for layoutTestController.setSerializeHTTPLoads
     4        https://bugs.webkit.org/show_bug.cgi?id=86653
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        Add missing implementation setSerializeHTTPLoads to allow
     9        testing resource load order.
     10
     11        * DumpRenderTree/gtk/DumpRenderTree.cpp:
     12        (resetDefaultsToConsistentValues):
     13        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
     14        (LayoutTestController::setSerializeHTTPLoads):
     15
    1162012-05-21  Elliot Poger  <epoger@chromium.org>
    217
  • trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp

    r116146 r117804  
    451451    DumpRenderTreeSupportGtk::setSmartInsertDeleteEnabled(webView, true);
    452452    DumpRenderTreeSupportGtk::setDefersLoading(webView, false);
     453    DumpRenderTreeSupportGtk::setSerializeHTTPLoads(false);
    453454
    454455    if (axController)
  • trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp

    r117771 r117804  
    967967}
    968968
    969 void LayoutTestController::setSerializeHTTPLoads(bool)
    970 {
    971     // FIXME: Implement if needed for https://bugs.webkit.org/show_bug.cgi?id=50758.
     969void LayoutTestController::setSerializeHTTPLoads(bool serialize)
     970{
     971    DumpRenderTreeSupportGtk::setSerializeHTTPLoads(serialize);
    972972}
    973973
Note: See TracChangeset for help on using the changeset viewer.