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

Side by Side Diff: Source/core/page/Console.idl

Issue 15816002: Remove console.profiles from window.console API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 7 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
« no previous file with comments | « Source/core/page/Console.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) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 25 matching lines...) Expand all
36 [CallWith=ScriptArguments|ScriptState] void log(); 36 [CallWith=ScriptArguments|ScriptState] void log();
37 [CallWith=ScriptArguments|ScriptState] void warn(); 37 [CallWith=ScriptArguments|ScriptState] void warn();
38 [CallWith=ScriptArguments|ScriptState] void dir(); 38 [CallWith=ScriptArguments|ScriptState] void dir();
39 [CallWith=ScriptArguments|ScriptState] void dirxml(); 39 [CallWith=ScriptArguments|ScriptState] void dirxml();
40 [CallWith=ScriptArguments|ScriptState] void table(); 40 [CallWith=ScriptArguments|ScriptState] void table();
41 [CallWith=ScriptArguments|ScriptState] void trace(); 41 [CallWith=ScriptArguments|ScriptState] void trace();
42 [CallWith=ScriptArguments|ScriptState, ImplementedAs=assertCondition] void a ssert([Default=Undefined] optional boolean condition); 42 [CallWith=ScriptArguments|ScriptState, ImplementedAs=assertCondition] void a ssert([Default=Undefined] optional boolean condition);
43 [CallWith=ScriptArguments|ScriptState] void count(); 43 [CallWith=ScriptArguments|ScriptState] void count();
44 [CallWith=ScriptArguments] void markTimeline(); 44 [CallWith=ScriptArguments] void markTimeline();
45 45
46 // As per spec: http://www.w3.org/TR/WebIDL/#idl-sequence
47 // "Sequences must not be used as the type of an attribute, constant or exce ption field."
48 // FIXME: this will lead to BUG console.profiles !== console.profiles as pro file will always returns new array.
49 readonly attribute ScriptProfile[] profiles;
50 [CallWith=ScriptState] void profile([Default=NullString] optional DOMString title); 46 [CallWith=ScriptState] void profile([Default=NullString] optional DOMString title);
51 [CallWith=ScriptState] void profileEnd([Default=NullString] optional DOMStri ng title); 47 [CallWith=ScriptState] void profileEnd([Default=NullString] optional DOMStri ng title);
52 48
53 void time([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString ti tle); 49 void time([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString ti tle);
54 [CallWith=ScriptState] void timeEnd([TreatNullAs=NullString, TreatUndefinedA s=NullString] DOMString title); 50 [CallWith=ScriptState] void timeEnd([TreatNullAs=NullString, TreatUndefinedA s=NullString] DOMString title);
55 [CallWith=ScriptArguments] void timeStamp(); 51 [CallWith=ScriptArguments] void timeStamp();
56 [CallWith=ScriptArguments|ScriptState] void group(); 52 [CallWith=ScriptArguments|ScriptState] void group();
57 [CallWith=ScriptArguments|ScriptState] void groupCollapsed(); 53 [CallWith=ScriptArguments|ScriptState] void groupCollapsed();
58 void groupEnd(); 54 void groupEnd();
59 [CallWith=ScriptArguments|ScriptState] void clear(); 55 [CallWith=ScriptArguments|ScriptState] void clear();
60 56
61 readonly attribute MemoryInfo memory; 57 readonly attribute MemoryInfo memory;
62 }; 58 };
63 59
OLDNEW
« no previous file with comments | « Source/core/page/Console.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698