blob: b656669487417b59716d3ef097111d9abbd475e3 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
chrome.mimeHandlerPrivate.getStreamInfo(function(streamInfo) {
chrome.test.assertEq(
chrome.extension.getURL('well-known-mime.ics'), streamInfo.originalUrl);
var x = new XMLHttpRequest();
x.open('GET', streamInfo.streamUrl);
x.onloadend = function() {
chrome.runtime.sendMessage('finish test by checking SW URLs');
};
x.send();
});