cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <>
Subject [jira] [Created] (CB-10451) InAppBrowser: loadstart event callback is not called on Windows
Date Wed, 27 Jan 2016 11:21:39 GMT
Sergey Grebnov created CB-10451:

             Summary: InAppBrowser: loadstart event callback is not called on Windows
                 Key: CB-10451
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
            Reporter: Sergey Grebnov
            Assignee: Sergey Grebnov

The following unit test fails as 'loadstart' callback is not called on Windows. Main reason
is that it is called internally when we do open before we attach event handler. But this is
what docs recommend and what other people uses. We should make open method async (Windows
proxy or inappbrowser.js) so that handler could be added this way

it("inappbrowser.spec.4 should support loadstart and loadstop events", function (done) {
            var onLoadStart = jasmine.createSpy('loadstart event callback').and.callFake(function
(evt) {
                verifyEvent(evt, 'loadstart');

            iabInsance =, '_blank');
            iabInsance.addEventListener('loadstart', onLoadStart);
            iabInsance.addEventListener('loadstop', function (evt) {
                verifyEvent(evt, 'loadstop');

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message