| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 AllowSameOriginHref | 90 AllowSameOriginHref |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 bool filterStartToken(const FilterTokenRequest&); | 93 bool filterStartToken(const FilterTokenRequest&); |
| 94 void filterEndToken(const FilterTokenRequest&); | 94 void filterEndToken(const FilterTokenRequest&); |
| 95 bool filterCharacterToken(const FilterTokenRequest&); | 95 bool filterCharacterToken(const FilterTokenRequest&); |
| 96 bool filterScriptToken(const FilterTokenRequest&); | 96 bool filterScriptToken(const FilterTokenRequest&); |
| 97 bool filterObjectToken(const FilterTokenRequest&); | 97 bool filterObjectToken(const FilterTokenRequest&); |
| 98 bool filterParamToken(const FilterTokenRequest&); | 98 bool filterParamToken(const FilterTokenRequest&); |
| 99 bool filterEmbedToken(const FilterTokenRequest&); | 99 bool filterEmbedToken(const FilterTokenRequest&); |
| 100 bool filterAppletToken(const FilterTokenRequest&); | |
| 101 bool filterFrameToken(const FilterTokenRequest&); | 100 bool filterFrameToken(const FilterTokenRequest&); |
| 102 bool filterMetaToken(const FilterTokenRequest&); | 101 bool filterMetaToken(const FilterTokenRequest&); |
| 103 bool filterBaseToken(const FilterTokenRequest&); | 102 bool filterBaseToken(const FilterTokenRequest&); |
| 104 bool filterFormToken(const FilterTokenRequest&); | 103 bool filterFormToken(const FilterTokenRequest&); |
| 105 bool filterInputToken(const FilterTokenRequest&); | 104 bool filterInputToken(const FilterTokenRequest&); |
| 106 bool filterButtonToken(const FilterTokenRequest&); | 105 bool filterButtonToken(const FilterTokenRequest&); |
| 107 bool filterLinkToken(const FilterTokenRequest&); | 106 bool filterLinkToken(const FilterTokenRequest&); |
| 108 | 107 |
| 109 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&); | 108 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&); |
| 110 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName
&, const String& replacementValue = String(), TruncationKind = NormalAttributeTr
uncation, HrefRestriction = ProhibitSameOriginHref); | 109 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName
&, const String& replacementValue = String(), TruncationKind = NormalAttributeTr
uncation, HrefRestriction = ProhibitSameOriginHref); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 132 | 131 |
| 133 State m_state; | 132 State m_state; |
| 134 bool m_scriptTagFoundInRequest; | 133 bool m_scriptTagFoundInRequest; |
| 135 unsigned m_scriptTagNestingLevel; | 134 unsigned m_scriptTagNestingLevel; |
| 136 WTF::TextEncoding m_encoding; | 135 WTF::TextEncoding m_encoding; |
| 137 }; | 136 }; |
| 138 | 137 |
| 139 } | 138 } |
| 140 | 139 |
| 141 #endif | 140 #endif |
| OLD | NEW |