blob: e5777bfa14e642923b59961f5701e6b328e8d02a [file] [edit]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {openSourceCodeEditorForFile} from '../helpers/sources-helpers.js';
describe('The Sources Tab', () => {
it('links to the correct origins for eval\'ed resources', async ({devToolsPage, inspectedPage}) => {
await openSourceCodeEditorForFile(devToolsPage, inspectedPage, 'call-to-foo.js', 'eval-origin.html');
await devToolsPage.waitFor('.devtools-link[title$="foo.js:3"]');
});
});