| OLD | NEW |
| 1 # Design of V8 bindings | 1 # Design of V8 bindings |
| 2 | 2 |
| 3 This document explains key concepts in the V8 binding architecture | 3 This document explains key concepts in the V8 binding architecture |
| 4 except the lifetime management of DOM wrappers. | 4 except the lifetime management of DOM wrappers. |
| 5 See [V8GCController.md](V8GCController.md) to learn the lifetime management. | 5 See [V8GCController.md](V8GCController.md) to learn the lifetime management. |
| 6 | 6 |
| 7 [TOC] | 7 [TOC] |
| 8 | 8 |
| 9 ## Isolate | 9 ## Isolate |
| 10 | 10 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 </script> | 253 </script> |
| 254 </body></html> | 254 </body></html> |
| 255 | 255 |
| 256 // iframe.html | 256 // iframe.html |
| 257 <script> | 257 <script> |
| 258 </script> | 258 </script> |
| 259 ``` | 259 ``` |
| 260 | 260 |
| 261 To make sure that a DOM wrapper is created in a correct context, you need to | 261 To make sure that a DOM wrapper is created in a correct context, you need to |
| 262 make sure that the current context must be set to the correct context | 262 make sure that the current context must be set to the correct context |
| 263 whenever you call toV8(). If you're not sure what context to use, | 263 whenever you call ToV8(). If you're not sure what context to use, |
| 264 ask haraken@chromium.org. | 264 ask haraken@chromium.org. |
| 265 | 265 |
| OLD | NEW |