Closed a2intl closed 3 years ago
Currently the XMLHttpRequest.DONE value is getting set to the last-iterated-property-value in extendNative, which, at least in Chrome, is ƒ removeEventListener() { [native code] }, when it should be 4.
XMLHttpRequest.DONE
extendNative
ƒ removeEventListener() { [native code] }
4
We encountered this problem breaking a req.readyState===XMLHttpRequest.DONE condition implemented in the iabtcf-es library by our consent manager, Quantcast Choice, by a user using the Wordpress plugin https://github.com/dcooney/wordpress-ajax-load-more
req.readyState===XMLHttpRequest.DONE
Currently the
XMLHttpRequest.DONE
value is getting set to the last-iterated-property-value inextendNative
, which, at least in Chrome, isƒ removeEventListener() { [native code] }
, when it should be4
.We encountered this problem breaking a
req.readyState===XMLHttpRequest.DONE
condition implemented in the iabtcf-es library by our consent manager, Quantcast Choice, by a user using the Wordpress plugin https://github.com/dcooney/wordpress-ajax-load-more