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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2500793002: Internals.setValueForUser(): add argument type check. (Closed)
Patch Set: constrain argument type via IDL Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 [CallWith=ScriptState] Promise createResolvedPromise(any value); 286 [CallWith=ScriptState] Promise createResolvedPromise(any value);
287 [CallWith=ScriptState] Promise createRejectedPromise(any reason); 287 [CallWith=ScriptState] Promise createRejectedPromise(any reason);
288 [CallWith=ScriptState] Promise addOneToPromise(Promise promise); 288 [CallWith=ScriptState] Promise addOneToPromise(Promise promise);
289 [CallWith=ScriptState, RaisesException] Promise promiseCheck(long arg1, bool ean arg2, Dictionary arg3, DOMString arg4, sequence<DOMString> arg5); 289 [CallWith=ScriptState, RaisesException] Promise promiseCheck(long arg1, bool ean arg2, Dictionary arg3, DOMString arg4, sequence<DOMString> arg5);
290 [CallWith=ScriptState] Promise promiseCheckWithoutExceptionState(Dictionary arg1, DOMString arg2, DOMString... variadic); 290 [CallWith=ScriptState] Promise promiseCheckWithoutExceptionState(Dictionary arg1, DOMString arg2, DOMString... variadic);
291 [CallWith=ScriptState] Promise promiseCheckRange([EnforceRange] octet arg1); 291 [CallWith=ScriptState] Promise promiseCheckRange([EnforceRange] octet arg1);
292 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1); 292 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1);
293 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1); 293 [CallWith=ScriptState] Promise promiseCheckOverload(Document arg1);
294 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2 , long arg3); 294 [CallWith=ScriptState] Promise promiseCheckOverload(Location arg1, long arg2 , long arg3);
295 295
296 void setValueForUser(Element element, DOMString value); 296 void setValueForUser(HTMLInputElement element, DOMString value);
297 297
298 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 298 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
299 299
300 void setFocused(boolean focused); 300 void setFocused(boolean focused);
301 void setInitialFocus(boolean reverse); 301 void setInitialFocus(boolean reverse);
302 302
303 boolean ignoreLayoutWithPendingStylesheets(Document document); 303 boolean ignoreLayoutWithPendingStylesheets(Document document);
304 304
305 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end. 305 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end.
306 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps); 306 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps);
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 DOMString getScrollAnimationState(Node node); 355 DOMString getScrollAnimationState(Node node);
356 356
357 DOMString getProgrammaticScrollAnimationState(Node node); 357 DOMString getProgrammaticScrollAnimationState(Node node);
358 358
359 ClientRect visualRect(Node node); 359 ClientRect visualRect(Node node);
360 360
361 OriginTrialsTest originTrialsTest(); 361 OriginTrialsTest originTrialsTest();
362 362
363 void crash(); 363 void crash();
364 }; 364 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698