devtools-protocol 0.0.1336433 → 0.0.1338258
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.
| 
         @@ -17785,14 +17785,16 @@ 
     | 
|
| 
       17785 
17785 
     | 
    
         
             
                                "experimental": true,
         
     | 
| 
       17786 
17786 
     | 
    
         
             
                                "type": "string",
         
     | 
| 
       17787 
17787 
     | 
    
         
             
                                "enum": [
         
     | 
| 
      
 17788 
     | 
    
         
            +
                                    "anchorClick",
         
     | 
| 
       17788 
17789 
     | 
    
         
             
                                    "formSubmissionGet",
         
     | 
| 
       17789 
17790 
     | 
    
         
             
                                    "formSubmissionPost",
         
     | 
| 
       17790 
17791 
     | 
    
         
             
                                    "httpHeaderRefresh",
         
     | 
| 
       17791 
     | 
    
         
            -
                                    " 
     | 
| 
      
 17792 
     | 
    
         
            +
                                    "initialFrameNavigation",
         
     | 
| 
       17792 
17793 
     | 
    
         
             
                                    "metaTagRefresh",
         
     | 
| 
      
 17794 
     | 
    
         
            +
                                    "other",
         
     | 
| 
       17793 
17795 
     | 
    
         
             
                                    "pageBlockInterstitial",
         
     | 
| 
       17794 
17796 
     | 
    
         
             
                                    "reload",
         
     | 
| 
       17795 
     | 
    
         
            -
                                    " 
     | 
| 
      
 17797 
     | 
    
         
            +
                                    "scriptInitiated"
         
     | 
| 
       17796 
17798 
     | 
    
         
             
                                ]
         
     | 
| 
       17797 
17799 
     | 
    
         
             
                            },
         
     | 
| 
       17798 
17800 
     | 
    
         
             
                            {
         
     | 
| 
         @@ -26656,6 +26658,155 @@ 
     | 
|
| 
       26656 
26658 
     | 
    
         
             
                                ]
         
     | 
| 
       26657 
26659 
     | 
    
         
             
                            }
         
     | 
| 
       26658 
26660 
     | 
    
         
             
                        ]
         
     | 
| 
      
 26661 
     | 
    
         
            +
                    },
         
     | 
