[Webkit-unassigned] [Bug 57728] New: Improper use of " in video-can-play-type.html layout test
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Apr 3 13:12:35 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=57728
Summary: Improper use of " in video-can-play-type.html
layout test
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nancy.piedra at nokia.com
The layout test media/video-can-play-type.html uses the " entity reference improperly. See below:
testExpected("video.canPlayType('video/mpeg; Codecs="avc1.4D400C"')", "probably");
The " entity reference does not get decoded so the ContentType class cannot parse the codecs parameter. This only seems to cause an issue with the Qt MediaPlayer implementation as I noticed that no other implementation seems to look at the codecs parameter (but if they did use this parameter, they would see the same problem).
An attempt to parse the " in the ContentType class was attempted here:
https://bugs.webkit.org/show_bug.cgi?id=53275
But I think the entity reference should not have been used in this case and ContentType should not be required to decode it.
To reproduce the issue, run the video-can-play-type.html test and check the value of contentType in the ContentType class constructor.
--
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