Commit Graph

446 Commits

Author SHA1 Message Date
blois@google.com 00a552c3d4 Cleaning up shadow dom tests.
Made the standard test check for platform support and expect a failure if not supported.

Made the layout test fail if not supported rather than hang and cleaned up the status file for it.

BUG=

Review URL: https://codereview.chromium.org//11614032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16291 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 21:57:27 +00:00
ricow@google.com c9a49a2e0e Revert revision 16240
This is causing compilation errors on dartium.

Anton/Peter: could you coordinate relanding this with the code removed from multivm bindings?
Review URL: https://codereview.chromium.org//11610006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16246 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 08:12:44 +00:00
blois@google.com b1fa7e7a70 Removing unsupported types.
BUG=

Review URL: https://codereview.chromium.org//11620009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16240 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 01:27:56 +00:00
blois@google.com 419204dc7b Revert "Removing some deprecated and webkit-only types."
This reverts commit 16233. It broke swarm.

TBR=efortuna
BUG=

Review URL: https://codereview.chromium.org//11622010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16234 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 23:16:58 +00:00
blois@google.com abae6a6e65 Removing some deprecated and webkit-only types.
PeerConnection00 is a deprecated API from the experimental WebRTC APIs.

Point was only used for some WebKit-only functionality which we should expose at some point, but in a platform-independent manner.

BUG=

Review URL: https://codereview.chromium.org//11616005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16233 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 22:56:46 +00:00
kustermann@google.com 5b7247a974 Updated status files for safari test failures: created issue 7414
Review URL: https://codereview.chromium.org//11571024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16162 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:53:33 +00:00
kustermann@google.com cb54878e87 Updated status files for opera test failures: created issue 7413
Review URL: https://codereview.chromium.org//11578028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16159 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 13:26:45 +00:00
scheglov@google.com 5ff9fc871c Issue 5064. Remove 'skip' status for about 130 tests.
http://code.google.com/p/dart/issues/detail?id=5064

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11565017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16144 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 23:20:36 +00:00
kustermann@google.com 2c17e147c8 Tests which fail on Opera are now marked as "Fail", with comment "to be triaged"
Review URL: https://codereview.chromium.org//11571009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16125 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 16:12:58 +00:00
kustermann@google.com 91c869ae80 Updated safari entries in html.status since the tests run (relatively) stable now on safari
Review URL: https://codereview.chromium.org//11564014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16111 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-13 14:23:53 +00:00
kustermann@google.com e62edb4980 Removed supression of a test failure on Safari
Review URL: https://codereview.chromium.org//11553023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16031 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-12 11:48:26 +00:00
efortuna@google.com 4b1ddfcb24 Update Safari 6 html test status.
BUG=

Review URL: https://codereview.chromium.org//11458014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16005 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 23:04:55 +00:00
blois@google.com 9221d43bb9 Updating html.status for some of the input_element tests- the list of what's supported where is quite fluent right now.
TBR=efortuna
BUG=

Review URL: https://codereview.chromium.org//11538009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15990 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 18:34:38 +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
kustermann@google.com 4ba7478a22 Added supressions of test failures on Safari for {corelib,language,html}
Review URL: https://codereview.chromium.org//11533006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15987 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 17:41:39 +00:00
kustermann@google.com fbeeac8735 Removed supressions of test failures on Safari
Two more tests are passing now.

@ahe, @ngeoffray: Please triage the others.

Review URL: https://codereview.chromium.org//11532003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15970 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 12:35:57 +00:00
kustermann@google.com c72ed3f6a4 Removed supressions of test failures on Safari
Review URL: https://codereview.chromium.org//11535003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15967 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 11:56:41 +00:00
antonm@google.com 9fcc3f13df Fix a test to follow recent VM changes.
TBR=regis@google.com

Review URL: https://codereview.chromium.org//11527006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15963 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-11 11:16:56 +00:00
blois@google.com dd811bb838 Making FormData able to add Blobs and Files.
BUG=7152

Review URL: https://codereview.chromium.org//11473004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15871 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 22:32:34 +00:00
blois@google.com a9a2c026f2 Removing more APIs from Document.
Basically hiding APIs which are either redundant or should be on HtmlDocument rather than Document.

BUG=6989

Review URL: https://codereview.chromium.org//11470009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15855 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:04:28 +00:00
efortuna@google.com 917f8cec1f Fix up DOM keyboardEvent constructor for dartium.
BUG=

Review URL: https://codereview.chromium.org//11475033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15853 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:34:16 +00:00
efortuna@google.com 4a930b68a7 "Reverting 15820"
BUG=

Review URL: https://codereview.chromium.org//11478015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15823 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:06:36 +00:00
efortuna@google.com 18bb45a44d Fix dartium constructor for KeyboardEvent.
BUG=

Review URL: https://codereview.chromium.org//11451015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15820 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 23:15:43 +00:00
blois@google.com 8bf95806ac Hiding FilteredElementList class and fixing FilteredElementList.length.
BUG=6982

Review URL: https://codereview.chromium.org//11471004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15803 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 19:19:49 +00:00
blois@google.com 2946cab0bd Updating test to use the most common syntax.
The test was using fairly outdated syntax for setting width/height.

BUG=6346

Review URL: https://codereview.chromium.org//11448034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15799 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:45:44 +00:00
efortuna@google.com 201ec2f361 Fixed a lot of dartanalyzer static analysis issues with the html lib.
BUG=

Review URL: https://codereview.chromium.org//11453027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15798 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:40:26 +00:00
blois@google.com 5bc653278a Dartifying dart:html type names.
BUG=

Review URL: https://codereview.chromium.org//11419300

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15739 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 17:48:38 +00:00
blois@google.com e3850aa591 Adding dart:indexed_db.
BUG=