| 
      
 26662 
     | 
    
         
            +
                    {
         
     | 
| 
      
 26663 
     | 
    
         
            +
                        "domain": "BluetoothEmulation",
         
     | 
| 
      
 26664 
     | 
    
         
            +
                        "description": "This domain allows configuring virtual Bluetooth devices to test\nthe web-bluetooth API.",
         
     | 
| 
      
 26665 
     | 
    
         
            +
                        "experimental": true,
         
     | 
| 
      
 26666 
     | 
    
         
            +
                        "types": [
         
     | 
| 
      
 26667 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26668 
     | 
    
         
            +
                                "id": "CentralState",
         
     | 
| 
      
 26669 
     | 
    
         
            +
                                "description": "Indicates the various states of Central.",
         
     | 
| 
      
 26670 
     | 
    
         
            +
                                "type": "string",
         
     | 
| 
      
 26671 
     | 
    
         
            +
                                "enum": [
         
     | 
| 
      
 26672 
     | 
    
         
            +
                                    "absent",
         
     | 
| 
      
 26673 
     | 
    
         
            +
                                    "powered-off",
         
     | 
| 
      
 26674 
     | 
    
         
            +
                                    "powered-on"
         
     | 
| 
      
 26675 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26676 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26677 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26678 
     | 
    
         
            +
                                "id": "ManufacturerData",
         
     | 
| 
      
 26679 
     | 
    
         
            +
                                "description": "Stores the manufacturer data",
         
     | 
| 
      
 26680 
     | 
    
         
            +
                                "type": "object",
         
     | 
| 
      
 26681 
     | 
    
         
            +
                                "properties": [
         
     | 
| 
      
 26682 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26683 
     | 
    
         
            +
                                        "name": "key",
         
     | 
| 
      
 26684 
     | 
    
         
            +
                                        "description": "Company identifier\nhttps://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml\nhttps://usb.org/developers",
         
     | 
| 
      
 26685 
     | 
    
         
            +
                                        "type": "integer"
         
     | 
| 
      
 26686 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26687 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26688 
     | 
    
         
            +
                                        "name": "data",
         
     | 
| 
      
 26689 
     | 
    
         
            +
                                        "description": "Manufacturer-specific data (Encoded as a base64 string when passed over JSON)",
         
     | 
| 
      
 26690 
     | 
    
         
            +
                                        "type": "string"
         
     | 
| 
      
 26691 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26692 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26693 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26694 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26695 
     | 
    
         
            +
                                "id": "ScanRecord",
         
     | 
| 
      
 26696 
     | 
    
         
            +
                                "description": "Stores the byte data of the advertisement packet sent by a Bluetooth device.",
         
     | 
| 
      
 26697 
     | 
    
         
            +
                                "type": "object",
         
     | 
| 
      
 26698 
     | 
    
         
            +
                                "properties": [
         
     | 
| 
      
 26699 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26700 
     | 
    
         
            +
                                        "name": "name",
         
     | 
| 
      
 26701 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 26702 
     | 
    
         
            +
                                        "type": "string"
         
     | 
| 
      
 26703 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26704 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26705 
     | 
    
         
            +
                                        "name": "uuids",
         
     | 
| 
      
 26706 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 26707 
     | 
    
         
            +
                                        "type": "array",
         
     | 
| 
      
 26708 
     | 
    
         
            +
                                        "items": {
         
     | 
| 
      
 26709 
     | 
    
         
            +
                                            "type": "string"
         
     | 
| 
      
 26710 
     | 
    
         
            +
                                        }
         
     | 
| 
      
 26711 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26712 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26713 
     | 
    
         
            +
                                        "name": "appearance",
         
     | 
| 
      
 26714 
     | 
    
         
            +
                                        "description": "Stores the external appearance description of the device.",
         
     | 
| 
      
 26715 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 26716 
     | 
    
         
            +
                                        "type": "integer"
         
     | 
| 
      
 26717 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26718 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26719 
     | 
    
         
            +
                                        "name": "txPower",
         
     | 
| 
      
 26720 
     | 
    
         
            +
                                        "description": "Stores the transmission power of a broadcasting device.",
         
     | 
| 
      
 26721 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 26722 
     | 
    
         
            +
                                        "type": "integer"
         
     | 
| 
      
 26723 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26724 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26725 
     | 
    
         
            +
                                        "name": "manufacturerData",
         
     | 
| 
      
 26726 
     | 
    
         
            +
                                        "description": "Key is the company identifier and the value is an array of bytes of\nmanufacturer specific data.",
         
     | 
| 
      
 26727 
     | 
    
         
            +
                                        "optional": true,
         
     | 
| 
      
 26728 
     | 
    
         
            +
                                        "type": "array",
         
     | 
| 
      
 26729 
     | 
    
         
            +
                                        "items": {
         
     | 
| 
      
 26730 
     | 
    
         
            +
                                            "$ref": "ManufacturerData"
         
     | 
| 
      
 26731 
     | 
    
         
            +
                                        }
         
     | 
| 
      
 26732 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26733 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26734 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26735 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26736 
     | 
    
         
            +
                                "id": "ScanEntry",
         
     | 
| 
      
 26737 
     | 
    
         
            +
                                "description": "Stores the advertisement packet information that is sent by a Bluetooth device.",
         
     | 
| 
      
 26738 
     | 
    
         
            +
                                "type": "object",
         
     | 
| 
      
 26739 
     | 
    
         
            +
                                "properties": [
         
     | 
| 
      
 26740 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26741 
     | 
    
         
            +
                                        "name": "deviceAddress",
         
     | 
| 
      
 26742 
     | 
    
         
            +
                                        "type": "string"
         
     | 
| 
      
 26743 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26744 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26745 
     | 
    
         
            +
                                        "name": "rssi",
         
     | 
| 
      
 26746 
     | 
    
         
            +
                                        "type": "integer"
         
     | 
| 
      
 26747 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26748 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26749 
     | 
    
         
            +
                                        "name": "scanRecord",
         
     | 
| 
      
 26750 
     | 
    
         
            +
                                        "$ref": "ScanRecord"
         
     | 
| 
      
 26751 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26752 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26753 
     | 
    
         
            +
                            }
         
     | 
| 
      
 26754 
     | 
    
         
            +
                        ],
         
     | 
| 
      
 26755 
     | 
    
         
            +
                        "commands": [
         
     | 
| 
      
 26756 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26757 
     | 
    
         
            +
                                "name": "enable",
         
     | 
| 
      
 26758 
     | 
    
         
            +
                                "description": "Enable the BluetoothEmulation domain.",
         
     | 
| 
      
 26759 
     | 
    
         
            +
                                "parameters": [
         
     | 
| 
      
 26760 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26761 
     | 
    
         
            +
                                        "name": "state",
         
     | 
| 
      
 26762 
     | 
    
         
            +
                                        "description": "State of the simulated central.",
         
     | 
| 
      
 26763 
     | 
    
         
            +
                                        "$ref": "CentralState"
         
     | 
| 
      
 26764 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26765 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26766 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26767 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26768 
     | 
    
         
            +
                                "name": "disable",
         
     | 
| 
      
 26769 
     | 
    
         
            +
                                "description": "Disable the BluetoothEmulation domain."
         
     | 
| 
      
 26770 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26771 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26772 
     | 
    
         
            +
                                "name": "simulatePreconnectedPeripheral",
         
     | 
| 
      
 26773 
     | 
    
         
            +
                                "description": "Simulates a peripheral with |address|, |name| and |knownServiceUuids|\nthat has already been connected to the system.",
         
     | 
| 
      
 26774 
     | 
    
         
            +
                                "parameters": [
         
     | 
| 
      
 26775 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26776 
     | 
    
         
            +
                                        "name": "address",
         
     | 
| 
      
 26777 
     | 
    
         
            +
                                        "type": "string"
         
     | 
| 
      
 26778 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26779 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26780 
     | 
    
         
            +
                                        "name": "name",
         
     | 
| 
      
 26781 
     | 
    
         
            +
                                        "type": "string"
         
     | 
| 
      
 26782 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26783 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26784 
     | 
    
         
            +
                                        "name": "manufacturerData",
         
     | 
| 
      
 26785 
     | 
    
         
            +
                                        "type": "array",
         
     | 
| 
      
 26786 
     | 
    
         
            +
                                        "items": {
         
     | 
| 
      
 26787 
     | 
    
         
            +
                                            "$ref": "ManufacturerData"
         
     | 
| 
      
 26788 
     | 
    
         
            +
                                        }
         
     | 
| 
      
 26789 
     | 
    
         
            +
                                    },
         
     | 
| 
      
 26790 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26791 
     | 
    
         
            +
                                        "name": "knownServiceUuids",
         
     | 
| 
      
 26792 
     | 
    
         
            +
                                        "type": "array",
         
     | 
| 
      
 26793 
     | 
    
         
            +
                                        "items": {
         
     | 
| 
      
 26794 
     | 
    
         
            +
                                            "type": "string"
         
     | 
| 
      
 26795 
     | 
    
         
            +
                                        }
         
     | 
| 
      
 26796 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26797 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26798 
     | 
    
         
            +
                            },
         
     | 
| 
      
 26799 
     | 
    
         
            +
                            {
         
     | 
| 
      
 26800 
     | 
    
         
            +
                                "name": "simulateAdvertisement",
         
     | 
| 
      
 26801 
     | 
    
         
            +
                                "description": "Simulates an advertisement packet described in |entry| being received by\nthe central.",
         
     | 
| 
      
 26802 
     | 
    
         
            +
                                "parameters": [
         
     | 
| 
      
 26803 
     | 
    
         
            +
                                    {
         
     | 
| 
      
 26804 
     | 
    
         
            +
                                        "name": "entry",
         
     | 
| 
      
 26805 
     | 
    
         
            +
                                        "$ref": "ScanEntry"
         
     | 
| 
      
 26806 
     | 
    
         
            +
                                    }
         
     | 
| 
      
 26807 
     | 
    
         
            +
                                ]
         
     | 
| 
      
 26808 
     | 
    
         
            +
                            }
         
     | 
| 
      
 26809 
     | 
    
         
            +
                        ]
         
     | 
| 
       26659 
26810 
     | 
    
         
             
                    }
         
     | 
| 
       26660 
26811 
     | 
    
         
             
                ]
         
     | 
| 
       26661 
26812 
     | 
    
         
             
            }
         
     | 
    
        package/package.json
    CHANGED
    
    
    
        package/pdl/browser_protocol.pdl
    CHANGED
    
    | 
         @@ -8369,14 +8369,16 @@ domain Page 
     | 
|
| 
       8369 
8369 
     | 
    
         | 
| 
       8370 
8370 
     | 
    
         
             
              experimental type ClientNavigationReason extends string
         
     | 
| 
       8371 
8371 
     | 
    
         
             
                enum
         
     | 
| 
      
 8372 
     | 
    
         
            +
                  anchorClick
         
     | 
| 
       8372 
8373 
     | 
    
         
             
                  formSubmissionGet
         
     | 
| 
       8373 
8374 
     | 
    
         
             
                  formSubmissionPost
         
     | 
| 
       8374 
8375 
     | 
    
         
             
                  httpHeaderRefresh
         
     | 
| 
       8375 
     | 
    
         
            -
                   
     | 
| 
      
 8376 
     | 
    
         
            +
                  initialFrameNavigation
         
     | 
| 
       8376 
8377 
     | 
    
         
             
                  metaTagRefresh
         
     | 
| 
      
 8378 
     | 
    
         
            +
                  other
         
     | 
| 
       8377 
8379 
     | 
    
         
             
                  pageBlockInterstitial
         
     | 
| 
       8378 
8380 
     | 
    
         
             
                  reload
         
     | 
| 
       8379 
     | 
    
         
            -
                   
     | 
| 
      
 8381 
     | 
    
         
            +
                  scriptInitiated
         
     | 
| 
       8380 
8382 
     | 
    
         | 
| 
       8381 
8383 
     | 
    
         
             
              experimental type ClientNavigationDisposition extends string
         
     | 
| 
       8382 
8384 
     | 
    
         
             
                enum
         
     | 
| 
         @@ -12612,3 +12614,67 @@ experimental domain PWA 
     | 
|
| 
       12612 
12614 
     | 
    
         
             
                  # supported yet.
         
     | 
| 
       12613 
12615 
     | 
    
         
             
                  optional boolean linkCapturing
         
     | 
| 
       12614 
12616 
     | 
    
         
             
                  optional DisplayMode displayMode
         
     | 
| 
      
 12617 
     | 
    
         
            +
             
     | 
| 
      
 12618 
     | 
    
         
            +
            # This domain allows configuring virtual Bluetooth devices to test
         
     | 
| 
      
 12619 
     | 
    
         
            +
            # the web-bluetooth API.
         
     | 
| 
      
 12620 
     | 
    
         
            +
            experimental domain BluetoothEmulation
         
     | 
| 
      
 12621 
     | 
    
         
            +
              # Indicates the various states of Central.
         
     | 
| 
      
 12622 
     | 
    
         
            +
              type CentralState extends string
         
     | 
| 
      
 12623 
     | 
    
         
            +
                enum
         
     | 
| 
      
 12624 
     | 
    
         
            +
                  absent
         
     | 
| 
      
 12625 
     | 
    
         
            +
                  powered-off
         
     | 
| 
      
 12626 
     | 
    
         
            +
                  powered-on
         
     | 
| 
      
 12627 
     | 
    
         
            +
             
     | 
| 
      
 12628 
     | 
    
         
            +
              # Stores the manufacturer data
         
     | 
| 
      
 12629 
     | 
    
         
            +
              type ManufacturerData extends object
         
     | 
| 
      
 12630 
     | 
    
         
            +
                properties
         
     | 
| 
      
 12631 
     | 
    
         
            +
                  # Company identifier
         
     | 
| 
      
 12632 
     | 
    
         
            +
                  # https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
         
     | 
| 
      
 12633 
     | 
    
         
            +
                  # https://usb.org/developers
         
     | 
| 
      
 12634 
     | 
    
         
            +
                  integer key
         
     | 
| 
      
 12635 
     | 
    
         
            +
                  # Manufacturer-specific data
         
     | 
| 
      
 12636 
     | 
    
         
            +
                  binary data
         
     | 
| 
      
 12637 
     | 
    
         
            +
             
     | 
| 
      
 12638 
     | 
    
         
            +
              # Stores the byte data of the advertisement packet sent by a Bluetooth device.
         
     | 
| 
      
 12639 
     | 
    
         
            +
              type ScanRecord extends object
         
     | 
| 
      
 12640 
     | 
    
         
            +
                properties
         
     | 
| 
      
 12641 
     | 
    
         
            +
                  optional string name
         
     | 
| 
      
 12642 
     | 
    
         
            +
                  optional array of string uuids
         
     | 
| 
      
 12643 
     | 
    
         
            +
                  # Stores the external appearance description of the device.
         
     | 
| 
      
 12644 
     | 
    
         
            +
                  optional integer appearance
         
     | 
| 
      
 12645 
     | 
    
         
            +
                  # Stores the transmission power of a broadcasting device.
         
     | 
| 
      
 12646 
     | 
    
         
            +
                  optional integer txPower
         
     | 
| 
      
 12647 
     | 
    
         
            +
                  # Key is the company identifier and the value is an array of bytes of
         
     | 
| 
      
 12648 
     | 
    
         
            +
                  # manufacturer specific data.
         
     | 
| 
      
 12649 
     | 
    
         
            +
                  optional array of ManufacturerData manufacturerData
         
     | 
| 
      
 12650 
     | 
    
         
            +
             
     | 
| 
      
 12651 
     | 
    
         
            +
              # Stores the advertisement packet information that is sent by a Bluetooth device.
         
     | 
| 
      
 12652 
     | 
    
         
            +
              type ScanEntry extends object
         
     | 
| 
      
 12653 
     | 
    
         
            +
                properties
         
     | 
| 
      
 12654 
     | 
    
         
            +
                  string deviceAddress
         
     | 
| 
      
 12655 
     | 
    
         
            +
                  integer rssi
         
     | 
| 
      
 12656 
     | 
    
         
            +
                  ScanRecord scanRecord
         
     | 
| 
      
 12657 
     | 
    
         
            +
             
     | 
| 
      
 12658 
     | 
    
         
            +
              # Enable the BluetoothEmulation domain.
         
     | 
| 
      
 12659 
     | 
    
         
            +
              command enable
         
     | 
| 
      
 12660 
     | 
    
         
            +
                parameters
         
     | 
| 
      
 12661 
     | 
    
         
            +
                  # State of the simulated central.
         
     | 
| 
      
 12662 
     | 
    
         
            +
                  CentralState state
         
     | 
| 
      
 12663 
     | 
    
         
            +
             
     | 
| 
      
 12664 
     | 
    
         
            +
              # Disable the BluetoothEmulation domain.
         
     | 
| 
      
 12665 
     | 
    
         
            +
              command disable
         
     | 
| 
      
 12666 
     | 
    
         
            +
             
     | 
| 
      
 12667 
     | 
    
         
            +
              # Simulates a peripheral with |address|, |name| and |knownServiceUuids|
         
     | 
| 
      
 12668 
     | 
    
         
            +
              # that has already been connected to the system.
         
     | 
| 
      
 12669 
     | 
    
         
            +
              command simulatePreconnectedPeripheral
         
     | 
| 
      
 12670 
     | 
    
         
            +
                parameters
         
     | 
| 
      
 12671 
     | 
    
         
            +
                  string address
         
     | 
| 
      
 12672 
     | 
    
         
            +
                  string name
         
     | 
| 
      
 12673 
     | 
    
         
            +
                  array of ManufacturerData manufacturerData
         
     | 
| 
      
 12674 
     | 
    
         
            +
                  array of string knownServiceUuids
         
     | 
| 
      
 12675 
     | 
    
         
            +
             
     | 
| 
      
 12676 
     | 
    
         
            +
              # Simulates an advertisement packet described in |entry| being received by
         
     | 
| 
      
 12677 
     | 
    
         
            +
              # the central.
         
     | 
| 
      
 12678 
     | 
    
         
            +
              command simulateAdvertisement
         
     | 
| 
      
 12679 
     | 
    
         
            +
                parameters
         
     | 
| 
      
 12680 
     | 
    
         
            +
                  ScanEntry entry
         
     | 
| 
         @@ -5079,6 +5079,36 @@ export namespace ProtocolMapping { 
     | 
|
| 
       5079 
5079 
     | 
    
         
             
                        paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
         
     | 
| 
       5080 
5080 
     | 
    
         
             
                        returnType: void;
         
     | 
| 
       5081 
5081 
     | 
    
         
             
                    };
         
     | 
| 
      
 5082 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 5083 
     | 
    
         
            +
                     * Enable the BluetoothEmulation domain.
         
     | 
| 
      
 5084 
     | 
    
         
            +
                     */
         
     | 
| 
      
 5085 
     | 
    
         
            +
                    'BluetoothEmulation.enable': {
         
     | 
| 
      
 5086 
     | 
    
         
            +
                        paramsType: [Protocol.BluetoothEmulation.EnableRequest];
         
     | 
| 
      
 5087 
     | 
    
         
            +
                        returnType: void;
         
     | 
| 
      
 5088 
     | 
    
         
            +
                    };
         
     | 
| 
      
 5089 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 5090 
     | 
    
         
            +
                     * Disable the BluetoothEmulation domain.
         
     | 
| 
      
 5091 
     | 
    
         
            +
                     */
         
     | 
| 
      
 5092 
     | 
    
         
            +
                    'BluetoothEmulation.disable': {
         
     | 
| 
      
 5093 
     | 
    
         
            +
                        paramsType: [];
         
     | 
| 
      
 5094 
     | 
    
         
            +
                        returnType: void;
         
     | 
| 
      
 5095 
     | 
    
         
            +
                    };
         
     | 
| 
      
 5096 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 5097 
     | 
    
         
            +
                     * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
         
     | 
| 
      
 5098 
     | 
    
         
            +
                     * that has already been connected to the system.
         
     | 
| 
      
 5099 
     | 
    
         
            +
                     */
         
     | 
| 
      
 5100 
     | 
    
         
            +
                    'BluetoothEmulation.simulatePreconnectedPeripheral': {
         
     | 
| 
      
 5101 
     | 
    
         
            +
                        paramsType: [Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest];
         
     | 
| 
      
 5102 
     | 
    
         
            +
                        returnType: void;
         
     | 
| 
      
 5103 
     | 
    
         
            +
                    };
         
     | 
| 
      
 5104 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 5105 
     | 
    
         
            +
                     * Simulates an advertisement packet described in |entry| being received by
         
     | 
| 
      
 5106 
     | 
    
         
            +
                     * the central.
         
     | 
| 
      
 5107 
     | 
    
         
            +
                     */
         
     | 
| 
      
 5108 
     | 
    
         
            +
                    'BluetoothEmulation.simulateAdvertisement': {
         
     | 
| 
      
 5109 
     | 
    
         
            +
                        paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
         
     | 
| 
      
 5110 
     | 
    
         
            +
                        returnType: void;
         
     | 
| 
      
 5111 
     | 
    
         
            +
                    };
         
     | 
| 
       5082 
5112 
     | 
    
         
             
                }
         
     | 
