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

Side by Side Diff: Source/devtools/front_end/PropertiesSidebarPane.js

Issue 203443010: DevTools: [JsDocValidator] Fix checking of receivers specified as arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a suppression hint message Created 6 years, 9 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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 /** 53 /**
54 * @this {WebInspector.PropertiesSidebarPane} 54 * @this {WebInspector.PropertiesSidebarPane}
55 */ 55 */
56 function nodeResolved(object) 56 function nodeResolved(object)
57 { 57 {
58 if (!object) 58 if (!object)
59 return; 59 return;
60 60
61 /** 61 /**
62 * @suppressReceiverCheck
62 * @this {*} 63 * @this {*}
63 */ 64 */
64 function protoList() 65 function protoList()
65 { 66 {
66 var proto = this; 67 var proto = this;
67 var result = {}; 68 var result = {};
68 var counter = 1; 69 var counter = 1;
69 while (proto) { 70 while (proto) {
70 result[counter++] = proto; 71 result[counter++] = proto;
71 proto = proto.__proto__; 72 proto = proto.__proto__;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 title = title.replace(/Prototype$/, ""); 110 title = title.replace(/Prototype$/, "");
110 var section = new WebInspector.ObjectPropertiesSection(prototype , title); 111 var section = new WebInspector.ObjectPropertiesSection(prototype , title);
111 this.sections.push(section); 112 this.sections.push(section);
112 body.appendChild(section.element); 113 body.appendChild(section.element);
113 } 114 }
114 } 115 }
115 }, 116 },
116 117
117 __proto__: WebInspector.SidebarPane.prototype 118 __proto__: WebInspector.SidebarPane.prototype
118 } 119 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ObjectPropertiesSection.js ('k') | Source/devtools/front_end/RemoteObject.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698