We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb8b0f9 + 110ea05 commit c98e647Copy full SHA for c98e647
lib/harAnalyzer.js
@@ -100,6 +100,32 @@ export class HarAnalyzer {
100
return knowledgeData;
101
}
102
103
+ if (!('htmls' in analyzedData)) {
104
+ return knowledgeData;
105
+ }
106
+
107
+ if (analyzedData['htmls'].length === 0) {
108
+ knowledgeData['issues'] = {
109
+ 'no-network': {
110
+ 'rule': 'no-network',
111
+ 'category': 'technical',
112
+ 'severity': 'warning',
113
+ 'subIssues': [
114
+ {
115
+ 'url': url,
116
117
+ 'category': 'standard',
118
119
+ 'text': `No HTML content found in the HAR file.`,
120
+ 'line': 0,
121
+ 'column': 0
122
123
+ ]
124
125
+ };
126
127
128
129
if (!('all-scripts' in analyzedData)) {
130
131
0 commit comments