• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3// This file contains test cases not part of the WPT
4
5module.exports = [
6  {
7    // surrogate pair
8    'url': 'https://github.com/nodejs/\uD83D\uDE00node',
9    'protocol': 'https:',
10    'pathname': '/nodejs/%F0%9F%98%80node'
11  },
12  {
13    // unpaired low surrogate
14    'url': 'https://github.com/nodejs/\uD83D',
15    'protocol': 'https:',
16    'pathname': '/nodejs/%EF%BF%BD'
17  },
18  {
19    // unpaired low surrogate
20    'url': 'https://github.com/nodejs/\uD83Dnode',
21    'protocol': 'https:',
22    'pathname': '/nodejs/%EF%BF%BDnode'
23  },
24  {
25    // unmatched high surrogate
26    'url': 'https://github.com/nodejs/\uDE00',
27    'protocol': 'https:',
28    'pathname': '/nodejs/%EF%BF%BD'
29  },
30  {
31    // unmatched high surrogate
32    'url': 'https://github.com/nodejs/\uDE00node',
33    'protocol': 'https:',
34    'pathname': '/nodejs/%EF%BF%BDnode'
35  }
36];
37