protoype/proxy lies
lie detection
@abrahamjuliot
back in 2022 I decided to only let gecko run on TZP and at some point I modified `prototypeLies.js` by removing some engine checks, and over time I have added a few more items to check.
Now I have opened TZP up to all engines (it even runs on servo 😸 ) with some exceptions
- gecko is restricted to a minimum version
- webkit and blink must have certain properties
- so I don't have to deal with old-timey releases: 2 years is plenty
- https://github.com/arkenfox/TZP/blob/ad488934b75822adebdc1925bbd024a110ca9b6b/js/generic.js#L338-L356
And I've added a bunch of non-Gecko tests such as keyboard
---
anyway, the time has come to open `prototypeLies.js` back up to all engines, and I've reverted the changes from the past that restricted it
- https://github.com/arkenfox/TZP/commit/ad488934b75822adebdc1925bbd024a110ca9b6b#diff-2384141fe7dfabc0aad52daebe868c8b1f65a413481cf252ca7a3fbe25e65e63
namely, putting back the engine checks
I also added a variable (set once on page load) to toggle detecting prototype/proxy lies
- https://github.com/arkenfox/TZP/blob/ad488934b75822adebdc1925bbd024a110ca9b6b/js/generic.js#L2287-L2290
more to follow
6 条评论