This is a simple adjustment to make the sinagtures match. Chromium changes: https://chromium.googlesource.com/chromium/src/+/8ab1ce0d367dc9ed4f2467374678b65792f47b56 commit 8ab1ce0d367dc9ed4f2467374678b65792f47b56 Author: Yeonghan Kim <soosungp33@gmail.com> Date: Mon Mar 16 21:09:36 2026 -0700 Change location's ancestorOrigins to be calculated at Document creation According to [1], the spec was changed to calculate ancestor origins at Document creation time in order to compute them correctly. The current implementation creates new ancestor origins every time ancestorOrigins is called. Therefore, this patch moves ancestor origins to a Document and changes it to be calculated only once at Document creation time. [1] https://github.com/whatwg/html/pull/12071 Bug: 483610021 Change-Id: Ib6fc07ca5f17f6a31250cfe95ffc4991e8e48fbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7615609 Commit-Queue: YeongHan Kim <soosungp33@gmail.com> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1600317}