Closed Bug 396132 Opened 17 years ago Closed 17 years ago

Minotaur needs to check new Content Handling preferences for default handlers

Categories

(Testing Graveyard :: Minotaur, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cmtalbert, Assigned: cmtalbert)

References

Details

Attachments

(1 file)

It is entirely feasible that future partner builds or L10N specific builds might use a different default than the "standard" default for the content/protocol handling pieces. Minotaur should be updated to check these defaults and compare them during its verification process.
Attached patch Patch r1Splinter Review
I can't find a good way to break that regexp into multiple lines so that it fits the 80 character limit. If you know of one, I'm all ears. I've tried everything I can think of except using two different regexp's and concatenating the results (which seems like way too much work to simply satisfy the line length requirement.) This outputs the default settings for the protocol handlers and it also outputs the places smartBookmark version which seems to be desired from bug 421483 comment 42 (https://bugzilla.mozilla.org/show_bug.cgi?id=421483#c42)
Assignee: nobody → ctalbert
Status: NEW → ASSIGNED
Attachment #314914 - Flags: review?(rcampbell)
Comment on attachment 314914 [details] [diff] [review] Patch r1 I guess you could have multiple regexp objects. E.g., grabDist = /app\.distributor/; grabPartner = /app\.partner/ and then match on each of them in the matching section below. That would be somewhat cumbersome though it would add to the understandability of each pref you're looking for. I dunno.
Attachment #314914 - Flags: review?(rcampbell) → review+
You could do a var reStrings = ['(app\.distributor)', '(app\.partner)',...]; var grab = new RegExp(reStrings.join('|'));
I took Axel's suggestion and checked it in on trunk. --> FIXED
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Mass moving Minotaur bugs to Testing : Minotaur. Filter on MinotaurMassMove to ignore.
Component: Testing → Minotaur
Product: Core → Testing
QA Contact: testing → minotaur
Version: Trunk → unspecified
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: