Closed
Bug 1162530
Opened 10 years ago
Closed 10 years ago
Version support in downloadable graphics blocklist
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: milan, Assigned: milan)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
12.78 KB,
patch
|
milan
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
5.00 KB,
patch
|
jrmuizel
:
review+
kats
:
feedback+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Right now, once it's in the blocklist, it blocks all versions. Add the capability to specify minimum, maximum (or both) version(s) in the XML, so that we can blocklist things for a specific version or range.
Assignee | ||
Updated•10 years ago
|
OS: Unspecified → All
Hardware: Unspecified → All
Assignee | ||
Comment 1•10 years ago
|
||
Other places in the blocklist use <versionRange minVersion="..." maxVersion="..."></versionRange>, we can probably use the same.
Assignee | ||
Comment 2•10 years ago
|
||
[Tracking Requested - why for this release]:
If we fix this for 40, it will let us use downloadable blocklist for release 39 and earlier as well; if we uplift to 39, it means we can handle 38 (and earlier) as well, which bodes well for an ESR release.
status-firefox37:
--- → affected
status-firefox38:
--- → affected
status-firefox38.0.5:
--- → affected
status-firefox39:
--- → affected
tracking-firefox39:
--- → ?
tracking-firefox40:
--- → ?
Assignee | ||
Comment 3•10 years ago
|
||
This will only work properly for non-e10s until bug 1162700 is fixed.
Attachment #8603742 -
Flags: review?(jmuizelaar)
Attachment #8603742 -
Flags: feedback?(bas)
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8603742 [details] [diff] [review]
Allow min and max app versions for the downloadable blocklist. r=jmuizelaar
There's a typo in the patch, let me fix that.
Attachment #8603742 -
Flags: review?(jmuizelaar)
Attachment #8603742 -
Flags: feedback?(bas)
Assignee | ||
Comment 5•10 years ago
|
||
Use nsVersionComparator for version comparisons. Add some unit tests for that, as well as the split version from GfxDriverInfo, to better describe what it is that happens in the version comparison (and the split was just a, turns out, unrelated bonus.)
Manual testing was done as described in bug 1164036, which will be the automated test for the same thing, but we have longer dependencies in order to take care of that.
Attachment #8603742 -
Attachment is obsolete: true
Attachment #8604715 -
Flags: review?(jmuizelaar)
Comment 6•10 years ago
|
||
Comment on attachment 8604715 [details] [diff] [review]
Allow min and max app versions for the downloadable blocklist. r=jmuizelaar
Review of attachment 8604715 [details] [diff] [review]:
-----------------------------------------------------------------
::: widget/GfxInfoBase.cpp
@@ +1047,1 @@
> return NS_ERROR_OUT_OF_MEMORY;
It looks like there's a couple of spurious changes here and at the GetFailures() definition.
Attachment #8604715 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Jeff Muizelaar [:jrmuizel] from comment #6)
> Comment on attachment 8604715 [details] [diff] [review]
> Allow min and max app versions for the downloadable blocklist. r=jmuizelaar
>
> Review of attachment 8604715 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: widget/GfxInfoBase.cpp
> @@ +1047,1 @@
> > return NS_ERROR_OUT_OF_MEMORY;
>
> It looks like there's a couple of spurious changes here and at the
> GetFailures() definition.
Yeah, I sneaked in a couple of "we're using tabs instead of spaces" changes.
Assignee | ||
Comment 8•10 years ago
|
||
Get rid of the whitespace changes (will add in another changeset.)
Attachment #8604715 -
Attachment is obsolete: true
Attachment #8606368 -
Flags: review+
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8606369 -
Flags: review?(bugmail.mozilla)
Assignee | ||
Comment 10•10 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=358d6c8df74c + https://treeherder.mozilla.org/#/jobs?repo=try&revision=077998c3c692 combined try runs for a few bugs in the series.
Assignee | ||
Updated•10 years ago
|
Attachment #8606369 -
Attachment description: Part 2: Some cleanup in downloadable blocklist - we were not actually checkign for WebRTC, some whitespace changes, watch for unknown OS. r=kats → Part 2: Some cleanup in downloadable blocklist - we were not actually checking for WebRTC, some whitespace changes, watch for unknown OS. r=kats
Comment 11•10 years ago
|
||
Comment on attachment 8606369 [details] [diff] [review]
Part 2: Some cleanup in downloadable blocklist - we were not actually checking for WebRTC, some whitespace changes, watch for unknown OS. r=kats
Review of attachment 8606369 [details] [diff] [review]:
-----------------------------------------------------------------
Looks ok to me but again I'm hesitant to r+ since I don't know this code much.
Attachment #8606369 -
Flags: review?(jmuizelaar)
Attachment #8606369 -
Flags: review?(bugmail.mozilla)
Attachment #8606369 -
Flags: feedback+
Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #11)
> ...
> Looks ok to me but again I'm hesitant to r+ since I don't know this code
> much.
You're becoming an expert just by looking at it :)
Updated•10 years ago
|
Attachment #8606369 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 14•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/93fe551e8a55
https://hg.mozilla.org/integration/mozilla-inbound/rev/edb5b81dd9e7
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/93fe551e8a55
https://hg.mozilla.org/mozilla-central/rev/edb5b81dd9e7
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8606368 [details] [diff] [review]
Part 1: Allow min and max app versions for the downloadable blocklist. Carry r=jmuizelaar
Approval Request Comment
[Feature/regressing bug #]:
[User impact if declined]: This gives us ability to blocklist things we wouldn't before because it would affect too many releases. Uplifting to 40 means we could do specific blocklisting for release 39 and earlier.
[Describe test coverage new/current, TreeHerder]:
[Risks and why]:
[String/UUID change made/needed]:
Attachment #8606368 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 17•10 years ago
|
||
Comment on attachment 8606369 [details] [diff] [review]
Part 2: Some cleanup in downloadable blocklist - we were not actually checking for WebRTC, some whitespace changes, watch for unknown OS. r=kats
Same as above.
Attachment #8606369 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Comment 18•10 years ago
|
||
Comment on attachment 8606368 [details] [diff] [review]
Part 1: Allow min and max app versions for the downloadable blocklist. Carry r=jmuizelaar
We do want that in 40!
Attachment #8606368 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Attachment #8606369 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 19•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/d643717c69be
https://hg.mozilla.org/releases/mozilla-aurora/rev/70af32d331a0
Flags: in-testsuite+
Comment 20•9 years ago
|
||
Added to the release notes with "Graphic blocklist mechanism improved: Firefox version ranges can be specified, limiting the number of devices blocked" as wording.
relnote-firefox:
--- → 40+
You need to log in
before you can comment on or make changes to this bug.
Description
•