Commit Graph

6631 Commits

Author SHA1 Message Date
kustermann@google.com f6ab02857e test.py: Fixed incorrect handling of multitest in status files, status file cleanups.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27013 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:04:59 +00:00
kustermann@google.com b0889233cd test.py: Print the warning about left-over dirs only for directories created using Directory.createTemp()
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27003 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 09:29:12 +00:00
blois@google.com 128a95f0a4 Fixing wheel event on Dart2js
Proper fix of doing the new constructor were thwarted by inconsistencies between latest Chrome and stable branch.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26960 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:56:10 +00:00
jacobr@google.com f59872ee07 Missed one template from the previous CL to unbreak indexed_db.
Remove invalid calls to the _count method. This is a short term fix to make the build green.  Blois will be submitting the correct fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26958 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:12:59 +00:00
jacobr@google.com 792918a7de Remove invalid calls to the _count method. This is a short term fix to make the build green. Blois will be submitting the correct fix.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26956 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 23:01:13 +00:00
blois@google.com 0bea9648e1 Fixing console.
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26955 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 22:32:32 +00:00
jacobr@google.com c9378836aa Remove obsolete manually defined _deltaX and _deltaY members.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26949 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:37:09 +00:00
jacobr@google.com 013e3bb062 Dart binding changes to along with Blink merge 155942-156717
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26948 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:24:02 +00:00
jmesserly@google.com 7a091dcfca Turn on Polymer TodoMVC tests on Dart buildbots
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.

For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.

R=kustermann@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
blois@google.com 6570db562c Revert "Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking."
This reverts commit r26935. Failing in FF checked on type extension and IE9 on synchronous constructor upgrading, need to investigate.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26938 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:37:23 +00:00
blois@google.com 8fe0dd796d Fixing mouse clicks on IE11 Preview
The previous fix works for RTM but not the current version.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26937 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:27:38 +00:00
kustermann@google.com 59c486d34c Fixed type error in browser_controller: DebugLogger.error() takes a string
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26936 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:15:03 +00:00
blois@google.com 5607d75eca Basic functionality is working with JS native support and polyfill, still some issues with dart2js typechecking.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:08:19 +00:00
kustermann@google.com 7c2d27bb13 Add again the *necessary* timeout markers for tests running on ie9/ie10
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:32:42 +00:00
efortuna@google.com 47dcd084f3 Removing more dom_ methods (dom_getAttribute and dom_setAttribute.).
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26928 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 17:18:40 +00:00
kustermann@google.com 4d7311f14b Remove Timeout entries in status files for ie9/ie10
After reducing the load on our IE builders, we hopefully no longer see these
random timeouts.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26912 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:39:05 +00:00
ngeoffray@google.com 944aca6de7 HTML types that don't have [] do not implement JavaScriptIndexingBehavior, that is, the items cannot be accessed through [] in JavaScript.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26911 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:27:27 +00:00
kustermann@google.com 7ddb5bb8ad test.py: Report info about how long it took until a browser tests started if it times out
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26910 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 12:55:27 +00:00
kustermann@google.com bdb11d93c0 Reduce the number of processes/tests run in parallel by test.dart
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26907 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 09:34:49 +00:00
blois@google.com 205058d856 Adding an easy way to allow inline style attributes through sanitization
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26899 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 01:05:30 +00:00
hausner@google.com f82de66060 Evaluation of expression in context of library top-level
Third and final part of expression evaluation in the context
of an (object|class|library).

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26898 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 23:24:23 +00:00
blois@google.com 5eade2a0e6 Fixing mouse events on IE11.
IE11 is passing PointerEvents in place of MouseEvents.

BUG=12744
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26890 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 19:52:21 +00:00
blois@google.com 78487899af Attempting to fix IE9 XHR cross domain flakiness.
Appears to be related to http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26875 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:16 +00:00
mcampione@google.com 3106bb15a0 Added one-liner and "other resources" for dart:html library description
BUG=
R=blois@google.com, efortuna@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26870 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 14:27:54 +00:00
ricow@google.com 3be5be3130 Disble 4351 warnings on msvs compiler
Chromium is actually disabling additional warnings see:
http://src.chromium.org/viewvc/chrome/trunk/src/build/common.gypi?view=markup#l4447

do we want to disable any of these as well?

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26864 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 12:22:05 +00:00
jmesserly@google.com b5e9c9546c Reorganize tests for samples so the test is discoverable from the sample
This change gets rid of the legacy "samples/test/samples/samples.status" folder structure. Instead it moves to "samples/samples.status", and each sample's test moves into its "test" folder.

