mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-04 11:01:37 +08:00
Expose the DOM pinned properties dataset as JavaScriptMetadata
This allows the data to be built and consumed in the frontend. Bug: 1325812 Change-Id: I89c336983097af0bd02609bc72b6562f1723b007 Signed-off-by: Victor Porof <victorporof@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3702683 Reviewed-by: Mathias Bynens <mathias@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
017eeef5e0
commit
3baf1cb54a
@@ -5,10 +5,13 @@
|
||||
import type * as Common from '../../core/common/common.js';
|
||||
|
||||
import {NativeFunctions} from './NativeFunctions.js';
|
||||
import * as DOMPinnedProperties from './DOMPinnedProperties.js';
|
||||
|
||||
let javaScriptMetadataInstance: JavaScriptMetadataImpl;
|
||||
|
||||
export class JavaScriptMetadataImpl implements Common.JavaScriptMetaData.JavaScriptMetaData {
|
||||
static readonly domPinnedProperties = DOMPinnedProperties;
|
||||
|
||||
private readonly uniqueFunctions: Map<string, string[][]>;
|
||||
private readonly receiverMethods: Map<string, Map<string, string[][]>>;
|
||||
static instance(opts: {
|
||||
|
||||
Reference in New Issue
Block a user