| Index: Source/devtools/front_end/network/RequestPreviewView.js
|
| diff --git a/Source/devtools/front_end/network/RequestPreviewView.js b/Source/devtools/front_end/network/RequestPreviewView.js
|
| index 86819997269e121fa93d72c3f8dcafe7ce3957af..22227ffc3f8864d41bcf039fea4ac84eb546b49f 100644
|
| --- a/Source/devtools/front_end/network/RequestPreviewView.js
|
| +++ b/Source/devtools/front_end/network/RequestPreviewView.js
|
| @@ -122,7 +122,7 @@ WebInspector.RequestPreviewView.prototype = {
|
| return htmlErrorPreview;
|
| }
|
|
|
| - if (this.request.type === WebInspector.resourceTypes.XHR) {
|
| + if (this.request.resourceType() === WebInspector.resourceTypes.XHR) {
|
| var jsonView = this._jsonView();
|
| if (jsonView)
|
| return jsonView;
|
| @@ -134,7 +134,7 @@ WebInspector.RequestPreviewView.prototype = {
|
| if (this._responseView.sourceView)
|
| return this._responseView.sourceView;
|
|
|
| - if (this.request.type === WebInspector.resourceTypes.Other)
|
| + if (this.request.resourceType() === WebInspector.resourceTypes.Other)
|
| return this._createEmptyView();
|
|
|
| return WebInspector.RequestView.nonSourceViewForRequest(this.request);
|
|
|