| 
       5083 
5113 
     | 
    
         
             
            }
         
     | 
| 
       5084 
5114 
     | 
    
         | 
| 
         @@ -116,6 +116,8 @@ export namespace ProtocolProxyApi { 
     | 
|
| 
       116 
116 
     | 
    
         | 
| 
       117 
117 
     | 
    
         
             
                    PWA: PWAApi;
         
     | 
| 
       118 
118 
     | 
    
         | 
| 
      
 119 
     | 
    
         
            +
                    BluetoothEmulation: BluetoothEmulationApi;
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
       119 
121 
     | 
    
         
             
                }
         
     | 
| 
       120 
122 
     | 
    
         | 
| 
       121 
123 
     | 
    
         | 
| 
         @@ -4339,6 +4341,31 @@ export namespace ProtocolProxyApi { 
     | 
|
| 
       4339 
4341 
     | 
    
         
             
                    changeAppUserSettings(params: Protocol.PWA.ChangeAppUserSettingsRequest): Promise<void>;
         
     | 
| 
       4340 
4342 
     | 
    
         | 
| 
       4341 
4343 
     | 
    
         
             
                }
         
     | 
| 
      
 4344 
     | 
    
         
            +
             
     | 
| 
      
 4345 
     | 
    
         
            +
                export interface BluetoothEmulationApi {
         
     | 
| 
      
 4346 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4347 
     | 
    
         
            +
                     * Enable the BluetoothEmulation domain.
         
     | 
| 
      
 4348 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4349 
     | 
    
         
            +
                    enable(params: Protocol.BluetoothEmulation.EnableRequest): Promise<void>;
         
     | 
| 
      
 4350 
     | 
    
         
            +
             
     | 
| 
      
 4351 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4352 
     | 
    
         
            +
                     * Disable the BluetoothEmulation domain.
         
     | 
| 
      
 4353 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4354 
     | 
    
         
            +
                    disable(): Promise<void>;
         
     | 
| 
      
 4355 
     | 
    
         
            +
             
     | 
| 
      
 4356 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4357 
     | 
    
         
            +
                     * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
         
     | 
| 
      
 4358 
     | 
    
         
            +
                     * that has already been connected to the system.
         
     | 
| 
      
 4359 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4360 
     | 
    
         
            +
                    simulatePreconnectedPeripheral(params: Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest): Promise<void>;
         
     | 
| 
      
 4361 
     | 
    
         
            +
             
     | 
| 
      
 4362 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4363 
     | 
    
         
            +
                     * Simulates an advertisement packet described in |entry| being received by
         
     | 
| 
      
 4364 
     | 
    
         
            +
                     * the central.
         
     | 
| 
      
 4365 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4366 
     | 
    
         
            +
                    simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<void>;
         
     | 
| 
      
 4367 
     | 
    
         
            +
             
     | 
| 
      
 4368 
     | 
    
         
            +
                }
         
     | 
