зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1529680 - [release 127] [Breakpoints] Improve column breakpoint performance (#8000). r=dwalsh
This commit is contained in:
Родитель
62dde4d62a
Коммит
dd27ec4805
|
@ -25,6 +25,10 @@ const _getAllGeneratedLocations = dispatcher.task("getAllGeneratedLocations", {
|
|||
queue: true
|
||||
});
|
||||
|
||||
const _getOriginalLocation = dispatcher.task("getOriginalLocation", {
|
||||
queue: true
|
||||
});
|
||||
|
||||
export const setAssetRootURL = async (assetRoot: string): Promise<void> =>
|
||||
dispatcher.invoke("setAssetRootURL", assetRoot);
|
||||
|
||||
|
@ -71,8 +75,7 @@ export const getAllGeneratedLocations = async (
|
|||
export const getOriginalLocation = async (
|
||||
location: SourceLocation,
|
||||
options: locationOptions = {}
|
||||
): Promise<SourceLocation> =>
|
||||
dispatcher.invoke("getOriginalLocation", location, options);
|
||||
): Promise<SourceLocation> => _getOriginalLocation(location, options);
|
||||
|
||||
export const getFileGeneratedRange = async (
|
||||
originalSource: Source
|
||||
|
|
|
@ -140,6 +140,10 @@ const _getAllGeneratedLocations = dispatcher.task("getAllGeneratedLocations", {
|
|||
queue: true
|
||||
});
|
||||
|
||||
const _getOriginalLocation = dispatcher.task("getOriginalLocation", {
|
||||
queue: true
|
||||
});
|
||||
|
||||
const setAssetRootURL = exports.setAssetRootURL = async assetRoot => dispatcher.invoke("setAssetRootURL", assetRoot);
|
||||
|
||||
const getOriginalURLs = exports.getOriginalURLs = async generatedSource => dispatcher.invoke("getOriginalURLs", generatedSource);
|
||||
|
@ -153,7 +157,7 @@ const getGeneratedLocation = exports.getGeneratedLocation = async (location, ori
|
|||
|
||||
const getAllGeneratedLocations = exports.getAllGeneratedLocations = async (location, originalSource) => _getAllGeneratedLocations(location, originalSource);
|
||||
|
||||
const getOriginalLocation = exports.getOriginalLocation = async (location, options = {}) => dispatcher.invoke("getOriginalLocation", location, options);
|
||||
const getOriginalLocation = exports.getOriginalLocation = async (location, options = {}) => _getOriginalLocation(location, options);
|
||||
|
||||
const getFileGeneratedRange = exports.getFileGeneratedRange = async originalSource => dispatcher.invoke("getFileGeneratedRange", originalSource);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче