{"action":"created","comment":{"url":"https://api.github.com/repos/fluid-project/infusion/pulls/comments/35604886","id":35604886,"diff_hunk":"@@ -11,13 +11,40 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt\n */\n \n // Declare dependencies\n-/* global fluid, jqUnit, speechSynthesis */\n+/* global fluid, jqUnit, speechSynthesis, SpeechSynthesisUtterance */\n \n (function () {\n     \"use strict\";\n \n     fluid.registerNamespace(\"fluid.tests\");\n \n+    // Ensures that TTS is supported in the browser, including cases wehre the\n+    // feature is detected, but where the underlying audio engine is missing.\n+    // For example VM's on SauceLabs.\n+    //\n+    // returns a promise","path":"tests/component-tests/textToSpeech/js/TextToSpeechTests.js","position":16,"original_position":16,"commit_id":"a0b1ca5f19b8298742ff9873ed399b6aa35a8b39","original_commit_id":"a0b1ca5f19b8298742ff9873ed399b6aa35a8b39","user":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"body":"What does the returned promise represent? If this is intended to be a supported API, we should add a proper doc-style comment /** ... @param, @return etc. */ explaining the implementation and its strategy. What does the \"delay\" argument do?\r\n","created_at":"2015-07-28T00:45:56Z","updated_at":"2015-07-28T00:45:56Z","html_url":"https://github.com/fluid-project/infusion/pull/612#discussion_r35604886","pull_request_url":"https://api.github.com/repos/fluid-project/infusion/pulls/612","_links":{"self":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/comments/35604886"},"html":{"href":"https://github.com/fluid-project/infusion/pull/612#discussion_r35604886"},"pull_request":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/612"}}},"pull_request":{"url":"https://api.github.com/repos/fluid-project/infusion/pulls/612","id":38135273,"html_url":"https://github.com/fluid-project/infusion/pull/612","diff_url":"https://github.com/fluid-project/infusion/pull/612.diff","patch_url":"https://github.com/fluid-project/infusion/pull/612.patch","issue_url":"https://api.github.com/repos/fluid-project/infusion/issues/612","number":612,"state":"open","locked":false,"title":"FLUID-5675: Add a mock version of text to speech","user":{"login":"jobara","id":556024,"avatar_url":"https://avatars.githubusercontent.com/u/556024?v=3","gravatar_id":"","url":"https://api.github.com/users/jobara","html_url":"https://github.com/jobara","followers_url":"https://api.github.com/users/jobara/followers","following_url":"https://api.github.com/users/jobara/following{/other_user}","gists_url":"https://api.github.com/users/jobara/gists{/gist_id}","starred_url":"https://api.github.com/users/jobara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobara/subscriptions","organizations_url":"https://api.github.com/users/jobara/orgs","repos_url":"https://api.github.com/users/jobara/repos","events_url":"https://api.github.com/users/jobara/events{/privacy}","received_events_url":"https://api.github.com/users/jobara/received_events","type":"User","site_admin":false},"body":"Added a mock version of fluid.textToSpeech which mocks the calls to the Web Speech API. This will allow for easier integration testing and remove the need for these tests to be run in a browser that supports the Web Speech API (e.g. Firefox).\r\n    \r\nThe unit tests for the selfVoicingEnactor have been updated to make use of the MockTTS.\r\n\r\nhttps://issues.fluidproject.org/browse/FLUID-5675","created_at":"2015-06-19T18:36:18Z","updated_at":"2015-07-28T00:45:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3ef8e5d46fda0e83cfb252d1dade70628336556","assignee":{"login":"amb26","id":561418,"avatar_url":"https://avatars.githubusercontent.com/u/561418?v=3","gravatar_id":"","url":"https://api.github.com/users/amb26","html_url":"https://github.com/amb26","followers_url":"https://api.github.com/users/amb26/followers","following_url":"https://api.github.com/users/amb26/following{/other_user}","gists_url":"https://api.github.com/users/amb26/gists{/gist_id}","starred_url":"https://api.github.com/users/amb26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amb26/subscriptions","organizations_url":"https://api.github.com/users/amb26/orgs","repos_url":"https://api.github.com/users/amb26/repos","events_url":"https://api.github.com/users/amb26/events{/privacy}","received_events_url":"https://api.github.com/users/amb26/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/fluid-project/infusion/pulls/612/commits","review_comments_url":"https://api.github.com/repos/fluid-project/infusion/pulls/612/comments","review_comment_url":"https://api.github.com/repos/fluid-project/infusion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fluid-project/infusion/issues/612/comments","statuses_url":"https://api.github.com/repos/fluid-project/infusion/statuses/a0b1ca5f19b8298742ff9873ed399b6aa35a8b39","head":{"label":"jobara:FLUID-5675","ref":"FLUID-5675","sha":"a0b1ca5f19b8298742ff9873ed399b6aa35a8b39","user":{"login":"jobara","id":556024,"avatar_url":"https://avatars.githubusercontent.com/u/556024?v=3","gravatar_id":"","url":"https://api.github.com/users/jobara","html_url":"https://github.com/jobara","followers_url":"https://api.github.com/users/jobara/followers","following_url":"https://api.github.com/users/jobara/following{/other_user}","gists_url":"https://api.github.com/users/jobara/gists{/gist_id}","starred_url":"https://api.github.com/users/jobara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobara/subscriptions","organizations_url":"https://api.github.com/users/jobara/orgs","repos_url":"https://api.github.com/users/jobara/repos","events_url":"https://api.github.com/users/jobara/events{/privacy}","received_events_url":"https://api.github.com/users/jobara/received_events","type":"User","site_admin":false},"repo":{"id":1320328,"name":"infusion","full_name":"jobara/infusion","owner":{"login":"jobara","id":556024,"avatar_url":"https://avatars.githubusercontent.com/u/556024?v=3","gravatar_id":"","url":"https://api.github.com/users/jobara","html_url":"https://github.com/jobara","followers_url":"https://api.github.com/users/jobara/followers","following_url":"https://api.github.com/users/jobara/following{/other_user}","gists_url":"https://api.github.com/users/jobara/gists{/gist_id}","starred_url":"https://api.github.com/users/jobara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jobara/subscriptions","organizations_url":"https://api.github.com/users/jobara/orgs","repos_url":"https://api.github.com/users/jobara/repos","events_url":"https://api.github.com/users/jobara/events{/privacy}","received_events_url":"https://api.github.com/users/jobara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jobara/infusion","description":"Infusion combines JavaScript, CSS, HTML and user-centered design, rolling them all into a single package that sits on top of the popular jQuery toolkit. Infusion includes ready-to-use components as well as a framework to build your own.","fork":true,"url":"https://api.github.com/repos/jobara/infusion","forks_url":"https://api.github.com/repos/jobara/infusion/forks","keys_url":"https://api.github.com/repos/jobara/infusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jobara/infusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jobara/infusion/teams","hooks_url":"https://api.github.com/repos/jobara/infusion/hooks","issue_events_url":"https://api.github.com/repos/jobara/infusion/issues/events{/number}","events_url":"https://api.github.com/repos/jobara/infusion/events","assignees_url":"https://api.github.com/repos/jobara/infusion/assignees{/user}","branches_url":"https://api.github.com/repos/jobara/infusion/branches{/branch}","tags_url":"https://api.github.com/repos/jobara/infusion/tags","blobs_url":"https://api.github.com/repos/jobara/infusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jobara/infusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jobara/infusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/jobara/infusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jobara/infusion/statuses/{sha}","languages_url":"https://api.github.com/repos/jobara/infusion/languages","stargazers_url":"https://api.github.com/repos/jobara/infusion/stargazers","contributors_url":"https://api.github.com/repos/jobara/infusion/contributors","subscribers_url":"https://api.github.com/repos/jobara/infusion/subscribers","subscription_url":"https://api.github.com/repos/jobara/infusion/subscription","commits_url":"https://api.github.com/repos/jobara/infusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/jobara/infusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/jobara/infusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/jobara/infusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/jobara/infusion/contents/{+path}","compare_url":"https://api.github.com/repos/jobara/infusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jobara/infusion/merges","archive_url":"https://api.github.com/repos/jobara/infusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jobara/infusion/downloads","issues_url":"https://api.github.com/repos/jobara/infusion/issues{/number}","pulls_url":"https://api.github.com/repos/jobara/infusion/pulls{/number}","milestones_url":"https://api.github.com/repos/jobara/infusion/milestones{/number}","notifications_url":"https://api.github.com/repos/jobara/infusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jobara/infusion/labels{/name}","releases_url":"https://api.github.com/repos/jobara/infusion/releases{/id}","created_at":"2011-02-02T13:25:10Z","updated_at":"2015-04-30T14:43:37Z","pushed_at":"2015-07-13T14:55:33Z","git_url":"git://github.com/jobara/infusion.git","ssh_url":"git@github.com:jobara/infusion.git","clone_url":"https://github.com/jobara/infusion.git","svn_url":"https://github.com/jobara/infusion","homepage":"http://fluidproject.org/products/infusion/","size":36277,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"fluid-project:master","ref":"master","sha":"5adc32e325f8db4bb171edc33fa5818a09cb42d8","user":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1317051,"name":"infusion","full_name":"fluid-project/infusion","owner":{"login":"fluid-project","id":560119,"avatar_url":"https://avatars.githubusercontent.com/u/560119?v=3","gravatar_id":"","url":"https://api.github.com/users/fluid-project","html_url":"https://github.com/fluid-project","followers_url":"https://api.github.com/users/fluid-project/followers","following_url":"https://api.github.com/users/fluid-project/following{/other_user}","gists_url":"https://api.github.com/users/fluid-project/gists{/gist_id}","starred_url":"https://api.github.com/users/fluid-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fluid-project/subscriptions","organizations_url":"https://api.github.com/users/fluid-project/orgs","repos_url":"https://api.github.com/users/fluid-project/repos","events_url":"https://api.github.com/users/fluid-project/events{/privacy}","received_events_url":"https://api.github.com/users/fluid-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fluid-project/infusion","description":"Infusion combines JavaScript, CSS, HTML and user-centered design, rolling them all into a single package that sits on top of the popular jQuery toolkit. Infusion includes ready-to-use components as well as a framework to build your own.","fork":false,"url":"https://api.github.com/repos/fluid-project/infusion","forks_url":"https://api.github.com/repos/fluid-project/infusion/forks","keys_url":"https://api.github.com/repos/fluid-project/infusion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fluid-project/infusion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fluid-project/infusion/teams","hooks_url":"https://api.github.com/repos/fluid-project/infusion/hooks","issue_events_url":"https://api.github.com/repos/fluid-project/infusion/issues/events{/number}","events_url":"https://api.github.com/repos/fluid-project/infusion/events","assignees_url":"https://api.github.com/repos/fluid-project/infusion/assignees{/user}","branches_url":"https://api.github.com/repos/fluid-project/infusion/branches{/branch}","tags_url":"https://api.github.com/repos/fluid-project/infusion/tags","blobs_url":"https://api.github.com/repos/fluid-project/infusion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fluid-project/infusion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fluid-project/infusion/git/refs{/sha}","trees_url":"https://api.github.com/repos/fluid-project/infusion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fluid-project/infusion/statuses/{sha}","languages_url":"https://api.github.com/repos/fluid-project/infusion/languages","stargazers_url":"https://api.github.com/repos/fluid-project/infusion/stargazers","contributors_url":"https://api.github.com/repos/fluid-project/infusion/contributors","subscribers_url":"https://api.github.com/repos/fluid-project/infusion/subscribers","subscription_url":"https://api.github.com/repos/fluid-project/infusion/subscription","commits_url":"https://api.github.com/repos/fluid-project/infusion/commits{/sha}","git_commits_url":"https://api.github.com/repos/fluid-project/infusion/git/commits{/sha}","comments_url":"https://api.github.com/repos/fluid-project/infusion/comments{/number}","issue_comment_url":"https://api.github.com/repos/fluid-project/infusion/issues/comments{/number}","contents_url":"https://api.github.com/repos/fluid-project/infusion/contents/{+path}","compare_url":"https://api.github.com/repos/fluid-project/infusion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fluid-project/infusion/merges","archive_url":"https://api.github.com/repos/fluid-project/infusion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fluid-project/infusion/downloads","issues_url":"https://api.github.com/repos/fluid-project/infusion/issues{/number}","pulls_url":"https://api.github.com/repos/fluid-project/infusion/pulls{/number}","milestones_url":"https://api.github.com/repos/fluid-project/infusion/milestones{/number}","notifications_url":"https://api.github.com/repos/fluid-project/infusion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fluid-project/infusion/labels{/name}","releases_url":"https://api.github.com/repos/fluid-project/infusion/releases{/id}","created_at":"2011-02-01T17:46:38Z","updated_at":"2015-07-15T22:09:51Z","pushed_at":"2015-07-23T14:50:23Z","git_url":"git://github.com/fluid-project/infusion.git","ssh_url":"git@github.com:fluid-project/infusion.git","clone_url":"https://github.com/fluid-project/infusion.git","svn_url":"https://github.com/fluid-project/infusion","homepage":"http://fluidproject.org/infusion.html","size":38435,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":18,"forks":50,"open_issues":18,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/612"},"html":{"href":"https://github.com/fluid-project/infusion/pull/612"},"issue":{"href":"https://api.github.com/repos/fluid-project/infusion/issues/612"},"comments":{"href":"https://api.github.com/repos/fluid-project/infusion/issues/612/comments"},"review_comments":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/612/comments"},"review_comment":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fluid-project/infusion/pulls/612/commits"},"statuses":{"href":"https://api.github.com/repos/fluid-project/infusion/statuses/a0b1ca5f19b8298742ff9873ed399b6aa35a8b39"}}}}