How Webkit works Notes

Mainly refer to this slide from google

Enter image description

  1. The role of webkit is to render html, css, and javascript into web pages.

Enter image description

  1. Its main components are:
    • api interface webkit, webkit2

    • Make bindings with the specific implementation of the platform. I haven't fully understood the exact definition of binding. From the information collected, binding is to convert the objects on Webkit into objects on the js engine. For details, please refer to what is javascript binding? , WebKit's JS Binding parsing

    • Handling html, css, DOM. webcore

    • The platform specifically implements the platform. Handling networking, storage, graphics, etc.

    • javascriptCore js virtual machine, interprets and executes js code.

    • WTF web template framework, basic functional libraries, such as containers, reference counting, threads, etc.

To be continued. . . . .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324399761&siteId=291194637