I can’t list every keys of an object, this object is from Chrome API. I’m developing an extension and I’m using chrome API. Since chrome is an object that contains useful methods, I could just console.log(Object.keys(chrome)) on a background script and see every keys of that object.
That worked just fine, however, the logged keys are incomplete. Specifically, chrome.management have a method called getAll, but the logged result only have these keys:
Array(7)
0: "getPermissionWarningsByManifest"
1: "getSelf"
2: "uninstallSelf"
3: "ExtensionDisabledReason"
4: "ExtensionInstallType"
5: "ExtensionType"
6: "LaunchType"length:
7[[Prototype]]: Array(0)
I don’t know where I’m doing wrong. I called the command in a right environment (background) and I’m properly logging the data. Any help would be appreciated!