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

Unified Diff: Source/devtools/front_end/ObjectPropertiesSection.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 side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/ObjectPropertiesSection.js
diff --git a/Source/devtools/front_end/ObjectPropertiesSection.js b/Source/devtools/front_end/ObjectPropertiesSection.js
index d6fdfaf7869a9cdaf4c31e8a2a50b9fa8a650d64..619102796707da5920b40d155cfe325e46be6329 100644
--- a/Source/devtools/front_end/ObjectPropertiesSection.js
+++ b/Source/devtools/front_end/ObjectPropertiesSection.js
@@ -740,6 +740,7 @@ WebInspector.ArrayGroupingTreeElement._populateRanges = function(treeElement, ob
object.callFunctionJSON(packRanges, [{value: fromIndex}, {value: toIndex}, {value: WebInspector.ArrayGroupingTreeElement._bucketThreshold}, {value: WebInspector.ArrayGroupingTreeElement._sparseIterationThreshold}], callback);
/**
+ * @suppressReceiverCheck
* @this {Object}
* @param {number=} fromIndex // must declare optional
* @param {number=} toIndex // must declare optional
@@ -839,6 +840,7 @@ WebInspector.ArrayGroupingTreeElement._populateAsFragment = function(treeElement
object.callFunction(buildArrayFragment, [{value: fromIndex}, {value: toIndex}, {value: WebInspector.ArrayGroupingTreeElement._sparseIterationThreshold}], processArrayFragment.bind(this));
/**
+ * @suppressReceiverCheck
* @this {Object}
* @param {number=} fromIndex // must declare optional
* @param {number=} toIndex // must declare optional
@@ -901,7 +903,10 @@ WebInspector.ArrayGroupingTreeElement._populateNonIndexProperties = function(tre
{
object.callFunction(buildObjectFragment, undefined, processObjectFragment.bind(this));
- /** @this {Object} */
+ /**
+ * @suppressReceiverCheck
+ * @this {Object}
+ */
function buildObjectFragment()
{
var result = Object.create(this.__proto__);
« no previous file with comments | « Source/devtools/front_end/ElementsTreeOutline.js ('k') | Source/devtools/front_end/PropertiesSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698