[PATCH v6 01/12] jscript: Treat prototype refs as non-existent when deleting.

Jacek Caban jacek at codeweavers.com
Tue Nov 23 08:56:30 CST 2021


On 11/23/21 2:59 PM, Gabriel Ivăncescu wrote:
> diff --git a/dlls/mshtml/tests/documentmode.js b/dlls/mshtml/tests/documentmode.js
> index d5f33dd..041025c 100644
> --- a/dlls/mshtml/tests/documentmode.js
> +++ b/dlls/mshtml/tests/documentmode.js
> @@ -1192,7 +1192,6 @@ sync_test("__proto__", function() {
>       ok(obj.__proto__ === ctor.prototype, "obj.__proto__ !== ctor.prototype");
>   
>       r = (delete x.__proto__);
> -    todo_wine.
>       ok(r, "delete x.__proto__ returned " + r);


While the patch looks right, the test is very fragile. Please add a test 
using regular properties to jscript tests as well.


Thanks,

Jacek




More information about the wine-devel mailing list