DescriptionTEST ONLY -- Verify behavior of DISP_E_BADINDEX in the IE JavaScript runtime
This change set is not intended to be committed. It's a live test of how the
JavaScript engine in IE interprets DISP_E_BADINDEX when returned from our
injected 'Settings' object. The result is that the statement throws an
exception with message "Subscript out of range", and the 'name' property on
its prototype object is "RangeError".
The result: returning DISP_E_BADINDEX is fully supported by JavaScript in IE.
-----
Add a test method to 'CPluginUserSettings' named "TestBadIndex". When passed
zero, it returns normally, to verify that this method can be called. When
passed any positive number, it returns DISP_E_BADINDEX.
Add HTML and JS test files. The HTML test page is located in "html/templates"
to ensure settings injection.
-----
Informs the following review:
https://codereview.adblockplus.org/29330798/
Patch Set 1 #
MessagesTotal messages: 3
|