devtools-protocol 0.0.1143632 → 0.0.1144541
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| 
         @@ -1852,6 +1852,19 @@ 
     | 
|
| 
       1852 
1852 
     | 
    
         
             
                                        "type": "boolean"
         
     | 
| 
       1853 
1853 
     | 
    
         
             
                                    }
         
     | 
| 
       1854 
1854 
     | 
    
         
             
                                ]
         
     | 
| 
      
 1855 
     | 
    
         
            +
                            },
         
     | 
| 
      
 1856 
     | 
    
         
            +
                            {
         
     | 
| 
      
 1857 
     | 
    
         
            +
                                "name": "checkFormsIssues",
         
     | 
| 
      
 1858 
     | 
    
         
            +
                                "description": "Runs the form issues check for the target page. Found issues are reported\nusing Audits.issueAdded event.",
         
     | 
| 
      
 1859 
     | 
    
         
            +
                                "returns": [
         
     | 
| 
      
 1860 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 1861 
     | 
    
         
            +
                                        "name": "formIssues",
         
     | 
| 
      
 1862 
     | 
    
         
            +
                                        "type": "array",
         
     | 
| 
      
 1863 
     | 
    
         
            +
                                        "items": {
         
     | 
| 
      
 1864 
     | 
    
         
            +
                                            "$ref": "GenericIssueDetails"
         
     | 
| 
      
 1865 
     | 
    
         
            +
                                        }
         
     | 
| 
      
 1866 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 1867 
     | 
    
         
            +
                                ]
         
     | 
| 
       1855 
1868 
     | 
    
         
             
                            }
         
     | 
| 
       1856 
1869 
     | 
    
         
             
                        ],
         
     | 
| 
       1857 
1870 
     | 
    
         
             
                        "events": [
         
     | 
| 
         @@ -1913,6 +1926,12 @@ 
     | 
|
| 
       1913 
1926 
     | 
    
         
             
                                        "description": "Identifies a field that serves as an anchor for autofill.",
         
     | 
| 
       1914 
1927 
     | 
    
         
             
                                        "$ref": "DOM.BackendNodeId"
         
     | 
| 
       1915 
1928 
     | 
    
         
             
                                    },
         
     | 
| 
      
 1929 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 1930 
     | 
    
         
            +
                                        "name": "frameId",
         
     | 
| 
      
 1931 
     | 
    
         
            +
                                        "description": "Identifies the frame that field belongs to.",
         
     | 
| 
      
 1932 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 1933 
     | 
    
         
            +
                                        "$ref": "Page.FrameId"
         
     | 
| 
      
 1934 
     | 
    
         
            +
                                    },
         
     | 
| 
       1916 
