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

Unified Diff: Source/core/html/FormData.idl

Issue 227483008: Support FormData on WorkerGlobalScope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/FormData.idl
diff --git a/Source/core/html/FormData.idl b/Source/core/html/FormData.idl
index fe146ce0708ae51b699c131ff1c3ac7667244fce..3d884d4535144bcfb8a14e740f1c8298de9f5f00 100644
--- a/Source/core/html/FormData.idl
+++ b/Source/core/html/FormData.idl
@@ -29,9 +29,11 @@
*/
[
- WillBeGarbageCollected,
Constructor([Default=Undefined] optional HTMLFormElement form),
arv (Not doing code reviews) 2014/04/07 21:16:38 Can we skip [Default=Undefined] and just declare a
sof 2014/04/08 15:10:53 Ought to, but non-default optional constructor arg
sof 2014/04/08 19:36:50 That's simpler, changed to do so. Also removed the
- ImplementedAs=DOMFormData
+ ConstructorCallWith=ExecutionContext,
+ GlobalContext=Window&WorkerGlobalScope,
+ ImplementedAs=DOMFormData,
+ WillBeGarbageCollected,
] interface FormData {
void append(DOMString name, Blob value, optional DOMString filename);
void append(DOMString name, DOMString value);

Powered by Google App Engine
This is Rietveld 408576698