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

Side by Side Diff: third_party/WebKit/Source/core/html/FormData.idl

Issue 2616923002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Fix errors Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 34
35 // TODO(foolip): Remove LegacyInterfaceTypeChecking, which allows for 35 // TODO(foolip): Remove LegacyInterfaceTypeChecking, which allows for
36 // `append('name', null, 'filename')` and `set('name', null, 'filename')` to 36 // `append('name', null, 'filename')` and `set('name', null, 'filename')` to
37 // append/set null values instead of throwing. https://crbug.com/561338 37 // append/set null values instead of throwing. https://crbug.com/561338
38 [ 38 [
39 Constructor(optional HTMLFormElement form), 39 Constructor(optional HTMLFormElement form),
40 Exposed=(Window,Worker), 40 Exposed=(Window,Worker),
41 LegacyInterfaceTypeChecking, 41 LegacyInterfaceTypeChecking,
42 ] interface FormData { 42 ] interface FormData {
43 void append(USVString name, USVString value); 43 void append(USVString name, USVString value);
44 [CallWith=ExecutionContext] void append(USVString name, Blob value, optional USVString filename); 44 [CallWith=ScriptState] void append(USVString name, Blob value, optional USVS tring filename);
45 [ImplementedAs=deleteEntry] void delete(USVString name); 45 [ImplementedAs=deleteEntry] void delete(USVString name);
46 FormDataEntryValue? get(USVString name); 46 FormDataEntryValue? get(USVString name);
47 sequence<FormDataEntryValue> getAll(USVString name); 47 sequence<FormDataEntryValue> getAll(USVString name);
48 boolean has(USVString name); 48 boolean has(USVString name);
49 void set(USVString name, USVString value); 49 void set(USVString name, USVString value);
50 void set(USVString name, Blob value, optional USVString filename); 50 void set(USVString name, Blob value, optional USVString filename);
51 iterable<USVString, FormDataEntryValue>; 51 iterable<USVString, FormDataEntryValue>;
52 }; 52 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/FormData.cpp ('k') | third_party/WebKit/Source/core/testing/DictionaryTest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698