| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adam Barth. All Rights Reserved. | 2 * Copyright (C) 2011 Adam Barth. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 AllowSameOriginHref | 87 AllowSameOriginHref |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 bool filterStartToken(const FilterTokenRequest&); | 90 bool filterStartToken(const FilterTokenRequest&); |
| 91 void filterEndToken(const FilterTokenRequest&); | 91 void filterEndToken(const FilterTokenRequest&); |
| 92 bool filterCharacterToken(const FilterTokenRequest&); | 92 bool filterCharacterToken(const FilterTokenRequest&); |
| 93 bool filterScriptToken(const FilterTokenRequest&); | 93 bool filterScriptToken(const FilterTokenRequest&); |
| 94 bool filterObjectToken(const FilterTokenRequest&); | 94 bool filterObjectToken(const FilterTokenRequest&); |
| 95 bool filterParamToken(const FilterTokenRequest&); | 95 bool filterParamToken(const FilterTokenRequest&); |
| 96 bool filterEmbedToken(const FilterTokenRequest&); | 96 bool filterEmbedToken(const FilterTokenRequest&); |
| 97 bool filterAppletToken(const FilterTokenRequest&); | |
| 98 bool filterFrameToken(const FilterTokenRequest&); | 97 bool filterFrameToken(const FilterTokenRequest&); |
| 99 bool filterMetaToken(const FilterTokenRequest&); | 98 bool filterMetaToken(const FilterTokenRequest&); |
| 100 bool filterBaseToken(const FilterTokenRequest&); | 99 bool filterBaseToken(const FilterTokenRequest&); |
| 101 bool filterFormToken(const FilterTokenRequest&); | 100 bool filterFormToken(const FilterTokenRequest&); |
| 102 bool filterInputToken(const FilterTokenRequest&); | 101 bool filterInputToken(const FilterTokenRequest&); |
| 103 bool filterButtonToken(const FilterTokenRequest&); | 102 bool filterButtonToken(const FilterTokenRequest&); |
| 104 bool filterLinkToken(const FilterTokenRequest&); | 103 bool filterLinkToken(const FilterTokenRequest&); |
| 105 | 104 |
| 106 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&); | 105 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&); |
| 107 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName
&, const String& replacementValue = String(), TruncationKind = NormalAttributeTr
uncation, HrefRestriction = ProhibitSameOriginHref); | 106 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName
&, const String& replacementValue = String(), TruncationKind = NormalAttributeTr
uncation, HrefRestriction = ProhibitSameOriginHref); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 129 | 128 |
| 130 State m_state; | 129 State m_state; |
| 131 bool m_scriptTagFoundInRequest; | 130 bool m_scriptTagFoundInRequest; |
| 132 unsigned m_scriptTagNestingLevel; | 131 unsigned m_scriptTagNestingLevel; |
| 133 WTF::TextEncoding m_encoding; | 132 WTF::TextEncoding m_encoding; |
| 134 }; | 133 }; |
| 135 | 134 |
| 136 } | 135 } |
| 137 | 136 |
| 138 #endif | 137 #endif |
| OLD | NEW |