From c24f4fb99a29c337856621b6dbf9b7a45e145cd2 Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Mon, 5 Aug 2024 13:59:16 -0700 Subject: [PATCH] Improve performance This patch improves the performance of by replacing the SynchronousMutationObserver with the existing async MutationObserver in HTMLOptionElement. The change from sync to async impacts some tests. The timing is being discussed in a standards issue here: https://github.com/whatwg/html/issues/10520 Fixed: 336844298 Change-Id: I9693de9cf35913e7daaebb364c4923dcd4a2dc39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5758741 Reviewed-by: Mason Freed Commit-Queue: Joey Arhar Cr-Commit-Position: refs/heads/main@{#1337462} --- .../stylable-select/selectedoption.tentative.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/html/semantics/forms/the-select-element/stylable-select/selectedoption.tentative.html b/html/semantics/forms/the-select-element/stylable-select/selectedoption.tentative.html index 16d711515c931c..ad006a8b38e038 100644 --- a/html/semantics/forms/the-select-element/stylable-select/selectedoption.tentative.html +++ b/html/semantics/forms/the-select-element/stylable-select/selectedoption.tentative.html @@ -36,22 +36,27 @@ 'The innerHTML of should initially match the innerHTML of the selected