Sigh, This is getting ridiculous. The problems seem to be that the folks who wrote the webcomponents polyfill either neglected to mention browser differences or the browsers are being stupid at following specs.
Chrome blocks on HTML Imports
Firefox does not
So the fix that worked for Firefox cause chrome to execute mocha.run before the test cases were loaded. (╯°□°)╯︵┻━┻
Also, Safari returns length as an enumerable when Chrome and Firefox do not. Again I got bit by using Vanilla JS and only MDN.
Changing the order fixes it. I swear I've now tested this in
Sigh, This is getting ridiculous. The problems seem to be that the folks who wrote the webcomponents polyfill either neglected to mention browser differences or the browsers are being stupid at following specs.
So the fix that worked for Firefox cause chrome to execute mocha.run before the test cases were loaded. (╯°□°)╯︵┻━┻
Also, Safari returns length as an enumerable when Chrome and Firefox do not. Again I got bit by using Vanilla JS and only MDN.
Changing the order fixes it. I swear I've now tested this in
Really sorry for the multiple pull requests.