Valentin Gosu
062f430f46
Bug 1856719
- Make websocket server listen on all interfaces to make Android tests work r=necko-reviewers,kershaw
...
- Makes websocket server listen on all interfaces (0.0.0.0) - this made tests pass locally on the emulator.
- Pass 127.0.0.1 as the websocketserver address in the ssltunnel config. This makes rewriting the address work
- Remaining tests are using HTTPS/WSS and they're failing probably due to a bug in ssltunnel
Differential Revision: https://phabricator.services.mozilla.com/D194908
2024-02-09 16:24:08 +00:00
Oliver Medhurst
1dbadb53c7
Bug 1797449 - [websocket] Allow relative URLs and http(s) scheme r=valentin
...
Add support to WebSocket for http: and https: URLs,
as well as having them be relative to a base URI.
Spec: https://github.com/whatwg/websockets/issues/20
Passes new WPT tests for this in /websockets, with other tests unaffected.
Also updated our tests to expect these URLs to be successful instead of fail.
Differential Revision: https://phabricator.services.mozilla.com/D160330
2024-01-23 17:23:17 +00:00
Kershaw Chang
1863028870
Bug 1867006 - Disable HTTP2 websockets until we can resolve proxy issues. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D194871
2023-11-29 13:13:07 +00:00
Tom Marble
9a53e8dcde
Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D190089
2023-10-25 15:54:48 +00:00
Narcis Beleuzu
346566085d
Backed out changeset eac298199d7b (bug 1855298) for Linting failure. CLOSED TREE
2023-10-12 01:44:24 +03:00
Tom Marble
8518f990ca
Bug 1855298 - convert .ini manifests to .toml: batch 10 dom/[t-z]**/mochitest.ini r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D190089
2023-10-11 20:51:09 +00:00
june wilde
692c851b42
Bug 1844646 - Add check for data and blob URIs in WebSocketImpl::IsSecure; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D184954
2023-09-29 22:26:04 +00:00
Tom Marble
9e40a719f2
Bug 1850545 - convert .ini manifests to .toml: batch 3 chrome.ini (bis) r=jmaher,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,places-reviewers,profiler-reviewers,m_kato,mak,mtigley
...
Differential Revision: https://phabricator.services.mozilla.com/D187597
2023-09-13 18:28:32 +00:00
Logan Rosen
f024d94b2b
Bug 1786490
- reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Kershaw Chang
c8444a6381
Bug 1838829 - Make Http/2 server support websocket, r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D182326
2023-06-28 13:21:00 +00:00
Kershaw Chang
705e17a537
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-28 13:21:00 +00:00
Norisz Fay
07a91b8c6a
Backed out 2 changesets (bug 1838829) for causing perma mochitest failure with dom/websocket/tests being skipped CLOSED TREE
...
Backed out changeset 19a5d4f1850a (bug 1838829)
Backed out changeset 97cd8a256954 (bug 1838829)
2023-06-27 02:52:52 +03:00
Kershaw Chang
75c68b6864
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-26 14:22:14 +00:00
Malte Juergens
97d33490d6
Bug 1835983: Rework dom/websocket/tests/test_websocket_mixed_content_opener.html to work with https-first enabled r=freddyb
...
Differential Revision: https://phabricator.services.mozilla.com/D181763
2023-06-23 11:24:45 +00:00
Norisz Fay
e86f1fa0e9
Backed out 5 changesets (bug 1838829) for causing mochitest failures CLOSED TREE
...
Backed out changeset 693d34c8447d (bug 1838829)
Backed out changeset 903d9ff4afaa (bug 1838829)
Backed out changeset 5e51feff7467 (bug 1838829)
Backed out changeset e125be49d2a6 (bug 1838829)
Backed out changeset 1a8cf3c83dc4 (bug 1838829)
2023-06-22 03:37:07 +03:00
Kershaw Chang
2cdb6b3a96
Bug 1838829 - Skip failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,dimi,valentin,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181251
2023-06-21 19:43:33 +00:00
Mark Banner
8219a5c503
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Kershaw Chang
5e58575e28
Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-21 09:09:58 +00:00
Marian-Vasile Laza
ee72efd1e9
Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
...
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
a60df34ad0
Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D171842
2023-03-13 11:12:33 +00:00
Valentin Gosu
45f7cb5695
Bug 1787044 - Disable test_worker_websocket2.html on socketprocess for being intermittent r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D163466
2022-11-30 16:42:41 +00:00
Andrew Creskey
3026707d8b
Bug 1802227 - Fix intermittent leak in test_websocket_mixed_content.html due to frame.src attribute r=necko-reviewers,kershaw
...
By reproducing with increased test loops and in verify mode, by far the primary leak was from the iframe element's "src" attribute. So clearing it.
Differential Revision: https://phabricator.services.mozilla.com/D162911
2022-11-25 13:30:00 +00:00
Marco Castelluccio
c80fce2b07
Bug 1790816 - Reformat dom/ with isort. r=linter-reviewers,ahal DONTBUILD
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D162643
2022-11-23 22:09:53 +00:00
Mark Banner
783a2f2187
Bug 1788037 - Turn on ESLint rule for prefer-boolean-length-check for dom. r=asuth,karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D155965
2022-09-02 11:05:17 +00:00
Andrew Creskey
aed4c569be
Bug 1788246 - Fix intermittent mochitest leak in test_websocket_mixed_content.html r=necko-reviewers,valentin
...
A newly-created iframe was leaked, now explicitly removing.
These tests were raising the intermittent rate on https://bugzilla.mozilla.org/show_bug.cgi?id=1700549#c48
Differential Revision: https://phabricator.services.mozilla.com/D156109
2022-09-01 10:52:43 +00:00
Andrew Creskey
d97f212992
Bug 1748005 - Getting Uncaught DOMException: The operation is insecure while opening Websocket using 'wss' protocol r=smaug
...
Use the 'IsSecure' field from windowContexts where possible to determine WebSockets mixed content behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D153105
2022-08-26 12:23:36 +00:00
Mark Banner
7428be4a86
Bug 1782008 - Remove now unnecessary .eslintrc.js files. r=webcompat-reviewers,extension-reviewers,media-playback-reviewers,pip-reviewers,denschub,rpl,alwu,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D152736
2022-08-03 11:16:20 +00:00
Thomas Wisniewski
32617075f6
Bug 1762462 - Make tests in dom/websocket/tests/ reflect Always Partitioning Storage; r=baku
...
Depends on D144731
Differential Revision: https://phabricator.services.mozilla.com/D151393
2022-07-15 13:26:23 +00:00
Cristian Tuns
2f5fe88da3
Backed out 19 changesets (bug 1758745, bug 1758740, bug 1762462, bug 1779603) for causing mochitest failures on browser_partitionedConsoleMessage.js CLOSED TREE
...
Backed out changeset e3c8cd6f00b6 (bug 1779603)
Backed out changeset 4e46a6f209b4 (bug 1762462)
Backed out changeset 00c0c6314640 (bug 1762462)
Backed out changeset 8f11221f859f (bug 1762462)
Backed out changeset ffbf90e3bbab (bug 1762462)
Backed out changeset 0c760428dfec (bug 1762462)
Backed out changeset 7c99293cc8f9 (bug 1762462)
Backed out changeset 92bd237a95e1 (bug 1762462)
Backed out changeset 74539a3cc7fc (bug 1762462)
Backed out changeset acf08a10c6fb (bug 1762462)
Backed out changeset 0cf191a7739f (bug 1762462)
Backed out changeset 030c276d6669 (bug 1762462)
Backed out changeset a88a099c684d (bug 1762462)
Backed out changeset cbd69786a24b (bug 1762462)
Backed out changeset e5e0655206a8 (bug 1762462)
Backed out changeset 707f9dfed501 (bug 1762462)
Backed out changeset 619e4bb01a81 (bug 1762462)
Backed out changeset 02b7641683b0 (bug 1758745)
Backed out changeset a2f110442038 (bug 1758740)
2022-07-14 17:26:17 -04:00
Thomas Wisniewski
b1af5bae09
Bug 1762462 - Make tests in dom/websocket/tests/ reflect Always Partitioning Storage; r=baku
...
Depends on D144731
Differential Revision: https://phabricator.services.mozilla.com/D151393
2022-07-14 19:26:32 +00:00
Norisz Fay
388468729f
Backed out 18 changesets (bug 1762462, bug 1758745, bug 1758740) for causing mochitest failures on test_storage_copied.html
...
Backed out changeset a27ae15872a9 (bug 1762462)
Backed out changeset b7d979a36324 (bug 1762462)
Backed out changeset 6249efe40513 (bug 1762462)
Backed out changeset 1e81ed3014a0 (bug 1762462)
Backed out changeset 92cec5f5db1c (bug 1762462)
Backed out changeset fa3c45b4de5c (bug 1762462)
Backed out changeset 64df67f43ad7 (bug 1762462)
Backed out changeset d66dd76ec2b6 (bug 1762462)
Backed out changeset 4f8aaba02a03 (bug 1762462)
Backed out changeset 81eb7d60dea9 (bug 1762462)
Backed out changeset 01504f5f818a (bug 1762462)
Backed out changeset 2615b571c9ba (bug 1762462)
Backed out changeset 73ed8be3f117 (bug 1762462)
Backed out changeset edb94ba8ec59 (bug 1762462)
Backed out changeset 21dd6fdc672e (bug 1762462)
Backed out changeset 31a70f9ad879 (bug 1762462)
Backed out changeset 5261ee5a2368 (bug 1758745)
Backed out changeset ad6ffd85ef3c (bug 1758740)
2022-07-14 03:16:08 +03:00
Thomas Wisniewski
d4c17d0373
Bug 1762462 - Make tests in dom/websocket/tests/ reflect Always Partitioning Storage; r=baku
...
Depends on D144731
Differential Revision: https://phabricator.services.mozilla.com/D151393
2022-07-13 22:45:04 +00:00
Tooru Fujisawa
a4edb84be9
Bug 1777486 - Part 5: Remove unnecessary XPCOMUtils.jsm imports. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D151217
2022-07-12 04:21:35 +00:00
Andreea Pavel
7738a75fdd
Backed out 11 changesets (Bug 1777486) for failing bc at browser_startup.js on a CLOSED TREE
...
Backed out changeset b6c4c386f1a6 (Bug 1777486)
Backed out changeset 195cc2de8433 (Bug 1777486)
Backed out changeset 20c746fb1648 (Bug 1777486)
Backed out changeset d5fd8173d62d (Bug 1777486)
Backed out changeset 6d758fab5a3e (Bug 1777486)
Backed out changeset e938b601ba15 (Bug 1777486)
Backed out changeset 0c4ea0b9416b (Bug 1777486)
Backed out changeset 0559c53cc668 (Bug 1777486)
Backed out changeset eea573d3a9f9 (Bug 1777486)
Backed out changeset 9ce3a6496a49 (bug 1777486)
Backed out changeset b0867652fc48 (bug 1777486)
2022-07-11 22:24:40 +03:00
Tooru Fujisawa
6ee7d4ed56
Bug 1777486 - Part 5: Remove unnecessary XPCOMUtils.jsm imports. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D151217
2022-07-11 15:09:15 +00:00
Christoph Kerschbaumer
9a0f9768c9
Bug 1723682: Update tests within dom/websocket to work with https-first enabled r=edgar
...
Differential Revision: https://phabricator.services.mozilla.com/D121597
2021-08-04 06:14:22 +00:00
Dana Keeler
1b9fd10c83
Bug 1701192 - don't allow third-party loads to set HSTS state r=annevk,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D115715
2021-06-02 16:52:19 +00:00
Geoff Brown
49ff5c946f
Bug 1696024 - py3 updates to dom/websocket mochitests; r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D107282
2021-03-08 15:36:32 +00:00
Hubert Boma Manilla
53847edbe6
Bug 1695185 - Use the WindowId of the owner document instead r=valentin,necko-reviewers,baku
...
The websocket uses the innerWindowId of the window where the script lives when
triggering events for devtools. This is may not be the same as the websocket
owner window as mentioned here https://searchfox.org/mozilla-central/rev/f1159268add2fd0959e9f91b474f5da74c90f305/dom/websocket/WebSocket.cpp#206-207,212
This seems to be the case when we have iframes within a page. The devtools
do not get the events for the websockets channels opened within iframes as
the innerWindowId is that of the top-level window.
`...->TopWindowContext()->InnerWindowId()` also always point to the top-level window.
This patch fixes these issues by switching to use the websocket owner window which
the iframe.
Note: The parent revsion contains the changes for the devtools fission work that
depends on this fix. i did this to make it easy to test and review.
Differential Revision: https://phabricator.services.mozilla.com/D106607
2021-03-04 21:46:07 +00:00
Kartik Gautam
f7ffcd09fb
Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca
7320ae982a
Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE
2020-12-13 16:38:21 +02:00
Kartik Gautam
caf549c200
Bug 1679758 - Remove trailing empty lines r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Kershaw Chang
c7206d8f77
Bug 1673905 - Test if we send a duplicate packet out r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D96692
2020-11-11 18:46:23 +00:00
Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in mozilla-central
.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in mozilla-central
. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in mozilla-central
. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Philipp Fischbeck
24588e8d85
Bug 1622683 - Make dom/websocket flake8 and pylint compliant. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D88809
2020-08-31 14:42:21 +00:00
Kershaw Chang
1bc13dd88d
Bug 1660361 - Send data in chunks from WebSocketChannelParent to WebSocketChannelChild r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D88155
2020-08-28 08:04:15 +00:00