Chromium Code Reviews| Index: chrome/test/data/extensions/extension_throttle/background.js |
| diff --git a/chrome/test/data/extensions/extension_throttle/background.js b/chrome/test/data/extensions/extension_throttle/background.js |
| index 52c8e340e0c6c8317bbe9d32311d549dee751ca0..3fe16cd7df404b84f15b943039ec2853ec55e8b5 100644 |
| --- a/chrome/test/data/extensions/extension_throttle/background.js |
| +++ b/chrome/test/data/extensions/extension_throttle/background.js |
| @@ -6,6 +6,7 @@ chrome.runtime.onMessage.addListener(function(message, sender, sendResponse) { |
| if (message.type == "xhr") { |
| var xhr = new XMLHttpRequest(); |
| xhr.open(message.method, message.url); |
| + xhr.setRequestHeader("X-Bust-Blink-MemoryCache", Math.random()); |
|
Nate Chapin
2016/04/27 19:48:30
This test depends on the memoryCache()->remove() q
hiroshige
2016/05/02 06:39:27
Could you add a comment that this header is added
Nate Chapin
2016/05/10 18:26:17
Yeah, sorry. I was hoping the header-name was clea
|
| xhr.send(); |
| } else { |
| console.error("Unknown message: " + JSON.stringify(message)); |