Use Compat Inspector to quickly identify which Internet Explorer platform changes affect your site.
Compat Inspector is designed to help sites migrating to IE9 mode and up, not those running in legacy modes. You may still need to refer to documentation such as the Internet Explorer 9 Compatibility Cookbook and the Internet Explorer 10 Guide for Developers for some issues. The best pattern is to use Compat Inspector first, then fall back to documentation if nothing is found.
Run Compat Inspector by adding the following script before all other scripts on each page you want to test:
Alternatively you can use Fiddler to automatically inject Compat Inspector on pages you visit by adding this snippet to your Fiddler Script. Then you can toggle Compat Inspector on and off from the "Rules" menu.
After you have the above script in place, open your page in IE9 or IE10. Compat Inspector will immediately start analyzing the page. Note that identification of some issues requires execution of the related code. So you should also explicitly test any interactions known to be working incorrectly.
Compat Inspector will keep a running total of messages associated with detected issues. A summary view in the upper right hand corner of the page displays the results:
Click on this view to expand it and obtain detailed information about each detected issue with links to relevant documentation:
Most errors and warnings also provide two additional actions for further investigation: "Verify" and "Debug."
Some test cases have built-in "verifiers" that emulate legacy behavior. This allows you to confirm the root cause of an issue before making any changes to your code.
Prerequisite: Compat Inspector is opened in the detailed information view and displaying an error or warning message containing a checkbox labeled "Verify."
Compat Inspector can also help you isolate where things went wrong via the "debug" feature.
Prerequisite: Compat Inspector is opened in the detailed information view and displaying an error or warning message containing a checkbox labeled "Debug."
Many pages embed frames, some from other sources. These frames also produce messages if you're using Fiddler to inject Compat Inspector. Compat Inspector helps you isolate which frame or frames triggered a message. Just click a message to open it in the "Details" view. The view will display an entry for each frame that triggered the message. Each entry will contain the URL of the frame plus scoped "Verify" and "Debug" options. Use the options to investigate issues only in the frames you care about.
Note: Substitution may not work if the library has been concatenated with other scripts.
Remove the Compat Inspector script from all your pages before publishing. Compat Inspector is a test tool and should not be used in production. After that keep an eye on the IE blog for update announcements.