Jacob Richman
2dcd56ef43
Format all tests.
...
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.
BUG=
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
Sigmund Cherem
c3e61f315c
cpsir: triage remainder of html test suite, fix a couple.
...
R=asgerf@google.com , het@google.com
Review URL: https://codereview.chromium.org/1679603002 .
2016-02-08 10:37:52 -08:00
herhut@google.com
e03bcc278c
Also test setting input field to null via undefined.
...
BUG= http://dartbug/21555
R=floitsch@google.com
Review URL: https://codereview.chromium.org//704193005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41733 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-14 09:13:19 +00:00
blois@google.com
d9c8ca80b5
Revert "Adding test for InputElement.valueAsNumber"
...
Running into failures on IE, need to investigate.
TBR
BUG=
Review URL: https://codereview.chromium.org//236133018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35124 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-16 19:12:59 +00:00
blois@google.com
e1068da56f
Adding test for InputElement.valueAsNumber
...
To prove that https://code.google.com/p/dart/issues/detail?id=15788 is as intended.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//216113008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35117 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-16 17:40:41 +00:00
kevmoo@google.com
4283c3e41e
using unittest via package import
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//231413003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34890 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 19:42:11 +00:00
antonm@google.com
3b24778190
Allow null assignments if there is a corresponding marker.
...
R=podivlov@chromium.org
BUG=10025
Review URL: https://codereview.chromium.org//14190019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22067 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-26 08:48:27 +00:00
antonm@google.com
9cfe4b0f1f
Enable tests.
...
TBR=blois@google.com
BUG=8836
Review URL: https://codereview.chromium.org//12391052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19368 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 09:20:48 +00:00
blois@google.com
edb2b3c697
Revert "Revert "Converting dart:html to use DateTime rather than Date.""
...
Re-submitting change to use DateTime rather than Date.
I'm just disabling the new tests I added since they're failing on Dartium. Opened a bug tracking the Dartium and tests changes.
This means that dates are broken on Dartium, but they were broken everywhere before this change.
BUG=
Review URL: https://codereview.chromium.org//12330174
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 17:34:40 +00:00
blois@google.com
4698696514
Revert "Converting dart:html to use DateTime rather than Date."
...
This reverts commit 19107 because it broke Dartium.
BUG=
Review URL: https://codereview.chromium.org//12335120
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19108 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 03:16:01 +00:00
blois@google.com
bc54cc3f32
Converting dart:html to use DateTime rather than Date.
...
We had been exposing JS Date objects as Dart Dates, but it appears to never actually worked. Switched over to DateTime and added a converter for it.
BUG=
Review URL: https://codereview.chromium.org//12316139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 02:57:31 +00:00
blois@google.com
5b0fea791f
Removing DateTimeInputElement.
...
This has been removed from Chrome and it sounds like it's being removed from the spec.
Chromium bug- https://code.google.com/p/chromium/issues/detail?id=175080
BUG=8709
Review URL: https://codereview.chromium.org//12310068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18910 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 19:29:20 +00:00
blois@google.com
68e9461553
Fixing up input element support checks for IE9.
...
I was testing IE9 using IE10 compat mode (which has been quite good), but it didn't work for a couple of the input element types (though it worked for most).
This just adds checks and support annotations for the features which are not supported on IE9.
BUG=7627
Review URL: https://codereview.chromium.org//11692011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16552 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 19:58:19 +00:00
blois@google.com
36ce7edce8
Filling in supported platforms for InputElement types.
...
This fixes up some syntax issues with the first CL (parens on getters).
Also fixes an issue on IE where the constructors threw unexpected exceptions.
BUG=
Review URL: https://codereview.chromium.org//11696002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16551 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 19:16:00 +00:00
blois@google.com
040bf3c975
Revert "Filling in supported platforms for InputElement types."
...
This reverts commit 16529 which broke the build.
TBR=efortuna
BUG=
Review URL: https://codereview.chromium.org//11691005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16531 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:58:05 +00:00
blois@google.com
4abf70b2f1
Filling in supported platforms for InputElement types.
...
BUG=
Review URL: https://codereview.chromium.org//11659031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16529 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:44:15 +00:00
blois@google.com
24ef809487
Adding interfaces for various types of InputElement
...
Currently there's a set of them which only work in DRT, but I've added all of them. Was considering adding supported checks, but would prefer to defer till when we standardize our platform support story.
BUG=1684
Review URL: https://codereview.chromium.org//11470025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15988 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 18:04:22 +00:00