mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 02:37:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
12
testing/web-platform/tests/websockets/constants.js
Normal file
12
testing/web-platform/tests/websockets/constants.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//This file requires server-side substitutions and must be included as constants.js?pipe=sub
|
||||
|
||||
var PORT = "{{ports[ws][0]}}";
|
||||
//FIXME: Add support for wss
|
||||
var PORT_SSL = "{{ports[ws][0]}}";
|
||||
|
||||
var SCHEME_DOMAIN_PORT;
|
||||
if (location.search == '?wss') {
|
||||
SCHEME_DOMAIN_PORT = 'wss://{{host}}:' + PORT_SSL;
|
||||
} else {
|
||||
SCHEME_DOMAIN_PORT = 'ws://{{host}}:' + PORT;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue