Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: LayoutTests/fast/forms/pattern-attribute-invalid-regex.html

Issue 13950014: Revert "Switch RegularExpression from YARR to V8" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/forms/pattern-attribute-invalid-regex-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <script src="../../fast/js/resources/js-test-pre.js"></script>
4
5 <script>
6 description('Check if the pattern constraint is ignored when the regex is invali d.');
7
8 var input = document.createElement('input');
9 input.pattern = '[0-9'; // missing a ]
10 input.value = '11';
11
12 // pattern should have been ignored.
13 shouldBe('input.validity.patternMismatch', 'false');
14 </script>
15
16 <script src="../../fast/js/resources/js-test-post.js"></script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/pattern-attribute-invalid-regex-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698