Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1383 by [email protected]: User friendly error messages missing in es53
http://code.google.com/p/google-caja/issues/detail?id=1383

What steps will reproduce the problem?

In each of the following cases, the reported error in the console references ___$ properties which are not meaningful to the end-user.

1. var y; y(); // Uncaught script error: 'Cannot call method 'i___' of undefined' ... 2. var y; y.x; // Uncaught script error: 'Cannot read property 'x_v___' of undefined' in ... 3. var y; y.x = 1; // Uncaught script error: 'Cannot read property 'x_w___' of undefined' ...
4. var y; new y(); // etc
5. var y; delete y.x;

What is the expected output? What do you see instead?
The error message on the console should report either that the properties are not whitelisted (if they exist) or that they do not exist.

Please use labels and text to provide additional information.


Reply via email to