Diff of the two buildlogs: -- --- b1/build.log 2025-11-25 16:03:07.746723761 +0000 +++ b2/build.log 2025-11-25 16:04:42.066825199 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Nov 25 04:01:08 -12 2025 -I: pbuilder-time-stamp: 1764086469 +I: Current time: Tue Dec 29 12:26:10 +14 2026 +I: pbuilder-time-stamp: 1798496770 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -87,53 +87,85 @@ dpkg-source: info: applying fix-punycode.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/55970/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/880553/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Dec 28 22:26 /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/880553/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/880553/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='arm64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 nocheck' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='25f99da20ddc49da8bbeed7322529b89' - 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='55970' - PS1='# ' - PS2='> ' + INVOCATION_ID=e066b4c515ee41339e2c60dafc401a8b + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=880553 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.XeSJcxmM/pbuilderrc_zrP8 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XeSJcxmM/b1 --logfile b1/build.log node-jsdom_20.0.3+~cs124.18.21-6.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.XeSJcxmM/pbuilderrc_e5ZG --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XeSJcxmM/b2 --logfile b2/build.log node-jsdom_20.0.3+~cs124.18.21-6.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.12.57+deb13-cloud-arm64 #1 SMP Debian 6.12.57-1 (2025-11-05) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.57+deb13-cloud-arm64 #1 SMP Debian 6.12.57-1 (2025-11-05) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/55970/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/880553/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -662,7 +694,7 @@ Get: 433 http://deb.debian.org/debian forky/main arm64 node-unicode-16.0.0 all 1.6.7+ds-1 [447 kB] Get: 434 http://deb.debian.org/debian forky/main arm64 node-yn all 4.0.0-3 [4936 B] Get: 435 http://deb.debian.org/debian forky/main arm64 ts-node all 10.9.2+~cs64.13.20-2 [173 kB] -Fetched 59.0 MB in 1s (72.0 MB/s) +Fetched 59.0 MB in 1s (101 MB/s) Preconfiguring packages ... 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 ... 19968 files and directories currently installed.) @@ -2430,7 +2462,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-6_source.changes +I: user script /srv/workspace/pbuilder/880553/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/880553/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-6_source.changes dpkg-buildpackage: info: source package node-jsdom dpkg-buildpackage: info: source version 20.0.3+~cs124.18.21-6 dpkg-buildpackage: info: source distribution unstable @@ -2563,15 +2599,15 @@ dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs -Link ./node_modules/chai -> /usr/share/nodejs/chai +Skipping chai link Link ./node_modules/domhandler -> /usr/share/nodejs/domhandler Link ./node_modules/entities -> /usr/share/nodejs/entities +Skipping @types/chai link +Skipping @types/jest link Link ./node_modules/parse5 -> /usr/share/nodejs/parse5 -Link ./node_modules/@types/chai -> /usr/share/nodejs/@types/chai -Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node +Skipping ws link Link ./node_modules/@types/tough-cookie -> /usr/share/nodejs/@types/tough-cookie -Link ./node_modules/ws -> /usr/share/nodejs/ws Link node_modules/browser-process-hrtime -> ../browser-process-hrtime Link node_modules/data-urls -> ../data-urls Link node_modules/decimal.js -> ../decimaljs @@ -2607,27 +2643,14 @@ 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 (2550ms). +[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D` +Successfully compiled 31 files with Babel (4496ms). dh_auto_build --buildsystem=nodejs No build command found, searching known files -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 -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 -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 @@ -2640,13 +2663,27 @@ 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-url/build + cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/build ++ node scripts/transform.js +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 -Found debian/nodejs/domexception/build - cd ./domexception && sh -ex ../debian/nodejs/domexception/build -+ node scripts/generate.js 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/domexception/build + cd ./domexception && sh -ex ../debian/nodejs/domexception/build ++ node scripts/generate.js No build command found, searching known files No build command found, searching known files No build command found, searching known files @@ -2658,697 +2695,7 @@ ln -s lib/jsdom/living/generated . ln -s ../scripts/eslint-plugin node_modules || true make[1]: Leaving directory '/build/reproducible-path/node-jsdom-20.0.3+~cs124.18.21' - dh_auto_test --buildsystem=nodejs - ln -s ../debian/tests/test_modules/mocha-sugar-free node_modules/mocha-sugar-free - ln -s ../debian/tests/test_modules/server-destroy node_modules/server-destroy - ln -s ../. node_modules/jsdom - cd ./decimaljs && sh -ex ../debian/nodejs/decimaljs/test -+ node test/test.js - - Testing decimal.js - - Testing absoluteValue... 100 of 100 tests passed in 3 ms - Testing acos... 50 of 50 tests passed in 73 ms - Testing acosh... 50 of 50 tests passed in 21 ms - Testing asin... 50 of 50 tests passed in 31 ms - Testing asinh... 50 of 50 tests passed in 14 ms - Testing atan... 50 of 50 tests passed in 41 ms - Testing atan2... 100 of 100 tests passed in 22 ms - Testing atanh... 50 of 50 tests passed in 17 ms - Testing cubeRoot... 50 of 50 tests passed in 13 ms - Testing ceil... 50 of 50 tests passed in 0 ms - Testing clamp... 29 of 29 tests passed in 0 ms - Testing clone... 65 of 65 tests passed in 2 ms - Testing comparedTo... 1000 of 1000 tests passed in 7 ms - Testing config... 206 of 206 tests passed in 5 ms - Testing cos... 101 of 101 tests passed in 18 ms - Testing cosh... 100 of 100 tests passed in 17 ms - Testing Decimal... 987 of 987 tests passed in 15 ms - Testing dividedBy... 1000 of 1000 tests passed in 21 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 19 ms - Testing decimalPlaces and precision... 133 of 133 tests passed in 0 ms - Testing exp... 100 of 100 tests passed in 23 ms - Testing floor... 100 of 100 tests passed in 1 ms - Testing hypot... 100 of 100 tests passed in 10 ms - Testing immutability... 3311 of 3311 tests passed in 170 ms - Testing integer pow... 500 of 500 tests passed in 8 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 2 ms - Testing ln... 499 of 499 tests passed in 98 ms - Testing log... 200 of 200 tests passed in 76 ms - Testing log10... 500 of 500 tests passed in 87 ms - Testing log2... 200 of 200 tests passed in 61 ms - Testing min and max... 100 of 100 tests passed in 1 ms - Testing minus... 1000 of 1000 tests passed in 9 ms - Testing modulo... 1000 of 1000 tests passed in 53 ms - Testing negated... 200 of 200 tests passed in 1 ms - Testing plus... 1000 of 1000 tests passed in 13 ms - Testing pow... 108 of 108 tests passed in 45 ms - Testing random... 1000 of 1000 tests passed in 10 ms - Testing round... 500 of 500 tests passed in 4 ms - Testing sign... 16 of 16 tests passed in 1 ms - Testing sin... 100 of 100 tests passed in 30 ms - Testing sinh... 100 of 100 tests passed in 14 ms - Testing sqrt... 1000 of 1000 tests passed in 50 ms - Testing sum... 37 of 37 tests passed in 1 ms - Testing tan... 100 of 100 tests passed in 36 ms - Testing tanh... 100 of 100 tests passed in 21 ms - Testing times... 1000 of 1000 tests passed in 10 ms - Testing toBinary... 327 of 327 tests passed in 18 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 5 ms - Testing toExponential... 500 of 500 tests passed in 5 ms - Testing toFixed... 500 of 500 tests passed in 6 ms - Testing toFraction... 200 of 200 tests passed in 33 ms - Testing toHex... 309 of 309 tests passed in 8 ms - Testing toNearest... 157 of 157 tests passed in 2 ms - Testing toNumber... 40 of 40 tests passed in 0 ms - Testing toOctal... 293 of 293 tests passed in 6 ms - Testing toPrecision... 500 of 500 tests passed in 6 ms - Testing toSignificantDigits... 500 of 500 tests passed in 5 ms - Testing toString... 338 of 338 tests passed in 2 ms - Testing trunc... 100 of 100 tests passed in 1 ms - Testing valueOf... 40 of 40 tests passed in 0 ms - - In total, 22610 of 22610 tests passed in 1.362 secs. - - cd ./is-potential-custom-element-name && sh -ex ../debian/nodejs/is-potential-custom-element-name/test -+ mocha - - - is-potential-custom-element-name - undefined returns a boolean indicating whether the given string is a potential custom element name - undefined avoids excess backtracking - - - 2 passing (41ms) - - 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 (11.521 s) - Derived from WPT xml-serialization.xhtml - ✓ Comment: containing -- (6 ms) - ✓ Comment: starting with - (2 ms) - ✓ Comment: ending with - - ✓ Comment: containing --> (1 ms) - ✓ DocumentType: empty public and system id (3 ms) - ✓ DocumentType: empty system id (1 ms) - ✓ DocumentType: empty public id (1 ms) - ✓ DocumentType: non-empty public and system id (1 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) (1 ms) - ✓ DocumentType: 'QUOTATION MARK' (U+0022) (2 ms) - ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (1 ms) - ✓ Element: href attributes are not percent-encoded (7 ms) - ✓ Element: query parts in href attributes are not percent-encoded (2 ms) - ✓ ProcessingInstruction: empty data (1 ms) - ✓ ProcessingInstruction: non-empty data (1 ms) - ✓ ProcessingInstruction: target contains xml (1 ms) - ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (1 ms) - Derived from WPT XMLSerializer-serializeToString.html - ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (7 ms) - ✓ Check if the default namespace is correctly reset. (7 ms) - ✓ Check if there is no redundant empty namespace declaration. (4 ms) - ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (5 ms) - ✓ Check if unknown prefixes are handled correctly (5 ms) - ✓ Check CDATASection nodes are serialized correctly (3 ms) - Well-formedness test cases - ✓ Check Characters are in range (32 ms) - Our own test cases - ✓ Check prefix memoization (GH-5) (3 ms) - ✓ Serializes custom prefixes (6 ms) - ✓ Serializes tab characters (3 ms) - -Test Suites: 1 passed, 1 total -Tests: 27 passed, 27 total -Snapshots: 0 total -Time: 12.092 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 -PASS test/mdn.js - -Test Suites: 2 passed, 2 total -Tests: 3 passed, 3 total -Snapshots: 0 total -Time: 2.51 s -Ran all test suites matching /test\/mdn.js|test\/file-url-origin.js/i. - cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/test -+ mocha - - - 0 passing (2ms) - - /bin/sh -ex debian/tests/pkg-js/test -+ mocha test/api - - - JSDOM instances: basics - undefined should have a window and a document (84ms) - undefined should have a document with documentElement when no arguments are passed - - JSDOM() constructor first argument - undefined should populate the resulting document with the given HTML - undefined should give the same document innerHTML for empty and whitespace and omitted strings (41ms) - undefined should coerce null to a string (52ms) - error reporting - undefined should include the URL when reporting an XML parse error - - Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (109ms) - undefined should share cookies when a cookie jar is shared (53ms) - document.cookie - undefined reflects back what is set to it - undefined reflects back cookies set from the server while requesting the page - undefined reflects back cookies set from the server while requesting a script - undefined reflects back cookies set from the server on an XHR response - undefined should not crash or set cookies when requesting a file URL (GH-1180) - undefined should not contain expired cookies (GH-1027) - sent with requests - undefined should send the Cookies header with a script request - undefined should send the Cookies header with an XHR request - undefined should gather cookies from redirects (GH-1089) - - API: encoding detection - constructor, given a string - undefined should default to UTF-8 when passing a string - undefined should default to UTF-8 when passing nothing - undefined should default to UTF-8 when passing null - 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 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - DataView - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - Int8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - with a contentType option specifying csiso88598e - Buffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - Uint8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - ArrayBuffer - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - DataView - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - Int8Array - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - fromFile - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - fromURL - with no Content-Type header given - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-5 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as windows-874 - undefined should sniff no-bom-charset-koi8.html as KOI8-R - undefined should sniff no-bom-charset-utf-16.html as UTF-8 - undefined should sniff no-bom-charset-utf-16be.html as UTF-8 - undefined should sniff no-bom-charset-utf-16le.html as UTF-8 - undefined should sniff no-bom-no-charset.html as windows-1252 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - with a Content-Type header specifying csiso88598e - undefined should sniff no-bom-charset-http-equiv-no-quotes.html as ISO-8859-8 - undefined should sniff no-bom-charset-http-equiv-tis-620.html as ISO-8859-8 - undefined should sniff no-bom-charset-koi8.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16be.html as ISO-8859-8 - undefined should sniff no-bom-charset-utf-16le.html as ISO-8859-8 - undefined should sniff no-bom-no-charset.html as ISO-8859-8 - undefined should sniff utf-8-bom.html as UTF-8 - undefined should sniff utf-16be-bom.html as UTF-16BE - undefined should sniff utf-16le-bom.html as UTF-16LE - - API: JSDOM.fragment() - undefined should return a DocumentFragment - 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 - 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 - contentType option defaulting - undefined should default to text/html Content-Type even with no file extension - undefined should default to application/xhtml+xml Content-Type for .xhtml files - undefined should default to application/xhtml+xml Content-Type for .xht files - undefined should default to application/xhtml+xml Content-Type for .xml files - undefined should allow overriding the Content-Type for .xhtml files - undefined should allow overriding the Content-Type for .xht files - undefined should allow overriding the Content-Type for .xml files - url option defaulting - undefined should default to a file URL derived from the filename - undefined should allow overriding the URL - - Test cases only possible to test from the outside - undefined window.close() should prevent timers from registering and cause them to return 0 - undefined window.close() should stop a setInterval() (122ms) - undefined window.close() should work from within a load event listener - - API: JSDOM.fromURL() - undefined should return a rejected promise for a bad URL - undefined should return a rejected promise for a 404 - undefined should return a rejected promise for a 500 - undefined should use the body of 200 responses - undefined should use the body of 301 responses - undefined should be able to handle gzipped bodies - undefined should send a HTML-preferring Accept header - undefined should send an Accept-Language: en header - user agent - undefined should use the default user agent as the User-Agent header when none is given - 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 - undefined should use the supplied referrer option as a Referer header - undefined should canonicalize referrer URLs before using them as a Referer header - undefined should use the redirect source URL as the referrer, overriding a provided one - inferring options from the response - url - undefined should use the URL fetched for a 200 - undefined should preserve full request URL - undefined should use the ultimate response URL after a redirect - undefined should preserve fragments when processing redirects - undefined should disallow passing a URL manually - contentType - undefined should use the content type fetched for a 200 - undefined should use the ultimate response content type after a redirect - undefined should disallow passing a content type manually - cookie jar integration - undefined should send applicable cookies in a supplied cookie jar - undefined should store cookies set by the server in a supplied cookie jar - undefined should store cookies set by the server in a newly-created cookie jar - - API: virtual console jsdomErrors - undefined should not emit invalid stylesheet errors due to spaces (GH-2123) - undefined should emit unhandled null value thrown in inline event handlers - - API: JSDOM class's methods - serialize - undefined should serialize the default document correctly - undefined should serialize a text-only document correctly - undefined should serialize a document with HTML correctly - undefined should serialize documents with omitted and varying-case html or body tags correctly - nodeLocation - undefined should throw when includeNodeLocations is left as the default (false) - undefined should throw when includeNodeLocations is set explicitly to false - undefined should give the correct location for an element - undefined should give the correct location for a text node - undefined should give the correct location for a void element - undefined should return undefined for nodes created by innerHTML - undefined should return undefined for nodes created by outerHTML - undefined should return undefined for nodes created by createContextualFragment - getInternalVMContext - undefined should throw when runScripts is left as the default - undefined should work when runScripts is set to "outside-only" - undefined should work when runScripts is set to "dangerously" - undefined should return the result of the evaluation - undefined should work with the same script multiple times - undefined should allow passing through options (59ms) - reconfigure - windowTop - undefined should reconfigure the window.top property (tested from the outside) - undefined should reconfigure the window.top property (tested from the inside) - undefined should do nothing when no options are passed - undefined should change window.top to undefined if passing undefined - url - undefined should successfully change the URL - undefined should throw and not impact the URL when trying to change to an unparseable URL - undefined should not throw and not impact the URL when no url option is given - - API: runScripts constructor option - undefined should disallow other values -