All notable changes to this project will be documented in this file.
- Added a new page in pages/snippets: skip-video.
- Added two new pages in pages/service-worker: worker-itself and worker-subresource.
- Added two new pages in pages/snippets: hide-if-matches-computed-xpath and hide-if-matches-xpath3.
- Added a new page "Sitekey on MV3". The existing Sitekey page was renamed to "Sitekey on MV2".
- Generating the wildcard filter per domain
- Require Node 18
- Add functionality to copy filter text on click event for testcase
- Added test page for Wildcard support
- Added test pages for
remove
filters
- Removed WebRTC testpages
- Resolved conflicting websocket and websocket exception filters
strip-fetch-query-parameter test
fails if a filter blocks a legit element. Previously, it would still show a green box.abp-testcase-subscription.txt
has been updated to include the filterabptestpages.org##div[id='{{eh-id}}']
instead ofabptestpages.org##div[id='']
. This modification ensures the successful execution of the associated test.
- hide-if-has-and-matches-style test fails if a filter blocks a legit element. Previously, it would still show a green box.
- Added warning image to show if sitekey exception rule fails to apply.
- Removed deployment to testpages.adblockplus.org
- Switched default testpages url to
https://abptestpages.org/
- Added test page for
simulate-mouse-event
snippet. More info: #145
- Updated the
WebSocket
andWebSocket Exception
pages to use a self hosted websocket endpoint. More info: #48
- On the test run, changed the
checkLastError()
default behavior to log a warning instead of throwing an error. That can be changed with the newTHROW_LAST_ERROR
parameter. More info: #141
- Removed the
testpages-snippets.txt
filter list. More info: #137
- Added test pages for
json-override
andhide-if-contains-similar-text
snippets. More info: #134
- Added a comma test case to the
Header
page. More info: #65
- Removed the unused staging list at
/en/staging
- Removed the unused
Document exception - about:blank
page.
- Simplified the
iFrame
test case on theElem Hide
page, removing elements that already get tested on theBasic usage
test case.
- Fixed an issue with the CSP Specific page, where the
frame-src
filter had no effect. More info: #115
- Fixed an issue with the Popup automated test. More info: #131
- Removed the deprecated
BROWSER
,TESTS_SUBSET
andTESTS_EXCLUDE
parameters from the test Docker image.
- Added
=content-type
to header exception filter. More info: #100
- Updated one of the
iFrame Exception
filters, from##[alt="Test image placeholder"]
to##[alt="iframe-content-rewritten-by-script-placeholder"]
. More info: #125
- Renamed the title of pages/exceptions/iframe_subdomains.tmpl from
iFrame Exception
toiFrame Subdomains Exception
, and removed the<iframe>
ids on the static html files loaded by that page.
- Added the
GREP
parameter to the test Docker image, and deprecated theBROWSER
,TESTS_SUBSET
andTESTS_EXCLUDE
parameters.
- Fixed a bug on the Sitekey page that would make the test pass when using an invalid sitekey filter.
- Moved iframe exception testpage from iframe to iframe_subdomains path.
- Added new iframe exception testpage which does not load iframes across subdomains.
- Add test for iframe subdomain exception via filter that combines $document and $subdocument options
- Add tests for blocking and allowing resources with 4-component domains via filters with 3-component domains.
- Refactor extension tests.
- Add iframe exception testpage to index page.
- Require Node 16.
- Add elemhide-child exception test case.
- Remove
dir-string
snippet testpage.
- Add staging test case list at
/en/staging
. - Add document exception - about:blank test case.
- Add ID attributes to all test case elements.
- No existing ID attributes were changed.
- Add missing rewrite examples.
- Added XPath test page
- Added subpage containing only Testpages supported by DP ABP integrations (ABP Chromium and ABP Webview). Subpage is available under link: https://testpages.adblockplus.org/en/dp
- Deployed new testpages top-level domain: https://abptestpages.org
- Added subpage containing only Testpages supported by ABPKit. Subpage is available under link: https://testpages.adblockplus.org/en/abpkit
- Added anchor ID's to test cases for linking
- Removed Object and Object Exception test pages. More info here
- Added ::content test case for hide-if-contains-visible-text snippet.
- Added Constraints (Domain) test page
- Added hide-if-labelled-by test page
- Removed readd test page (that snippet has been removed from ABP)
- New test pages: Rewrite, Resource type (Other)
- New test elements:
[data-expectedresult="pass"]
,[data-expectedresult="fail"]
,.testcase-expected-view
,.testcase-nostyle
- Removed elements:
[data-expectedresult="notblocked"]
,[data-expectedresult="blocked"]
,.blocked
,.testcase-good-element
,.testcase-bad-element
,testcase-output-expected
- Testcase areas: replaced
<div class="testcase-container">
with<div class="testcase-area">
in Ping and Popup test pages. - Removed
<h3>
from test links in index page.
- New structure: Blocking and Hiding, Filter Options - Resource Types, Filter Options - Resource Type Exceptions, Filter Options - Constraints, Filter Options - Exceptions, Filter Options - Content Security Policy, Snippets, Circumvention
- Static test files: all moved from
/static/testcasefiles
to/static/testfiles
. Some particular test case files may also change their names and extensions. - Filters: in
<li><pre>
tags instead of just<pre>
. - Example content: replaced
<div class="testcase-content ...">
with<div class="testcase-examplecontent">
. - Testcase areas: replaced
<div class="testcase-container">
with<div class="testcase-area">
, except for Ping and Popup test pages.
- Enable Site Key page and test on docker
- Update page to the general changes above
- Removes unused CSS classes based on General changes above
Deleted static files:
static/testcasefiles/document/image.jpg
static/testcasefiles/document/stylesheet.css
static/testcasefiles/document/stylesheet.css
static/testcasefiles/elemhide/image.jpg
static/testcasefiles/genericblock/frame.html
static/testcasefiles/genericblock/target-generic.jpg
static/testcasefiles/genericblock/target-notgeneric.jpg
static/testcasefiles/generichide/frame.html
static/testcasefiles/matchcase/1/abc.jpg
static/testcasefiles/matchcase/2/ABC.jpg
Added static files:
static/testfiles/document/image.png
static/testfiles/elemhide/image.png
static/testfiles/genericblock/generic.png
static/testfiles/genericblock/specific.png
static/testfiles/match-case/dynamic/1/abc.png
static/testfiles/match-case/dynamic/2/ABC.png
static/testfiles/match-case/static/1/abc.png
static/testfiles/match-case/static/2/ABC.png
- This
CHANGELOG.md
file. - Project info added to the head section of test pages index linking to
CHANGELOG.md
- Simplified internal template inclusions.
- Removed unused site-breadcrumbs and testcases.tmpl page