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

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

Issue 409833003: Internals.selectColorInColorChooser(): type check element argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Expected output updated Created 6 years, 5 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 | « LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt ('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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 [RaisesException] void pauseAnimations(double pauseTime); 73 [RaisesException] void pauseAnimations(double pauseTime);
74 74
75 [RaisesException] Node nextSiblingByWalker(Node node); 75 [RaisesException] Node nextSiblingByWalker(Node node);
76 [RaisesException] Node firstChildByWalker(Node node); 76 [RaisesException] Node firstChildByWalker(Node node);
77 [RaisesException] Node lastChildByWalker(Node node); 77 [RaisesException] Node lastChildByWalker(Node node);
78 [RaisesException] Node nextNodeByWalker(Node node); 78 [RaisesException] Node nextNodeByWalker(Node node);
79 [RaisesException] Node previousNodeByWalker(Node node); 79 [RaisesException] Node previousNodeByWalker(Node node);
80 80
81 DOMString visiblePlaceholder(Element element); 81 DOMString visiblePlaceholder(Element element);
82 82
83 void selectColorInColorChooser(Element element, DOMString colorValue); 83 [TypeChecking=Interface] void selectColorInColorChooser(Element element, DOM String colorValue);
84 84
85 // If the argument is omitted, the top-level document is used. 85 // If the argument is omitted, the top-level document is used.
86 boolean hasAutofocusRequest(optional Document document); 86 boolean hasAutofocusRequest(optional Document document);
87 [RaisesException] DOMString[] formControlStateOfHistoryItem(); 87 [RaisesException] DOMString[] formControlStateOfHistoryItem();
88 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values); 88 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
89 [RaisesException] void setEnableMockPagePopup(boolean enabled); 89 [RaisesException] void setEnableMockPagePopup(boolean enabled);
90 readonly attribute PagePopupController pagePopupController; 90 readonly attribute PagePopupController pagePopupController;
91 91
92 [RaisesException] ClientRect unscaledViewportRect(); 92 [RaisesException] ClientRect unscaledViewportRect();
93 93
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 276 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
277 // before calling setNetworkConnectionInfo. 277 // before calling setNetworkConnectionInfo.
278 void setNetworkStateNotifierTestOnly(boolean testOnly); 278 void setNetworkStateNotifierTestOnly(boolean testOnly);
279 [RaisesException] void setNetworkConnectionInfo(DOMString type); 279 [RaisesException] void setNetworkConnectionInfo(DOMString type);
280 280
281 // This function is for testing HitRegions on Canvas2D. 281 // This function is for testing HitRegions on Canvas2D.
282 unsigned long countHitRegions(CanvasRenderingContext2D context); 282 unsigned long countHitRegions(CanvasRenderingContext2D context);
283 283
284 DOMString serializeNavigationMarkup(Document document); 284 DOMString serializeNavigationMarkup(Document document);
285 }; 285 };
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/color/input-color-onchange-event-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698