diff options
author | bashi@chromium.org <bashi@chromium.org> | 2015-04-02 02:38:53 +0000 |
---|---|---|
committer | bashi@chromium.org <bashi@chromium.org> | 2015-04-02 02:38:53 +0000 |
commit | 700c15b5b81f2cf89678df24def5b2c15917b76a (patch) | |
tree | b472a2a508579111f61827b0800e9f008f576afd /third_party/WebKit/LayoutTests/fast/xmlhttprequest | |
parent | d01a435c46d13691fe5af19401810ad7b56efc72 (diff) | |
download | chromium_src-700c15b5b81f2cf89678df24def5b2c15917b76a.zip chromium_src-700c15b5b81f2cf89678df24def5b2c15917b76a.tar.gz chromium_src-700c15b5b81f2cf89678df24def5b2c15917b76a.tar.bz2 |
bindings: Add validation for enum Sequence or Array
We should throw a TypeError when an invalid enum value is passed
as an element of Sequence or Array.
BUG=471967
Review URL: https://codereview.chromium.org/1047993002
git-svn-id: svn://svn.chromium.org/blink/trunk@192987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/xmlhttprequest')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt index 8934554..dbbab57 100644 --- a/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt +++ b/third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-set-responsetype-expected.txt @@ -1,5 +1,5 @@ -CONSOLE WARNING: The provided value 'dkjdfkjdfkj' is not a valid value of type 'XMLHttpRequestResponseType'. -CONSOLE WARNING: The provided value 'asdfasdfasd' is not a valid value of type 'XMLHttpRequestResponseType'. +CONSOLE WARNING: The provided value 'dkjdfkjdfkj' is not a valid enum value. +CONSOLE WARNING: The provided value 'asdfasdfasd' is not a valid enum value. This test checks if setting non-supported type does not throw an exception On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |