LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
4 * | 4 * |
5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
8 * | 8 * |
9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 testMatch(test, "abc$~stylesheet", "http://abc/adf", "STYLESHEET", null, false
, null, false); | 126 testMatch(test, "abc$~stylesheet", "http://abc/adf", "STYLESHEET", null, false
, null, false); |
127 testMatch(test, "abc$object", "http://abc/adf", "IMAGE", null, false, null, fa
lse); | 127 testMatch(test, "abc$object", "http://abc/adf", "IMAGE", null, false, null, fa
lse); |
128 testMatch(test, "abc$object", "http://abc/adf", "OBJECT", null, false, null, t
rue); | 128 testMatch(test, "abc$object", "http://abc/adf", "OBJECT", null, false, null, t
rue); |
129 testMatch(test, "abc$~object", "http://abc/adf", "OBJECT", null, false, null,
false); | 129 testMatch(test, "abc$~object", "http://abc/adf", "OBJECT", null, false, null,
false); |
130 testMatch(test, "abc$document", "http://abc/adf", "IMAGE", null, false, null,
false); | 130 testMatch(test, "abc$document", "http://abc/adf", "IMAGE", null, false, null,
false); |
131 testMatch(test, "abc$document", "http://abc/adf", "DOCUMENT", null, false, nul
l, true); | 131 testMatch(test, "abc$document", "http://abc/adf", "DOCUMENT", null, false, nul
l, true); |
132 testMatch(test, "abc$~document", "http://abc/adf", "DOCUMENT", null, false, nu
ll, false); | 132 testMatch(test, "abc$~document", "http://abc/adf", "DOCUMENT", null, false, nu
ll, false); |
133 testMatch(test, "abc$subdocument", "http://abc/adf", "IMAGE", null, false, nul
l, false); | 133 testMatch(test, "abc$subdocument", "http://abc/adf", "IMAGE", null, false, nul
l, false); |
134 testMatch(test, "abc$subdocument", "http://abc/adf", "SUBDOCUMENT", null, fals
e, null, true); | 134 testMatch(test, "abc$subdocument", "http://abc/adf", "SUBDOCUMENT", null, fals
e, null, true); |
135 testMatch(test, "abc$~subdocument", "http://abc/adf", "SUBDOCUMENT", null, fal
se, null, false); | 135 testMatch(test, "abc$~subdocument", "http://abc/adf", "SUBDOCUMENT", null, fal
se, null, false); |
| 136 testMatch(test, "abc$websocket", "http://abc/adf", "OBJECT", null, false, null
, false); |
| 137 testMatch(test, "abc$websocket", "http://abc/adf", "WEBSOCKET", null, false, n
ull, true); |
| 138 testMatch(test, "abc$~websocket", "http://abc/adf", "WEBSOCKET", null, false,
null, false); |
| 139 testMatch(test, "abc$webrtc", "http://abc/adf", "OBJECT", null, false, null, f
alse); |
| 140 testMatch(test, "abc$webrtc", "http://abc/adf", "WEBRTC", null, false, null, t
rue); |
| 141 testMatch(test, "abc$~webrtc", "http://abc/adf", "WEBRTC", null, false, null,
false); |
136 testMatch(test, "abc$background", "http://abc/adf", "OBJECT", null, false, nul
l, false); | 142 testMatch(test, "abc$background", "http://abc/adf", "OBJECT", null, false, nul
l, false); |
137 testMatch(test, "abc$background", "http://abc/adf", "IMAGE", null, false, null
, true); | 143 testMatch(test, "abc$background", "http://abc/adf", "IMAGE", null, false, null
, true); |
138 testMatch(test, "abc$~background", "http://abc/adf", "IMAGE", null, false, nul
l, false); | 144 testMatch(test, "abc$~background", "http://abc/adf", "IMAGE", null, false, nul
l, false); |
139 testMatch(test, "abc$xbl", "http://abc/adf", "IMAGE", null, false, null, false
); | 145 testMatch(test, "abc$xbl", "http://abc/adf", "IMAGE", null, false, null, false
); |
140 testMatch(test, "abc$xbl", "http://abc/adf", "XBL", null, false, null, true); | 146 testMatch(test, "abc$xbl", "http://abc/adf", "XBL", null, false, null, true); |
141 testMatch(test, "abc$~xbl", "http://abc/adf", "XBL", null, false, null, false)
; | 147 testMatch(test, "abc$~xbl", "http://abc/adf", "XBL", null, false, null, false)
; |
142 testMatch(test, "abc$ping", "http://abc/adf", "IMAGE", null, false, null, fals
e); | 148 testMatch(test, "abc$ping", "http://abc/adf", "IMAGE", null, false, null, fals
e); |
143 testMatch(test, "abc$ping", "http://abc/adf", "PING", null, false, null, true)
; | 149 testMatch(test, "abc$ping", "http://abc/adf", "PING", null, false, null, true)
; |
144 testMatch(test, "abc$~ping", "http://abc/adf", "PING", null, false, null, fals
e); | 150 testMatch(test, "abc$~ping", "http://abc/adf", "PING", null, false, null, fals
e); |
145 testMatch(test, "abc$xmlhttprequest", "http://abc/adf", "IMAGE", null, false,
null, false); | 151 testMatch(test, "abc$xmlhttprequest", "http://abc/adf", "IMAGE", null, false,
null, false); |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 testMatch(test, "@@test$document,~image", "http://test/", "DOCUMENT", null, fa
lse, null, true); | 361 testMatch(test, "@@test$document,~image", "http://test/", "DOCUMENT", null, fa
lse, null, true); |
356 testMatch(test, "@@test$document,domain=foo.com", "http://test/", "DOCUMENT",
"foo.com", false, null, true); | 362 testMatch(test, "@@test$document,domain=foo.com", "http://test/", "DOCUMENT",
"foo.com", false, null, true); |
357 testMatch(test, "@@test$document,domain=foo.com", "http://test/", "DOCUMENT",
"bar.com", false, null, false); | 363 testMatch(test, "@@test$document,domain=foo.com", "http://test/", "DOCUMENT",
"bar.com", false, null, false); |
358 testMatch(test, "@@test$document,domain=~foo.com", "http://test/", "DOCUMENT",
"foo.com", false, null, false); | 364 testMatch(test, "@@test$document,domain=~foo.com", "http://test/", "DOCUMENT",
"foo.com", false, null, false); |
359 testMatch(test, "@@test$document,domain=~foo.com", "http://test/", "DOCUMENT",
"bar.com", false, null, true); | 365 testMatch(test, "@@test$document,domain=~foo.com", "http://test/", "DOCUMENT",
"bar.com", false, null, true); |
360 testMatch(test, "@@test$document,sitekey=foo-publickey", "http://test/", "DOCU
MENT", "foo.com", false, "foo-publickey", true); | 366 testMatch(test, "@@test$document,sitekey=foo-publickey", "http://test/", "DOCU
MENT", "foo.com", false, "foo-publickey", true); |
361 testMatch(test, "@@test$document,sitekey=foo-publickey", "http://test/", "DOCU
MENT", "foo.com", false, null, false); | 367 testMatch(test, "@@test$document,sitekey=foo-publickey", "http://test/", "DOCU
MENT", "foo.com", false, null, false); |
362 | 368 |
363 test.done(); | 369 test.done(); |
364 }; | 370 }; |
LEFT | RIGHT |