Skip to content

Lighthouse score for GWT-Material apps decreased due to unload listener in older embedded JQuery #1043

Open
@garthhenning

Description

@garthhenning

Google Lighthouse now scores use of an unload listener poorly for their "Best Practices" score.

   https://web.dev/articles/bfcache?utm_source=lighthouse&utm_medium=devtools#never_use_the_unload_event

GWT-Material v2.8.3 has an embedded dependency on JQuery v3.5.1. JQuery v3.5.1 attaches unload listeners. JQuery corrected this in v3.7.1.

   https://github.com/jquery/jquery/issues/5323

Updating the embedded JQuery would mean web sites using GWT-Material no longer get their scores decremented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions