
Weh Inspector nga mig
Trace Remote Procedure Calls on Weh-2 addons
Që të përdorni këtë zgjerim, ju duhet Firefox-i
Tejtëdhëna Zgjerimi
Foto ekrani



Rreth këtij zgjerimi
WehInspector is a tool add-on to help debugging WebExtensions add-ons developed with the Weh2 toolkit (available under Mozilla Public License 2.0 from https://github.com/mi-g/weh.
It provides the following capabilities:
The WehInspector add-on, along with its source code, is part of the Weh2 project and you can build and install it from there, but for convenience it is also available publicly for direct installation.
WehInspector user interface runs in a single tab. To create or select that tab, right click in a page content and pick "Weh Inspector" from the context menu. In the dropdown menu at the top left, select the Weh2-based addon to debug (if you have only one installed, it will be selected automatically).
There is one thing it is important to understand when inspecting RPC calls: WehInspector has a settings parameter, "Messages display mode", that can take one of 3 values: "synchronous on call", "synchronous on reply", "asynchronous". Let's take a common situation where the background calls a function A from a content component, this function calls B from the background and returns. This will be 4 messages: call A, call B, reply B, reply A. If the "Messages display mode" is set to "synchronous on reply" (the default), you will see 2 entries in the WehInspector interface: the call to B, then the call to A. If set to "synchronous on call": the call to A, then the call to B, and if "asynchronous", you will see 4 entries corresponding to the messages explained earlier.
It provides the following capabilities:
- Trace Weh Remote Procedure Calls between the add-on background and other components: local add-on content, web pages injected content, web workers, native applications, ...
- Read and write add-on preferences
- Read add-on storage data (both HTML5 and WebExtensions storage API)
The WehInspector add-on, along with its source code, is part of the Weh2 project and you can build and install it from there, but for convenience it is also available publicly for direct installation.
WehInspector user interface runs in a single tab. To create or select that tab, right click in a page content and pick "Weh Inspector" from the context menu. In the dropdown menu at the top left, select the Weh2-based addon to debug (if you have only one installed, it will be selected automatically).
There is one thing it is important to understand when inspecting RPC calls: WehInspector has a settings parameter, "Messages display mode", that can take one of 3 values: "synchronous on call", "synchronous on reply", "asynchronous". Let's take a common situation where the background calls a function A from a content component, this function calls B from the background and returns. This will be 4 messages: call A, call B, reply B, reply A. If the "Messages display mode" is set to "synchronous on reply" (the default), you will see 2 entries in the WehInspector interface: the call to B, then the call to A. If set to "synchronous on call": the call to A, then the call to B, and if "asynchronous", you will see 4 entries corresponding to the messages explained earlier.
Vlerësoni rastin tuaj
LejeMësoni më tepër
Kjo shtesë ka nevojë për:
- Të vëzhgojë përdorim zgjerimesh dhe të administrojë tema
- Të hyjë në skeda të shfletuesit
Më tepër të dhëna
- Lidhje shtese
- Version
- 2.2resigned1
- Madhësi
- 305,82 KB
- Përditësuar së fundi më
- një vit më parë (25 Pri 2024)
- Kategori të Afërta
- Licencë
- Mozilla Public License 2.0
- Historik Versionesh
Shtojeni në koleksion
Më tepër zgjerime nga mig
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime
- Ende pa vlerësime