Closed Bug 758102 Opened 13 years ago Closed 13 years ago

Resync' smileApplication.js from fuelApplication.js

Categories

(SeaMonkey :: General, defect, P3)

defect

Tracking

(seamonkey2.9 wontfix, seamonkey2.10 wontfix, seamonkey2.11 wontfix)

VERIFIED FIXED
seamonkey2.12
Tracking Status
seamonkey2.9 --- wontfix
seamonkey2.10 --- wontfix
seamonkey2.11 --- wontfix

People

(Reporter: sgautherie, Assigned: sgautherie)

References

(Blocks 1 open bug, )

Details

(Keywords: regression)

Attachments

(3 files, 4 obsolete files)

No description provided.
Blocks: FF2SM
See Also: → 506471, 543672
Depends on: 506471, 543672
See Also: 506471, 543672
There is one additional diff which I'm confused about: http://mxr.mozilla.org/comm-central/source/mozilla/browser/fuel/src/fuelApplication.js { 97 this._tabbrowser.tabContainer.addEventListener(aType, 123 this._tabbrowser.removeEventListener(type, this._cleanup[type], true); } See http://hg.mozilla.org/mozilla-central/rev/8ca8630b0c88 Is FF missing a '.tabContainer'? http://mxr.mozilla.org/comm-central/source/suite/smile/src/smileApplication.js { 142 this._tabbrowser.tabContainer.addEventListener(aType, 172 this._tabbrowser.tabContainer.removeEventListener(type, this._cleanup[type], true); } See http://hg.mozilla.org/comm-central/rev/99b127296682 This looks right, but we get: http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1337670058.1337676375.26828.gz&fulltext=1 WINNT 5.2 comm-central-trunk debug test mochitest-other on 2012/05/22 00:00:58 { *** End BrowserChrome Test Results *** [...] * Call to xpconnect wrapped JSObject produced this error: * [Exception... "'[JavaScript Error: "this._tabbrowser.tabContainer is undefined" {file: "resource:///components/smileApplication.js" line: 172}]' when calling method: [nsIObserver::observe]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: yes] } or is it just a false issue "due" to bug 603110 or the like?
Attachment #626701 - Flags: review?(neil)
Av1, with an additional update. FF doesn't have this additional change: am I just wrong or is FF missing this?
Attachment #626703 - Flags: review?(neil)
Depends on: 573246
Comment on attachment 626709 [details] [diff] [review] (Cv1) SMILE tests: Trivial resync' from FUEL, Ports relate part of bug 573246 >+ // Preference events tests disabled until bug 533290 is fixed >+ return; We're not actually failing the test though are we?
(In reply to Serge Gautherie from comment #2) > Is FF missing a '.tabContainer'? File a bug and CC :dao > * Call to xpconnect wrapped JSObject produced this error: * > [Exception... "'[JavaScript Error: "this._tabbrowser.tabContainer is > undefined" {file: "resource:///components/smileApplication.js" line: 172}]' > when calling method: [nsIObserver::observe]" nsresult: "0x80570021 > (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "native frame :: > <unknown filename> :: <TOP_LEVEL> :: line 0" data: yes] Ratty was trying to future-proof us against implementing tabs on top. Sadly by the time the shutdown method runs, the binding no longer exists. I think the workaround might be to store the tabContainer in a property too, but :dao might have other ideas, after all he's going to have to fix the same bug ;-)
(In reply to neil@parkwaycc.co.uk from comment #5) > We're not actually failing the test though are we? The (whole) test succeeds, afaict. But I would prefer to be closer to FF (test run), just_in_case/ftb. (In reply to neil@parkwaycc.co.uk from comment #6) > Ratty was trying to future-proof us against implementing tabs on top. Sadly Yeah, so I read in the bug he fixed. > by the time the shutdown method runs, the binding no longer exists. Should we just remove both '.tabContainer' in smile ftb?
Depends on: 758248
(In reply to neil@parkwaycc.co.uk from comment #6) > File a bug and CC :dao Bug 758248 Submitted
(In reply to Serge Gautherie from comment #7) > (In reply to comment #5) > > We're not actually failing the test though are we? > The (whole) test succeeds, afaict. Well, just because FF can't test FUEL properly, doesn't mean that we shouldn't test SMILE properly... > (In reply to comment #6) > > by the time the shutdown method runs, the binding no longer exists. > Should we just remove both '.tabContainer' in smile ftb? Well, that's the "quick fix", yes.
Cv1, with comment 9 suggestion(s).
Attachment #626709 - Attachment is obsolete: true
Attachment #626709 - Flags: review?(neil)
Attachment #626856 - Flags: review?(neil)
(In reply to Serge Gautherie from comment #3) > FF doesn't have this additional change: > am I just wrong or is FF missing this? Please CC :dietrich on a bug for this one!
Depends on: 758459
(In reply to neil@parkwaycc.co.uk from comment #12) > Please CC :dietrich on a bug for this one! Bug 758459 Submitted
Comment on attachment 626703 [details] [diff] [review] (Av1a) smileApplication.js: Port bug 506471 and bug 543672 [Checked in: Comment 16] Nit: livemarks getter has bitrotted, needs two interfaces.
Attachment #626703 - Flags: review?(neil) → review+
Comment on attachment 626854 [details] [diff] [review] (Bv1a) smileApplication.js: Remove broken '.tabContainer' support, Update license, documentation and nits [Checked in: See comment 17] >+ > Nit: double blank line >+ >+ Nit: double blank line >+// fine as not exposed in idl. Don't bother with this line. > >+ > //================================================= > // BookmarkRoots implementation Looks like this one is OK.
Attachment #626854 - Flags: review?(neil) → review+
Attachment #626856 - Flags: review?(neil) → review+
Attachment #626685 - Attachment is obsolete: true
Attachment #626685 - Flags: review?(neil)
Attachment #626703 - Attachment description: (Av1a) smileApplication.js: Port bug 506471 and bug 543672 → (Av1a) smileApplication.js: Port bug 506471 and bug 543672 [Checked in: Comment 16]
Comment on attachment 626854 [details] [diff] [review] (Bv1a) smileApplication.js: Remove broken '.tabContainer' support, Update license, documentation and nits [Checked in: See comment 17] http://hg.mozilla.org/comm-central/rev/c28d011cbbe1 Bv1a, with comment 15 suggestion(s).
Attachment #626854 - Attachment description: (Bv1a) smileApplication.js: Remove broken '.tabContainer' support, Update license, documentation and nits → (Bv1a) smileApplication.js: Remove broken '.tabContainer' support, Update license, documentation and nits [Checked in: See comment 17]
Comment on attachment 626856 [details] [diff] [review] (Cv1a) SMILE tests: Trivial resync' from FUEL [Checked in: Comment 18] http://hg.mozilla.org/comm-central/rev/54380e539f1a
Attachment #626856 - Attachment description: (Cv1a) SMILE tests: Trivial resync' from FUEL → (Cv1a) SMILE tests: Trivial resync' from FUEL [Checked in: Comment 18]
Blocks: 647571
No longer blocks: FF2SM
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Keywords: regression
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.12
[Approval Request Comment] Minimal part of patch Bv1b. Regression caused by (bug #): Bug 647571. No risk, reverts to previous code.
Attachment #629127 - Flags: approval-comm-beta?
Attachment #629127 - Flags: approval-comm-aurora?
Blocks: 760779
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1338597699.1338600532.4177.gz&fulltext=1 OS X 10.6 comm-central-trunk debug test mochitest-other on 2012/06/01 17:41:39 V.Fixed.
Status: RESOLVED → VERIFIED
Attachment #629127 - Flags: approval-comm-aurora?
Comment on attachment 629127 [details] [diff] [review] (Dv1-SM211) smileApplication.js: Remove broken '.tabContainer' support [Too late] Missed SM/2.11 :-/
Attachment #629127 - Attachment description: (Dv1-SM211) smileApplication.js: Remove broken '.tabContainer' support → (Dv1-SM211) smileApplication.js: Remove broken '.tabContainer' support [Too late]
Attachment #629127 - Attachment is obsolete: true
Attachment #629127 - Flags: approval-comm-beta?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: