[Mono-bugs] [Bug 350962] New: using :: SetValue in MediaElements to deal with download progress is wrong

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 29 13:12:47 EST 2007


           Summary: using ::SetValue in MediaElements to deal with download
                    progress is wrong
           Product: Moonlight
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: media
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: toshok at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

I'm going to attach a tarfile including the entire testcase, but this is the
snippet that forms the bulk of the test:

function canvasLoaded (sender, args)
        var image = $plugin().content.createFromXaml ("<Image/>", false);
        image.addEventListener ("downloadProgressChanged", function (s, a) {
alert ("progress changed"); });
        image.DownloadProgress = 0.5;
        alert ("made it past assignment, with downloadprogress being " +

on silverlight, we only get the "made it past assignment" alert.  on moonlight
we get both alerts.  On both systems, the second alert shows "0.5" for the
value of DownloadProgress.  So clearly its settable from JS, but setting the
property shouldn't result in the event being emitted.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list