OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All r
ights reserved. |
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 2942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2953 contentSecurityPolicy()->didReceiveHeader(content, ContentSecurityPolicy
HeaderTypeEnforce, ContentSecurityPolicyHeaderSourceMeta); | 2953 contentSecurityPolicy()->didReceiveHeader(content, ContentSecurityPolicy
HeaderTypeEnforce, ContentSecurityPolicyHeaderSourceMeta); |
2954 else if (equalIgnoringCase(equiv, "content-security-policy-report-only")) | 2954 else if (equalIgnoringCase(equiv, "content-security-policy-report-only")) |
2955 contentSecurityPolicy()->didReceiveHeader(content, ContentSecurityPolicy
HeaderTypeReport, ContentSecurityPolicyHeaderSourceMeta); | 2955 contentSecurityPolicy()->didReceiveHeader(content, ContentSecurityPolicy
HeaderTypeReport, ContentSecurityPolicyHeaderSourceMeta); |
2956 else | 2956 else |
2957 ASSERT_NOT_REACHED(); | 2957 ASSERT_NOT_REACHED(); |
2958 } | 2958 } |
2959 | 2959 |
2960 void Document::processHttpEquivAcceptCH(const AtomicString& content) | 2960 void Document::processHttpEquivAcceptCH(const AtomicString& content) |
2961 { | 2961 { |
2962 if (frame()) | 2962 if (frame()) |
2963 handleAcceptClientHintsHeader(content, m_clientHintsPreferences); | 2963 handleAcceptClientHintsHeader(content, m_clientHintsPreferences, fetcher
()); |
2964 } | 2964 } |
2965 | 2965 |
2966 void Document::processHttpEquivDefaultStyle(const AtomicString& content) | 2966 void Document::processHttpEquivDefaultStyle(const AtomicString& content) |
2967 { | 2967 { |
2968 // The preferred style set has been overridden as per section | 2968 // The preferred style set has been overridden as per section |
2969 // 14.3.2 of the HTML4.0 specification. We need to update the | 2969 // 14.3.2 of the HTML4.0 specification. We need to update the |
2970 // sheet used variable and then update our style selector. | 2970 // sheet used variable and then update our style selector. |
2971 // For more info, see the test at: | 2971 // For more info, see the test at: |
2972 // http://www.hixie.ch/tests/evil/css/import/main/preferred.html | 2972 // http://www.hixie.ch/tests/evil/css/import/main/preferred.html |
2973 // -dwh | 2973 // -dwh |
(...skipping 2764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5738 #ifndef NDEBUG | 5738 #ifndef NDEBUG |
5739 using namespace blink; | 5739 using namespace blink; |
5740 void showLiveDocumentInstances() | 5740 void showLiveDocumentInstances() |
5741 { | 5741 { |
5742 WeakDocumentSet& set = liveDocumentSet(); | 5742 WeakDocumentSet& set = liveDocumentSet(); |
5743 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); | 5743 fprintf(stderr, "There are %u documents currently alive:\n", set.size()); |
5744 for (Document* document : set) | 5744 for (Document* document : set) |
5745 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); | 5745 fprintf(stderr, "- Document %p URL: %s\n", document, document->url().str
ing().utf8().data()); |
5746 } | 5746 } |
5747 #endif | 5747 #endif |
OLD | NEW |