{"action":"created","comment":{"url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/comments/71158258","id":71158258,"diff_hunk":"@@ -0,0 +1,206 @@\n+// Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file\n+\n+// for details. All rights reserved. Use of this source code is governed by a\n+// BSD-style license that can be found in the LICENSE file.\n+@TestOn('browser')\n+library polymer_interop.polymer_base_test;\n+\n+import 'dart:html';\n+import 'dart:js';\n+\n+import 'package:test/test.dart';\n+import 'package:web_components/web_components.dart';\n+import 'package:polymer_interop/src/polymer_gestures.dart';\n+\n+void showTestRunnerFrame() {\n+  // Make testrunner iFrame visible otherwise transitions not get fired ...\n+\n+  WindowBase w = window.parent;\n+\n+  JsObject doc = new JsObject.fromBrowserObject(w)['document'];\n+\n+  JsObject res = doc.callMethod(\"querySelector\", ['iframe']);\n+  res['style']['visibility'] = 'visible';\n+}\n+\n+void hideTestRunnerFrame() {\n+  WindowBase w = window.parent;\n+\n+  JsObject doc = new JsObject.fromBrowserObject(w)['document'];\n+\n+  JsObject res = doc.callMethod(\"querySelector\", ['iframe']);\n+  res['style']['visibility'] = '';\n+}\n+\n+main() async {\n+  await initWebComponents();\n+  group('simulate events', () {\n+    var app;\n+    JsObject jsApp;\n+\n+    setUp(() {\n+      app = new Element.tag('x-app');\n+      jsApp = new JsObject.fromBrowserObject(app);\n+      document.body.children.add(app);\n+      showTestRunnerFrame();\n+    });\n+\n+    tearDown(() {\n+      document.body.children.remove(app);","path":"test/polymer_gestures_test.dart","position":49,"original_position":49,"commit_id":"2fb3bc2c24b62a1ace5aa7cc7cc8522495850d08","original_commit_id":"20b241877aefff41a9def7db3b52037c7c80676f","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"body":"not used, will remove it. `show` is necessary otherwise test will fail","created_at":"2016-07-18T14:35:35Z","updated_at":"2016-07-18T14:35:35Z","html_url":"https://github.com/dart-lang/polymer_interop/pull/43#discussion_r71158258","pull_request_url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/comments/71158258"},"html":{"href":"https://github.com/dart-lang/polymer_interop/pull/43#discussion_r71158258"},"pull_request":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43","id":77598800,"html_url":"https://github.com/dart-lang/polymer_interop/pull/43","diff_url":"https://github.com/dart-lang/polymer_interop/pull/43.diff","patch_url":"https://github.com/dart-lang/polymer_interop/pull/43.patch","issue_url":"https://api.github.com/repos/dart-lang/polymer_interop/issues/43","number":43,"state":"open","locked":false,"title":"Upgrade to PolymerJS 1.6.0","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-15T11:02:26Z","updated_at":"2016-07-18T14:35:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57478030d8096f7fb635aded552a1d15ad4fadc7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43/commits","review_comments_url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43/comments","review_comment_url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dart-lang/polymer_interop/issues/43/comments","statuses_url":"https://api.github.com/repos/dart-lang/polymer_interop/statuses/2fb3bc2c24b62a1ace5aa7cc7cc8522495850d08","head":{"label":"dam0vm3nt:upgrade_1.6.0","ref":"upgrade_1.6.0","sha":"2fb3bc2c24b62a1ace5aa7cc7cc8522495850d08","user":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"repo":{"id":42894923,"name":"polymer_interop","full_name":"dam0vm3nt/polymer_interop","owner":{"login":"dam0vm3nt","id":2409466,"avatar_url":"https://avatars.githubusercontent.com/u/2409466?v=3","gravatar_id":"","url":"https://api.github.com/users/dam0vm3nt","html_url":"https://github.com/dam0vm3nt","followers_url":"https://api.github.com/users/dam0vm3nt/followers","following_url":"https://api.github.com/users/dam0vm3nt/following{/other_user}","gists_url":"https://api.github.com/users/dam0vm3nt/gists{/gist_id}","starred_url":"https://api.github.com/users/dam0vm3nt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dam0vm3nt/subscriptions","organizations_url":"https://api.github.com/users/dam0vm3nt/orgs","repos_url":"https://api.github.com/users/dam0vm3nt/repos","events_url":"https://api.github.com/users/dam0vm3nt/events{/privacy}","received_events_url":"https://api.github.com/users/dam0vm3nt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dam0vm3nt/polymer_interop","description":"Repackaging of the original polymer js source.","fork":true,"url":"https://api.github.com/repos/dam0vm3nt/polymer_interop","forks_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/forks","keys_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/teams","hooks_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/hooks","issue_events_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/issues/events{/number}","events_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/events","assignees_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/assignees{/user}","branches_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/branches{/branch}","tags_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/tags","blobs_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/git/refs{/sha}","trees_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/statuses/{sha}","languages_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/languages","stargazers_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/stargazers","contributors_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/contributors","subscribers_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/subscribers","subscription_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/subscription","commits_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/commits{/sha}","git_commits_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/git/commits{/sha}","comments_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/comments{/number}","issue_comment_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/issues/comments{/number}","contents_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/contents/{+path}","compare_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/merges","archive_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/downloads","issues_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/issues{/number}","pulls_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/pulls{/number}","milestones_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/milestones{/number}","notifications_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/labels{/name}","releases_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/releases{/id}","deployments_url":"https://api.github.com/repos/dam0vm3nt/polymer_interop/deployments","created_at":"2015-09-21T21:34:45Z","updated_at":"2015-09-21T21:34:47Z","pushed_at":"2016-07-18T12:25:23Z","git_url":"git://github.com/dam0vm3nt/polymer_interop.git","ssh_url":"git@github.com:dam0vm3nt/polymer_interop.git","clone_url":"https://github.com/dam0vm3nt/polymer_interop.git","svn_url":"https://github.com/dam0vm3nt/polymer_interop","homepage":"https://pub.dartlang.org/packages/polymer_interop","size":1313,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dart-lang:master","ref":"master","sha":"e84c2937436a4f861a467a5ec5ede6abc245b515","user":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":31272035,"name":"polymer_interop","full_name":"dart-lang/polymer_interop","owner":{"login":"dart-lang","id":1609975,"avatar_url":"https://avatars.githubusercontent.com/u/1609975?v=3","gravatar_id":"","url":"https://api.github.com/users/dart-lang","html_url":"https://github.com/dart-lang","followers_url":"https://api.github.com/users/dart-lang/followers","following_url":"https://api.github.com/users/dart-lang/following{/other_user}","gists_url":"https://api.github.com/users/dart-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/dart-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dart-lang/subscriptions","organizations_url":"https://api.github.com/users/dart-lang/orgs","repos_url":"https://api.github.com/users/dart-lang/repos","events_url":"https://api.github.com/users/dart-lang/events{/privacy}","received_events_url":"https://api.github.com/users/dart-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dart-lang/polymer_interop","description":"Repackaging of the original polymer js source.","fork":false,"url":"https://api.github.com/repos/dart-lang/polymer_interop","forks_url":"https://api.github.com/repos/dart-lang/polymer_interop/forks","keys_url":"https://api.github.com/repos/dart-lang/polymer_interop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dart-lang/polymer_interop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dart-lang/polymer_interop/teams","hooks_url":"https://api.github.com/repos/dart-lang/polymer_interop/hooks","issue_events_url":"https://api.github.com/repos/dart-lang/polymer_interop/issues/events{/number}","events_url":"https://api.github.com/repos/dart-lang/polymer_interop/events","assignees_url":"https://api.github.com/repos/dart-lang/polymer_interop/assignees{/user}","branches_url":"https://api.github.com/repos/dart-lang/polymer_interop/branches{/branch}","tags_url":"https://api.github.com/repos/dart-lang/polymer_interop/tags","blobs_url":"https://api.github.com/repos/dart-lang/polymer_interop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dart-lang/polymer_interop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dart-lang/polymer_interop/git/refs{/sha}","trees_url":"https://api.github.com/repos/dart-lang/polymer_interop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dart-lang/polymer_interop/statuses/{sha}","languages_url":"https://api.github.com/repos/dart-lang/polymer_interop/languages","stargazers_url":"https://api.github.com/repos/dart-lang/polymer_interop/stargazers","contributors_url":"https://api.github.com/repos/dart-lang/polymer_interop/contributors","subscribers_url":"https://api.github.com/repos/dart-lang/polymer_interop/subscribers","subscription_url":"https://api.github.com/repos/dart-lang/polymer_interop/subscription","commits_url":"https://api.github.com/repos/dart-lang/polymer_interop/commits{/sha}","git_commits_url":"https://api.github.com/repos/dart-lang/polymer_interop/git/commits{/sha}","comments_url":"https://api.github.com/repos/dart-lang/polymer_interop/comments{/number}","issue_comment_url":"https://api.github.com/repos/dart-lang/polymer_interop/issues/comments{/number}","contents_url":"https://api.github.com/repos/dart-lang/polymer_interop/contents/{+path}","compare_url":"https://api.github.com/repos/dart-lang/polymer_interop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dart-lang/polymer_interop/merges","archive_url":"https://api.github.com/repos/dart-lang/polymer_interop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dart-lang/polymer_interop/downloads","issues_url":"https://api.github.com/repos/dart-lang/polymer_interop/issues{/number}","pulls_url":"https://api.github.com/repos/dart-lang/polymer_interop/pulls{/number}","milestones_url":"https://api.github.com/repos/dart-lang/polymer_interop/milestones{/number}","notifications_url":"https://api.github.com/repos/dart-lang/polymer_interop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dart-lang/polymer_interop/labels{/name}","releases_url":"https://api.github.com/repos/dart-lang/polymer_interop/releases{/id}","deployments_url":"https://api.github.com/repos/dart-lang/polymer_interop/deployments","created_at":"2015-02-24T17:24:56Z","updated_at":"2016-04-18T14:59:19Z","pushed_at":"2016-07-18T12:25:23Z","git_url":"git://github.com/dart-lang/polymer_interop.git","ssh_url":"git@github.com:dart-lang/polymer_interop.git","clone_url":"https://github.com/dart-lang/polymer_interop.git","svn_url":"https://github.com/dart-lang/polymer_interop","homepage":"https://pub.dartlang.org/packages/polymer_interop","size":1176,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43"},"html":{"href":"https://github.com/dart-lang/polymer_interop/pull/43"},"issue":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/issues/43"},"comments":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/dart-lang/polymer_interop/statuses/2fb3bc2c24b62a1ace5aa7cc7cc8522495850d08"}}}}
{"actor":{"display_login":"dam0vm3nt"}}