[Document Policy] Move ForceLoadAtTop check after document policy initialization
The fix to missing document policy in XSLT documents involves initialize document policy from previous security context, which results |DocumentLoader::document_policy_| not having correct policy content before document policy initialization in |SecurityContextInit|. This CL moves the check for ForceLoadAtTop feature after document policy initialization, so that its behaviour is consistent in XSLT documents. Bug: 1151954 Change-Id: I0a4061975a26cbf922b322c908ce8c2c88897715 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568439Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Reviewed-by:
Ian Clelland <iclelland@chromium.org> Commit-Queue: Charlie Hu <chenleihu@google.com> Cr-Commit-Position: refs/heads/master@{#833070}
Showing
Please register or sign in to comment