mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 10:15:41 +00:00
Bug 1570997 - Remove fetchCacheDescriptor trait. r=jdescottes.
This was added in Firefox 61, so we can safely remove it now. Differential Revision: https://phabricator.services.mozilla.com/D40543 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
05df0254b8
commit
57a0bb08b3
@ -568,15 +568,10 @@ class WebConsoleWrapper {
|
||||
// that networkInfo.updates has all we need.
|
||||
// Note that 'requestPostData' is sent only for POST requests, so we need
|
||||
// to count with that.
|
||||
// 'fetchCacheDescriptor' will also cause a network update and increment
|
||||
// the number of networkInfo.updates
|
||||
const NUMBER_OF_NETWORK_UPDATE = 8;
|
||||
|
||||
let expectedLength = NUMBER_OF_NETWORK_UPDATE;
|
||||
if (
|
||||
this.webConsoleUI.webConsoleClient.traits.fetchCacheDescriptor &&
|
||||
res.networkInfo.updates.includes("responseCache")
|
||||
) {
|
||||
if (res.networkInfo.updates.includes("responseCache")) {
|
||||
expectedLength++;
|
||||
}
|
||||
if (res.networkInfo.updates.includes("requestPostData")) {
|
||||
|
@ -218,7 +218,6 @@ const WebConsoleActor = ActorClassWithSpec(webconsoleSpec, {
|
||||
this.traits = {
|
||||
transferredResponseSize: true,
|
||||
selectedObjectActor: true, // 44+
|
||||
fetchCacheDescriptor: true,
|
||||
};
|
||||
|
||||
if (this.dbg.replaying && !isWorker) {
|
||||
|
@ -16,7 +16,6 @@ types.addDictType("console.traits", {
|
||||
evaluateJSAsync: "boolean",
|
||||
transferredResponseSize: "boolean",
|
||||
selectedObjectActor: "boolean",
|
||||
fetchCacheDescriptor: "boolean",
|
||||
});
|
||||
|
||||
types.addDictType("console.startlisteners", {
|
||||
|
Loading…
Reference in New Issue
Block a user