| 
       4342 
4369 
     | 
    
         
             
            }
         
     | 
| 
       4343 
4370 
     | 
    
         | 
| 
       4344 
4371 
     | 
    
         
             
            export default ProtocolProxyApi;
         
     | 
| 
         @@ -116,6 +116,8 @@ export namespace ProtocolTestsProxyApi { 
     | 
|
| 
       116 
116 
     | 
    
         | 
| 
       117 
117 
     | 
    
         
             
                    PWA: PWAApi;
         
     | 
| 
       118 
118 
     | 
    
         | 
| 
      
 119 
     | 
    
         
            +
                    BluetoothEmulation: BluetoothEmulationApi;
         
     | 
| 
      
 120 
     | 
    
         
            +
             
     | 
| 
       119 
121 
     | 
    
         
             
                }
         
     | 
| 
       120 
122 
     | 
    
         | 
| 
       121 
123 
     | 
    
         | 
| 
         @@ -4725,6 +4727,31 @@ export namespace ProtocolTestsProxyApi { 
     | 
|
| 
       4725 
4727 
     | 
    
         
             
                    changeAppUserSettings(params: Protocol.PWA.ChangeAppUserSettingsRequest): Promise<{id: number, result: void, sessionId: string}>;
         
     | 
| 
       4726 
4728 
     | 
    
         | 
| 
       4727 
4729 
     | 
    
         
             
                }
         
     | 
