[Webkit-unassigned] [Bug 200564] REGRESSION(r?): Web Inspector: changing Layout Direction Debug setting no longer adds dir="ltr" to body element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 8 23:04:14 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200564

--- Comment #1 from Nikita Vasilyev <nvasilyev at apple.com> ---
  WI.resolvedLayoutDirection = function()
  {
      let layoutDirection = WI.settings.debugLayoutDirection.value;
->    if (!WI.isDebugUIEnabled() || layoutDirection === WI.LayoutDirection.System)
          layoutDirection = InspectorFrontendHost.userInterfaceLayoutDirection();
      return layoutDirection;
  };


WI.isDebugUIEnabled returns undefined:

    WI.isDebugUIEnabled = function()
    {
        return WI.showDebugUISetting && WI.showDebugUISetting.value;
    };

WI.showDebugUISetting is undefined. This is where it's created:

    // This function is invoked after the inspector has loaded and has a backend target.
    WI.runBootstrapOperations = function() {
        WI.showDebugUISetting = new WI.Setting("show-debug-ui", false);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190809/1271588f/attachment.html>


More information about the webkit-unassigned mailing list