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

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

Issue 339573005: Wrong pending sheets test causing FOUC. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test Created 6 years, 6 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 | Annotate | Revision Log
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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 [CallWith=ScriptState] Promise createResolvedPromise(any value); 268 [CallWith=ScriptState] Promise createResolvedPromise(any value);
269 [CallWith=ScriptState] Promise createRejectedPromise(any reason); 269 [CallWith=ScriptState] Promise createRejectedPromise(any reason);
270 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 270 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
271 271
272 void setValueForUser(Element element, DOMString value); 272 void setValueForUser(Element element, DOMString value);
273 273
274 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 274 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
275 275
276 void setFocused(boolean focused); 276 void setFocused(boolean focused);
277 277
278 [RaisesException] boolean ignoreLayoutWithPendingStylesheets(Document docume nt);
279
278 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true) 280 // These functions are for testing NetInfo. You must call setNetworkStateNot ifierTestOnly(true)
279 // before calling setNetworkConnectionInfo. 281 // before calling setNetworkConnectionInfo.
280 void setNetworkStateNotifierTestOnly(boolean testOnly); 282 void setNetworkStateNotifierTestOnly(boolean testOnly);
281 [RaisesException] void setNetworkConnectionInfo(DOMString type); 283 [RaisesException] void setNetworkConnectionInfo(DOMString type);
282 }; 284 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698