| 
      
 4730 
     | 
    
         
            +
             
     | 
| 
      
 4731 
     | 
    
         
            +
                export interface BluetoothEmulationApi {
         
     | 
| 
      
 4732 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4733 
     | 
    
         
            +
                     * Enable the BluetoothEmulation domain.
         
     | 
| 
      
 4734 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4735 
     | 
    
         
            +
                    enable(params: Protocol.BluetoothEmulation.EnableRequest): Promise<{id: number, result: void, sessionId: string}>;
         
     | 
| 
      
 4736 
     | 
    
         
            +
             
     | 
| 
      
 4737 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4738 
     | 
    
         
            +
                     * Disable the BluetoothEmulation domain.
         
     | 
| 
      
 4739 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4740 
     | 
    
         
            +
                    disable(): Promise<{id: number, result: void, sessionId: string}>;
         
     | 
| 
      
 4741 
     | 
    
         
            +
             
     | 
| 
      
 4742 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4743 
     | 
    
         
            +
                     * Simulates a peripheral with |address|, |name| and |knownServiceUuids|
         
     | 
| 
      
 4744 
     | 
    
         
            +
                     * that has already been connected to the system.
         
     | 
| 
      
 4745 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4746 
     | 
    
         
            +
                    simulatePreconnectedPeripheral(params: Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest): Promise<{id: number, result: void, sessionId: string}>;
         
     | 
| 
      
 4747 
     | 
    
         
            +
             
     | 
| 
      
 4748 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 4749 
     | 
    
         
            +
                     * Simulates an advertisement packet described in |entry| being received by
         
     | 
| 
      
 4750 
     | 
    
         
            +
                     * the central.
         
     | 
| 
      
 4751 
     | 
    
         
            +
                     */
         
     | 
| 
      
 4752 
     | 
    
         
            +
                    simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<{id: number, result: void, sessionId: string}>;
         
     | 
| 
      
 4753 
     | 
    
         
            +
             
     | 
| 
      
 4754 
     | 
    
         
            +
                }
         
     | 
