blob: 8dd3dd99277ebf30641572c11b6eea96d638286a [file] [log] [blame]
// Copyright 2019 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.
const subpageImport = document.createElement('link');
subpageImport.rel = 'import';
const params = new URLSearchParams(window.location.search.substring(1));
subpageImport.href = params.get('file');
document.head.appendChild(subpageImport);