[Webkit-unassigned] [Bug 103413] TextTrackCue's .endTime property should fire a TypeError when NaN is assigned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 5 06:09:16 PST 2012


--- Comment #5 from Antoine Quint <graouts at apple.com>  2012-12-05 06:11:42 PST ---
(In reply to comment #4)
> (From update of attachment 177486 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=177486&action=review
> > Source/WebCore/html/track/TextTrackCue.cpp:273
> > +    if (WTF::double_conversion::Double(value).IsSpecial()) {
> I don't see Double() being used to test this anywhere else in WebCore, and while I don't know enough about it to know that it is a problem I would rather we stick with the more commonly used isinf() and isnan(). Note that you don't need to test for negative vs. positive infinity as inf() returns true for either (eg. see MediaTime::createWithDouble).

Will adopt the isnan() and is infinite() methods from wtf/MathExtras.h in an updated patch.

> > LayoutTests/media/track/opera/interfaces/TextTrackCue/endTime-expected.txt:3
> > +PASS TextTrackCue.endTime, script-created cue 
> > +TIMEOUT TextTrackCue.endTime, parsed cue Test timed out
> TIMEOUT? ChangeLog should note this if it is intentional.

It is intentional and the LayoutTests/ChangeLog mentioned the blocking bug (https://bugs.webkit.org/show_bug.cgi?id=103258).

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