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"], | |
pfeldman
2016/07/07 17:26:18
We don't have guidelines for the enum literal nami
alex clarke (OOO till 29th)
2016/07/08 10:37:58
Acknowledged. Happy to change these if you can thi
| |
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": "navigationThrottleResponse", | |
pfeldman
2016/07/07 17:26:18
processNavigation
alex clarke (OOO till 29th)
2016/07/08 10:37:58
Done.
| |
503 "parameters": [ | |
504 { "name": "response", "$ref": "NavigationThrottleResponse" } , | |
505 { "name": "navigationId", "type": "integer" } | |
506 ], | |
507 "description": "Should be sent in response to a shouldAllowNavig ation or a shouldAllowRedirect event, telling the browser how to handle the navi gation.", | |
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": "shouldAllowNavigation", | |
pfeldman
2016/07/07 17:26:18
navigationRequested
alex clarke (OOO till 29th)
2016/07/08 10:37:58
Done.
| |
644 "description": "Fired when a navigation is started if navigation throttles are enabled. The navigation will be deferred until navigationThrottl eResponse is called.", | |
645 "parameters": [ | |
646 { "name": "frameId", "$ref": "FrameId", "description": "Id o f the frame that would navigate." }, | |
647 { "name": "navigationId", "type": "integer" }, | |
648 { "name": "url", "type": "string", "description": "URL of re quested navigation." }, | |
649 { "name": "rendererInitiated", "type": "boolean", "descripti on": "Whether the navigation was initated by the renderer process." } | |
650 ], | |
651 "handlers": ["browser"] | |
652 }, | |
653 { | |
654 "name": "shouldAllowRedirect", | |
pfeldman
2016/07/07 17:26:18
redirectRequested
alex clarke (OOO till 29th)
2016/07/08 10:37:58
Done.
| |
655 "description": "Fired when a server redirect is recieved by a na vigation if navigation throttles are enabled. The navigation will be deferred u ntil navigationThrottleResponse is called.", | |
656 "parameters": [ | |
657 { "name": "frameId", "$ref": "FrameId", "description": "Id o f the frame that would navigate." }, | |
658 { "name": "navigationId", "type": "integer" }, | |
659 { "name": "url", "type": "string", "description": "URL of re quested navigation." }, | |
660 { "name": "rendererInitiated", "type": "boolean", "descripti on": "Whether the navigation was initated by the renderer process." } | |
661 ], | |
662 "handlers": ["browser"] | |
615 } | 663 } |
616 ] | 664 ] |
617 }, | 665 }, |
618 { | 666 { |
619 "domain": "Rendering", | 667 "domain": "Rendering", |
620 "description": "This domain allows to control rendering of the page.", | 668 "description": "This domain allows to control rendering of the page.", |
621 "hidden": true, | 669 "hidden": true, |
622 "commands": [ | 670 "commands": [ |
623 { | 671 { |
624 "name": "setShowPaintRects", | 672 "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.", | 4417 "description": "Informs that port was successfully bound and got a specified connection id.", |
4370 "parameters": [ | 4418 "parameters": [ |
4371 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4419 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
4372 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4420 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
4373 ], | 4421 ], |
4374 "handlers": ["browser"] | 4422 "handlers": ["browser"] |
4375 } | 4423 } |
4376 ] | 4424 ] |
4377 }] | 4425 }] |
4378 } | 4426 } |
OLD | NEW |