Review URL: https://codereview.chromium.org//11434079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15719 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 02:55:59 +00:00
blois@google.com 2b1cacbf17 Re-trying moving AudioElement back to dart:html.
This is a re-try of CL https://codereview.chromium.org/11348382/ which didn't work because it was using directory names which are incorrect on Dartium.

Changed to use Conditionals instead.

BUG=

Review URL: https://codereview.chromium.org//11447002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15718 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 02:29:32 +00:00
blois@google.com 39a7c87b6b Revert "Moving AudioElement back to dart:html"
This reverts commit 15707 because it's not working on dartium. It's putting all of the Audio types into HTML on dartium.

TBR=sra
BUG=

Review URL: https://codereview.chromium.org//11443002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15717 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 00:50:53 +00:00
blois@google.com 061c26d75b Moving AudioElement back to dart:html
Switched to using module or directory names from the IDL to determine the dart: library name.

Picked up some other types which should be moved as well.

BUG=7124

Review URL: https://codereview.chromium.org//11348382

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15707 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 21:17:14 +00:00
efortuna@google.com c6c2bd3007 Use language or userlanguage (IE) depending on what's defined in the browser.
Fix for http://code.google.com/p/dart/issues/detail?id=6237
BUG=6237

Review URL: https://codereview.chromium.org//11419294

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15656 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 20:59:43 +00:00
scheglov@google.com eef3848e9e Rollback removing Skip for DartC
TBR

For some reason this causes dart2js failures, but should not in theory.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11416298

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15607 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 22:36:51 +00:00
scheglov@google.com e6640e35eb Remove 'skip' status from some of the tests.
About 100 of them.
More 100+ tests could be added, but because of http://code.google.com/p/dart/issues/detail?id=5064 most of them fail.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11412280

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15599 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 21:11:41 +00:00
efortuna@google.com 33f5214bfc Make KeyboardEvent cross-browser consistent.
BUG=

Review URL: https://codereview.chromium.org//11416249

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15557 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 00:53:12 +00:00
blois@google.com 76b1800cd6 Splitting the Audio types out of the HTML library.
BUG=3108

Review URL: https://codereview.chromium.org//11280103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:58:26 +00:00
vsm@google.com a667e4a0a5 Update test status with fixes
This test is now passing on IE9 and 10 as of my fix in r15487.

TBR=efortuna@google.com

Review URL: https://codereview.chromium.org//11418228

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15491 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 01:25:32 +00:00
blois@google.com 911a7ec284 Changes to make it easier to add elements.
BUG=3584

Review URL: https://codereview.chromium.org//11316121

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15469 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 20:28:03 +00:00
blois@google.com 2688c60a05 Dartifying members.
Updating dart:html to generate members which follow the Dart naming guidelines.

BUG=4830

Review URL: https://codereview.chromium.org//11418075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15405 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 17:38:23 +00:00
hausner@google.com 1da3a82fbf Eliminate support of legacy type Dyamic
With this change, Dynamic is no longer implicitly converted
to dynamic.

This change breaks code that still uses Dynamic.
Review URL: https://codereview.chromium.org//11419176

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15404 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 17:33:17 +00:00
blois@google.com cd347e5346 Adding support for accessing attributes in alternate namespaces.
BUG=5395

Review URL: https://codereview.chromium.org//11348111

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15347 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 21:47:53 +00:00
vsm@google.com 5968499baa Mark tests as passing
These pass after switching from localstorage to attributes.

TBR=blois@google.com

Review URL: https://codereview.chromium.org//11411095

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15153 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:32:33 +00:00
blois@google.com d1da6affdd Deprecating Element.elements for Element.children.
BUG=3584

Review URL: https://codereview.chromium.org//11413071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15118 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 23:01:13 +00:00
blois@google.com 759bece562 Dartifying SVG library class names.
This CL is based on my previous CL to split out the SVG library.

Basically it renames most classes, but because of some name conflicts around Element and Document, I've skipped those. Renaming those classes will require some sizable changes to the generation code to emit library prefixes when referencing types across libs.

BUG=

Review URL: https://codereview.chromium.org//11364186

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15107 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 20:38:13 +00:00
efortuna@google.com 794806c2eb Changed safari browser test statuses that have broken since being on the FYI
page, so I can investigate the flakiness.

BUG=

Review URL: https://codereview.chromium.org//11348134

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15098 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 18:37:48 +00:00
lrn@google.com 3450798a1d Make Exception a class, not an interface, and remove the const constructor.
We should consider removing the constructor entirely, there is never a good excuse for throwing a non-descript Exception. If you do, it should likely be an Error instead.

Review URL: https://codereview.chromium.org//11369243

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15077 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 13:23:23 +00:00
efortuna@google.com a9d1cb16db Add constructors for SVG elements and remove static factory providers for html
elements with fix for optional parameters.

BUG=

Review URL: https://codereview.chromium.org//11299047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15045 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 23:31:26 +00:00
jmesserly@google.com fa37636797 "Reverting 15020"
Review URL: https://codereview.chromium.org//11412042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15025 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 18:34:08 +00:00
efortuna@google.com 2c8a8888e6 Add constructors for SVG elements and remove static Factory providers for Html
elements.
Review URL: https://codereview.chromium.org//11293292

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15020 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 17:57:03 +00:00
blois@google.com 3372f679b8 Unmerging HTMLDocument from Document, moving appropriate methods from Document to HTMLDocument, fixing issues around Document not being correctly wrapped for some XMLDocuments.
BUG=6453,3420,2977,5526

Review URL: https://codereview.chromium.org//11365203

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14996 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 01:17:27 +00:00