Opened 8 years ago

Last modified 8 years ago

#15809 closed defect

loader exception when dojo loaded in body — at Initial Version

Reported by: bill Owned by: Rawld Gill
Priority: undecided Milestone: 1.9
Component: Loader Version: 1.7.3
Keywords: Cc:
Blocked By: Blocking:

Description

On the line:

insertPoint.insertBefore(node, sibling);

Both chrome and FF get a NOT_FOUND_ERR: DOM exception 8. insertPoint is <body>, and sibling is

<script type="dojo/require">
	lang: "dojo/_base/lang",
	ItemFileReadStore: "dojo/data/ItemFileReadStore",
	BorderContainer: "dijit/layout/BorderContainer",
	ContentPane: "dijit/layout/ContentPane",
	Editor: "dijit/Editor"
</script>

Why are these values weird? Because the test tries to be clever by putting the <script src="dojo.js"> at the end of <body> rather than in <head>.

I'm still not sure why the test gets that error though, or whether it's a valid test, but please take a look.

Change History (1)

Changed 8 years ago by bill

Attachment: editor.html added
Note: See TracTickets for help on using tickets.