Diff of the two buildlogs: -- --- b1/build.log 2024-05-01 13:52:52.709916523 +0000 +++ b2/build.log 2024-05-01 14:14:10.739555026 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 01:30:23 -12 2024 -I: pbuilder-time-stamp: 1714570223 +I: Current time: Thu May 2 03:53:06 +14 2024 +I: pbuilder-time-stamp: 1714571586 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -88,52 +88,84 @@ dpkg-source: info: applying fix-for-https-proxy-agent-7.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/24703/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 1 13:54 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='25f23376b2414826882b6bd15862a110' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='24703' - PS1='# ' - PS2='> ' + INVOCATION_ID=f613bab8b7484a5ead22470fee7a67d6 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10924 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.O80Dhxzx/pbuilderrc_tJpN --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O80Dhxzx/b1 --logfile b1/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.O80Dhxzx/pbuilderrc_cViH --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.O80Dhxzx/b2 --logfile b2/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4a 6.1.0-20-armmp #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/24703/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 28 07:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -657,7 +689,7 @@ Get: 428 http://deb.debian.org/debian unstable/main armhf node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] Get: 429 http://deb.debian.org/debian unstable/main armhf node-yn all 4.0.0-3 [4936 B] Get: 430 http://deb.debian.org/debian unstable/main armhf ts-node all 10.9.2+~cs64.13.20-1 [173 kB] -Fetched 56.6 MB in 9s (6417 kB/s) +Fetched 56.6 MB in 8s (6784 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package netbase. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19440 files and directories currently installed.) @@ -2405,7 +2437,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../node-jsdom_20.0.3+~cs124.18.21-4_source.changes +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/10924/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../node-jsdom_20.0.3+~cs124.18.21-4_source.changes dpkg-buildpackage: info: source package node-jsdom dpkg-buildpackage: info: source version 20.0.3+~cs124.18.21-4 dpkg-buildpackage: info: source distribution unstable @@ -2582,27 +2618,29 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21' cd debian/build_modules/webidl2 && babeljs-7 -d dist --presets @babel/preset-env --plugins @babel/plugin-transform-runtime lib/ -Successfully compiled 31 files with Babel (34029ms). +Successfully compiled 31 files with Babel (35549ms). dh_auto_build --buildsystem=nodejs No build command found, searching known files -No build command found, searching known files -No build command found, searching known files -No build command found, searching known files -No build command found, searching known files -No build command found, searching known files +Found debian/nodejs/whatwg-encoding/build + cd ./whatwg-encoding && sh -ex ../debian/nodejs/whatwg-encoding/build ++ mkdir -p lib ++ cp ../debian/nodejs/whatwg-encoding/missing/labels-to-names.json ../debian/nodejs/whatwg-encoding/missing/supported-names.json lib/ Found debian/nodejs/whatwg-url/build cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/build + node scripts/transform.js No build command found, searching known files No build command found, searching known files -Found debian/nodejs/whatwg-encoding/build - cd ./whatwg-encoding && sh -ex ../debian/nodejs/whatwg-encoding/build -+ mkdir -p lib -+ cp ../debian/nodejs/whatwg-encoding/missing/labels-to-names.json ../debian/nodejs/whatwg-encoding/missing/supported-names.json lib/ No build command found, searching known files No build command found, searching known files No build command found, searching known files No build command found, searching known files +Found debian/nodejs/xmlchars/build + cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build ++ tsc --outDir . +Found debian/nodejs/saxes/build + cd ./saxes && sh -ex ../debian/nodejs/saxes/build ++ tsc ++ mv build/dist/saxes.d.ts build/dist/saxes.js build/dist/saxes.js.map . No build command found, searching known files No build command found, searching known files Found debian/nodejs/domexception/build @@ -2617,13 +2655,11 @@ No build command found, searching known files No build command found, searching known files No build command found, searching known files -Found debian/nodejs/xmlchars/build - cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build -+ tsc --outDir . -Found debian/nodejs/saxes/build - cd ./saxes && sh -ex ../debian/nodejs/saxes/build -+ tsc -+ mv build/dist/saxes.d.ts build/dist/saxes.js build/dist/saxes.js.map . +No build command found, searching known files +No build command found, searching known files +No build command found, searching known files +No build command found, searching known files +No build command found, searching known files No build command found, searching known files cp debian/whatwg-encoding/* whatwg-encoding/lib/ cp debian/tr46/* tr46/lib/ @@ -2642,68 +2678,68 @@ Testing decimal.js - Testing absoluteValue... 100 of 100 tests passed in 39 ms - Testing acos... 50 of 50 tests passed in 1745 ms - Testing acosh... 50 of 50 tests passed in 512 ms - Testing asin... 50 of 50 tests passed in 948 ms - Testing asinh... 50 of 50 tests passed in 461 ms - Testing atan... 50 of 50 tests passed in 1508 ms - Testing atan2... 100 of 100 tests passed in 737 ms - Testing atanh... 50 of 50 tests passed in 402 ms - Testing cubeRoot... 50 of 50 tests passed in 315 ms - Testing ceil... 50 of 50 tests passed in 10 ms - Testing clamp... 29 of 29 tests passed in 12 ms - Testing clone... 65 of 65 tests passed in 36 ms - Testing comparedTo... 1000 of 1000 tests passed in 164 ms - Testing config... 206 of 206 tests passed in 121 ms - Testing cos... 101 of 101 tests passed in 499 ms - Testing cosh... 100 of 100 tests passed in 386 ms - Testing Decimal... 987 of 987 tests passed in 331 ms - Testing dividedBy... 1000 of 1000 tests passed in 571 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 586 ms - Testing decimalPlaces and precision... 133 of 133 tests passed in 16 ms - Testing exp... 100 of 100 tests passed in 487 ms - Testing floor... 100 of 100 tests passed in 18 ms - Testing hypot... 100 of 100 tests passed in 216 ms - Testing immutability... 3311 of 3311 tests passed in 5217 ms - Testing integer pow... 500 of 500 tests passed in 421 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 40 ms - Testing ln... 499 of 499 tests passed in 2987 ms - Testing log... 200 of 200 tests passed in 2001 ms - Testing log10... 500 of 500 tests passed in 2500 ms - Testing log2... 200 of 200 tests passed in 2183 ms - Testing min and max... 100 of 100 tests passed in 33 ms - Testing minus... 1000 of 1000 tests passed in 281 ms - Testing modulo... 1000 of 1000 tests passed in 1316 ms - Testing negated... 200 of 200 tests passed in 49 ms - Testing plus... 1000 of 1000 tests passed in 341 ms - Testing pow... 108 of 108 tests passed in 1360 ms - Testing random... 1000 of 1000 tests passed in 374 ms - Testing round... 500 of 500 tests passed in 66 ms - Testing sign... 16 of 16 tests passed in 2 ms - Testing sin... 100 of 100 tests passed in 734 ms - Testing sinh... 100 of 100 tests passed in 351 ms - Testing sqrt... 1000 of 1000 tests passed in 1185 ms - Testing sum... 37 of 37 tests passed in 8 ms - Testing tan... 100 of 100 tests passed in 854 ms - Testing tanh... 100 of 100 tests passed in 710 ms - Testing times... 1000 of 1000 tests passed in 272 ms - Testing toBinary... 327 of 327 tests passed in 351 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 92 ms + Testing absoluteValue... 100 of 100 tests passed in 19 ms + Testing acos... 50 of 50 tests passed in 1042 ms + Testing acosh... 50 of 50 tests passed in 307 ms + Testing asin... 50 of 50 tests passed in 600 ms + Testing asinh... 50 of 50 tests passed in 247 ms + Testing atan... 50 of 50 tests passed in 735 ms + Testing atan2... 100 of 100 tests passed in 417 ms + Testing atanh... 50 of 50 tests passed in 323 ms + Testing cubeRoot... 50 of 50 tests passed in 312 ms + Testing ceil... 50 of 50 tests passed in 8 ms + Testing clamp... 29 of 29 tests passed in 4 ms + Testing clone... 65 of 65 tests passed in 24 ms + Testing comparedTo... 1000 of 1000 tests passed in 127 ms + Testing config... 206 of 206 tests passed in 108 ms + Testing cos... 101 of 101 tests passed in 395 ms + Testing cosh... 100 of 100 tests passed in 424 ms + Testing Decimal... 987 of 987 tests passed in 225 ms + Testing dividedBy... 1000 of 1000 tests passed in 404 ms + Testing dividedToIntegerBy... 1000 of 1000 tests passed in 203 ms + Testing decimalPlaces and precision... 133 of 133 tests passed in 18 ms + Testing exp... 100 of 100 tests passed in 189 ms + Testing floor... 100 of 100 tests passed in 7 ms + Testing hypot... 100 of 100 tests passed in 173 ms + Testing immutability... 3341 of 3341 tests passed in 3429 ms + Testing integer pow... 500 of 500 tests passed in 230 ms + Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 18 ms + Testing ln... 499 of 499 tests passed in 1819 ms + Testing log... 200 of 200 tests passed in 1488 ms + Testing log10... 500 of 500 tests passed in 1504 ms + Testing log2... 200 of 200 tests passed in 1143 ms + Testing min and max... 100 of 100 tests passed in 16 ms + Testing minus... 1000 of 1000 tests passed in 170 ms + Testing modulo... 1000 of 1000 tests passed in 722 ms + Testing negated... 200 of 200 tests passed in 16 ms + Testing plus... 1000 of 1000 tests passed in 229 ms + Testing pow... 108 of 108 tests passed in 823 ms + Testing random... 1000 of 1000 tests passed in 227 ms + Testing round... 500 of 500 tests passed in 69 ms + Testing sign... 16 of 16 tests passed in 3 ms + Testing sin... 100 of 100 tests passed in 834 ms + Testing sinh... 100 of 100 tests passed in 424 ms + Testing sqrt... 1000 of 1000 tests passed in 836 ms + Testing sum... 37 of 37 tests passed in 7 ms + Testing tan... 100 of 100 tests passed in 889 ms + Testing tanh... 100 of 100 tests passed in 802 ms + Testing times... 1000 of 1000 tests passed in 149 ms + Testing toBinary... 327 of 327 tests passed in 215 ms + Testing toDecimalPlaces... 500 of 500 tests passed in 96 ms Testing toExponential... 500 of 500 tests passed in 102 ms - Testing toFixed... 500 of 500 tests passed in 150 ms - Testing toFraction... 200 of 200 tests passed in 1077 ms - Testing toHex... 309 of 309 tests passed in 109 ms - Testing toNearest... 157 of 157 tests passed in 26 ms + Testing toFixed... 500 of 500 tests passed in 89 ms + Testing toFraction... 200 of 200 tests passed in 704 ms + Testing toHex... 309 of 309 tests passed in 133 ms + Testing toNearest... 157 of 157 tests passed in 29 ms Testing toNumber... 40 of 40 tests passed in 6 ms - Testing toOctal... 293 of 293 tests passed in 166 ms + Testing toOctal... 293 of 293 tests passed in 74 ms Testing toPrecision... 500 of 500 tests passed in 105 ms - Testing toSignificantDigits... 500 of 500 tests passed in 84 ms - Testing toString... 338 of 338 tests passed in 34 ms - Testing trunc... 100 of 100 tests passed in 19 ms - Testing valueOf... 40 of 40 tests passed in 4 ms + Testing toSignificantDigits... 500 of 500 tests passed in 82 ms + Testing toString... 338 of 338 tests passed in 32 ms + Testing trunc... 100 of 100 tests passed in 10 ms + Testing valueOf... 40 of 40 tests passed in 3 ms - In total, 22610 of 22610 tests passed in 36.963 secs. + In total, 22640 of 22640 tests passed in 24.945 secs. cd ./is-potential-custom-element-name && sh -ex ../debian/nodejs/is-potential-custom-element-name/test + mocha @@ -2711,64 +2747,65 @@ is-potential-custom-element-name undefined returns a boolean indicating whether the given string is a potential custom element name - undefined avoids excess backtracking (427ms) + undefined avoids excess backtracking (370ms) - 2 passing (541ms) + 2 passing (436ms) cd ./w3c-xmlserializer && sh -ex ../debian/nodejs/w3c-xmlserializer/test + ln -s .. ../node_modules/jsdom ln: failed to create symbolic link '../node_modules/jsdom/..': File exists + true -+ NODE_PATH=../node_modules jest --ci -PASS test/test.js (187.637 s) ++ NODE_PATH=../node_modules ++ jest --ci +PASS test/test.js (203.922 s) Derived from WPT xml-serialization.xhtml - ✓ Comment: containing -- (88 ms) - ✓ Comment: starting with - (8 ms) - ✓ Comment: ending with - (7 ms) - ✓ Comment: containing --> (7 ms) - ✓ DocumentType: empty public and system id (28 ms) - ✓ DocumentType: empty system id (13 ms) + ✓ Comment: containing -- (51 ms) + ✓ Comment: starting with - (5 ms) + ✓ Comment: ending with - (4 ms) + ✓ Comment: containing --> (4 ms) + ✓ DocumentType: empty public and system id (15 ms) + ✓ DocumentType: empty system id (70 ms) ✓ DocumentType: empty public id (8 ms) ✓ DocumentType: non-empty public and system id (8 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) (11 ms) - ✓ DocumentType: 'QUOTATION MARK' (U+0022) (11 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) (9 ms) + ✓ DocumentType: 'QUOTATION MARK' (U+0022) (10 ms) ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (14 ms) - ✓ Element: href attributes are not percent-encoded (84 ms) + ✓ Element: href attributes are not percent-encoded (79 ms) ✓ Element: query parts in href attributes are not percent-encoded (17 ms) ✓ ProcessingInstruction: empty data (19 ms) - ✓ ProcessingInstruction: non-empty data (6 ms) + ✓ ProcessingInstruction: non-empty data (7 ms) ✓ ProcessingInstruction: target contains xml (8 ms) ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (6 ms) Derived from WPT XMLSerializer-serializeToString.html ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (63 ms) - ✓ Check if the default namespace is correctly reset. (136 ms) - ✓ Check if there is no redundant empty namespace declaration. (45 ms) - ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (43 ms) - ✓ Check if unknown prefixes are handled correctly (47 ms) - ✓ Check CDATASection nodes are serialized correctly (33 ms) + ✓ Check if the default namespace is correctly reset. (74 ms) + ✓ Check if there is no redundant empty namespace declaration. (46 ms) + ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (41 ms) + ✓ Check if unknown prefixes are handled correctly (45 ms) + ✓ Check CDATASection nodes are serialized correctly (37 ms) Well-formedness test cases - ✓ Check Characters are in range (495 ms) + ✓ Check Characters are in range (444 ms) Our own test cases - ✓ Check prefix memoization (GH-5) (32 ms) - ✓ Serializes custom prefixes (55 ms) - ✓ Serializes tab characters (42 ms) + ✓ Check prefix memoization (GH-5) (27 ms) + ✓ Serializes custom prefixes (49 ms) + ✓ Serializes tab characters (21 ms) Test Suites: 1 passed, 1 total Tests: 27 passed, 27 total Snapshots: 0 total -Time: 197.063 s +Time: 211.575 s Ran all test suites. + rm -f ../node_modules/jsdom cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/test + jest --ci test/mdn.js test/file-url-origin.js -PASS test/file-url-origin.js (16.859 s) -PASS test/mdn.js (17.007 s) +PASS test/file-url-origin.js (11.305 s) +PASS test/mdn.js (11.467 s) Test Suites: 2 passed, 2 total Tests: 3 passed, 3 total Snapshots: 0 total -Time: 37.669 s +Time: 25.837 s Ran all test suites matching /test\/mdn.js|test\/file-url-origin.js/i. cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/test + mocha @@ -2781,441 +2818,441 @@ JSDOM instances: basics - undefined should have a window and a document (1099ms) - undefined should have a document with documentElement when no arguments are passed (125ms) + undefined should have a window and a document (1059ms) + undefined should have a document with documentElement when no arguments are passed (118ms) JSDOM() constructor first argument - undefined should populate the resulting document with the given HTML (186ms) - undefined should give the same document innerHTML for empty and whitespace and omitted strings (422ms) - undefined should coerce null to a string (388ms) + undefined should populate the resulting document with the given HTML (166ms) + undefined should give the same document innerHTML for empty and whitespace and omitted strings (378ms) + undefined should coerce null to a string (350ms) error reporting - undefined should include the URL when reporting an XML parse error (247ms) + undefined should include the URL when reporting an XML parse error (233ms) Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (1559ms) - undefined should share cookies when a cookie jar is shared (534ms) + undefined should have correct secure and HTTP-only cookie semantics (1571ms) + undefined should share cookies when a cookie jar is shared (739ms) document.cookie - undefined reflects back what is set to it (128ms) - undefined reflects back cookies set from the server while requesting the page (176ms) - undefined reflects back cookies set from the server while requesting a script (310ms) - undefined reflects back cookies set from the server on an XHR response (196ms) - undefined should not crash or set cookies when requesting a file URL (GH-1180) (180ms) - undefined should not contain expired cookies (GH-1027) (86ms) + undefined reflects back what is set to it (191ms) + undefined reflects back cookies set from the server while requesting the page (258ms) + undefined reflects back cookies set from the server while requesting a script (452ms) + undefined reflects back cookies set from the server on an XHR response (269ms) + undefined should not crash or set cookies when requesting a file URL (GH-1180) (197ms) + undefined should not contain expired cookies (GH-1027) (97ms) sent with requests - undefined should send the Cookies header with a script request (234ms) - undefined should send the Cookies header with an XHR request (218ms) - undefined should gather cookies from redirects (GH-1089) (238ms) + undefined should send the Cookies header with a script request (244ms) + undefined should send the Cookies header with an XHR request (293ms) + undefined should gather cookies from redirects (GH-1089) (335ms) API: encoding detection constructor, given a string - undefined should default to UTF-8 when passing a string (78ms) - undefined should default to UTF-8 when passing nothing (73ms) - undefined should default to UTF-8 when passing null (71ms) + undefined should default to UTF-8 when passing a string (102ms) + undefined should default to UTF-8 when passing nothing (70ms) + undefined should default to UTF-8 when passing null (72ms) constructor, given binary data with no contentType option given Buffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (191ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (108ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (103ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (84ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (85ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (77ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (98ms) - undefined should sniff utf-8-bom.html as UTF-8 (106ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (107ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (103ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (180ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (107ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (114ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (88ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (151ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (120ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (170ms) + undefined should sniff utf-8-bom.html as UTF-8 (168ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (147ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (98ms) Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (97ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (91ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (90ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (79ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (179ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (94ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (92ms) - undefined should sniff utf-8-bom.html as UTF-8 (99ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (92ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (110ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (208ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (187ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (242ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (160ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (173ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (169ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (103ms) + undefined should sniff utf-8-bom.html as UTF-8 (158ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (164ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (146ms) ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (112ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (90ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (89ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (82ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (76ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (86ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (83ms) - undefined should sniff utf-8-bom.html as UTF-8 (79ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (94ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (87ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (190ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (160ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (84ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (77ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (85ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (77ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (158ms) + undefined should sniff utf-8-bom.html as UTF-8 (157ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (185ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (129ms) DataView - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (87ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (88ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (82ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (75ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (86ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (97ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (89ms) - undefined should sniff utf-8-bom.html as UTF-8 (96ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (97ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (162ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (88ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (107ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (83ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (76ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (138ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (137ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (185ms) + undefined should sniff utf-8-bom.html as UTF-8 (224ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (174ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (109ms) Int8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (126ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (98ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (102ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (100ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (222ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (150ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (105ms) - undefined should sniff utf-8-bom.html as UTF-8 (98ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (92ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (82ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (119ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (97ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (81ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (177ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (273ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (223ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (166ms) + undefined should sniff utf-8-bom.html as UTF-8 (182ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (136ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (127ms) with a contentType option specifying csiso88598e Buffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (105ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (97ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (98ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (88ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (82ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (87ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (87ms) - undefined should sniff utf-8-bom.html as UTF-8 (169ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (138ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (93ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (163ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (132ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (128ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (143ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (129ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (127ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (131ms) + undefined should sniff utf-8-bom.html as UTF-8 (130ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (150ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (125ms) Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (98ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (124ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (97ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (74ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (79ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (81ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (124ms) - undefined should sniff utf-8-bom.html as UTF-8 (116ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (89ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (86ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (148ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (150ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (213ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (82ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (87ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (91ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (74ms) + undefined should sniff utf-8-bom.html as UTF-8 (89ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (52ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (152ms) ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (110ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (118ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (96ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (112ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (111ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (101ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (97ms) - undefined should sniff utf-8-bom.html as UTF-8 (101ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (107ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (104ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (83ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (123ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (168ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (134ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (232ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (169ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (184ms) + undefined should sniff utf-8-bom.html as UTF-8 (206ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (186ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (136ms) DataView - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (130ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (198ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (106ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (85ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (97ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (93ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (123ms) - undefined should sniff utf-8-bom.html as UTF-8 (150ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (98ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (102ms) - Int8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (95ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (99ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (222ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (116ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (180ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (150ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (172ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (169ms) undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (154ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (85ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (115ms) - undefined should sniff utf-8-bom.html as UTF-8 (100ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (103ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (106ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (119ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (167ms) + undefined should sniff utf-8-bom.html as UTF-8 (139ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (164ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (175ms) + Int8Array + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (117ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (121ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (138ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (198ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (152ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (162ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (178ms) + undefined should sniff utf-8-bom.html as UTF-8 (138ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (172ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (107ms) fromFile - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (208ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (119ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (159ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (109ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (108ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (97ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (180ms) - undefined should sniff utf-8-bom.html as UTF-8 (175ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (127ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (111ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (103ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (112ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (98ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (199ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (107ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (83ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (83ms) + undefined should sniff utf-8-bom.html as UTF-8 (84ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (85ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (88ms) fromURL with no Content-Type header given - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (265ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (208ms) - undefined should sniff no-bom-charset-koi8.html as KOI8-R (166ms) - undefined should sniff no-bom-charset-utf-16.html as UTF-8 (149ms) - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (206ms) - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (207ms) - undefined should sniff no-bom-no-charset.html as windows-1252 (150ms) - undefined should sniff utf-8-bom.html as UTF-8 (325ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (152ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (131ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 (188ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 (307ms) + undefined should sniff no-bom-charset-koi8.html as KOI8-R (121ms) + undefined should sniff no-bom-charset-utf-16.html as UTF-8 (117ms) + undefined should sniff no-bom-charset-utf-16be.html as UTF-8 (121ms) + undefined should sniff no-bom-charset-utf-16le.html as UTF-8 (119ms) + undefined should sniff no-bom-no-charset.html as windows-1252 (124ms) + undefined should sniff utf-8-bom.html as UTF-8 (123ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (510ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (249ms) with a Content-Type header specifying csiso88598e - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (161ms) - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (150ms) - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (183ms) - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (136ms) - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (277ms) - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (134ms) - undefined should sniff no-bom-no-charset.html as ISO-8859-8 (186ms) - undefined should sniff utf-8-bom.html as UTF-8 (149ms) - undefined should sniff utf-16be-bom.html as UTF-16BE (258ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (160ms) + undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 (171ms) + undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 (126ms) + undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 (123ms) + undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 (191ms) + undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 (117ms) + undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 (117ms) + undefined should sniff no-bom-no-charset.html as ISO-8859-8 (120ms) + undefined should sniff utf-8-bom.html as UTF-8 (120ms) + undefined should sniff utf-16be-bom.html as UTF-16BE (222ms) + undefined should sniff utf-16le-bom.html as UTF-16LE (200ms) API: JSDOM.fragment() - undefined should return a DocumentFragment (145ms) + undefined should return a DocumentFragment (95ms) undefined should return fragments with shared owner documents each time undefined should return a fragment with no associated browsing context - undefined should allow basic DOM querying (149ms) - undefined should allow basic DOM manipulation (41ms) + undefined should allow basic DOM querying (103ms) + undefined should allow basic DOM manipulation undefined should ignore any options passed in undefined should default to no nodes API: JSDOM.fromFile() undefined should return a rejected promise for a nonexistant file - undefined should use the file contents of a file that exists (131ms) + undefined should use the file contents of a file that exists (218ms) contentType option defaulting - undefined should default to text/html Content-Type even with no file extension (115ms) - undefined should default to application/xhtml+xml Content-Type for .xhtml files (148ms) - undefined should default to application/xhtml+xml Content-Type for .xht files (215ms) - undefined should default to application/xhtml+xml Content-Type for .xml files (103ms) - undefined should allow overriding the Content-Type for .xhtml files (106ms) - undefined should allow overriding the Content-Type for .xht files (96ms) - undefined should allow overriding the Content-Type for .xml files (113ms) + undefined should default to text/html Content-Type even with no file extension (103ms) + undefined should default to application/xhtml+xml Content-Type for .xhtml files (108ms) + undefined should default to application/xhtml+xml Content-Type for .xht files (152ms) + undefined should default to application/xhtml+xml Content-Type for .xml files (200ms) + undefined should allow overriding the Content-Type for .xhtml files (152ms) + undefined should allow overriding the Content-Type for .xht files (116ms) + undefined should allow overriding the Content-Type for .xml files (146ms) url option defaulting - undefined should default to a file URL derived from the filename (175ms) - undefined should allow overriding the URL (89ms) + undefined should default to a file URL derived from the filename (144ms) + undefined should allow overriding the URL (174ms) Test cases only possible to test from the outside - undefined window.close() should prevent timers from registering and cause them to return 0 (107ms) - undefined window.close() should stop a setInterval() (333ms) - undefined window.close() should work from within a load event listener (112ms) + undefined window.close() should prevent timers from registering and cause them to return 0 (94ms) + undefined window.close() should stop a setInterval() (219ms) + undefined window.close() should work from within a load event listener (93ms) API: JSDOM.fromURL() undefined should return a rejected promise for a bad URL - undefined should return a rejected promise for a 404 (67ms) - undefined should return a rejected promise for a 500 (49ms) - undefined should use the body of 200 responses (185ms) - undefined should use the body of 301 responses (174ms) - undefined should be able to handle gzipped bodies (156ms) - undefined should send a HTML-preferring Accept header (129ms) - undefined should send an Accept-Language: en header (126ms) + undefined should return a rejected promise for a 404 (71ms) + undefined should return a rejected promise for a 500 (57ms) + undefined should use the body of 200 responses (184ms) + undefined should use the body of 301 responses (177ms) + undefined should be able to handle gzipped bodies (186ms) + undefined should send a HTML-preferring Accept header (184ms) + undefined should send an Accept-Language: en header (255ms) user agent - undefined should use the default user agent as the User-Agent header when none is given (276ms) + undefined should use the default user agent as the User-Agent header when none is given (123ms) referrer undefined should reject when passing an invalid absolute URL for referrer - undefined should not send a Referer header when no referrer option is given (143ms) - undefined should use the supplied referrer option as a Referer header (144ms) - undefined should canonicalize referrer URLs before using them as a Referer header (206ms) - undefined should use the redirect source URL as the referrer, overriding a provided one (286ms) + undefined should not send a Referer header when no referrer option is given (158ms) + undefined should use the supplied referrer option as a Referer header (177ms) + undefined should canonicalize referrer URLs before using them as a Referer header (139ms) + undefined should use the redirect source URL as the referrer, overriding a provided one (137ms) inferring options from the response url - undefined should use the URL fetched for a 200 (161ms) - undefined should preserve full request URL (114ms) - undefined should use the ultimate response URL after a redirect (198ms) - undefined should preserve fragments when processing redirects (143ms) + undefined should use the URL fetched for a 200 (100ms) + undefined should preserve full request URL (110ms) + undefined should use the ultimate response URL after a redirect (215ms) + undefined should preserve fragments when processing redirects (198ms) undefined should disallow passing a URL manually contentType - undefined should use the content type fetched for a 200 (105ms) - undefined should use the ultimate response content type after a redirect (133ms) + undefined should use the content type fetched for a 200 (102ms) + undefined should use the ultimate response content type after a redirect (132ms) undefined should disallow passing a content type manually cookie jar integration - undefined should send applicable cookies in a supplied cookie jar (124ms) - undefined should store cookies set by the server in a supplied cookie jar (199ms) - undefined should store cookies set by the server in a newly-created cookie jar (128ms) + undefined should send applicable cookies in a supplied cookie jar (119ms) + undefined should store cookies set by the server in a supplied cookie jar (296ms) + undefined should store cookies set by the server in a newly-created cookie jar (270ms) API: virtual console jsdomErrors - undefined should not emit invalid stylesheet errors due to spaces (GH-2123) (167ms) - undefined should emit unhandled null value thrown in inline event handlers (158ms) + undefined should not emit invalid stylesheet errors due to spaces (GH-2123) (280ms) + undefined should emit unhandled null value thrown in inline event handlers (113ms) API: JSDOM class's methods serialize - undefined should serialize the default document correctly (84ms) - undefined should serialize a text-only document correctly (87ms) - undefined should serialize a document with HTML correctly (91ms) - undefined should serialize documents with omitted and varying-case html or body tags correctly (415ms) + undefined should serialize the default document correctly (79ms) + undefined should serialize a text-only document correctly (107ms) + undefined should serialize a document with HTML correctly (127ms) + undefined should serialize documents with omitted and varying-case html or body tags correctly (593ms) nodeLocation - undefined should throw when includeNodeLocations is left as the default (false) (100ms) - undefined should throw when includeNodeLocations is set explicitly to false (89ms) - undefined should give the correct location for an element (101ms) - undefined should give the correct location for a text node (92ms) - undefined should give the correct location for a void element (138ms) - undefined should return undefined for nodes created by innerHTML (112ms) - undefined should return undefined for nodes created by outerHTML (99ms) - undefined should return undefined for nodes created by createContextualFragment (105ms) + undefined should throw when includeNodeLocations is left as the default (false) (125ms) + undefined should throw when includeNodeLocations is set explicitly to false (113ms) + undefined should give the correct location for an element (138ms) + undefined should give the correct location for a text node (105ms) + undefined should give the correct location for a void element (186ms) + undefined should return undefined for nodes created by innerHTML (138ms) + undefined should return undefined for nodes created by outerHTML (125ms) + undefined should return undefined for nodes created by createContextualFragment (118ms) getInternalVMContext - undefined should throw when runScripts is left as the default (88ms) - undefined should work when runScripts is set to "outside-only" (122ms) - undefined should work when runScripts is set to "dangerously" (123ms) - undefined should return the result of the evaluation (123ms) - undefined should work with the same script multiple times (219ms) - undefined should allow passing through options (166ms) + undefined should throw when runScripts is left as the default (81ms) + undefined should work when runScripts is set to "outside-only" (123ms) + undefined should work when runScripts is set to "dangerously" (114ms) + undefined should return the result of the evaluation (130ms) + undefined should work with the same script multiple times (117ms) + undefined should allow passing through options (193ms) reconfigure windowTop - undefined should reconfigure the window.top property (tested from the outside) (86ms) - undefined should reconfigure the window.top property (tested from the inside) (123ms) - undefined should do nothing when no options are passed (79ms) - undefined should change window.top to undefined if passing undefined (80ms) + undefined should reconfigure the window.top property (tested from the outside) (110ms) + undefined should reconfigure the window.top property (tested from the inside) (97ms) + undefined should do nothing when no options are passed (88ms) + undefined should change window.top to undefined if passing undefined (105ms) url - undefined should successfully change the URL (106ms) - undefined should throw and not impact the URL when trying to change to an unparseable URL (270ms) - undefined should not throw and not impact the URL when no url option is given (88ms) + undefined should successfully change the URL (399ms) + undefined should throw and not impact the URL when trying to change to an unparseable URL (106ms) + undefined should not throw and not impact the URL when no url option is given (62ms) API: runScripts constructor option undefined should disallow other values