Skip to content

Commit

Permalink
Bug 1912434 - Remove network.websocket.extensions.permessage-deflate …
Browse files Browse the repository at this point in the history
…pref r=necko-reviewers,kershaw

Differential Revision: https://phabricator.services.mozilla.com/D222901

UltraBlame original commit: 17c2eaf697f80ce260e72db5ba3a473a705c9030
  • Loading branch information
marco-c committed Sep 20, 2024
1 parent cefe48d commit 508307e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 408 deletions.
123 changes: 0 additions & 123 deletions dom/websocket/tests/file_websocket_permessage_deflate_disabled_wsh.py

This file was deleted.

5 changes: 0 additions & 5 deletions dom/websocket/tests/mochitest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ file_websocket_permessage_deflate_wsh
py
"
"
file_websocket_permessage_deflate_disabled_wsh
.
py
"
"
file_websocket_permessage_deflate_rejected_wsh
.
py
Expand Down
81 changes: 4 additions & 77 deletions dom/websocket/tests/test_websocket_permessage_deflate.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
onload
=
"
loadDeflate
testDeflate
(
)
"
Expand Down Expand Up @@ -218,7 +218,6 @@
PMCE
[
true
true
"
ws
:
Expand All @@ -243,41 +242,11 @@
]
/
/
disable
PMCE
[
false
false
"
ws
:
/
/
mochi
.
test
:
8888
/
tests
/
dom
/
websocket
/
tests
/
file_websocket_permessage_deflate_disabled
"
]
/
/
server
rejects
offered
PMCE
[
true
false
"
ws
Expand Down Expand Up @@ -311,7 +280,6 @@
handshake
[
true
true
"
ws
:
Expand Down Expand Up @@ -478,7 +446,7 @@
testIdx
]
[
2
1
]
)
;
Expand All @@ -497,7 +465,7 @@
testIdx
]
[
1
0
]
)
{
Expand Down Expand Up @@ -711,7 +679,7 @@
length
)
{
loadDeflate
testDeflate
(
)
;
Expand All @@ -728,47 +696,6 @@
}
}
}
function
loadDeflate
(
)
{
SpecialPowers
.
pushPrefEnv
(
{
"
set
"
:
[
[
'
network
.
websocket
.
extensions
.
permessage
-
deflate
'
tests
[
testIdx
]
[
0
]
]
]
}
testDeflate
)
;
}
SimpleTest
.
waitForExplicitFinish
Expand Down
37 changes: 0 additions & 37 deletions modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -14759,43 +14759,6 @@ response
;
/
/
Defines
whether
or
not
to
try
to
negotiate
the
permessage
compression
/
/
extension
with
the
websocket
server
.
pref
(
"
network
.
websocket
.
extensions
.
permessage
-
deflate
"
true
)
;
/
/
the
maximum
number
Expand Down
Loading

0 comments on commit 508307e

Please sign in to comment.