[Webkit-unassigned] [Bug 132321] New: AX: SpeechSynthesisUtterance cannot addEventListener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 29 00:14:28 PDT 2014


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

           Summary: AX: SpeechSynthesisUtterance cannot addEventListener
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cfleizach at apple.com
                CC: webkit-bug-importer at group.apple.com


According to the Web Speech API spec, the SpeechSynthesisUtterance is a subclass of EventTarget. Therefore it has event handler attributes like `onend` and `onresume`.

However it did not implement the `addEventListener` method, so you cannot hook event handlers to an utterance instance via the more common way.

Steps to Reproduce:
1. var u = new SpeechSynthesisUtterance("Test speech");
2. u.addEventListener('end', function(e) { console.log(e); });


<rdar://problem/14887812>

-- 
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