mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
Bug 1534248 - Remove loading unnecessary generated sources. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22966 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
2aa5e2815b
commit
2daba0937d
@ -83,11 +83,6 @@ export function loadSourceText(source: ?Source) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isOriginal(newSource) && !newSource.isWasm) {
|
||||
const generatedSource = getGeneratedSource(getState(), source);
|
||||
await dispatch(loadSourceText(generatedSource));
|
||||
}
|
||||
|
||||
if (!newSource.isWasm && isLoaded(newSource)) {
|
||||
await parser.setSource(newSource);
|
||||
await dispatch(setBreakpointPositions(newSource.id));
|
||||
|
Loading…
Reference in New Issue
Block a user