Forum Moderators: open

Message Too Old, No Replies

Checking javascript warnings

         

toplisek

12:21 pm on Sep 6, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have tested webdeveloper checking toolbar inside Mozilla.

Which warning should be disabled to check in correct way.

They have Strict warning and disable All or/and Strict warnings.
Is this relaible to disable and validate websites?

JAB Creations

9:32 am on Sep 7, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think it's ES5's strict mode possibly? I'm not entirely sure. I prefer to code things as strictly as possible to ensure my code will work no matter what. I always keep the strict warnings enabled, those errors are generally not difficult to fix. I recommend keeping your error reporting as sensitive as it'll get (both client and server side) as it'll encourage you to write better more secure code.

If you code everything and serve is as XHTML served as application/xhtml+xml the only thing you'll need a validator for it to check for duplicate id's and not that if you have good coding practices. ;)

- John