[webkit-changes] [WebKit/WebKit] e5b033: Add a quirk to make it possible to join WebEx meet...

Wenson Hsieh noreply at github.com
Mon Sep 9 08:15:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e5b033ce5afcc666cf85ec75d53179dbd75006df
      https://github.com/WebKit/WebKit/commit/e5b033ce5afcc666cf85ec75d53179dbd75006df
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M Source/WebCore/bindings/js/ScriptController.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Add a quirk to make it possible to join WebEx meetings from the browser on some platforms
https://bugs.webkit.org/show_bug.cgi?id=279304
rdar://128563169

Reviewed by Timothy Hatcher and Abrar Rahman Protyasha.

Add a quirk to make it possible to join WebEx meetings from the browser, by making `window.Touch`
return `undefined` before executing a specific script. This makes it possible to (narrowly) avoid
logic that would otherwise cause the device to be treated like a desktop-class-browsing-capable
iPad, while still keeping touch events enabled for the rest of the web app.

* Source/WebCore/bindings/js/ScriptController.cpp:
(WebCore::ScriptController::evaluateInWorld):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::scriptToEvaluateBeforeRunningScriptFromURL):
* Source/WebCore/page/Quirks.h:

Canonical link: https://commits.webkit.org/283342@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list