Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import() test plan #7446

Open
14 of 35 tasks
domenic opened this issue Sep 22, 2017 · 0 comments
Open
14 of 35 tasks

import() test plan #7446

domenic opened this issue Sep 22, 2017 · 0 comments
Assignees
Labels

Comments

@domenic
Copy link
Member

domenic commented Sep 22, 2017

Ideal comprehensive test plan:

  • normal evaluation
    • works
    • inherits nonce
    • inherits parser metadata
    • inherits credentials mode
    • all this in both module and classic scripts
  • setTimeout
  • eval
    • works
    • inherits nonce
    • inherits parser metadata
    • inherits credentials mode
    • all this in both module and classic scripts
  • event handler content attributes via event dispatch
    • works
    • inherits nonce from triggering script
    • inherits parser metadata from triggering script
    • inherits credentials mode from triggering script
    • all this in both module and classic scripts
  • event handler content attributes via direct call (el.onclick())
    • works
    • inherits nonce from triggering script
    • inherits parser metadata from triggering script
    • inherits credentials mode from triggering script
    • all this in both module and classic scripts
  • Error cases:
  • Tricky cases: try to adapt existing test cases for errors, circular graphs, etc. by dynamically importing them

What else?

Tests so far: http://w3c-test.org/html/semantics/scripting-1/the-script-element/module/dynamic-import/

/cc @nyaxt @GeorgNeis @gsathya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants