Note that, when resource load aborts, loadstop fires after loadabort

Whenever a resource load is aborted, two events fire: loadabort and
loadstop. This change explicitly mentions two-event behaviour in our
documentation of loadabort and loadstop events.

Review URL: https://codereview.chromium.org/309673002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274280 0039d316-1c4b-4281-b951-d872f2087c98
parent 1bc5501a
......@@ -645,7 +645,7 @@
{
"name": "loadabort",
"options": { "supportsDom": true },
"description": "Fired when a top-level load has aborted without committing.",
"description": "Fired when a top-level load has aborted without committing. <p class=\"note\"><strong>Note:</strong> When a resource load is aborted, a <code>loadabort</code> event will be followed by a <code>loadstop</code> event.</p>",
"parameters": [
{
"name": "url",
......@@ -724,7 +724,7 @@
{
"name": "loadstop",
"options": { "supportsDom": true },
"description": "Fired when all loads in the guest page (including all subframes) have completed. Fires in addition to any related <code>loadcommit</code> or <code>loadabort</code> events, which occur per-frame.",
"description": "Fired when all loads in the guest page (including all subframes) have completed. Fires in addition to any related <code>loadcommit</code> or <code>loadabort</code> events, which occur per-frame. <p class=\"note\"><strong>Note:</strong> When a resource load is aborted, a <code>loadstop</code> event will follow a <code>loadabort</code> event.</p>",
"parameters": []
},
{
......@@ -870,4 +870,3 @@
}
}
]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment