Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cvox.Api.stop() results in uncaught error #151

Open
GoogleCodeExporter opened this issue Apr 3, 2015 · 1 comment
Open

cvox.Api.stop() results in uncaught error #151

GoogleCodeExporter opened this issue Apr 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
Running this code in a webpage loaded in a WebView in an Android application on 
a device with TalkBack enabled (which results in loading ChromeVox js):

document.addEventListener("chromeVoxLoaded",cvoxLoadedHandler, true);
function cvoxLoadedHandler(evt) {
    if (window.console) console.log("Intercepting CVox event ");
    evt.preventDefault();
    evt.stopPropagation();
    cvox.Api.stop();
    return false;
}


What is the expected output? What do you see instead?


09-13 20:44:16.879    8339-8339/net.megafone.android.webapp D/Web console:﹕ 
Uncaught TypeError: Cannot call method 'stop' of undefined



What version of the product are you using? On what operating system?

Android 4.1.2

Original issue reported on code.google.com by matteosi...@gmail.com on 13 Sep 2014 at 7:23

@GoogleCodeExporter
Copy link
Author

Note that the uncaught error triggered by inside CVox's own code, so even if 
there was anything wrong in my code, it's a bug.

Original comment by matteosi...@gmail.com on 13 Sep 2014 at 7:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant