Closed
Bug 399707
Opened 16 years ago
Closed 16 years ago
Add inverse matching for string flags
Categories
(Toolkit :: Startup and Profile System, defect)
Toolkit
Startup and Profile System
Tracking
()
RESOLVED
FIXED
mozilla1.9beta2
People
(Reporter: mossop, Assigned: mossop)
Details
Attachments
(1 file)
8.75 KB,
patch
|
benjamin
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
For the string flags (application and the coming os flag) we can currently only apply a manifest directive on a match, not on a mismatch. As an example I have an extension where I want to have one skin on mac and another on all other operating systems. It's not totally impossible to do it now but it would be far simpler to be able to have: skin foo classic/1.0 skin/mac os=darwin skin foo classic/1.0 skin/default os!=darwin I can also imagine situations where people want to do one thing for one app and another everywhere else which this would fix as well.
Assignee | ||
Comment 1•16 years ago
|
||
Implements a != comparison for string flags.
Attachment #284788 -
Flags: review?(benjamin)
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Updated•16 years ago
|
Attachment #284788 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Comment on attachment 284788 [details] [diff] [review] patch rev 1 Looking for approval, this is a simple change with unit testing that adds a useful feature for app/extension authors.
Attachment #284788 -
Flags: approval1.9?
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][has reviews]
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][has reviews] → [has patch][has reviews][needs approval]
Comment 3•16 years ago
|
||
Comment on attachment 284788 [details] [diff] [review] patch rev 1 a=release drivers
Attachment #284788 -
Flags: approval1.9? → approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [has patch][has reviews][needs approval] → [has patch][has reviews]
Comment 4•16 years ago
|
||
Checking in chrome/src/nsChromeRegistry.cpp; /cvsroot/mozilla/chrome/src/nsChromeRegistry.cpp,v <-- nsChromeRegistry.cpp new revision: 1.356; previous revision: 1.355 done RCS file: /cvsroot/mozilla/chrome/test/unit/test_bug399707.js,v done Checking in chrome/test/unit/test_bug399707.js; /cvsroot/mozilla/chrome/test/unit/test_bug399707.js,v <-- test_bug399707.js initial revision: 1.1 done RCS file: /cvsroot/mozilla/chrome/test/unit/data/test_bug399707.manifest,v done Checking in chrome/test/unit/data/test_bug399707.manifest; /cvsroot/mozilla/chrome/test/unit/data/test_bug399707.manifest,v <-- test_bug399707.manifest initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
Updated•16 years ago
|
Flags: in-testsuite+
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][has reviews]
Component: XRE Startup → Startup and Profile System
QA Contact: xre.startup → startup
You need to log in
before you can comment on or make changes to this bug.
Description
•