Assets bundle contains plugin .js files but individual plugins' assets
are loaded from window.ASSETS_PATH + "/plugins/${pluginName}/urlhere"
This change updates expectations fixed in the test and excludes
window.CANONICAL_PATH from calculations when plugin is loaded from
another domain.
Bug: Issue 10197
Change-Id: Iafc918e529eebacb46b8584f01b1014b0147db52