| 
       4728 
4755 
     | 
    
         
             
            }
         
     | 
| 
       4729 
4756 
     | 
    
         | 
| 
       4730 
4757 
     | 
    
         
             
            export default ProtocolTestsProxyApi;
         
     | 
    
        package/types/protocol.d.ts
    CHANGED
    
    | 
         @@ -13773,7 +13773,7 @@ export namespace Protocol { 
     | 
|
| 
       13773 
13773 
     | 
    
         
             
                        fixed?: integer;
         
     | 
| 
       13774 
13774 
     | 
    
         
             
                    }
         
     | 
| 
       13775 
13775 
     | 
    
         | 
| 
       13776 
     | 
    
         
            -
                    export type ClientNavigationReason = ('formSubmissionGet' | 'formSubmissionPost' | 'httpHeaderRefresh' | ' 
     | 
| 
      
 13776 
     | 
    
         
            +
                    export type ClientNavigationReason = ('anchorClick' | 'formSubmissionGet' | 'formSubmissionPost' | 'httpHeaderRefresh' | 'initialFrameNavigation' | 'metaTagRefresh' | 'other' | 'pageBlockInterstitial' | 'reload' | 'scriptInitiated');
         
     | 
| 
       13777 
13777 
     | 
    
         | 
| 
       13778 
13778 
     | 
    
         
             
                    export type ClientNavigationDisposition = ('currentTab' | 'newTab' | 'newWindow' | 'download');
         
     | 
| 
       13779 
13779 
     | 
    
         | 
| 
         @@ -18755,6 +18755,82 @@ export namespace Protocol { 
     | 
|
| 
       18755 
18755 
     | 
    
         
             
                        displayMode?: DisplayMode;
         
     | 
| 
       18756 
18756 
     | 
    
         
             
                    }
         
     | 
| 
       18757 
18757 
     | 
    
         
             
                }
         
     | 
