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 600 - Test document loads stall using Opera
Summary: Test document loads stall using Opera
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-03-14 01:51 UTC by Curt Arnold
Modified: 2004-04-04 16:28 UTC (History)
0 users

See Also:


Attachments
Patches to DOMTestCase and test documents (166.78 KB, patch)
2004-03-14 01:52 UTC, Curt Arnold
Details
Forgot to update the fake XHTML DTD (1.69 KB, patch)
2004-03-14 15:51 UTC, Curt Arnold
Details
L3 Core test file DTD and schema fixes (20.54 KB, patch)
2004-03-16 11:51 UTC, Curt Arnold
Details
L3 Core hc_staff.xsd not changed or checked in build (1.94 KB, patch)
2004-03-19 00:21 UTC, Curt Arnold
Details

Description Curt Arnold 2004-03-14 01:51:10 UTC
The IFrame loader used an JSUnit utility function, jsUnitSetOnLoad, to 
register a callback to determine when test documents were loaded.  This 
utility function sniffed for a variety of mechanisms to accomplish this, but 
was not effective on Opera resulting in tests failing to detected that their 
documents were loaded before timing out.

The need for this function can be eliminated by placing an onload event 
handler within the test documents that informs the test framework that the 
document has been loaded.  After applying these changes, it was possible to 
run the L1 and L2 Core and HTML suites with Opera.
Comment 1 Curt Arnold 2004-03-14 01:52:26 UTC
Created attachment 308 [details]
Patches to DOMTestCase and test documents
Comment 2 Curt Arnold 2004-03-14 15:51:11 UTC
Created attachment 309 [details]
Forgot to update the fake XHTML DTD
Comment 3 Curt Arnold 2004-03-16 11:51:44 UTC
Created attachment 312 [details]
L3 Core test file DTD and schema fixes
Comment 4 Curt Arnold 2004-03-19 00:21:01 UTC
Created attachment 318 [details]
L3 Core hc_staff.xsd not changed or checked in build
Comment 5 Bob Clary 2004-04-04 12:28:50 UTC
Actually, I tested Opera and it worked fine in loading the test documents. The
jsUnitSetOnLoad was introduced so that Opera and Konqueror would both work and
did in my testing.