| OLD | NEW |
| 1 # Mapping of spec concepts to code | 1 # Mapping of spec concepts to code |
| 2 | 2 |
| 3 Blink is Chromium's implementation of the open web platform. This document | 3 Blink is Chromium's implementation of the open web platform. This document |
| 4 attempts to map terms and concepts found in the specification of the open web | 4 attempts to map terms and concepts found in the specification of the open web |
| 5 platform to classes and files found in Blink's source tree. | 5 platform to classes and files found in Blink's source tree. |
| 6 | 6 |
| 7 [TOC] | 7 [TOC] |
| 8 | 8 |
| 9 ## HTML | 9 ## HTML |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 An origin corresponds to the | 22 An origin corresponds to the |
| 23 [SecurityOrigin](https://cs.chromium.org/src/third_party/WebKit/Source/platform/
weborigin/SecurityOrigin.h) | 23 [SecurityOrigin](https://cs.chromium.org/src/third_party/WebKit/Source/platform/
weborigin/SecurityOrigin.h) |
| 24 class. You can test for | 24 class. You can test for |
| 25 [same-origin](https://html.spec.whatwg.org/multipage/browsers.html#same-origin) | 25 [same-origin](https://html.spec.whatwg.org/multipage/browsers.html#same-origin) |
| 26 using `SecurityOrigin::canAccess` and for [same-origin | 26 using `SecurityOrigin::canAccess` and for [same-origin |
| 27 domain](https://html.spec.whatwg.org/multipage/browsers.html#same-origin-domain) | 27 domain](https://html.spec.whatwg.org/multipage/browsers.html#same-origin-domain) |
| 28 using `SecurityOrigin::isSameSchemeHostPort`. | 28 using `SecurityOrigin::isSameSchemeHostPort`. |
| 29 | 29 |
| 30 The [Suborigins spec](https://w3c.github.io/webappsec-suborigins/) extends | 30 The [Suborigins spec](https://w3c.github.io/webappsec-suborigins/) extends |
| 31 HTML's definition of origins. To check for same-origin and same-origin domain | 31 HTML's definition of origins. To check for same-origin corresponds to |
| 32 use `SecurityOrigin::canAccessCheckSuborigins` and | 32 `SecurityOrigin::isSameSchemeHostPortAndSuborigin` while the check for same-orig
in |
| 33 `SecurityOrigin::isSameSchemeHostPortAndSuborigin`. | 33 domain already takes the suborigin into account. |
| 34 | 34 |
| 35 ### [Window object](https://html.spec.whatwg.org/#window) | 35 ### [Window object](https://html.spec.whatwg.org/#window) |
| 36 | 36 |
| 37 A Window object corresponds to the | 37 A Window object corresponds to the |
| 38 [DOMWindow](https://cs.chromium.org/src/third_party/WebKit/Source/core/frame/DOM
Window.h) | 38 [DOMWindow](https://cs.chromium.org/src/third_party/WebKit/Source/core/frame/DOM
Window.h) |
| 39 interface where the main implementation is | 39 interface where the main implementation is |
| 40 [LocalDOMWindow](https://cs.chromium.org/src/third_party/WebKit/Source/core/fram
e/LocalDOMWindow.h). | 40 [LocalDOMWindow](https://cs.chromium.org/src/third_party/WebKit/Source/core/fram
e/LocalDOMWindow.h). |
| 41 | 41 |
| 42 ### [WindowProxy](https://html.spec.whatwg.org/#windowproxy) | 42 ### [WindowProxy](https://html.spec.whatwg.org/#windowproxy) |
| 43 | 43 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 60 [2D canvas context](https://html.spec.whatwg.org/multipage/scripting.html#canvas
renderingcontext2d) | 60 [2D canvas context](https://html.spec.whatwg.org/multipage/scripting.html#canvas
renderingcontext2d) |
| 61 is implemented in | 61 is implemented in |
| 62 [modules/canvas2d](https://cs.chromium.org/chromium/src/third_party/WebKit/Sourc
e/modules/canvas2d/). | 62 [modules/canvas2d](https://cs.chromium.org/chromium/src/third_party/WebKit/Sourc
e/modules/canvas2d/). |
| 63 | 63 |
| 64 The | 64 The |
| 65 [WebGL 1.0](https://www.khronos.org/registry/webgl/specs/latest/1.0/) | 65 [WebGL 1.0](https://www.khronos.org/registry/webgl/specs/latest/1.0/) |
| 66 and | 66 and |
| 67 [WebGL 2.0](https://www.khronos.org/registry/webgl/specs/latest/2.0/) | 67 [WebGL 2.0](https://www.khronos.org/registry/webgl/specs/latest/2.0/) |
| 68 contexts ([Github repo](https://github.com/KhronosGroup/WebGL)) are | 68 contexts ([Github repo](https://github.com/KhronosGroup/WebGL)) are |
| 69 implemented in [modules/webgl](https://cs.chromium.org/chromium/src/third_party/
WebKit/Source/modules/webgl/). | 69 implemented in [modules/webgl](https://cs.chromium.org/chromium/src/third_party/
WebKit/Source/modules/webgl/). |
| OLD | NEW |