| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -218,9 +218,15 @@ True if this object is currently attached to a valid frame. | |||
| 218 | 218 | | url | string | | |
| 219 | 219 | | __Return__ | void | | |
| 220 | 220 | ||
| 221 | + NOTE: LoadString is problematic due to the multi-process model and the need | ||
| 222 | + to create a render process (which does not happen with LoadString). It is | ||
| 223 | + best to use instead LoadUrl with a data uri, e.g. `LoadUrl("data:text/html,some+html+code+here")`. | ||
| 224 | + Take also a look at a [custom resource handler](ResourceHandler.md). | ||
| 225 | + | ||
| 221 | 226 | Load the contents of |value| with the specified dummy |url|. |url| | |
| 222 | 227 | should have a standard scheme (for example, http scheme) or behaviors like | |
| 223 | - link clicks and web security restrictions may not behave as expected. LoadString() can be called only after the Renderer process has been created. | ||
| 228 | + link clicks and web security restrictions may not behave as expected. | ||
| 229 | + LoadString() can be called only after the Renderer process has been created. | ||
| 224 | 230 | ||
| 225 | 231 | ||
| 226 | 232 | ### LoadUrl | |
| Back | FazBrowse Home | New Git URL |
0 commit comments