mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 11:48:19 +02:00
Keeping a list of ancestor principals in a LoadInfo object, that, at times, exists in the content process, is not secure. Since ancestor principals are only ever needed to create a list of frameAncestors, which, in turn, are only ever accessed from the parent process, we can assemble lists of ancestor principals and outer windowIDs whenever we are in the parent process and are either 1) creating a LoadInfo object or 2) deserializing a LoadInfoArgs struct, received from content process, into a LoadInfo object. Differential Revision: https://phabricator.services.mozilla.com/D78406
12 lines
204 B
HTML
12 lines
204 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
|
|
<iframe src="http://example.org/tests/toolkit/components/extensions/test/mochitest/file_contains_img.html">
|
|
</iframe>
|
|
|
|
</body>
|
|
</html>
|