1935 
     | 
    
         
             
                                    {
         
     | 
| 
       1917 
1936 
     | 
    
         
             
                                        "name": "card",
         
     | 
| 
       1918 
1937 
     | 
    
         
             
                                        "description": "Credit card information to fill out the form. Credit card data is not saved.",
         
     | 
    
        package/package.json
    CHANGED
    
    
    
        package/pdl/browser_protocol.pdl
    CHANGED
    
    | 
         @@ -919,6 +919,12 @@ experimental domain Audits 
     | 
|
| 
       919 
919 
     | 
    
         
             
                  # Whether to report WCAG AAA level issues. Default is false.
         
     | 
| 
       920 
920 
     | 
    
         
             
                  optional boolean reportAAA
         
     | 
| 
       921 
921 
     | 
    
         | 
| 
      
 922 
     | 
    
         
            +
              # Runs the form issues check for the target page. Found issues are reported
         
     | 
| 
      
 923 
     | 
    
         
            +
              # using Audits.issueAdded event.
         
     | 
| 
      
 924 
     | 
    
         
            +
              command checkFormsIssues
         
     | 
| 
      
 925 
     | 
    
         
            +
                returns
         
     | 
| 
      
 926 
     | 
    
         
            +
                  array of GenericIssueDetails formIssues
         
     | 
| 
      
 927 
     | 
    
         
            +
             
     | 
| 
       922 
928 
     | 
    
         
             
              event issueAdded
         
     | 
| 
       923 
929 
     | 
    
         
             
                parameters
         
     | 
| 
       924 
930 
     | 
    
         
             
                  InspectorIssue issue
         
     | 
| 
         @@ -944,6 +950,8 @@ experimental domain Autofill 
     | 
|
| 
       944 
950 
     | 
    
         
             
                parameters
         
     | 
| 
       945 
951 
     | 
    
         
             
                  # Identifies a field that serves as an anchor for autofill.
         
     | 
| 
       946 
952 
     | 
    
         
             
                  DOM.BackendNodeId fieldId
         
     | 
| 
      
 953 
     | 
    
         
            +
                  # Identifies the frame that field belongs to.
         
     | 
| 
      
 954 
     | 
    
         
            +
                  optional Page.FrameId frameId
         
     | 
| 
       947 
955 
     | 
    
         
             
                  # Credit card information to fill out the form. Credit card data is not saved.
         
     | 
| 
       948 
956 
     | 
    
         
             
                  CreditCard card
         
     | 
| 
       949 
957 
     | 
    
         | 
| 
         @@ -1459,6 +1459,14 @@ export namespace ProtocolMapping { 
     | 
|
| 
       1459 
1459 
     | 
    
         
             
                        paramsType: [Protocol.Audits.CheckContrastRequest?];
         
     | 
| 
       1460 
1460 
     | 
    
         
             
                        returnType: void;
         
     | 
| 
       1461 
1461 
     | 
    
         
             
                    };
         
     | 
| 
      
 1462 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 1463 
     | 
    
         
            +
                     * Runs the form issues check for the target page. Found issues are reported
         
     | 
| 
      
 1464 
     | 
    
         
            +
                     * using Audits.issueAdded event.
         
     | 
| 
      
 1465 
     | 
    
         
            +
                     */
         
     | 
| 
      
 1466 
     | 
    
         
            +
                    'Audits.checkFormsIssues': {
         
     | 
| 
      
 1467 
     | 
    
         
            +
                        paramsType: [];
         
     | 
| 
      
 1468 
     | 
    
         
            +
                        returnType: Protocol.Audits.CheckFormsIssuesResponse;
         
     | 
| 
      
 1469 
     | 
    
         
            +
                    };
         
     | 
| 
       1462 
1470 
     | 
    
         
             
                    /**
         
     | 
| 
       1463 
1471 
     | 
    
         
             
                     * Trigger autofill on a form identified by the fieldId.
         
     | 
| 
       1464 
1472 
     | 
    
         
             
                     * If the field and related form cannot be autofilled, returns an error.
         
     | 
| 
         @@ -788,6 +788,12 @@ export namespace ProtocolProxyApi { 
     | 
|
| 
       788 
788 
     | 
    
         
             
                     */
         
     | 
| 
       789 
789 
     | 
    
         
             
                    checkContrast(params: Protocol.Audits.CheckContrastRequest): Promise<void>;
         
     | 
| 
       790 
790 
     | 
    
         | 
| 
      
 791 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 792 
     | 
    
         
            +
                     * Runs the form issues check for the target page. Found issues are reported
         
     | 
| 
      
 793 
     | 
    
         
            +
                     * using Audits.issueAdded event.
         
     | 
| 
      
 794 
     | 
    
         
            +
                     */
         
     | 
| 
      
 795 
     | 
    
         
            +
                    checkFormsIssues(): Promise<Protocol.Audits.CheckFormsIssuesResponse>;
         
     | 
| 
      
 796 
     | 
    
         
            +
             
     | 
| 
       791 
797 
     | 
    
         
             
                    on(event: 'issueAdded', listener: (params: Protocol.Audits.IssueAddedEvent) => void): void;
         
     | 
| 
       792 
798 
     | 
    
         | 
| 
       793 
799 
     | 
    
         
             
                }
         
     | 
    
        package/types/protocol.d.ts
    CHANGED
    
    | 
         @@ -3628,6 +3628,10 @@ export namespace Protocol { 
     | 
|
| 
       3628 
3628 
     | 
    
         
             
                        reportAAA?: boolean;
         
     | 
| 
       3629 
3629 
     | 
    
         
             
                    }
         
     | 
| 
       3630 
3630 
     | 
    
         | 
| 
      
 3631 
     | 
    
         
            +
                    export interface CheckFormsIssuesResponse {
         
     | 
| 
      
 3632 
     | 
    
         
            +
                        formIssues: GenericIssueDetails[];
         
     | 
| 
      
 3633 
     | 
    
         
            +
                    }
         
     | 
| 
      
 3634 
     | 
    
         
            +
             
     | 
| 
       3631 
3635 
     | 
    
         
             
                    export interface IssueAddedEvent {
         
     | 
| 
       3632 
3636 
     | 
    
         
             
                        issue: InspectorIssue;
         
     | 
| 
       3633 
3637 
     | 
    
         
             
                    }
         
     | 
| 
         @@ -3666,6 +3670,10 @@ export namespace Protocol { 
     | 
|
| 
       3666 
3670 
     | 
    
         
             
                         * Identifies a field that serves as an anchor for autofill.
         
     | 
| 
       3667 
3671 
     | 
    
         
             
                         */
         
     | 
| 
       3668 
3672 
     | 
    
         
             
                        fieldId: DOM.BackendNodeId;
         
     | 
| 
      
 3673 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 3674 
     | 
    
         
            +
                         * Identifies the frame that field belongs to.
         
     | 
| 
      
 3675 
     | 
    
         
            +
                         */
         
     | 
| 
      
 3676 
     | 
    
         
            +
                        frameId?: Page.FrameId;
         
     | 
| 
       3669 
3677 
     | 
    
         
             
                        /**
         
     | 
| 
       3670 
3678 
     | 
    
         
             
                         * Credit card information to fill out the form. Credit card data is not saved.
         
     | 
| 
       3671 
3679 
     | 
    
         
             
                         */
         
     |