OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <body> | |
3 <script src="../../../resources/testharness.js"></script> | |
4 <script src="../../../resources/testharnessreport.js"></script> | |
5 <div id="log"></div> | |
6 <script> | |
7 test(function() { | |
8 var input = document.createElement('input'); | |
9 input.type = 'color'; | |
10 input.oninput = function() { | |
11 this.type = 'text'; | |
12 }; | |
13 internals.selectColorInColorChooser(input, '#ff0000'); | |
14 }, 'Changing the input type from "color" to another in "input" event handler sho uld not crash.'); | |
15 </script> | |
OLD | NEW |