Skip to content
Prev Previous commit
Next Next commit
Remove whitespace
  • Loading branch information
LinXunFeng committed Mar 12, 2024
commit a709175bc7a0cdfbe85e09eaf6bf27942141a7ca
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ class WebKitWebViewController extends PlatformWebViewController {
// Using the replacer parameter of JSON.stringify() to solve the error
// TypeError: JSON.stringify cannot serialize cyclic structures.
// See https://github.com/flutter/flutter/issues/144535.
//
//
// Considering this is just looking at the logs printed via console.log,
// the cyclic object is not important, so remove it.
const WKUserScript overrideScript = WKUserScript(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment briefly explaining the approach at a high level so readers don't need to reverse-engineer what is being done here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Expand Down