[Webkit-unassigned] [Bug 80991] New: REGRESSION (r103629): xiph.org VP8 demo page doesn't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 13 08:49:19 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80991

           Summary: REGRESSION (r103629): xiph.org VP8 demo page doesn't
                    work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar, Regression
          Severity: Normal
          Priority: P1
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: annevankesteren+webkit at gmail.com, fishd at chromium.org,
                    jarred at webkit.org, fpizlo at apple.com


This is the offending code in XMLHttpRequest.cpp:

    // Newer functionality is not available to synchronous requests in window contexts, as a spec-mandated 
    // attempt to discourage synchronous XHR use. responseType is one such piece of functionality.
    // We'll only disable this functionality for HTTP(S) requests since sync requests for local protocols
    // such as file: and data: still make sense to allow.
    if (!m_async && scriptExecutionContext()->isDocument() && m_url.protocolIsInHTTPFamily()) {
        logConsoleError(scriptExecutionContext(), "XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.");
        ec = INVALID_ACCESS_ERR;
        return;
    }

This breaks the VP8 demo, which is highly unfortunate because it is a remarkably useful test of JSC functionality.  Not to mention, it's quite high profile.

Steps to reproduce:

Go to http://people.xiph.org/~bens/route9/route9.html and hit Play.

Expected result: a video plays.

Actual result: nothing happens because we throw this exception.

<rdar://problem/11036634>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list