- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 24 Oct 2008 07:29:19 +0000
- To: www-svg@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6183 Summary: udom-glob-204-t.svg is an invalid test Product: SVG Version: SVG 1.2 Tiny Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Micro DOM (uDOM) AssignedTo: schepers@w3.org ReportedBy: generalangrymike@gmail.com QAContact: www-svg@w3.org According to the specification at: http://www.w3.org/TR/SVGMobile12/svgudom.html#svg__SVGGlobal_getURL void getURL(in DOMString iri, in AsyncStatusCallback callback) GetUrl must pass in an object for the AsynStatusCallback. This object must implement the interface of operationComplete. The ECMA script bindings have the same requirements. http://www.w3.org/TR/SVGMobile12/ecmascript-binding.html In the test file the following code is used: function callback(i) { this.fn = function(status) { updateStatus("actual" + i, status); }; } var callbacks = new Array(rows.length); { for(var i = 0; i < rows.length; i++) { constructRow(i); callbacks[i] = new callback(i); getURL(rows[i].url, callbacks[i].fn); } } This is invalid according to the specification. this.fn should be changed to this.operationComplete and getURL(rows[i].url, callbacks[i].fn); should be changed to: getURL(rows[i].url, callbacks[i]); Another option is to change the specification to allow functions to be passed in, as well as an object. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Friday, 24 October 2008 07:29:27 UTC