@@ -98,51 +98,51 @@ test('arg validation', (t) => {
98
98
} , TypeError )
99
99
100
100
t . throws ( ( ) => {
101
- Request . prototype . destination . call ( null )
101
+ Request . prototype . destination . toString ( )
102
102
} , TypeError )
103
103
104
104
t . throws ( ( ) => {
105
- Request . prototype . referrer . call ( null )
105
+ Request . prototype . referrer . toString ( )
106
106
} , TypeError )
107
107
108
108
t . throws ( ( ) => {
109
- Request . prototype . referrerPolicy . call ( null )
109
+ Request . prototype . referrerPolicy . toString ( )
110
110
} , TypeError )
111
111
112
112
t . throws ( ( ) => {
113
- Request . prototype . mode . call ( null )
113
+ Request . prototype . mode . toString ( )
114
114
} , TypeError )
115
115
116
116
t . throws ( ( ) => {
117
- Request . prototype . credentials . call ( null )
117
+ Request . prototype . credentials . toString ( )
118
118
} , TypeError )
119
119
120
120
t . throws ( ( ) => {
121
- Request . prototype . cache . call ( null )
121
+ Request . prototype . cache . toString ( )
122
122
} , TypeError )
123
123
124
124
t . throws ( ( ) => {
125
- Request . prototype . redirect . call ( null )
125
+ Request . prototype . redirect . toString ( )
126
126
} , TypeError )
127
127
128
128
t . throws ( ( ) => {
129
- Request . prototype . integrity . call ( null )
129
+ Request . prototype . integrity . toString ( )
130
130
} , TypeError )
131
131
132
132
t . throws ( ( ) => {
133
- Request . prototype . keepalive . call ( null )
133
+ Request . prototype . keepalive . toString ( )
134
134
} , TypeError )
135
135
136
136
t . throws ( ( ) => {
137
- Request . prototype . isReloadNavigation . call ( null )
137
+ Request . prototype . isReloadNavigation . toString ( )
138
138
} , TypeError )
139
139
140
140
t . throws ( ( ) => {
141
- Request . prototype . isHistoryNavigation . call ( null )
141
+ Request . prototype . isHistoryNavigation . toString ( )
142
142
} , TypeError )
143
143
144
144
t . throws ( ( ) => {
145
- Request . prototype . signal . call ( null )
145
+ Request . prototype . signal . toString ( )
146
146
} , TypeError )
147
147
148
148
t . throws ( ( ) => {
0 commit comments