Browse Source

chore: fixup docs

Samuel Attard 4 years ago
parent
commit
71d8a4a466
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/api/web-contents.md

+ 4 - 4
docs/api/web-contents.md

@@ -73,8 +73,8 @@ Returns:
 This event will be emitted after `did-start-loading` and always before the
 `did-fail-load` event for the same navigation.
 
-Settings `event.returnValue` to an HTML string will result in a custom error page being
-displayed using that HTML.
+Settings `event.returnValue` to the appropriate object will result in a custom error page being
+displayed using custom HTML.
 
 #### Event: 'did-fail-load'
 
@@ -262,8 +262,8 @@ this purpose.
 
 Calling `event.preventDefault()` will prevent the navigation.
 
-Settings `event.returnValue` to an HTML string will result in a custom error page being
-displayed using that HTML and the navigation being cancelled.
+Settings `event.returnValue` to the appropriate object will result in a custom error page being
+displayed using custom HTML and the navigation being cancelled.
 
 #### Event: 'did-start-navigation'