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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js

Issue 2620463002: Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: fix crash Created 3 years, 11 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 1118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 ResponseHeadersChanged: Symbol('ResponseHeadersChanged'), 1129 ResponseHeadersChanged: Symbol('ResponseHeadersChanged'),
1130 WebsocketFrameAdded: Symbol('WebsocketFrameAdded'), 1130 WebsocketFrameAdded: Symbol('WebsocketFrameAdded'),
1131 EventSourceMessageAdded: Symbol('EventSourceMessageAdded') 1131 EventSourceMessageAdded: Symbol('EventSourceMessageAdded')
1132 }; 1132 };
1133 1133
1134 /** @enum {string} */ 1134 /** @enum {string} */
1135 SDK.NetworkRequest.InitiatorType = { 1135 SDK.NetworkRequest.InitiatorType = {
1136 Other: 'other', 1136 Other: 'other',
1137 Parser: 'parser', 1137 Parser: 'parser',
1138 Redirect: 'redirect', 1138 Redirect: 'redirect',
1139 Script: 'script' 1139 Script: 'script',
1140 Preload: 'preload'
1140 }; 1141 };
1141 1142
1142 /** @typedef {!{name: string, value: string}} */ 1143 /** @typedef {!{name: string, value: string}} */
1143 SDK.NetworkRequest.NameValue; 1144 SDK.NetworkRequest.NameValue;
1144 1145
1145 /** @enum {string} */ 1146 /** @enum {string} */
1146 SDK.NetworkRequest.WebSocketFrameType = { 1147 SDK.NetworkRequest.WebSocketFrameType = {
1147 Send: 'send', 1148 Send: 'send',
1148 Receive: 'receive', 1149 Receive: 'receive',
1149 Error: 'error' 1150 Error: 'error'
1150 }; 1151 };
1151 1152
1152 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text: string, opCode: number, mask: boolean}} */ 1153 /** @typedef {!{type: SDK.NetworkRequest.WebSocketFrameType, time: number, text: string, opCode: number, mask: boolean}} */
1153 SDK.NetworkRequest.WebSocketFrame; 1154 SDK.NetworkRequest.WebSocketFrame;
1154 1155
1155 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}} */ 1156 /** @typedef {!{time: number, eventName: string, eventId: string, data: string}} */
1156 SDK.NetworkRequest.EventSourceMessage; 1157 SDK.NetworkRequest.EventSourceMessage;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698