Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick 2 ladybird PRs #25406

Merged
merged 7 commits into from
Nov 16, 2024
Merged

Cherry-pick 2 ladybird PRs #25406

merged 7 commits into from
Nov 16, 2024

Commits on Nov 16, 2024

  1. LibWeb: Add WorkerNavigator.serviceWorker API

    This simply adds a ServiceWorkerContainer object to the WorkerNavigator.
    
    (cherry picked from commit 2667726b74ae374be2907552795cf56639c4d57f)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    842c45c View commit details
    Browse the repository at this point in the history
  2. LibWeb: Add oncontrollerchange to ServiceWorkerContainer

    (cherry picked from commit 4df280689b5c7f4df53cdcb1c61cb3fed99461c6)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    b0dbe1b View commit details
    Browse the repository at this point in the history
  3. LibWeb: Remove uses of obsolete PlatformObject::global_object()

    This API is a relic from the time when it was important for objects to
    have easy access to the Window, and to know it was the global object.
    
    We now have more spec-related concepts like relevant_global_object and
    current_global_object to pull the Window out of thin air.
    
    (cherry picked from commit 02a56f648000517f191eeaea2abc68783c097486)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    e1acf76 View commit details
    Browse the repository at this point in the history
  4. LibWeb: Remove obsolete PlatformObject::global_object() API

    (cherry picked from commit ade4fc177920546c765c5802a57f6d0e9d7434f8)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    af00fc1 View commit details
    Browse the repository at this point in the history
  5. LibWeb: Add service worker client to ServiceWorkerContainer

    (cherry picked from commit 0ece40c466dbd6c43fc9b0707d32b3d5d42fe751)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    e8d184e View commit details
    Browse the repository at this point in the history
  6. LibWeb: Add ServiceWorker discarded flag to ESO

    Looking at the spec it doesn't seem like there's a chance for a service
    worker client to be an environment but not an environment settings
    object. In the case that that changes in the implementation, we can
    move it.
    
    (cherry picked from commit 237bcbff360d5000ab45da2ca63f196064ab5210)
    ADKaster authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    726e001 View commit details
    Browse the repository at this point in the history
  7. LibWeb: Remove all font loaders linked to a StyleSheet when it's deleted

    When a style sheet is removed, all font loaders created from that style
    sheet should also be removed.
    
    (cherry picked from commit 74588a0a16fd3a2cb10c50a58f47b9f5695bc2ff)
    kalenikaliaksandr authored and nico committed Nov 16, 2024
    Configuration menu
    Copy the full SHA
    cd091af View commit details
    Browse the repository at this point in the history