File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
c-dependencies/js-compute-runtime/builtins Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,19 @@ JS::PersistentRooted<JSObject *> WorkerLocation::url;
23
23
return URL::field (cx, WorkerLocation::url, args.rval ()); \
24
24
}
25
25
26
- WorkerLocation_ACCESSOR_GET (href) WorkerLocation_ACCESSOR_GET(origin)
27
- WorkerLocation_ACCESSOR_GET (protocol) WorkerLocation_ACCESSOR_GET(host)
28
- WorkerLocation_ACCESSOR_GET (hostname) WorkerLocation_ACCESSOR_GET(port)
29
- WorkerLocation_ACCESSOR_GET (pathname) WorkerLocation_ACCESSOR_GET(search)
30
- WorkerLocation_ACCESSOR_GET (hash)
26
+ WorkerLocation_ACCESSOR_GET (href);
27
+ WorkerLocation_ACCESSOR_GET (origin);
28
+ WorkerLocation_ACCESSOR_GET (protocol);
29
+ WorkerLocation_ACCESSOR_GET (host);
30
+ WorkerLocation_ACCESSOR_GET (hostname);
31
+ WorkerLocation_ACCESSOR_GET (port);
32
+ WorkerLocation_ACCESSOR_GET (pathname);
33
+ WorkerLocation_ACCESSOR_GET (search);
34
+ WorkerLocation_ACCESSOR_GET (hash);
31
35
32
36
#undef WorkerLocation_ACCESSOR_GET
33
37
34
- bool WorkerLocation::toString (JSContext *cx, unsigned argc, JS::Value *vp) {
38
+ bool WorkerLocation::toString (JSContext *cx, unsigned argc, JS::Value *vp) {
35
39
METHOD_HEADER (0 )
36
40
return href_get (cx, argc, vp);
37
41
}
You can’t perform that action at this time.
0 commit comments