OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
167 "id": "AppManifestError", | 167 "id": "AppManifestError", |
168 "description": "Error while paring app manifest.", | 168 "description": "Error while paring app manifest.", |
169 "type": "object", | 169 "type": "object", |
170 "properties": [ | 170 "properties": [ |
171 { "name": "message", "type": "string", "description": "Error m essage." }, | 171 { "name": "message", "type": "string", "description": "Error m essage." }, |
172 { "name": "critical", "type": "integer", "description": "If cr iticial, this is a non-recoverable parse error." }, | 172 { "name": "critical", "type": "integer", "description": "If cr iticial, this is a non-recoverable parse error." }, |
173 { "name": "line", "type": "integer", "description": "Error lin e." }, | 173 { "name": "line", "type": "integer", "description": "Error lin e." }, |
174 { "name": "column", "type": "integer", "description": "Error c olumn." } | 174 { "name": "column", "type": "integer", "description": "Error c olumn." } |
175 ], | 175 ], |
176 "hidden": true | 176 "hidden": true |
177 }, | |
178 { | |
179 "id": "NavigationThrottleResponse", | |
180 "description": "Proceed: allow the navigation; Cancel: cancel th e navigation; CancelAndIgnore: cancels the navigation and makes the requester of the navigation acts like the request was never made.", | |
181 "type": "string", | |
182 "enum": ["Proceed", "Cancel", "CancelAndIgnore"], | |
183 "hidden": true | |
177 } | 184 } |
178 ], | 185 ], |
179 "commands": [ | 186 "commands": [ |
180 { | 187 { |
181 "name": "enable", | 188 "name": "enable", |
182 "description": "Enables page domain notifications.", | 189 "description": "Enables page domain notifications.", |
183 "handlers": ["browser", "renderer"] | 190 "handlers": ["browser", "renderer"] |
184 }, | 191 }, |
185 { | 192 { |
186 "name": "disable", | 193 "name": "disable", |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
474 "name": "requestAppBanner", | 481 "name": "requestAppBanner", |
475 "hidden": true, | 482 "hidden": true, |
476 "handlers": ["browser"] | 483 "handlers": ["browser"] |
477 }, | 484 }, |
478 { | 485 { |
479 "name": "setBlockedEventsWarningThreshold", | 486 "name": "setBlockedEventsWarningThreshold", |
480 "hidden": true, | 487 "hidden": true, |
481 "parameters": [ | 488 "parameters": [ |
482 { "name": "threshold", "type": "number", "description": "If set to a positive number, specifies threshold in seconds for input event latency that will cause a console warning about blocked event to be issued. If zero or less, the warning is disabled." } | 489 { "name": "threshold", "type": "number", "description": "If set to a positive number, specifies threshold in seconds for input event latency that will cause a console warning about blocked event to be issued. If zero or less, the warning is disabled." } |
483 ] | 490 ] |
491 }, | |
492 { | |
493 "name": "setNavigationThrottleEnabled", | |
494 "parameters": [ | |
495 { "name": "enabled", "type": "boolean" } | |
496 ], | |
497 "description": "Toggles navigation throttling which allows progr amatic control over navigation and redirect response.", | |
498 "hidden": true, | |
499 "handlers": ["browser"] | |
500 }, | |
501 { | |
502 "name": "processNavigation", | |
503 "parameters": [ | |
504 { "name": "response", "$ref": "NavigationThrottleResponse" } , | |
505 { "name": "navigationId", "type": "integer" } | |
506 ], | |
507 "description": "Should be sent in response to a navigationReques ted or a redirectRequested event, telling the browser how to handle the navigati on.", | |
508 "hidden": true, | |
509 "handlers": ["browser"] | |
484 } | 510 } |
485 ], | 511 ], |
486 "events": [ | 512 "events": [ |
487 { | 513 { |
488 "name": "domContentEventFired", | 514 "name": "domContentEventFired", |
489 "parameters": [ | 515 "parameters": [ |
490 { "name": "timestamp", "type": "number" } | 516 { "name": "timestamp", "type": "number" } |
491 ] | 517 ] |
492 }, | 518 }, |
493 { | 519 { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
605 "name": "interstitialShown", | 631 "name": "interstitialShown", |
606 "description": "Fired when interstitial page was shown", | 632 "description": "Fired when interstitial page was shown", |
607 "hidden": true, | 633 "hidden": true, |
608 "handlers": ["browser"] | 634 "handlers": ["browser"] |
609 }, | 635 }, |
610 { | 636 { |
611 "name": "interstitialHidden", | 637 "name": "interstitialHidden", |
612 "description": "Fired when interstitial page was hidden", | 638 "description": "Fired when interstitial page was hidden", |
613 "hidden": true, | 639 "hidden": true, |
614 "handlers": ["browser"] | 640 "handlers": ["browser"] |
641 }, | |
642 { | |
643 "name": "navigationRequested", | |
644 "description": "Fired when a navigation is started if navigation throttles are enabled. The navigation will be deferred until processNavigation is called.", | |
645 "parameters": [ | |
646 { "name": "isInMainFrame", "type": "boolean", "description": "Whether the navigation is taking place in the main frame or in a subframe." }, | |
647 { "name": "isParentMainFrame", "type": "boolean", "descripti on": "Whether the navigation is taking place in a frame that is a direct child o f the main frame." }, | |
648 { "name": "navigationId", "type": "integer" }, | |
649 { "name": "url", "type": "string", "description": "URL of re quested navigation." }, | |
650 { "name": "rendererInitiated", "type": "boolean", "descripti on": "Whether the navigation was initated by the renderer process." } | |
651 ], | |
652 "handlers": ["browser"] | |
653 }, | |
654 { | |
655 "name": "redirectRequested", | |
656 "description": "Fired when a server redirect is recieved by a na vigation if navigation throttles are enabled. The navigation will be deferred u ntil processNavigation is called.", | |
657 "parameters": [ | |
dgozman
2016/07/08 19:20:00
These two events have exactly the same parameters.
alex clarke (OOO till 29th)
2016/07/08 20:55:37
Lets merge them and add a flag. Knowing it's a re
| |
658 { "name": "isInMainFrame", "type": "boolean", "description": "Whether the navigation is taking place in the main frame or in a subframe." }, | |
659 { "name": "isParentMainFrame", "type": "boolean", "descripti on": "Whether the navigation is taking place in a frame that is a direct child o f the main frame." }, | |
660 { "name": "navigationId", "type": "integer" }, | |
661 { "name": "url", "type": "string", "description": "URL of re quested navigation." }, | |
662 { "name": "rendererInitiated", "type": "boolean", "descripti on": "Whether the navigation was initated by the renderer process." } | |
663 ], | |
664 "handlers": ["browser"] | |
615 } | 665 } |
616 ] | 666 ] |
617 }, | 667 }, |
618 { | 668 { |
619 "domain": "Rendering", | 669 "domain": "Rendering", |
620 "description": "This domain allows to control rendering of the page.", | 670 "description": "This domain allows to control rendering of the page.", |
621 "hidden": true, | 671 "hidden": true, |
622 "commands": [ | 672 "commands": [ |
623 { | 673 { |
624 "name": "setShowPaintRects", | 674 "name": "setShowPaintRects", |
(...skipping 3744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4369 "description": "Informs that port was successfully bound and got a specified connection id.", | 4419 "description": "Informs that port was successfully bound and got a specified connection id.", |
4370 "parameters": [ | 4420 "parameters": [ |
4371 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4421 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
4372 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4422 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
4373 ], | 4423 ], |
4374 "handlers": ["browser"] | 4424 "handlers": ["browser"] |
4375 } | 4425 } |
4376 ] | 4426 ] |
4377 }] | 4427 }] |
4378 } | 4428 } |
OLD | NEW |