Closed Bug 1337186 Opened 7 years ago Closed 7 years ago

Convert tests docshell/navigation/test_bug386782 to not rely on principal inheritance for data: URIs

Categories

(Core :: DOM: Security, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: ckerschb, Assigned: freddy)

References

Details

(Whiteboard: [domsecurity-backlog1])

Attachments

(2 files)

Flip pref [1] to 'false' and update tests within docshell/ to still work with new data: URI behavior.

[1] pref ("security.data_uri.inherit_security_context", true);
Blocks: 1324406
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Summary: Convert tests within docshell to not rely on principal inheritance for data: URIs → Convert tests within docshell/ to not rely on principal inheritance for data: URIs
Just so we're clear, the problem is not just tests that _fail_ with the pref flipped.  It's also tests that stop testing what they should be testing completely and always pass instead.
Let's discuss in the tracker.
Assignee: nobody → fbraun
Comment on attachment 8837961 [details]
Bug 1337186 - rm trailing whitespaces from navigation/test_bug386782

https://reviewboard.mozilla.org/r/112962/#review114496
Attachment #8837961 - Flags: review?(bugs) → review+
Comment on attachment 8837960 [details]
Bug 1337186 - rm data: from navigation/test_bug386782

https://reviewboard.mozilla.org/r/112960/#review114498

Could you please not add any .trim() calls, but just have the new test files so that they don't add new \n.
Attachment #8837960 - Flags: review?(bugs) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2ede9c537f63
rm data: from navigation/test_bug386782 r=smaug
https://hg.mozilla.org/integration/autoland/rev/29fc06e777d6
rm trailing whitespaces from navigation/test_bug386782 r=smaug
Keywords: checkin-needed
Wes, I suppose those changes already got merged into mc, right? Can we mark it as resolved?
Flags: needinfo?(wkocher)
Freddyb added the leave-open keyword, resolving isn't my call. :)
Flags: needinfo?(wkocher)
(In reply to Wes Kocher (:KWierso) from comment #13)
> Freddyb added the leave-open keyword, resolving isn't my call. :)

oh sorry, I haven't realized that.
No longer blocks: 1324406
Keywords: leave-open
Summary: Convert tests within docshell/ to not rely on principal inheritance for data: URIs → Convert tests docshell/navigation/test_bug386782 to not rely on principal inheritance for data: URIs
Blocks: 1345593
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: