summaryrefslogtreecommitdiffstats
path: root/layout/style
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-26 18:41:32 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-26 18:41:32 +0100
commit1e1525c44c23bde16102a64e685e02a9ab6825cc (patch)
treea2462a2f6278466e93ddedbf71983c325698933a /layout/style
parente25ad543952b5afc13181aaebef9c5951fc27be0 (diff)
parenteb77e289bbe056b58051db0fa868e95da803aa0a (diff)
downloadUXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar
UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.gz
UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.lz
UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.tar.xz
UXP-1e1525c44c23bde16102a64e685e02a9ab6825cc.zip
Merge commit 'eb77e289bbe056b58051db0fa868e95da803aa0a' into Basilisk-release
Diffstat (limited to 'layout/style')
-rw-r--r--layout/style/Loader.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/layout/style/Loader.cpp b/layout/style/Loader.cpp
index a1a0fcfd9..0ce337e29 100644
--- a/layout/style/Loader.cpp
+++ b/layout/style/Loader.cpp
@@ -1677,10 +1677,6 @@ Loader::LoadSheet(SheetLoadData* aLoadData,
nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(channel));
if (httpChannel) {
- // Send a minimal Accept header for text/css
- httpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"),
- NS_LITERAL_CSTRING("text/css,*/*;q=0.1"),
- false);
nsCOMPtr<nsIURI> referrerURI = aLoadData->GetReferrerURI();
if (referrerURI)
httpChannel->SetReferrerWithPolicy(referrerURI,