[Webkit-unassigned] [Bug 189330] New: audio.duration returns "Infinity"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 5 18:17:54 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189330
Bug ID: 189330
Summary: audio.duration returns "Infinity"
Product: WebKit
Version: Safari 11
Hardware: iPhone / iPad
OS: iOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: drew at drewd3v.net
Created attachment 348990
--> https://bugs.webkit.org/attachment.cgi?id=348990&action=review
Alert that appears with test code.
When using audio.duration on iOS, Mac, other Safari supported devices, it will return "Infinity."
This occurs on iOS 12 and below.
This can be easy to reproduce, with code, provided below.
<audio id="audio" ontimeupdate="test()" src="myaudio.mp3">
<script>
function test(){
let audio = document.getElementId("audio");
alert(audio.duration);
}
</script>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180906/d3801ba9/attachment-0001.html>
More information about the webkit-unassigned
mailing list