mirror of
https://github.com/servo/servo.git
synced 2025-09-07 21:48:21 +01:00
Fix skipping CSP checks for styles when cloning nodes (#37465)
Cloned nodes were re-parsing already-parsed style attributes. As such, they were also checking CSP, which shouldn't happen as the original node already was checked for it. Testing: The existing WPT test now mostly passes. It had two cases which were passing in no browsers. Fixes: Part of #4577 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
5311beb34a
commit
e1c037815c
4 changed files with 32 additions and 32 deletions
2
tests/wpt/meta/MANIFEST.json
vendored
2
tests/wpt/meta/MANIFEST.json
vendored
|
@ -577403,7 +577403,7 @@
|
|||
]
|
||||
],
|
||||
"inline-style-allowed-while-cloning-objects.sub.html": [
|
||||
"f702e6eb9d65fadfcb3ea9199146d835df036e04",
|
||||
"32f711a9f15aa19a621c370e3abb26a425982ae9",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
|
|
|
@ -2,35 +2,8 @@
|
|||
[non-HTML namespace]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 1]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 3]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 5]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 7]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 8]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 9]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 10]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 11]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 17]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 18]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 19]
|
||||
expected: FAIL
|
||||
|
||||
[inline-style-allowed-while-cloning-objects 20]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue