Commit Graph

9 Commits

Author SHA1 Message Date
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
jmesserly@google.com 4194748695 remove old custom_element polyfill
just some cleanup. this was the stopgap xtag polyfill for Polymer; we never used it in web_ui to my knowledge. it's obsolete with document.register

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29116 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:21:07 +00:00
blois@google.com ceb213a24d Updating custom element test to only load polyfill when needed.
Also switching to a script element with a src, which I've found improves debuggability with some browsers.

BUG=13231
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27456 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:24:15 +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 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
jmesserly@google.com 3d1290bfae attempt to deflake IE9 mutation observer test
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25657 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-31 01:03:20 +00:00
jmesserly@google.com 6121faba73 add mutation observer polyfill package
also enables custom element tests on all supported platforms

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25637 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-30 20:48:47 +00:00
jmesserly@google.com 9fa9329f90 add custom_element package
code is from https://github.com/dart-lang/web-ui/blob/polymer/lib/custom_element.dart

Includes a test for the polyfill. It also includes a static analysis test to catch the common errors of forgetting to add an Element API. Because we had analysis errors in "observe" and "mdv" packages too, I added tests for them too, and fixed the issues.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25591 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-29 23:00:21 +00:00