WebPlatformTest / HTML5test

How well does your browser support HTML5?
https://html5test.com
MIT License
995 stars 193 forks source link

ES2015 module test fails #502

Closed WebReflection closed 7 years ago

WebReflection commented 7 years ago

screenshot from 2017-04-05 14-32-02

It looks like the only engine that really supports ES2015 modules also has CORS policy enabled by default so that inline eval-scripts are not allowed.

A try/catch wouldn't work neither so you rather try to load a ./module.js file with similar logic but a static callback name.

NielsLeenheer commented 7 years ago

It doesn't look like you override this behaviour using CSP headers. So loading an external file would be the easiest solution indeed.

NielsLeenheer commented 7 years ago

Fixed for version 9.0

WebReflection commented 7 years ago

did such version ship?

I keep seeing a NO under module support

screenshot from 2017-09-20 17-32-09

WebReflection commented 7 years ago

no answers in moths, closing this to remove it from my issues

dstorey commented 6 years ago

I know this has been fixed in V9 but Chrome started passing this in V8 and we looked at it and fixed the bug that made it not work, so my thought is the fix should be reverted and use the V8 test so that other browsers fix the bug.