GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test,benchmark: stop requiring URL and URLSearchParams · nodejs/node@d97917f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • benchmark/url
    • legacy-vs-whatwg-url-searchparams-parse.js
    • legacy-vs-whatwg-url-searchparams-serialize.js
    • url-searchparams-iteration.js
    • url-searchparams-read.js
    • url-searchparams-sort.js
  • test
    • es-module
      • test-esm-dynamic-import.js
      • test-esm-loader-modulemap.js
    • parallel
      • test-fs-exists.js
      • test-fs-null-bytes.js
      • test-fs-whatwg-url.js
      • test-http-client-get-url.js
      • test-http2-altsvc.js
      • test-http2-connect-method.js
      • test-http2-create-client-connect.js
      • test-http2-response-splitting.js
      • test-https-client-get-url.js
      • test-url-format-whatwg.js
      • test-vm-module-link.js
      • test-whatwg-url-constructor.js
      • test-whatwg-url-custom-global.js
      • test-whatwg-url-custom-inspect.js
      • test-whatwg-url-custom-parsing.js
      • test-whatwg-url-custom-properties.js
      • test-whatwg-url-custom-searchparams-append.js
      • test-whatwg-url-custom-searchparams-constructor.js
      • test-whatwg-url-custom-searchparams-delete.js
      • test-whatwg-url-custom-searchparams-entries.js
      • test-whatwg-url-custom-searchparams-foreach.js
      • test-whatwg-url-custom-searchparams-get.js
      • test-whatwg-url-custom-searchparams-getall.js
      • test-whatwg-url-custom-searchparams-has.js
      • test-whatwg-url-custom-searchparams-inspect.js
      • test-whatwg-url-custom-searchparams-keys.js
      • test-whatwg-url-custom-searchparams-set.js
      • test-whatwg-url-custom-searchparams-sort.js
      • test-whatwg-url-custom-searchparams-stringifier.js
      • test-whatwg-url-custom-searchparams-values.js
      • test-whatwg-url-custom-searchparams.js
      • test-whatwg-url-custom-setters.js
      • test-whatwg-url-custom-tostringtag.js
      • test-whatwg-url-origin.js
      • test-whatwg-url-setters.js
      • test-whatwg-url-toascii.js
    • sequential
      • test-inspector-port-zero.js

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎benchmark/url/legacy-vs-whatwg-url-searchparams-parse.js‎

Copy file name to clipboardExpand all lines: benchmark/url/legacy-vs-whatwg-url-searchparams-parse.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22
const common = require('../common.js');
3-
const { URLSearchParams } = require('url');
43
const querystring = require('querystring');
54
const searchParams = common.searchParams;
65

Collapse file

‎benchmark/url/legacy-vs-whatwg-url-searchparams-serialize.js‎

Copy file name to clipboardExpand all lines: benchmark/url/legacy-vs-whatwg-url-searchparams-serialize.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22
const common = require('../common.js');
3-
const { URLSearchParams } = require('url');
43
const querystring = require('querystring');
54
const searchParams = common.searchParams;
65

Collapse file

‎benchmark/url/url-searchparams-iteration.js‎

Copy file name to clipboardExpand all lines: benchmark/url/url-searchparams-iteration.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22
const common = require('../common.js');
33
const assert = require('assert');
4-
const { URLSearchParams } = require('url');
54

65
const bench = common.createBenchmark(main, {
76
loopMethod: ['forEach', 'iterator'],
Collapse file

‎benchmark/url/url-searchparams-read.js‎

Copy file name to clipboardExpand all lines: benchmark/url/url-searchparams-read.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22
const common = require('../common.js');
3-
const { URLSearchParams } = require('url');
43

54
const bench = common.createBenchmark(main, {
65
accessMethod: ['get', 'getAll', 'has'],
Collapse file

‎benchmark/url/url-searchparams-sort.js‎

Copy file name to clipboardExpand all lines: benchmark/url/url-searchparams-sort.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use strict';
22
const common = require('../common.js');
3-
const URLSearchParams = require('url').URLSearchParams;
43

54
const inputs = {
65
wpt: 'wpt', // To work around tests
Collapse file

‎test/es-module/test-esm-dynamic-import.js‎

Copy file name to clipboardExpand all lines: test/es-module/test-esm-dynamic-import.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22
const common = require('../common');
33
const assert = require('assert');
4-
const { URL } = require('url');
54

65
const relativePath = '../fixtures/es-modules/test-esm-ok.mjs';
76
const absolutePath = require.resolve('../fixtures/es-modules/test-esm-ok.mjs');
Collapse file

‎test/es-module/test-esm-loader-modulemap.js‎

Copy file name to clipboardExpand all lines: test/es-module/test-esm-loader-modulemap.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
require('../common');
88

99
const assert = require('assert');
10-
const { URL } = require('url');
1110
const { Loader } = require('internal/modules/esm/loader');
1211
const ModuleMap = require('internal/modules/esm/module_map');
1312
const ModuleJob = require('internal/modules/esm/module_job');
Collapse file

‎test/parallel/test-fs-exists.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-exists.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
const common = require('../common');
2424
const assert = require('assert');
2525
const fs = require('fs');
26-
const { URL } = require('url');
2726
const f = __filename;
2827

2928
assert.throws(() => fs.exists(f), { code: 'ERR_INVALID_CALLBACK' });
Collapse file

‎test/parallel/test-fs-null-bytes.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-null-bytes.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
const common = require('../common');
2424
const assert = require('assert');
2525
const fs = require('fs');
26-
const URL = require('url').URL;
2726

2827
function check(async, sync) {
2928
const argsSync = Array.prototype.slice.call(arguments, 2);
Collapse file

‎test/parallel/test-fs-whatwg-url.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-whatwg-url.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const assert = require('assert');
66
const path = require('path');
77
const fs = require('fs');
88
const os = require('os');
9-
const URL = require('url').URL;
109

1110
function pathToFileURL(p) {
1211
if (!path.isAbsolute(p))

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.