tests: Add a test for all `Stage.loaderInfo` properties that we weren't already testing for.

This commit is contained in:
David Wendt 2022-09-16 21:58:09 -04:00 committed by kmeisthax
parent 173b04cc5c
commit f101160abc
3 changed files with 16 additions and 2 deletions

View File

@ -1,10 +1,24 @@
//this.stage.loaderInfo.bytesLoaded //this.stage.loaderInfo.bytesLoaded
753 943
//this.stage.loaderInfo.bytesTotal //this.stage.loaderInfo.bytesTotal
753 943
//this.stage.loaderInfo.content === this //this.stage.loaderInfo.content === this
true true
//this.stage.loaderInfo.loaderURL.indexOf("test.swf") != -1 //this.stage.loaderInfo.loaderURL.indexOf("test.swf") != -1
true true
//this.stage.loaderInfo.applicationDomain !== null
true
//this.stage.loaderInfo.content === this
true
//this.stage.loaderInfo.isURLInaccessible
false
//this.stage.loaderInfo.url.indexOf("test.swf") != -1
true
//this.stage.loaderInfo.loader
null
//this.stage.loaderInfo.parameters !== null
true
//this.stage.loaderInfo.sharedEvents !== null
true
//this.stage.loaderInfo.contentType //this.stage.loaderInfo.contentType
null null