The benefit is less "..", easier to find the test for the sample, matching the structure of "pkg" and reducing levels of nesting. My other motivation is to help fix https://code.google.com/p/dart/issues/detail?id=12865, and generally make it easier to write tests for the web samples.

R=devoncarew@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26831 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:25:39 +00:00
blois@google.com 87e39090a1 Exposing native doubles as doubles when they are read-only or method return values.
This keeps num for parameters of operations and fields which are settable. Requested because some DOM APIs (such as Performance.now) don't really make sense returning ints.

BUG=11133
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26817 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 21:07:13 +00:00
blois@google.com 694f960486 Adding warning message when HTML contents get sanitized away.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26807 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 18:05:18 +00:00
blois@google.com c47eae035f Fixing createFragment on IE9 Table elements
Basically IE9 does not support innerHTML on table elements, so need to go one level up and wrap everything in a <table> tag.

Another issue is that IE9 does not support creating body elements or the matches call when the element is not in the document, updated the test to account for these.

BUG=12830
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26806 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 18:03:12 +00:00
devoncarew@google.com 2a2e694c48 editor build change to suppress a 'restore windows' dialog on the mac buildbots
R=danrubel@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26793 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:23:09 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
ricow@google.com 1c092dee58 Enable browser controller on IE10
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26786 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 13:19:02 +00:00
ricow@google.com 18504fde18 Add small util for killing hanging processes.
This will be used on the buildbot to kill any hanging dart or browser
processes. We will print the command line that resulted in the hang to
enable us to track over time what is causing us to hang (at least for
the hanging dart processes).

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26778 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 11:08:02 +00:00
floitsch@google.com a1a91eb915 Add async_helper package.
This package is private and should not be published to pub (nor should
its documentation be published to api.dartlang.org).

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26774 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 09:24:50 +00:00
blois@google.com b576296c39 Fix for IE9 html/htmlcollection test with Safe HTML
Issue is that IE9 uses uppercase attribute name when it's a boolean attribute, so was getting stripped.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26759 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:33:57 +00:00
blois@google.com 93c361dd36 This is an updated version of https://codereview.chromium.org/16374007/
Original submission is the first patch, fixes are the second.

There were two issues with the original-
  - Issue with URI sanitization where relative URIs on IE were being dropped.
  - Analyzer issue on missing members for CustomElement.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26757 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 01:03:01 +00:00
blois@google.com a85f2a8d4c Changing onCreated callback to created.
Brings it in-line with the browser's createdCallback and Polymer's created. Avoid conflict with event names.

Dartium changes are https://codereview.chromium.org/23494005

BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26754 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:51:42 +00:00
blois@google.com 7c393eb095 Adding support for cross-origin requests on IE9.
BUG=12728
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26752 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:27:59 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
kustermann@google.com 45c42e08f2 Update checked-in binary to 0.6.21.3_r26639 (M6)
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26704 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:16:37 +00:00
kustermann@google.com 013ac3b1d1 Reland "Enable running multitests in browsers""
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26695 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:12:05 +00:00
blois@google.com 24e9f22c90 Revert "First rev of Safe DOM"
This reverts commit 26681.

Some IE issues with URL validation that I need to investigate further.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26682 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 02:18:48 +00:00
blois@google.com 63ecf1a3fd First rev of Safe DOM
BUG=
R=jacobr@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26681 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 01:48:13 +00:00
blois@google.com 6fc3035bc3 Adding API to remove send ports from Window.
BUG=11658
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26679 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 00:44:37 +00:00
blois@google.com fc0158645a Bringing back CanvasElement.toDataUrl docs.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26669 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 21:33:02 +00:00
efortuna@google.com b66711273b Update webdriver setup script for Download name changes.
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26660 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:23:22 +00:00
efortuna@google.com 788716ff03 Remove keyIdentifier from KeyboardEvent factory constructor.
The new abilitity to specify a keycode/charcode/keyIdentifier will be allowed in
our custom KeyEvent implementation coming in a subsequent CL.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26656 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 16:43:55 +00:00
kustermann@google.com 807685dcaa Revert "Enable running multitests in browsers"
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26648 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:20:57 +00:00
kustermann@google.com 6844e23211 Enable running multitests in browsers
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26641 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 12:12:41 +00:00
floitsch@google.com 35d7140e66 Remove Encoding-enum from dart:io and add interface in dart:convert.
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00