This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1416151 - Moving websocket code and tests in dom/websocket, r=qdot
- Loading branch information
Showing
67 changed files
with
182 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,6 +108,7 @@ DIRS += [ | |
'worklet', | ||
'script', | ||
'payments', | ||
'websocket', | ||
] | ||
|
||
if CONFIG['OS_ARCH'] == 'WINNT': | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- | ||
# vim: set filetype=python: | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
with Files("**"): | ||
BUG_COMPONENT = ("Core", "DOM") | ||
|
||
EXPORTS.mozilla.dom += [ | ||
'WebSocket.h', | ||
] | ||
|
||
UNIFIED_SOURCES += [ | ||
'WebSocket.cpp', | ||
] | ||
|
||
LOCAL_INCLUDES += [ | ||
'/dom/base', | ||
'/dom/workers', | ||
] | ||
|
||
MOCHITEST_CHROME_MANIFESTS += [ | ||
'tests/chrome.ini', | ||
] | ||
|
||
MOCHITEST_MANIFESTS += [ | ||
'tests/mochitest.ini', | ||
'tests/websocket_hybi/mochitest.ini', | ||
] | ||
|
||
include('/ipc/chromium/chromium-config.mozbuild') | ||
|
||
FINAL_LIBRARY = 'xul' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[DEFAULT] | ||
skip-if = os == 'android' | ||
|
||
[test_websocket_frame.html] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[DEFAULT] | ||
skip-if = toolkit == 'android' # bug 982828 | ||
support-files = | ||
file_websocket_basic_wsh.py | ||
file_websocket_hello_wsh.py | ||
file_websocket_http_resource.txt | ||
file_websocket_permessage_deflate_wsh.py | ||
file_websocket_permessage_deflate_disabled_wsh.py | ||
file_websocket_permessage_deflate_rejected_wsh.py | ||
file_websocket_permessage_deflate_params_wsh.py | ||
file_websocket_wsh.py | ||
websocket_helpers.js | ||
websocket_tests.js | ||
websocket_worker_helpers.js | ||
|
||
[test_bug1081686.html] | ||
[test_bug1384658.html] | ||
support-files = window_bug1384658.html frame_bug1384658.html file_bug1384658.html | ||
[test_websocket1.html] | ||
[test_websocket2.html] | ||
[test_websocket3.html] | ||
[test_websocket4.html] | ||
[test_websocket5.html] | ||
[test_websocket_basic.html] | ||
[test_websocket_hello.html] | ||
[test_websocket_permessage_deflate.html] | ||
[test_webSocket_sandbox.html] | ||
support-files = iframe_webSocket_sandbox.html | ||
[test_worker_websocket1.html] | ||
support-files = websocket_worker1.js | ||
[test_worker_websocket2.html] | ||
support-files = websocket_worker2.js | ||
[test_worker_websocket3.html] | ||
support-files = websocket_worker3.js | ||
[test_worker_websocket4.html] | ||
support-files = websocket_worker4.js | ||
[test_worker_websocket5.html] | ||
support-files = websocket_worker5.js | ||
[test_worker_websocket_basic.html] | ||
support-files = websocket_basic_worker.js | ||
[test_worker_websocket_https.html] | ||
support-files = websocket_worker_https.html websocket_https_worker.js | ||
[test_worker_websocket_loadgroup.html] | ||
support-files = websocket_loadgroup_worker.js | ||
[test_webSocket_sharedWorker.html] | ||
support-files = webSocket_sharedWorker.js | ||
[test_websocket_bigBlob.html] | ||
support-files = file_websocket_bigBlob_wsh.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
dom/workers/test/webSocket_sharedWorker.js → ...websocket/tests/webSocket_sharedWorker.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
dom/workers/test/websocket_https_worker.js → ...websocket/tests/websocket_https_worker.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.