diff options
Diffstat (limited to 'testing/web-platform/tests/websockets/stream/tentative/resources')
-rw-r--r-- | testing/web-platform/tests/websockets/stream/tentative/resources/url-constants.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/websockets/stream/tentative/resources/url-constants.js b/testing/web-platform/tests/websockets/stream/tentative/resources/url-constants.js new file mode 100644 index 0000000000..fe681af5c4 --- /dev/null +++ b/testing/web-platform/tests/websockets/stream/tentative/resources/url-constants.js @@ -0,0 +1,8 @@ +// The file including this must also include ../constants.sub.js to pick up the +// necessary constants. + +const {BASEURL, ECHOURL} = (() => { + const BASEURL = SCHEME_DOMAIN_PORT; + const ECHOURL = `${BASEURL}/echo`; + return {BASEURL, ECHOURL}; +})(); |