Motivated by bugs like https://bugs.webkit.org/show_bug.cgi?id=176160 and https://bugs.webkit.org/show_bug.cgi?id=176224.