Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(665)

Unified Diff: sky/tests/framework/xmlhttprequest/empty-responseType.sky

Issue 1023213003: Removing Sky JS Framework tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/tests/framework/xmlhttprequest/empty-responseType.sky
diff --git a/sky/tests/framework/xmlhttprequest/empty-responseType.sky b/sky/tests/framework/xmlhttprequest/empty-responseType.sky
deleted file mode 100644
index 18a62d5dcfca20fb709957b7d6ec1f44f876bee3..0000000000000000000000000000000000000000
--- a/sky/tests/framework/xmlhttprequest/empty-responseType.sky
+++ /dev/null
@@ -1,21 +0,0 @@
-<sky>
-<import src="../../resources/chai.sky" />
-<import src="../../resources/mocha.sky" />
-<import src="/sky/framework/xmlhttprequest.sky" as="XMLHttpRequest" />
-<script>
-describe("xmlhttprequest.responseType", function() {
- it("should default to text when empty", function(done) {
- var xhr = new XMLHttpRequest();
- assert.equal(xhr.responseType, "");
- xhr.responseType = 'foo';
- xhr.responseType = '';
- xhr.onload = function() {
- assert.typeOf(this.response, "string", "Response is a string\n");
- done();
- };
- xhr.open("GET", "resources/pass.txt");
- xhr.send();
- });
-});
-</script>
-</sky>
« no previous file with comments | « sky/tests/framework/templates-expected.txt ('k') | sky/tests/framework/xmlhttprequest/empty-responseType-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698