https://bugzilla.novell.com/show_bug.cgi?id=375921


           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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to