blob: a345904afb2f8b8c8d3a66eb0d4103156c1c01c0 [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {setIgnoreListPattern} from '../helpers/settings-helpers.js';
import {addBreakpointForLine, openSourceCodeEditorForFile} from '../helpers/sources-helpers.js';
describe('SourceMap handling', () => {
it('can deal with a source map that has no mappings', async ({devToolsPage, inspectedPage}) => {
await setIgnoreListPattern('cljs/user.cljs', devToolsPage);
await openSourceCodeEditorForFile(
'script-with-sourcemap-without-mappings.js', 'script-with-sourcemap-without-mappings.html', devToolsPage,
inspectedPage);
await addBreakpointForLine(1, devToolsPage);
});
});