Changeset 70825 in webkit


Ignore:
Timestamp:
Oct 28, 2010 4:43:10 PM (13 years ago)
Author:
bweinstein@apple.com
Message:

Part of <https://bugs.webkit.org/show_bug.cgi?id=45980>
userscripts/user-script-*-document.html tests are flaky on Windows

Reviewed by Brady Eidson.

WebCore:

In WebFrameLoaderClient::committedLoad on Windows, we call through to PluginStream::didRecieveData
if our manual loader is a plugin stream, and we can call didRecieveData with a 0 length.

We shouldn't ASSERT that length is 0, because code paths exists where we call it with a 0 length.

This is tested by re-enabling user-script-plugin-document.html on Windows.

  • plugins/PluginStream.cpp:

(WebCore::PluginStream::didReceiveData):

LayoutTests:

Unskip the user-script-plugin-document test because its issue is fixed.

  • platform/win/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r70823 r70825  
     12010-10-28  Brian Weinstein  <bweinstein@apple.com>
     2
     3        Reviewed by Brady Eidson.
     4
     5        Part of <https://bugs.webkit.org/show_bug.cgi?id=45980>
     6        userscripts/user-script-*-document.html tests are flaky on Windows
     7
     8        Unskip the user-script-plugin-document test because its issue is fixed.
     9
     10        * platform/win/Skipped:
     11
    1122010-10-28  Mihai Parparita  <mihaip@chromium.org>
    213
  • trunk/LayoutTests/platform/win/Skipped

    r70785 r70825  
    989989userscripts/user-script-video-document.html
    990990userscripts/user-script-audio-document.html
    991 userscripts/user-script-plugin-document.html
    992991
    993992# Directory upload is not enabled.
  • trunk/WebCore/ChangeLog

    r70823 r70825  
     12010-10-28  Brian Weinstein  <bweinstein@apple.com>
     2
     3        Reviewed by Brady Eidson.
     4
     5        Part of <https://bugs.webkit.org/show_bug.cgi?id=45980>
     6        userscripts/user-script-*-document.html tests are flaky on Windows
     7
     8        In WebFrameLoaderClient::committedLoad on Windows, we call through to PluginStream::didRecieveData
     9        if our manual loader is a plugin stream, and we can call didRecieveData with a 0 length.
     10       
     11        We shouldn't ASSERT that length is 0, because code paths exists where we call it with a 0 length.
     12       
     13        This is tested by re-enabling user-script-plugin-document.html on Windows.
     14
     15        * plugins/PluginStream.cpp:
     16        (WebCore::PluginStream::didReceiveData):
     17
    1182010-10-28  Mihai Parparita  <mihaip@chromium.org>
    219
  • trunk/WebCore/plugins/PluginStream.cpp

    r69798 r70825  
    414414{
    415415    ASSERT(loader == m_loader);
    416     ASSERT(length > 0);
    417416    ASSERT(m_streamState == StreamStarted);
    418417
Note: See TracChangeset for help on using the changeset viewer.