mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
Revert "Remove the SCHEME_AND_DOMAIN constant."
This reverts commit 8ddb9cfcb6.
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
<script>
|
||||
test(function(t) {
|
||||
// The protocol attribute must initially return the empty string
|
||||
assert_equals((new WebSocket(SCHEME_DOMAIN_PORT + '/empty-message')).protocol, '');
|
||||
assert_equals((new WebSocket(SCHEME_AND_DOMAIN+'/')).protocol, '');
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user