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

Side by Side Diff: LayoutTests/fast/workers/resources/worker-formdata.js

Issue 227483008: Support FormData on WorkerGlobalScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-formdata.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 importScripts('../../../resources/js-test.js');
2
3 description("Test FormData interface object");
4
5 shouldBeDefined("FormData");
6 shouldBe("FormData.length", "0");
7
8 var formData = new FormData();
9
10 shouldBeNonNull("formData");
11
12 shouldBeTrue("FormData.prototype.hasOwnProperty('append')");
13 shouldNotThrow("formData.append('key', 'value');");
14 var blob = new Blob([]);
15 shouldBeNonNull("blob");
16 shouldNotThrow("formData.append('key', blob);");
17 shouldNotThrow("formData.append('key', blob, 'filename');");
18 shouldThrow("postMessage(formData)");
19 finishJSTest();
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-formdata.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698