Prerequisites
I tried to reproduce the issue when...
Description
Screencast.from.2023-03-01.14-13-33.webm
A specific URL where the issue occurs.
https://piquark6046.github.io/testpage/XMLResponseHeader/
Steps to Reproduce
The step to reproduce is attached in the video.
piquark6046.github.io ## +js (no-xhr-if , adsbygoogle.js )
|| pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$ redirect = googlesyndication_adsbygoogle.js
@@|| pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
Expected behavior
XMLHttpRequest.prototype.status returns 200.
XMLHttpRequest.prototype.getResponseHeader('content-length') returns a digit number.
XMLHttpRequest.prototype.getResponseHeader('expires') returns a date and time.
XMLHttpRequest.prototype.getAllResponseHeaders() returns response header of a request.
Actual behavior
When a $redirect filter is applied:
XMLHttpRequest.prototype.status returns 0.
XMLHttpRequest.prototype.getResponseHeader('content-length') returns anull.
XMLHttpRequest.prototype.getResponseHeader('expires') returns null.
XMLHttpRequest.prototype.getAllResponseHeaders() returns an empty string.
When a scriptlet filter is applied:
All methods and property return empty data.
uBO version
1.47.2
Browser name and version
Mozilla Firefox Developer Edition 111.0b7
Operating System and version
Ubuntu 22.10
Prerequisites
I tried to reproduce the issue when...
Description
Screencast.from.2023-03-01.14-13-33.webm
A specific URL where the issue occurs.
https://piquark6046.github.io/testpage/XMLResponseHeader/
Steps to Reproduce
The step to reproduce is attached in the video.
Expected behavior
XMLHttpRequest.prototype.statusreturns200.XMLHttpRequest.prototype.getResponseHeader('content-length')returns a digit number.XMLHttpRequest.prototype.getResponseHeader('expires')returns a date and time.XMLHttpRequest.prototype.getAllResponseHeaders()returns response header of a request.Actual behavior
When a
$redirectfilter is applied:XMLHttpRequest.prototype.statusreturns0.XMLHttpRequest.prototype.getResponseHeader('content-length')returns anull.XMLHttpRequest.prototype.getResponseHeader('expires')returnsnull.XMLHttpRequest.prototype.getAllResponseHeaders()returns an empty string.When a scriptlet filter is applied:
uBO version
1.47.2
Browser name and version
Mozilla Firefox Developer Edition 111.0b7
Operating System and version
Ubuntu 22.10