github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/scripting/apis.js.wasm.yaml (about)

     1  - File: webext/chrome/scripting.idl
     2    Dict:
     3      Name: CSSInjection
     4      ExtAttrs:
     5        - Name: Namespace
     6          Values:
     7            - chrome
     8            - scripting
     9      Fields:
    10        - Name: target
    11          Type:
    12            Name: InjectionTarget
    13            ExtAttrs:
    14              - Name: Namespace
    15                Values:
    16                  - chrome
    17                  - scripting
    18          ExtAttrs:
    19            - Name: Namespace
    20              Values:
    21                - chrome
    22                - scripting
    23        - Name: css
    24          Type:
    25            Name: DOMString
    26            Nullable: true
    27            ExtAttrs:
    28              - Name: Namespace
    29                Values:
    30                  - chrome
    31                  - scripting
    32          ExtAttrs:
    33            - Name: Namespace
    34              Values:
    35                - chrome
    36                - scripting
    37        - Name: files
    38          Type:
    39            Name: sequence
    40            Params:
    41              - Name: DOMString
    42                ExtAttrs:
    43                  - Name: Namespace
    44                    Values:
    45                      - chrome
    46                      - scripting
    47            Nullable: true
    48            ExtAttrs:
    49              - Name: Namespace
    50                Values:
    51                  - chrome
    52                  - scripting
    53          ExtAttrs:
    54            - Name: Namespace
    55              Values:
    56                - chrome
    57                - scripting
    58        - Name: origin
    59          Type:
    60            Name: StyleOrigin
    61            Nullable: true
    62            ExtAttrs:
    63              - Name: Namespace
    64                Values:
    65                  - chrome
    66                  - scripting
    67          ExtAttrs:
    68            - Name: Namespace
    69              Values:
    70                - chrome
    71                - scripting
    72  - File: webext/chrome/scripting.idl
    73    Callback:
    74      Name: CSSInjectionCallback
    75      Returns:
    76        - Name: void
    77          ExtAttrs:
    78            - Name: Namespace
    79              Values:
    80                - chrome
    81                - scripting
    82      ExtAttrs:
    83        - Name: Namespace
    84          Values:
    85            - chrome
    86            - scripting
    87  - File: webext/chrome/scripting.idl
    88    Dict:
    89      Name: ContentScriptFilter
    90      ExtAttrs:
    91        - Name: Namespace
    92          Values:
    93            - chrome
    94            - scripting
    95      Fields:
    96        - Name: ids
    97          Type:
    98            Name: sequence
    99            Params:
   100              - Name: DOMString
   101                ExtAttrs:
   102                  - Name: Namespace
   103                    Values:
   104                      - chrome
   105                      - scripting
   106            Nullable: true
   107            ExtAttrs:
   108              - Name: Namespace
   109                Values:
   110                  - chrome
   111                  - scripting
   112          ExtAttrs:
   113            - Name: Namespace
   114              Values:
   115                - chrome
   116                - scripting
   117  - File: webext/chrome/scripting.idl
   118    Enum:
   119      Name: ExecutionWorld
   120      Values:
   121        - ISOLATED
   122        - MAIN
   123      ExtAttrs:
   124        - Name: Namespace
   125          Values:
   126            - chrome
   127            - scripting
   128  - File: webext/chrome/scripting.idl
   129    Callback:
   130      Name: GetRegisteredContentScriptsCallback
   131      Args:
   132        - Name: scripts
   133          Type:
   134            Name: sequence
   135            Params:
   136              - Name: RegisteredContentScript
   137                ExtAttrs:
   138                  - Name: Namespace
   139                    Values:
   140                      - chrome
   141                      - scripting
   142            ExtAttrs:
   143              - Name: Namespace
   144                Values:
   145                  - chrome
   146                  - scripting
   147          ExtAttrs:
   148            - Name: Namespace
   149              Values:
   150                - chrome
   151                - scripting
   152      Returns:
   153        - Name: void
   154          ExtAttrs:
   155            - Name: Namespace
   156              Values:
   157                - chrome
   158                - scripting
   159      ExtAttrs:
   160        - Name: Namespace
   161          Values:
   162            - chrome
   163            - scripting
   164  - File: webext/chrome/scripting.idl
   165    Callback:
   166      Name: InjectedFunction
   167      Returns:
   168        - Name: void
   169          ExtAttrs:
   170            - Name: Namespace
   171              Values:
   172                - chrome
   173                - scripting
   174      ExtAttrs:
   175        - Name: Namespace
   176          Values:
   177            - chrome
   178            - scripting
   179  - File: webext/chrome/scripting.idl
   180    Dict:
   181      Name: InjectionResult
   182      ExtAttrs:
   183        - Name: Namespace
   184          Values:
   185            - chrome
   186            - scripting
   187      Fields:
   188        - Name: result
   189          Type:
   190            Name: any
   191            ExtAttrs:
   192              - Name: Namespace
   193                Values:
   194                  - chrome
   195                  - scripting
   196          ExtAttrs:
   197            - Name: Namespace
   198              Values:
   199                - chrome
   200                - scripting
   201        - Name: frameId
   202          Type:
   203            Name: long
   204            ExtAttrs:
   205              - Name: Namespace
   206                Values:
   207                  - chrome
   208                  - scripting
   209          ExtAttrs:
   210            - Name: Namespace
   211              Values:
   212                - chrome
   213                - scripting
   214        - Name: documentId
   215          Type:
   216            Name: DOMString
   217            ExtAttrs:
   218              - Name: Namespace
   219                Values:
   220                  - chrome
   221                  - scripting
   222          ExtAttrs:
   223            - Name: Namespace
   224              Values:
   225                - chrome
   226                - scripting
   227  - File: webext/chrome/scripting.idl
   228    Dict:
   229      Name: InjectionTarget
   230      ExtAttrs:
   231        - Name: Namespace
   232          Values:
   233            - chrome
   234            - scripting
   235      Fields:
   236        - Name: tabId
   237          Type:
   238            Name: long
   239            ExtAttrs:
   240              - Name: Namespace
   241                Values:
   242                  - chrome
   243                  - scripting
   244          ExtAttrs:
   245            - Name: Namespace
   246              Values:
   247                - chrome
   248                - scripting
   249        - Name: frameIds
   250          Type:
   251            Name: sequence
   252            Params:
   253              - Name: long
   254                ExtAttrs:
   255                  - Name: Namespace
   256                    Values:
   257                      - chrome
   258                      - scripting
   259            Nullable: true
   260            ExtAttrs:
   261              - Name: Namespace
   262                Values:
   263                  - chrome
   264                  - scripting
   265          ExtAttrs:
   266            - Name: Namespace
   267              Values:
   268                - chrome
   269                - scripting
   270        - Name: documentIds
   271          Type:
   272            Name: sequence
   273            Params:
   274              - Name: DOMString
   275                ExtAttrs:
   276                  - Name: Namespace
   277                    Values:
   278                      - chrome
   279                      - scripting
   280            Nullable: true
   281            ExtAttrs:
   282              - Name: Namespace
   283                Values:
   284                  - chrome
   285                  - scripting
   286          ExtAttrs:
   287            - Name: Namespace
   288              Values:
   289                - chrome
   290                - scripting
   291        - Name: allFrames
   292          Type:
   293            Name: boolean
   294            Nullable: true
   295            ExtAttrs:
   296              - Name: Namespace
   297                Values:
   298                  - chrome
   299                  - scripting
   300          ExtAttrs:
   301            - Name: Namespace
   302              Values:
   303                - chrome
   304                - scripting
   305  - File: webext/chrome/scripting.idl
   306    Interface:
   307      Name: Properties
   308      ExtAttrs:
   309        - Name: Namespace
   310          Values:
   311            - chrome
   312            - scripting
   313      Operations:
   314        - Name: globalParams
   315          Modifier: static
   316          Returns:
   317            - Name: long
   318              ExtAttrs:
   319                - Name: Namespace
   320                  Values:
   321                    - chrome
   322                    - scripting
   323          ExtAttrs:
   324            - Name: nodoc
   325            - Name: nocompile
   326            - Name: Namespace
   327              Values:
   328                - chrome
   329                - scripting
   330  - File: webext/chrome/scripting.idl
   331    Callback:
   332      Name: RegisterContentScriptsCallback
   333      Returns:
   334        - Name: void
   335          ExtAttrs:
   336            - Name: Namespace
   337              Values:
   338                - chrome
   339                - scripting
   340      ExtAttrs:
   341        - Name: Namespace
   342          Values:
   343            - chrome
   344            - scripting
   345  - File: webext/chrome/scripting.idl
   346    Dict:
   347      Name: RegisteredContentScript
   348      ExtAttrs:
   349        - Name: Namespace
   350          Values:
   351            - chrome
   352            - scripting
   353      Fields:
   354        - Name: id
   355          Type:
   356            Name: DOMString
   357            ExtAttrs:
   358              - Name: Namespace
   359                Values:
   360                  - chrome
   361                  - scripting
   362          ExtAttrs:
   363            - Name: Namespace
   364              Values:
   365                - chrome
   366                - scripting
   367        - Name: matches
   368          Type:
   369            Name: sequence
   370            Params:
   371              - Name: DOMString
   372                ExtAttrs:
   373                  - Name: Namespace
   374                    Values:
   375                      - chrome
   376                      - scripting
   377            Nullable: true
   378            ExtAttrs:
   379              - Name: Namespace
   380                Values:
   381                  - chrome
   382                  - scripting
   383          ExtAttrs:
   384            - Name: Namespace
   385              Values:
   386                - chrome
   387                - scripting
   388        - Name: excludeMatches
   389          Type:
   390            Name: sequence
   391            Params:
   392              - Name: DOMString
   393                ExtAttrs:
   394                  - Name: Namespace
   395                    Values:
   396                      - chrome
   397                      - scripting
   398            Nullable: true
   399            ExtAttrs:
   400              - Name: Namespace
   401                Values:
   402                  - chrome
   403                  - scripting
   404          ExtAttrs:
   405            - Name: Namespace
   406              Values:
   407                - chrome
   408                - scripting
   409        - Name: css
   410          Type:
   411            Name: sequence
   412            Params:
   413              - Name: DOMString
   414                ExtAttrs:
   415                  - Name: Namespace
   416                    Values:
   417                      - chrome
   418                      - scripting
   419            Nullable: true
   420            ExtAttrs:
   421              - Name: Namespace
   422                Values:
   423                  - chrome
   424                  - scripting
   425          ExtAttrs:
   426            - Name: Namespace
   427              Values:
   428                - chrome
   429                - scripting
   430        - Name: js
   431          Type:
   432            Name: sequence
   433            Params:
   434              - Name: DOMString
   435                ExtAttrs:
   436                  - Name: Namespace
   437                    Values:
   438                      - chrome
   439                      - scripting
   440            Nullable: true
   441            ExtAttrs:
   442              - Name: Namespace
   443                Values:
   444                  - chrome
   445                  - scripting
   446          ExtAttrs:
   447            - Name: Namespace
   448              Values:
   449                - chrome
   450                - scripting
   451        - Name: allFrames
   452          Type:
   453            Name: boolean
   454            Nullable: true
   455            ExtAttrs:
   456              - Name: Namespace
   457                Values:
   458                  - chrome
   459                  - scripting
   460          ExtAttrs:
   461            - Name: Namespace
   462              Values:
   463                - chrome
   464                - scripting
   465        - Name: matchOriginAsFallback
   466          Type:
   467            Name: boolean
   468            Nullable: true
   469            ExtAttrs:
   470              - Name: Namespace
   471                Values:
   472                  - chrome
   473                  - scripting
   474          ExtAttrs:
   475            - Name: Namespace
   476              Values:
   477                - chrome
   478                - scripting
   479        - Name: runAt
   480          Type:
   481            Name: RunAt
   482            Nullable: true
   483            ExtAttrs:
   484              - Name: Namespace
   485                Values:
   486                  - chrome
   487                  - extensionTypes
   488          ExtAttrs:
   489            - Name: Namespace
   490              Values:
   491                - chrome
   492                - extensionTypes
   493        - Name: persistAcrossSessions
   494          Type:
   495            Name: boolean
   496            Nullable: true
   497            ExtAttrs:
   498              - Name: Namespace
   499                Values:
   500                  - chrome
   501                  - scripting
   502          ExtAttrs:
   503            - Name: Namespace
   504              Values:
   505                - chrome
   506                - scripting
   507        - Name: world
   508          Type:
   509            Name: ExecutionWorld
   510            Nullable: true
   511            ExtAttrs:
   512              - Name: Namespace
   513                Values:
   514                  - chrome
   515                  - scripting
   516          ExtAttrs:
   517            - Name: Namespace
   518              Values:
   519                - chrome
   520                - scripting
   521  - File: webext/chrome/scripting.idl
   522    Dict:
   523      Name: ScriptInjection
   524      ExtAttrs:
   525        - Name: Namespace
   526          Values:
   527            - chrome
   528            - scripting
   529      Fields:
   530        - Name: func
   531          Type:
   532            Name: InjectedFunction
   533            Nullable: true
   534            ExtAttrs:
   535              - Name: Namespace
   536                Values:
   537                  - chrome
   538                  - scripting
   539          ExtAttrs:
   540            - Name: serializableFunction
   541            - Name: Namespace
   542              Values:
   543                - chrome
   544                - scripting
   545        - Name: args
   546          Type:
   547            Name: sequence
   548            Params:
   549              - Name: any
   550                ExtAttrs:
   551                  - Name: Namespace
   552                    Values:
   553                      - chrome
   554                      - scripting
   555            Nullable: true
   556            ExtAttrs:
   557              - Name: Namespace
   558                Values:
   559                  - chrome
   560                  - scripting
   561          ExtAttrs:
   562            - Name: Namespace
   563              Values:
   564                - chrome
   565                - scripting
   566        - Name: function
   567          Type:
   568            Name: InjectedFunction
   569            Nullable: true
   570            ExtAttrs:
   571              - Name: Namespace
   572                Values:
   573                  - chrome
   574                  - scripting
   575          ExtAttrs:
   576            - Name: nodoc
   577            - Name: serializableFunction
   578            - Name: Namespace
   579              Values:
   580                - chrome
   581                - scripting
   582        - Name: files
   583          Type:
   584            Name: sequence
   585            Params:
   586              - Name: DOMString
   587                ExtAttrs:
   588                  - Name: Namespace
   589                    Values:
   590                      - chrome
   591                      - scripting
   592            Nullable: true
   593            ExtAttrs:
   594              - Name: Namespace
   595                Values:
   596                  - chrome
   597                  - scripting
   598          ExtAttrs:
   599            - Name: Namespace
   600              Values:
   601                - chrome
   602                - scripting
   603        - Name: target
   604          Type:
   605            Name: InjectionTarget
   606            ExtAttrs:
   607              - Name: Namespace
   608                Values:
   609                  - chrome
   610                  - scripting
   611          ExtAttrs:
   612            - Name: Namespace
   613              Values:
   614                - chrome
   615                - scripting
   616        - Name: world
   617          Type:
   618            Name: ExecutionWorld
   619            Nullable: true
   620            ExtAttrs:
   621              - Name: Namespace
   622                Values:
   623                  - chrome
   624                  - scripting
   625          ExtAttrs:
   626            - Name: Namespace
   627              Values:
   628                - chrome
   629                - scripting
   630        - Name: injectImmediately
   631          Type:
   632            Name: boolean
   633            Nullable: true
   634            ExtAttrs:
   635              - Name: Namespace
   636                Values:
   637                  - chrome
   638                  - scripting
   639          ExtAttrs:
   640            - Name: Namespace
   641              Values:
   642                - chrome
   643                - scripting
   644  - File: webext/chrome/scripting.idl
   645    Callback:
   646      Name: ScriptInjectionCallback
   647      Args:
   648        - Name: results
   649          Type:
   650            Name: sequence
   651            Params:
   652              - Name: InjectionResult
   653                ExtAttrs:
   654                  - Name: Namespace
   655                    Values:
   656                      - chrome
   657                      - scripting
   658            ExtAttrs:
   659              - Name: Namespace
   660                Values:
   661                  - chrome
   662                  - scripting
   663          ExtAttrs:
   664            - Name: Namespace
   665              Values:
   666                - chrome
   667                - scripting
   668      Returns:
   669        - Name: void
   670          ExtAttrs:
   671            - Name: Namespace
   672              Values:
   673                - chrome
   674                - scripting
   675      ExtAttrs:
   676        - Name: Namespace
   677          Values:
   678            - chrome
   679            - scripting
   680  - File: webext/chrome/scripting.idl
   681    Enum:
   682      Name: StyleOrigin
   683      Values:
   684        - AUTHOR
   685        - USER
   686      ExtAttrs:
   687        - Name: Namespace
   688          Values:
   689            - chrome
   690            - scripting
   691  - File: webext/chrome/scripting.idl
   692    Callback:
   693      Name: UnregisterContentScriptsCallback
   694      Returns:
   695        - Name: void
   696          ExtAttrs:
   697            - Name: Namespace
   698              Values:
   699                - chrome
   700                - scripting
   701      ExtAttrs:
   702        - Name: Namespace
   703          Values:
   704            - chrome
   705            - scripting
   706  - File: webext/chrome/scripting.idl
   707    Callback:
   708      Name: UpdateContentScriptsCallback
   709      Returns:
   710        - Name: void
   711          ExtAttrs:
   712            - Name: Namespace
   713              Values:
   714                - chrome
   715                - scripting
   716      ExtAttrs:
   717        - Name: Namespace
   718          Values:
   719            - chrome
   720            - scripting
   721  - File: webext/chrome/scripting.idl
   722    WebextFunc:
   723      Name: executeScript
   724      Modifier: static
   725      Args:
   726        - Name: injection
   727          Type:
   728            Name: ScriptInjection
   729            ExtAttrs:
   730              - Name: Namespace
   731                Values:
   732                  - chrome
   733                  - scripting
   734          ExtAttrs:
   735            - Name: Namespace
   736              Values:
   737                - chrome
   738                - scripting
   739      Returns:
   740        - Name: Promise
   741          Params:
   742            - Name: sequence
   743              Params:
   744                - Name: InjectionResult
   745                  ExtAttrs:
   746                    - Name: Namespace
   747                      Values:
   748                        - chrome
   749                        - scripting
   750              ExtAttrs:
   751                - Name: Namespace
   752                  Values:
   753                    - chrome
   754                    - scripting
   755      ExtAttrs:
   756        - Name: supportsPromises
   757        - Name: Namespace
   758          Values:
   759            - chrome
   760            - scripting
   761  - File: webext/chrome/scripting.idl
   762    WebextFunc:
   763      Name: getRegisteredContentScripts
   764      Modifier: static
   765      Args:
   766        - Name: filter
   767          Optional: true
   768          Type:
   769            Name: ContentScriptFilter
   770            ExtAttrs:
   771              - Name: Namespace
   772                Values:
   773                  - chrome
   774                  - scripting
   775          ExtAttrs:
   776            - Name: Namespace
   777              Values:
   778                - chrome
   779                - scripting
   780      Returns:
   781        - Name: Promise
   782          Params:
   783            - Name: sequence
   784              Params:
   785                - Name: RegisteredContentScript
   786                  ExtAttrs:
   787                    - Name: Namespace
   788                      Values:
   789                        - chrome
   790                        - scripting
   791              ExtAttrs:
   792                - Name: Namespace
   793                  Values:
   794                    - chrome
   795                    - scripting
   796      ExtAttrs:
   797        - Name: supportsPromises
   798        - Name: Namespace
   799          Values:
   800            - chrome
   801            - scripting
   802  - File: webext/chrome/scripting.idl
   803    WebextFunc:
   804      Name: insertCSS
   805      Modifier: static
   806      Args:
   807        - Name: injection
   808          Type:
   809            Name: CSSInjection
   810            ExtAttrs:
   811              - Name: Namespace
   812                Values:
   813                  - chrome
   814                  - scripting
   815          ExtAttrs:
   816            - Name: Namespace
   817              Values:
   818                - chrome
   819                - scripting
   820      Returns:
   821        - Name: Promise
   822          Params:
   823            - Name: void
   824      ExtAttrs:
   825        - Name: supportsPromises
   826        - Name: Namespace
   827          Values:
   828            - chrome
   829            - scripting
   830  - File: webext/chrome/scripting.idl
   831    WebextFunc:
   832      Name: registerContentScripts
   833      Modifier: static
   834      Args:
   835        - Name: scripts
   836          Type:
   837            Name: sequence
   838            Params:
   839              - Name: RegisteredContentScript
   840                ExtAttrs:
   841                  - Name: Namespace
   842                    Values:
   843                      - chrome
   844                      - scripting
   845            ExtAttrs:
   846              - Name: Namespace
   847                Values:
   848                  - chrome
   849                  - scripting
   850          ExtAttrs:
   851            - Name: Namespace
   852              Values:
   853                - chrome
   854                - scripting
   855      Returns:
   856        - Name: Promise
   857          Params:
   858            - Name: void
   859      ExtAttrs:
   860        - Name: supportsPromises
   861        - Name: Namespace
   862          Values:
   863            - chrome
   864            - scripting
   865  - File: webext/chrome/scripting.idl
   866    WebextFunc:
   867      Name: removeCSS
   868      Modifier: static
   869      Args:
   870        - Name: injection
   871          Type:
   872            Name: CSSInjection
   873            ExtAttrs:
   874              - Name: Namespace
   875                Values:
   876                  - chrome
   877                  - scripting
   878          ExtAttrs:
   879            - Name: Namespace
   880              Values:
   881                - chrome
   882                - scripting
   883      Returns:
   884        - Name: Promise
   885          Params:
   886            - Name: void
   887      ExtAttrs:
   888        - Name: supportsPromises
   889        - Name: Namespace
   890          Values:
   891            - chrome
   892            - scripting
   893  - File: webext/chrome/scripting.idl
   894    WebextFunc:
   895      Name: unregisterContentScripts
   896      Modifier: static
   897      Args:
   898        - Name: filter
   899          Optional: true
   900          Type:
   901            Name: ContentScriptFilter
   902            ExtAttrs:
   903              - Name: Namespace
   904                Values:
   905                  - chrome
   906                  - scripting
   907          ExtAttrs:
   908            - Name: Namespace
   909              Values:
   910                - chrome
   911                - scripting
   912      Returns:
   913        - Name: Promise
   914          Params:
   915            - Name: void
   916      ExtAttrs:
   917        - Name: supportsPromises
   918        - Name: Namespace
   919          Values:
   920            - chrome
   921            - scripting
   922  - File: webext/chrome/scripting.idl
   923    WebextFunc:
   924      Name: updateContentScripts
   925      Modifier: static
   926      Args:
   927        - Name: scripts
   928          Type:
   929            Name: sequence
   930            Params:
   931              - Name: RegisteredContentScript
   932                ExtAttrs:
   933                  - Name: Namespace
   934                    Values:
   935                      - chrome
   936                      - scripting
   937            ExtAttrs:
   938              - Name: Namespace
   939                Values:
   940                  - chrome
   941                  - scripting
   942          ExtAttrs:
   943            - Name: Namespace
   944              Values:
   945                - chrome
   946                - scripting
   947      Returns:
   948        - Name: Promise
   949          Params:
   950            - Name: void
   951      ExtAttrs:
   952        - Name: supportsPromises
   953        - Name: Namespace
   954          Values:
   955            - chrome
   956            - scripting