• Robert Knight's avatar
    Fix test failure in Chrome caused by lack of isolation between tests · d98aff1a
    Robert Knight authored
    A `<link>` tag with a relative URL from a previous test was causing
    problems in Chrome when testing the behavior of `Document#uri` in
    documents with a non-HTTP/file `<base>`.
    
    That is an edge case which we may want to cover at some point, but the
    more significant issue is that the `Document#uri` tests were not
    isolated from the earlier ones. Modify the `createDoc` helper so that it
    uses a blank HTML document instead of using the global `document`
    object.
    d98aff1a
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
yarn.lock Loading commit data...