[Mono-bugs] [Bug 375921] New: JS needs more type checking

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 1 11:03:19 EDT 2008


           Summary: JS needs more type checking
           Product: Moonlight
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: plugin
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rkvinge at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

test/js/assorted.html contains a (commented out) test which crashes moonlight:

testSettingObjectValue: function () {
        var line = $plugin ().content.createFromXaml ("<Line X1='' />");
        // This currently crashes moonlight.
        line.X1 = new Array ();

The problem is that our code assumes that "new Array ()" is a MoonlightObject,
it doesn't check the actual type of it.

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