Dodatki do przeglądarki Firefox
  • Rozszerzenia
  • Motywy
    • do Firefoksa
    • Słowniki i pakiety językowe
    • Inne strony
    • Dodatki na Androida
Zaloguj się
Podgląd „Weh Inspector”

Weh Inspector Autor: mig

Trace Remote Procedure Calls on Weh-2 addons

4.3 (7 reviews)4.3 (7 reviews)
37 Users37 Users
Potrzebujesz Firefoksa, aby używać tego rozszerzenia
Pobierz Firefoksa i to rozszerzenie
Pobierz plik

Metadane rozszerzenia

Zrzuty ekranu
Displaying RPC logShowing storage dataReading/Writing add-on preferences
O tym rozszerzeniu
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:
  • 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.
Oceniony na 4,3 przez 7 recenzentów
Zaloguj się, aby ocenić to rozszerzenie
Nie ma jeszcze ocen

Zapisano ocenę w gwiazdkach

5
5
4
1
3
0
2
0
1
1
7 recenzji
Uprawnienia i daneWięcej informacji

Wymagane uprawnienia:

  • Monitorować użycie rozszerzeń i zarządzać motywami
  • Mieć dostęp do kart przeglądarki
Więcej informacji
Strony dodatku
  • Domowa
  • Pomoc
Wersja
2.2resigned1
Rozmiar
305,82 KB
Ostatnia aktualizacja
rok temu (25 kwi 2024)
Powiązane kategorie
  • Narzędzia twórców witryn
  • Inne
Licencja
Mozilla Public License 2.0
Historia wersji
  • Wszystkie wersje
Dodaj do kolekcji
Zgłoś ten dodatek
Więcej rozszerzeń od: mig
  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

  • Nie ma jeszcze ocen

Strona domowa Mozilli

Dodatki

  • O serwisie
  • Blog dodatków do Firefoksa
  • Warsztat rozszerzeń
  • Strefa autora
  • Zasady programistów
  • Blog społeczności
  • Forum
  • Zgłoś błąd
  • Wytyczne recenzji

Przeglądarki

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Prywatność
  • Ciasteczka
  • Kwestie prawne

O ile nie wskazano inaczej, treść tej strony jest dostępna na warunkach licencji Creative Commons Attribution Share-Alike w wersji 3.0 lub nowszej.