cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Kim (JIRA)" <>
Subject [jira] [Commented] (CB-2287) Mobile-spec freezes on BlackBerry 10 around test #200
Date Mon, 28 Jan 2013 20:33:12 GMT


Tim Kim commented on CB-2287:

Ok, so it looks like the problem has to do with a few really strange quirks with bb10 and
the media tests. First off, the errors do not happen when the remote web inspector is turned
on which made this bug particularly troublesome to figure out. In addition, the tests can
actually pass every so often. 

After a lot of key smashing, I figured out that the reason for the crashes are due to a few

1) Creating a new Media object: var media1 = new Media(); ends up creating an Audio object
which is where the real problem lies. Every time a new Media object is made, the parameters
for the src for the Audio object will default to undefined unless specified in the Media()

2) Creating one Media object (with or without a src) seems to work, but as soon as you create
another is where the trouble starts to happen. This is the real head scratcher for me because
it seems like something weird is going on with with the way webworks is communicating to the
native side. If you create one, it works just fine. But as soon as you create another, then
it crashes. However, if you use web inspector and make two Media/Audio objects, that works
just fine as well. 

I'm going to try and see if I make sure the src paramater for the Media object is defined
and see where that gets me. 


> Mobile-spec freezes on BlackBerry 10 around test #200
> -----------------------------------------------------
>                 Key: CB-2287
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 2.4.0
>         Environment: 2.4.0rc1
>            Reporter: Filip Maj
>            Assignee: Tim Kim
>            Priority: Blocker
>             Fix For: 2.4.0
> Around test #200 (once on test 195, once on test 194) mobile-spec stops running. I can
still scroll up and down, but the rendering is incomplete and the tests stop advancing.
> This is a blocker bug as we have no confidence whether we are regressing or not until
mobile-spec can run.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message