| 
      
 18758 
     | 
    
         
            +
             
     | 
| 
      
 18759 
     | 
    
         
            +
                /**
         
     | 
| 
      
 18760 
     | 
    
         
            +
                 * This domain allows configuring virtual Bluetooth devices to test
         
     | 
| 
      
 18761 
     | 
    
         
            +
                 * the web-bluetooth API.
         
     | 
| 
      
 18762 
     | 
    
         
            +
                 */
         
     | 
| 
      
 18763 
     | 
    
         
            +
                export namespace BluetoothEmulation {
         
     | 
| 
      
 18764 
     | 
    
         
            +
             
     | 
| 
      
 18765 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 18766 
     | 
    
         
            +
                     * Indicates the various states of Central.
         
     | 
| 
      
 18767 
     | 
    
         
            +
                     */
         
     | 
| 
      
 18768 
     | 
    
         
            +
                    export type CentralState = ('absent' | 'powered-off' | 'powered-on');
         
     | 
| 
      
 18769 
     | 
    
         
            +
             
     | 
| 
      
 18770 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 18771 
     | 
    
         
            +
                     * Stores the manufacturer data
         
     | 
| 
      
 18772 
     | 
    
         
            +
                     */
         
     | 
| 
      
 18773 
     | 
    
         
            +
                    export interface ManufacturerData {
         
     | 
| 
      
 18774 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18775 
     | 
    
         
            +
                         * Company identifier
         
     | 
| 
      
 18776 
     | 
    
         
            +
                         * https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
         
     | 
| 
      
 18777 
     | 
    
         
            +
                         * https://usb.org/developers
         
     | 
| 
      
 18778 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18779 
     | 
    
         
            +
                        key: integer;
         
     | 
| 
      
 18780 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18781 
     | 
    
         
            +
                         * Manufacturer-specific data (Encoded as a base64 string when passed over JSON)
         
     | 
| 
      
 18782 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18783 
     | 
    
         
            +
                        data: string;
         
     | 
| 
      
 18784 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18785 
     | 
    
         
            +
             
     | 
| 
      
 18786 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 18787 
     | 
    
         
            +
                     * Stores the byte data of the advertisement packet sent by a Bluetooth device.
         
     | 
| 
      
 18788 
     | 
    
         
            +
                     */
         
     | 
| 
      
 18789 
     | 
    
         
            +
                    export interface ScanRecord {
         
     | 
| 
      
 18790 
     | 
    
         
            +
                        name?: string;
         
     | 
| 
      
 18791 
     | 
    
         
            +
                        uuids?: string[];
         
     | 
| 
      
 18792 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18793 
     | 
    
         
            +
                         * Stores the external appearance description of the device.
         
     | 
| 
      
 18794 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18795 
     | 
    
         
            +
                        appearance?: integer;
         
     | 
| 
      
 18796 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18797 
     | 
    
         
            +
                         * Stores the transmission power of a broadcasting device.
         
     | 
| 
      
 18798 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18799 
     | 
    
         
            +
                        txPower?: integer;
         
     | 
| 
      
 18800 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18801 
     | 
    
         
            +
                         * Key is the company identifier and the value is an array of bytes of
         
     | 
| 
      
 18802 
     | 
    
         
            +
                         * manufacturer specific data.
         
     | 
| 
      
 18803 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18804 
     | 
    
         
            +
                        manufacturerData?: ManufacturerData[];
         
     | 
| 
      
 18805 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18806 
     | 
    
         
            +
             
     | 
| 
      
 18807 
     | 
    
         
            +
                    /**
         
     | 
| 
      
 18808 
     | 
    
         
            +
                     * Stores the advertisement packet information that is sent by a Bluetooth device.
         
     | 
| 
      
 18809 
     | 
    
         
            +
                     */
         
     | 
| 
      
 18810 
     | 
    
         
            +
                    export interface ScanEntry {
         
     | 
| 
      
 18811 
     | 
    
         
            +
                        deviceAddress: string;
         
     | 
| 
      
 18812 
     | 
    
         
            +
                        rssi: integer;
         
     | 
| 
      
 18813 
     | 
    
         
            +
                        scanRecord: ScanRecord;
         
     | 
| 
      
 18814 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18815 
     | 
    
         
            +
             
     | 
| 
      
 18816 
     | 
    
         
            +
                    export interface EnableRequest {
         
     | 
| 
      
 18817 
     | 
    
         
            +
                        /**
         
     | 
| 
      
 18818 
     | 
    
         
            +
                         * State of the simulated central.
         
     | 
| 
      
 18819 
     | 
    
         
            +
                         */
         
     | 
| 
      
 18820 
     | 
    
         
            +
                        state: CentralState;
         
     | 
| 
      
 18821 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18822 
     | 
    
         
            +
             
     | 
| 
      
 18823 
     | 
    
         
            +
                    export interface SimulatePreconnectedPeripheralRequest {
         
     | 
| 
      
 18824 
     | 
    
         
            +
                        address: string;
         
     | 
| 
      
 18825 
     | 
    
         
            +
                        name: string;
         
     | 
| 
      
 18826 
     | 
    
         
            +
                        manufacturerData: ManufacturerData[];
         
     | 
| 
      
 18827 
     | 
    
         
            +
                        knownServiceUuids: string[];
         
     | 
| 
      
 18828 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18829 
     | 
    
         
            +
             
     | 
| 
      
 18830 
     | 
    
         
            +
                    export interface SimulateAdvertisementRequest {
         
     | 
| 
      
 18831 
     | 
    
         
            +
                        entry: ScanEntry;
         
     | 
| 
      
 18832 
     | 
    
         
            +
                    }
         
     | 
| 
      
 18833 
     | 
    
         
            +
                }
         
     | 
| 
       18758 
18834 
     | 
    
         
             
            }
         
     | 
| 
       18759 
18835 
     | 
    
         | 
| 
       18760 
18836 
     | 
    
         
             
            export default Protocol;
         
     |