]> source.dussan.org Git - jquery.git/commit
Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 4 Mar 2019 17:30:51 +0000 (18:30 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Mar 2019 17:30:51 +0000 (18:30 +0100)
commit9cb124ed00aad8ac47690e31ad0bb8c3c365663d
tree4cfbdd63f3dbe87398b8bde41de1f2e65ed3c4f2
parentc10945d0e15c5048ae8b5b7e3f8241ad27671a7c
Build: Update jsdom; migrate a test with Symbol polyfill to an iframe test

So far, we've been testing that jQuery element iteration works with polyfilled
Symbol & transpiled for-of via a Node test with jsdom with the Symbol global
removed. Unfortunately, jsdom now requires Symbol to be present for its internal
functionality so such a test is no longer possible. Instead, it's been migrated
to an iframe test with transpiled JavaScript.

This PR also enables us to use ECMAScript 2017 or newer in Node.js code.

Closes gh-4305
19 files changed:
.eslintignore
.eslintrc-node.json
.gitignore
Gruntfile.js
build/tasks/node_smoke_tests.js
package.json
test/.eslintrc.json
test/data/core/jquery-iterability-transpiled-es6.js [new file with mode: 0644]
test/data/core/jquery-iterability-transpiled.html [new file with mode: 0644]
test/node_smoke_tests/document_missing.js
test/node_smoke_tests/document_passed.js
test/node_smoke_tests/document_present_originally.js
test/node_smoke_tests/iterable_with_symbol_polyfill.js [deleted file]
test/node_smoke_tests/lib/ensure_global_not_created.js
test/node_smoke_tests/lib/ensure_iterability_es6.js
test/node_smoke_tests/lib/ensure_jquery.js
test/promises_aplus_adapters/deferred.js
test/promises_aplus_adapters/when.js
test/unit/core.js