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

Side by Side Diff: Source/WebKit/chromium/tests/WebViewTest.cpp

Issue 13888003: Remove compile-time / run-time flags for input[type=date]. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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 | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Disabled for https://bugs.webkit.org/show_bug.cgi?id=78746#c29 347 // Disabled for https://bugs.webkit.org/show_bug.cgi?id=78746#c29
348 TEST_F(WebViewTest, DISABLED_TextInputType) 348 TEST_F(WebViewTest, DISABLED_TextInputType)
349 { 349 {
350 testTextInputType(WebTextInputTypeText, "input_field_default.html"); 350 testTextInputType(WebTextInputTypeText, "input_field_default.html");
351 testTextInputType(WebTextInputTypePassword, "input_field_password.html"); 351 testTextInputType(WebTextInputTypePassword, "input_field_password.html");
352 testTextInputType(WebTextInputTypeEmail, "input_field_email.html"); 352 testTextInputType(WebTextInputTypeEmail, "input_field_email.html");
353 testTextInputType(WebTextInputTypeSearch, "input_field_search.html"); 353 testTextInputType(WebTextInputTypeSearch, "input_field_search.html");
354 testTextInputType(WebTextInputTypeNumber, "input_field_number.html"); 354 testTextInputType(WebTextInputTypeNumber, "input_field_number.html");
355 testTextInputType(WebTextInputTypeTelephone, "input_field_tel.html"); 355 testTextInputType(WebTextInputTypeTelephone, "input_field_tel.html");
356 testTextInputType(WebTextInputTypeURL, "input_field_url.html"); 356 testTextInputType(WebTextInputTypeURL, "input_field_url.html");
357 #if ENABLE(INPUT_TYPE_DATE)
358 testTextInputType(WebTextInputTypeDate, "input_field_date.html"); 357 testTextInputType(WebTextInputTypeDate, "input_field_date.html");
359 #endif
360 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE) 358 #if ENABLE(INPUT_TYPE_DATETIME_INCOMPLETE)
361 testTextInputType(WebTextInputTypeDateTime, "input_field_datetime.html"); 359 testTextInputType(WebTextInputTypeDateTime, "input_field_datetime.html");
362 #endif 360 #endif
363 #if ENABLE(INPUT_TYPE_DATETIMELOCAL) 361 #if ENABLE(INPUT_TYPE_DATETIMELOCAL)
364 testTextInputType(WebTextInputTypeDateTimeLocal, "input_field_datetimelocal. html"); 362 testTextInputType(WebTextInputTypeDateTimeLocal, "input_field_datetimelocal. html");
365 #endif 363 #endif
366 #if ENABLE(INPUT_TYPE_MONTH) 364 #if ENABLE(INPUT_TYPE_MONTH)
367 testTextInputType(WebTextInputTypeMonth, "input_field_month.html"); 365 testTextInputType(WebTextInputTypeMonth, "input_field_month.html");
368 #endif 366 #endif
369 #if ENABLE(INPUT_TYPE_TIME) 367 #if ENABLE(INPUT_TYPE_TIME)
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 client.clearChangeCounts(); 811 client.clearChangeCounts();
814 webView->confirmComposition(); 812 webView->confirmComposition();
815 EXPECT_EQ(0, client.textChangesWhileIgnored()); 813 EXPECT_EQ(0, client.textChangesWhileIgnored());
816 EXPECT_EQ(1, client.textChangesWhileNotIgnored()); 814 EXPECT_EQ(1, client.textChangesWhileNotIgnored());
817 815
818 webView->setAutofillClient(0); 816 webView->setAutofillClient(0);
819 webView->close(); 817 webView->close();
820 } 818 }
821 819
822 } 820 }
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebRuntimeFeatures.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698