Diff of the two buildlogs: -- --- b1/build.log 2024-04-29 14:16:01.820193003 +0000 +++ b2/build.log 2024-04-29 14:17:32.160343015 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 29 02:11:37 -12 2024 -I: pbuilder-time-stamp: 1714399897 +I: Current time: Mon Jun 2 10:39:05 +14 2025 +I: pbuilder-time-stamp: 1748810345 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -89,54 +89,86 @@ 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/47200/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/67532/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Jun 1 20:39 /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/67532/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/67532/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='160a088bd0f949bd9b245b529a1031b0' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='47200' - PS1='# ' - PS2='> ' + INVOCATION_ID=d388e37463244a23aaea5f9613af0708 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=67532 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.XoarOdrs/pbuilderrc_itCj --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XoarOdrs/b1 --logfile b1/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.XoarOdrs/pbuilderrc_0VOP --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.XoarOdrs/b2 --logfile b2/build.log node-jsdom_20.0.3+~cs124.18.21-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/47200/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/67532/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -736,7 +768,7 @@ Get: 431 http://deb.debian.org/debian trixie/main i386 node-unicode-15.0.0 all 0~20220914+gitb601441-2 [340 kB] Get: 432 http://deb.debian.org/debian trixie/main i386 node-yn all 4.0.0-3 [4936 B] Get: 433 http://deb.debian.org/debian trixie/main i386 ts-node all 10.9.2+~cs64.13.20-1 [173 kB] -Fetched 62.1 MB in 1s (50.4 MB/s) +Fetched 62.1 MB in 1s (80.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:i386: dependency problems, but removing anyway as you requested: libkrb5-3:i386 depends on libssl3 (>= 3.0.0). @@ -2504,7 +2536,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/67532/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/67532/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 @@ -2681,12 +2717,18 @@ 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 (6959ms). +Successfully compiled 31 files with Babel (1983ms). dh_auto_build --buildsystem=nodejs Found debian/nodejs/domexception/build cd ./domexception && sh -ex ../debian/nodejs/domexception/build + node scripts/generate.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 No build command found, searching known files No build command found, searching known files @@ -2699,12 +2741,6 @@ + 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 Found debian/nodejs/xmlchars/build cd ./xmlchars && sh -ex ../debian/nodejs/xmlchars/build + tsc --outDir . @@ -2741,68 +2777,68 @@ Testing decimal.js - Testing absoluteValue... 100 of 100 tests passed in 6 ms - Testing acos... 50 of 50 tests passed in 230 ms - Testing acosh... 50 of 50 tests passed in 73 ms - Testing asin... 50 of 50 tests passed in 108 ms - Testing asinh... 50 of 50 tests passed in 23 ms - Testing atan... 50 of 50 tests passed in 109 ms - Testing atan2... 100 of 100 tests passed in 107 ms - Testing atanh... 50 of 50 tests passed in 49 ms - Testing cubeRoot... 50 of 50 tests passed in 19 ms - Testing ceil... 50 of 50 tests passed in 1 ms + Testing absoluteValue... 100 of 100 tests passed in 3 ms + Testing acos... 50 of 50 tests passed in 65 ms + Testing acosh... 50 of 50 tests passed in 22 ms + Testing asin... 50 of 50 tests passed in 31 ms + Testing asinh... 50 of 50 tests passed in 11 ms + Testing atan... 50 of 50 tests passed in 31 ms + Testing atan2... 100 of 100 tests passed in 24 ms + Testing atanh... 50 of 50 tests passed in 17 ms + Testing cubeRoot... 50 of 50 tests passed in 11 ms + Testing ceil... 50 of 50 tests passed in 0 ms Testing clamp... 29 of 29 tests passed in 1 ms - Testing clone... 65 of 65 tests passed in 5 ms - Testing comparedTo... 1000 of 1000 tests passed in 32 ms - Testing config... 206 of 206 tests passed in 15 ms - Testing cos... 101 of 101 tests passed in 63 ms - Testing cosh... 100 of 100 tests passed in 50 ms - Testing Decimal... 987 of 987 tests passed in 105 ms - Testing dividedBy... 1000 of 1000 tests passed in 70 ms - Testing dividedToIntegerBy... 1000 of 1000 tests passed in 85 ms - Testing decimalPlaces and precision... 133 of 133 tests passed in 2 ms - Testing exp... 100 of 100 tests passed in 46 ms - Testing floor... 100 of 100 tests passed in 2 ms - Testing hypot... 100 of 100 tests passed in 42 ms - Testing immutability... 3311 of 3311 tests passed in 527 ms - Testing integer pow... 500 of 500 tests passed in 24 ms - Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 3 ms - Testing ln... 499 of 499 tests passed in 409 ms - Testing log... 200 of 200 tests passed in 272 ms - Testing log10... 500 of 500 tests passed in 293 ms - Testing log2... 200 of 200 tests passed in 320 ms - Testing min and max... 100 of 100 tests passed in 2 ms - Testing minus... 1000 of 1000 tests passed in 54 ms - Testing modulo... 1000 of 1000 tests passed in 198 ms - Testing negated... 200 of 200 tests passed in 3 ms - Testing plus... 1000 of 1000 tests passed in 70 ms - Testing pow... 108 of 108 tests passed in 210 ms - Testing random... 1000 of 1000 tests passed in 59 ms - Testing round... 500 of 500 tests passed in 20 ms + Testing clone... 65 of 65 tests passed in 4 ms + Testing comparedTo... 1000 of 1000 tests passed in 7 ms + Testing config... 206 of 206 tests passed in 9 ms + Testing cos... 101 of 101 tests passed in 20 ms + Testing cosh... 100 of 100 tests passed in 13 ms + Testing Decimal... 987 of 987 tests passed in 14 ms + Testing dividedBy... 1000 of 1000 tests passed in 24 ms + Testing dividedToIntegerBy... 1000 of 1000 tests passed in 20 ms + Testing decimalPlaces and precision... 133 of 133 tests passed in 1 ms + Testing exp... 100 of 100 tests passed in 18 ms + Testing floor... 100 of 100 tests passed in 1 ms + Testing hypot... 100 of 100 tests passed in 12 ms + Testing immutability... 3341 of 3341 tests passed in 183 ms + Testing integer pow... 500 of 500 tests passed in 10 ms + Testing isFinite, isInteger, isNaN, isNegative, isZero, isDecimal... 214 of 214 tests passed in 1 ms + Testing ln... 499 of 499 tests passed in 118 ms + Testing log... 200 of 200 tests passed in 82 ms + Testing log10... 500 of 500 tests passed in 110 ms + Testing log2... 200 of 200 tests passed in 88 ms + Testing min and max... 100 of 100 tests passed in 1 ms + Testing minus... 1000 of 1000 tests passed in 16 ms + Testing modulo... 1000 of 1000 tests passed in 50 ms + Testing negated... 200 of 200 tests passed in 2 ms + Testing plus... 1000 of 1000 tests passed in 15 ms + Testing pow... 108 of 108 tests passed in 48 ms + Testing random... 1000 of 1000 tests passed in 13 ms + Testing round... 500 of 500 tests passed in 5 ms Testing sign... 16 of 16 tests passed in 0 ms - Testing sin... 100 of 100 tests passed in 110 ms - Testing sinh... 100 of 100 tests passed in 61 ms - Testing sqrt... 1000 of 1000 tests passed in 249 ms + Testing sin... 100 of 100 tests passed in 28 ms + Testing sinh... 100 of 100 tests passed in 18 ms + Testing sqrt... 1000 of 1000 tests passed in 52 ms Testing sum... 37 of 37 tests passed in 1 ms - Testing tan... 100 of 100 tests passed in 79 ms - Testing tanh... 100 of 100 tests passed in 80 ms - Testing times... 1000 of 1000 tests passed in 26 ms - Testing toBinary... 327 of 327 tests passed in 34 ms - Testing toDecimalPlaces... 500 of 500 tests passed in 16 ms - Testing toExponential... 500 of 500 tests passed in 17 ms - Testing toFixed... 500 of 500 tests passed in 16 ms - Testing toFraction... 200 of 200 tests passed in 153 ms - Testing toHex... 309 of 309 tests passed in 29 ms - Testing toNearest... 157 of 157 tests passed in 5 ms - Testing toNumber... 40 of 40 tests passed in 0 ms - Testing toOctal... 293 of 293 tests passed in 22 ms - Testing toPrecision... 500 of 500 tests passed in 32 ms - Testing toSignificantDigits... 500 of 500 tests passed in 30 ms - Testing toString... 338 of 338 tests passed in 6 ms + Testing tan... 100 of 100 tests passed in 34 ms + Testing tanh... 100 of 100 tests passed in 35 ms + Testing times... 1000 of 1000 tests passed in 9 ms + Testing toBinary... 327 of 327 tests passed in 21 ms + Testing toDecimalPlaces... 500 of 500 tests passed in 6 ms + Testing toExponential... 500 of 500 tests passed in 9 ms + Testing toFixed... 500 of 500 tests passed in 7 ms + Testing toFraction... 200 of 200 tests passed in 41 ms + Testing toHex... 309 of 309 tests passed in 9 ms + Testing toNearest... 157 of 157 tests passed in 2 ms + Testing toNumber... 40 of 40 tests passed in 1 ms + Testing toOctal... 293 of 293 tests passed in 7 ms + Testing toPrecision... 500 of 500 tests passed in 7 ms + Testing toSignificantDigits... 500 of 500 tests passed in 6 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 + Testing valueOf... 40 of 40 tests passed in 1 ms - In total, 22610 of 22610 tests passed in 5.08 secs. + In total, 22640 of 22640 tests passed in 1.482 secs. cd ./is-potential-custom-element-name && sh -ex ../debian/nodejs/is-potential-custom-element-name/test + mocha @@ -2810,53 +2846,54 @@ is-potential-custom-element-name undefined returns a boolean indicating whether the given string is a potential custom element name - undefined avoids excess backtracking (151ms) + undefined avoids excess backtracking (38ms) - 2 passing (170ms) + 2 passing (46ms) 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 (29.211 s) ++ NODE_PATH=../node_modules ++ jest --ci +PASS test/test.js (8.961 s) Derived from WPT xml-serialization.xhtml - ✓ Comment: containing -- (11 ms) + ✓ Comment: containing -- (7 ms) ✓ Comment: starting with - (1 ms) - ✓ Comment: ending with - (2 ms) + ✓ Comment: ending with - ✓ Comment: containing --> (1 ms) - ✓ DocumentType: empty public and system id (4 ms) - ✓ DocumentType: empty system id (2 ms) + ✓ DocumentType: empty public and system id (2 ms) + ✓ DocumentType: empty system id (1 ms) ✓ DocumentType: empty public id (1 ms) - ✓ DocumentType: non-empty public and system id (2 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) (2 ms) - ✓ Element: href attributes are not percent-encoded (12 ms) - ✓ Element: query parts in href attributes are not percent-encoded (2 ms) - ✓ ProcessingInstruction: empty data (3 ms) - ✓ ProcessingInstruction: non-empty data (2 ms) + ✓ DocumentType: 'QUOTATION MARK' (U+0022) (1 ms) + ✓ DocumentType: 'APOSTROPHE' (U+0027) and 'QUOTATION MARK' (U+0022) (1 ms) + ✓ Element: href attributes are not percent-encoded (6 ms) + ✓ Element: query parts in href attributes are not percent-encoded (1 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) + ✓ ProcessingInstruction: target contains a 'COLON' (U+003A) (1 ms) Derived from WPT XMLSerializer-serializeToString.html - ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (9 ms) - ✓ Check if the default namespace is correctly reset. (10 ms) - ✓ Check if there is no redundant empty namespace declaration. (33 ms) - ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (6 ms) - ✓ Check if unknown prefixes are handled correctly (7 ms) - ✓ Check CDATASection nodes are serialized correctly (6 ms) + ✓ check XMLSerializer.serializeToString method could parsing xmldoc to string (5 ms) + ✓ Check if the default namespace is correctly reset. (5 ms) + ✓ Check if there is no redundant empty namespace declaration. (3 ms) + ✓ check XMLSerializer.serializeToString escapes attribute values for roundtripping (3 ms) + ✓ Check if unknown prefixes are handled correctly (3 ms) + ✓ Check CDATASection nodes are serialized correctly (3 ms) Well-formedness test cases - ✓ Check Characters are in range (87 ms) + ✓ Check Characters are in range (30 ms) Our own test cases - ✓ Check prefix memoization (GH-5) (13 ms) - ✓ Serializes custom prefixes (13 ms) - ✓ Serializes tab characters (3 ms) + ✓ Check prefix memoization (GH-5) (3 ms) + ✓ Serializes custom prefixes (5 ms) + ✓ Serializes tab characters (1 ms) Test Suites: 1 passed, 1 total Tests: 27 passed, 27 total Snapshots: 0 total -Time: 30.896 s +Time: 9.418 s Ran all test suites. + rm -f ../node_modules/jsdom cd ./whatwg-url && sh -ex ../debian/nodejs/whatwg-url/test @@ -2867,43 +2904,43 @@ Test Suites: 2 passed, 2 total Tests: 3 passed, 3 total Snapshots: 0 total -Time: 6.048 s +Time: 2.061 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 (3ms) + 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 (207ms) + undefined should have a window and a document (97ms) 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 (74ms) - undefined should coerce null to a string (62ms) + undefined should give the same document innerHTML for empty and whitespace and omitted strings + undefined should coerce null to a string error reporting - undefined should include the URL when reporting an XML parse error (88ms) + undefined should include the URL when reporting an XML parse error Cookie processing - undefined should have correct secure and HTTP-only cookie semantics (279ms) - undefined should share cookies when a cookie jar is shared (86ms) + undefined should have correct secure and HTTP-only cookie semantics (103ms) + undefined should share cookies when a cookie jar is shared (40ms) 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 (52ms) - undefined reflects back cookies set from the server on an XHR response (45ms) + 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 (44ms) + 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) (42ms) + undefined should gather cookies from redirects (GH-1089) API: encoding detection constructor, given a string @@ -2913,7 +2950,7 @@ 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 (48ms) + 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 @@ -2921,8 +2958,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 (60ms) - undefined should sniff utf-16le-bom.html as UTF-16LE (62ms) + 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 @@ -2962,7 +2999,7 @@ 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 (77ms) + 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 @@ -3050,13 +3087,13 @@ 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 (54ms) + 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 (85ms) + undefined should sniff utf-16le-bom.html as UTF-16LE API: JSDOM.fragment() undefined should return a DocumentFragment @@ -3084,7 +3121,7 @@ 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() (131ms) + undefined window.close() should stop a setInterval() (117ms) undefined window.close() should work from within a load event listener API: JSDOM.fromURL() @@ -3092,8 +3129,8 @@ 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 (48ms) - undefined should be able to handle gzipped bodies (68ms) + 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 @@ -3113,7 +3150,7 @@ 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 (41ms) + 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 @@ -3121,31 +3158,31 @@ 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) (47ms) - undefined should emit unhandled null value thrown in inline event handlers (48ms) + 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 (65ms) + 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 (39ms) + 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" (40ms) - undefined should work when runScripts is set to "dangerously" (39ms) + 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 (72ms) + undefined should allow passing through options (61ms) reconfigure windowTop undefined should reconfigure the window.top property (tested from the outside) @@ -3166,7 +3203,7 @@ undefined should execute