This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 704 - Flaws with load and reporting in self-hosted tests
Summary: Flaws with load and reporting in self-hosted tests
Status: RESOLVED FIXED
Alias: None
Product: DOM TS
Classification: Unclassified
Component: ECMAScript Binding (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Curt Arnold
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-07 17:18 UTC by Curt Arnold
Modified: 2004-05-07 21:20 UTC (History)
0 users

See Also:


Attachments
Patches to svgunit.js, selfxhtml.js, selfhtml.js and implementation.xhtml (10.57 KB, patch)
2004-05-07 17:19 UTC, Curt Arnold
Details

Description Curt Arnold 2004-05-07 17:18:14 UTC
selfhtml.js, selfxhtml.js and svgunit.js contained similar flaws in the
implementation of "load" which causes load to always return the value of
document.  The intent was that subsequent calls to load would return
document.clone().  function load did not call builder.load and builder.load had
its own flaw.

getElementsByTagNameNS01 and 08 would fail in the SVG self-hosted tests since
the test initialization would add an element to place the name of the test in
the drawing before running the test.  The change in the number of elements
present in the document would cause the test to fail.  svgunit.js has been
changed so that the label is added after the test is run.

implementation.xhtml referenced selfhtml.js instead of selfxhtml.js.
Comment 1 Curt Arnold 2004-05-07 17:19:38 UTC
Created attachment 357 [details]
Patches to svgunit.js, selfxhtml.js, selfhtml.js and implementation.xhtml