summaryrefslogtreecommitdiff
path: root/dom/html
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-10-22 05:39:02 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 16:03:01 +0200
commita95439db61c4530afae3967e2912d6ca38f1bbda (patch)
treeed8926c1fe52c8072dbaff40278c1f0370980c2f /dom/html
parentf5fcb8a32ccbe9af1a16a05c4959f7389eae37c1 (diff)
downloaduxp-a95439db61c4530afae3967e2912d6ca38f1bbda.tar.gz
Issue #1822 - Part 3: Remove LOAD_CLASSIFIER_URI and various
helper functions.
Diffstat (limited to 'dom/html')
-rw-r--r--dom/html/HTMLMediaElement.cpp1
-rw-r--r--dom/html/HTMLTrackElement.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp
index a483198655..21f62b0e32 100644
--- a/dom/html/HTMLMediaElement.cpp
+++ b/dom/html/HTMLMediaElement.cpp
@@ -664,7 +664,6 @@ public:
nullptr, // aCallbacks
nsICachingChannel::LOAD_BYPASS_LOCAL_CACHE_IF_BUSY |
nsIChannel::LOAD_MEDIA_SNIFFER_OVERRIDES_CONTENT_TYPE |
- nsIChannel::LOAD_CLASSIFY_URI |
nsIChannel::LOAD_CALL_CONTENT_SNIFFERS);
if (NS_FAILED(rv)) {
diff --git a/dom/html/HTMLTrackElement.cpp b/dom/html/HTMLTrackElement.cpp
index 07fbe2073d..9799a2d156 100644
--- a/dom/html/HTMLTrackElement.cpp
+++ b/dom/html/HTMLTrackElement.cpp
@@ -326,7 +326,7 @@ HTMLTrackElement::LoadResource()
nsIContentPolicy::TYPE_INTERNAL_TRACK,
loadGroup,
nullptr, // aCallbacks
- nsIRequest::LOAD_NORMAL | nsIChannel::LOAD_CLASSIFY_URI);
+ nsIRequest::LOAD_NORMAL);
NS_ENSURE_TRUE_VOID(NS_SUCCEEDED(rv));