Closed
Bug 1381437
Opened 7 years ago
Closed 7 years ago
Fix racing test case: test_data_uri.html
Categories
(Core :: Security, defect)
Core
Security
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: hchang, Assigned: hchang)
References
Details
Attachments
(1 file, 1 obsolete file)
56.65 KB,
patch
|
smaug
:
review+
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
http://searchfox.org/mozilla-central/rev/01d27fdd3946f7210da91b18fcccca01d7324fe2/dom/base/test/test_data_uri.html#82 is not guaranteed to run before http://searchfox.org/mozilla-central/rev/01d27fdd3946f7210da91b18fcccca01d7324fe2/dom/base/test/test_data_uri.html#28 so it's not surprising to have error message like the following: [task 2017-07-17T10:19:15.400501Z] 10:19:15 ERROR - /tests/dom/base/test/test_data_uri.html logged result after SimpleTest.finish(): iframe should have NullPrincipal
Assignee | ||
Updated•7 years ago
|
Component: Security: CAPS → Security
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8887009 -
Flags: review?(bugs)
Assignee | ||
Comment 3•7 years ago
|
||
Hi Olli, Since the original reviewer of test_data_uri.html is you, I am firstly asking for your review :) This test case is racy because of comment 0 and has been fixed by my patch. (I haven't triggered a try run to verify but I am very confident since it's quite obvious.) Could you please review my patch? Thanks!
Comment 4•7 years ago
|
||
Comment on attachment 8887009 [details] [diff] [review] Bug1381437.patch Well, the original patch author should review, but I can review too. rs+
Attachment #8887009 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 5•7 years ago
|
||
Asking Yoshi for review as well since he is the original author.
Keywords: checkin-needed
Assignee | ||
Updated•7 years ago
|
Attachment #8887009 -
Flags: review?(allstars.chh)
Attachment #8887009 -
Flags: review?(allstars.chh) → review+
Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/728b31173deb9b63a2391b8a00fc4da5f4ab439e Bug 1381437 - Re-org testing promises to avoid racy tesing result. r=smaug, yoshi
Assignee | ||
Updated•7 years ago
|
Summary: Fix racy test case: test_data_uri.html → Fix racing test case: test_data_uri.html
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/728b31173deb
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•