Closed
Bug 1145553
Opened 10 years ago
Closed 10 years ago
Remove remaining usage of enablePrivilege in crashtests
Categories
(Testing :: Reftest, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: martijn.martijn, Assigned: martijn.martijn)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
5.23 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
I removed all enablePrivilege usage in bug 917061, but some usage has crept back:
> gfx/tests/crashtests/358732-iframe.html
> gfx/tests/crashtests/358732-3.html
> layout/generic/crashtests/370174-3.html
> layout/generic/crashtests/370174-4.html
We should remove usage there, it should be possible to use SpecialPowers.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8580676 -
Flags: review?(jmaher)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → martijn.martijn
Comment 2•10 years ago
|
||
Comment on attachment 8580676 [details] [diff] [review]
1145553.diff
Review of attachment 8580676 [details] [diff] [review]:
-----------------------------------------------------------------
nice cleanup!
Attachment #8580676 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Comment 5•10 years ago
|
||
Parsing...Patch id=8580676 desc="1145553.diff" diff data were discarded:
UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 537: invalid start byte
Keywords: checkin-needed
Assignee | ||
Comment 6•10 years ago
|
||
I don't understand, the patch applies just fine, locally. What do I need to change?
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #5)
> Parsing...Patch id=8580676 desc="1145553.diff" diff data were discarded:
> UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 537:
> invalid start byte
Joel, do you happen to know what I need to do to get a patch that doesn't produce this error during import?
The patch applies cleanly on my machine.
Flags: needinfo?(jmaher)
Comment 8•10 years ago
|
||
I just downloaded the patch attached to this bug and did a 'hg qimport <patchname>; hg qpush' and it worked just fine.
I am on Linux, quite possibly there is an OS issue?
Flags: needinfo?(jmaher)
Assignee | ||
Comment 9•10 years ago
|
||
So it happens because of the weird '-' in 'Bug 358732 - Crash in _moz_cairo_win32_scaled_font_select_font, part 2'.
I'll just replace it with the normal '-'. Not sure if this patch would be picked up either, though.
Attachment #8583748 -
Flags: review?(jmaher)
Comment 10•10 years ago
|
||
Comment on attachment 8583748 [details] [diff] [review]
1145553.diff
Review of attachment 8583748 [details] [diff] [review]:
-----------------------------------------------------------------
so many details :)
Attachment #8583748 -
Flags: review?(jmaher) → review+
Assignee | ||
Updated•10 years ago
|
Attachment #8580676 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
applying 1145553
patching file gfx/tests/crashtests/358732-3.html
Hunk #1 FAILED at 0
1 out of 1 hunks FAILED -- saving rejects to file gfx/tests/crashtests/358732-3.html.rej
patching file gfx/tests/crashtests/358732-iframe.html
Hunk #1 FAILED at 6
1 out of 1 hunks FAILED -- saving rejects to file gfx/tests/crashtests/358732-iframe.html.rej
patching file layout/generic/crashtests/370174-4.html
Hunk #1 FAILED at 6
1 out of 1 hunks FAILED -- saving rejects to file layout/generic/crashtests/370174-4.html.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh 1145553
That was with attachment 8583748 [details] [diff] [review] after manually importing it (still having qimportbz issues with it).
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Attachment #8583748 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8580676 -
Attachment is obsolete: false
Assignee | ||
Comment 12•10 years ago
|
||
I'm out of ideas. It seems some kind of encoding issue, but I don't know how to solve it.
Comment 13•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•