Bug 1531826 Part 2 - Frames with source IDs should always be linkable, r=nchevobbe.

--HG--
extra : rebase_source : 2eeb3af85bc0c8456719988bb34ef54ffdc78b17
This commit is contained in:
Brian Hackett 2019-03-04 06:20:09 -10:00
Родитель 7bdab9da0c
Коммит 02ef503dea
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -140,8 +140,9 @@ class Frame extends Component {
// to Scratchpad URIs.
// Source mapped sources might not necessary linkable, but they
// are still valid in the debugger.
// If we have a source ID then we can show the source in the debugger.
const isLinkable = !!(isScratchpadScheme(source) || parseURL(source))
|| isSourceMapped;
|| isSourceMapped || sourceId;
const elements = [];
const sourceElements = [];
let sourceEl;