Closed
Bug 822018
Opened 13 years ago
Closed 7 years ago
Remove the global PB specific code in tps.jsm from per-window PB builds
Categories
(Testing Graveyard :: TPS, defect)
Testing Graveyard
TPS
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla61
People
(Reporter: ehsan.akhgari, Assigned: lina)
Details
Attachments
(1 file)
We need to make the global PB specific code in http://mxr.mozilla.org/mozilla-central/source/services/sync/tps/extensions/tps/modules/tps.jsm hidden behind #ifndef MOZ_PER_WINDOW_PRIVATE_BROWSING. One such code is the SetPrivateBrowsing function. There are three tests which call that function and they should not be run in such builds, but the problem is that they don't use the usual Makefile.in files, and instead they use all_tests.json. Therefore, we need to also be able to preprocess all_tests.json somehow too, but I'm not sure how to do that.
Richard, do you have any idea?
Thanks!
Updated•13 years ago
|
Component: Firefox Sync: UI → TPS
OS: Mac OS X → All
Product: Mozilla Services → Testing
Hardware: x86 → All
Comment 1•13 years ago
|
||
TPS doesn't run on buildbot (yet?), so nothing will go red until services-central has MPWPB set by default. CCing jgriffin, who keeps TPS fed and watered.
Comment 2•13 years ago
|
||
TPS runs tests that are bundled into a tests.zip package:
http://mxr.mozilla.org/mozilla-central/source/testing/testsuite-targets.mk#416
We could add some pre-processing here, and add some logic to only copy files that end up in the post-processed version, instead of everything as we do now.
Reporter | ||
Comment 3•13 years ago
|
||
Given comment 1, I'm unblocking this for per-window private browsing, but will leave the bug open since this needs to get fixed when we want to run TPS tests on Tinderbox.
No longer blocks: PBnGen
Reporter | ||
Comment 4•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/418277a17cb2 took care of some of this, but that file is still listening for the private-browsing notification, which will never be dispatched in per-window PB builds.
Reporter | ||
Comment 5•13 years ago
|
||
(In reply to :Ehsan Akhgari from comment #4)
> https://hg.mozilla.org/mozilla-central/rev/418277a17cb2 took care of some of
> this, but that file is still listening for the private-browsing
> notification, which will never be dispatched in per-window PB builds.
That said, there's more mentions of "private-browsing" left in that file...
Reporter | ||
Comment 6•13 years ago
|
||
Josh, I would _really_ like to land this before bug 784841 lands. gps tells me that will happen next week, if not later this week.
Reporter | ||
Comment 7•13 years ago
|
||
(In reply to :Ehsan Akhgari from comment #6)
> Josh, I would _really_ like to land this before bug 784841 lands. gps tells
> me that will happen next week, if not later this week.
Wrong bug!
Comment hidden (mozreview-request) |
Comment 9•7 years ago
|
||
mozreview-review |
Comment on attachment 8972435 [details]
Bug 822018 - Remove unused mentions of private browsing from TPS.
https://reviewboard.mozilla.org/r/241034/#review246816
LGTM
Attachment #8972435 -
Flags: review?(tchiovoloni) → review+
Comment 10•7 years ago
|
||
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fa4f44996ac6
Remove unused mentions of private browsing from TPS. r=tcsc
Comment 11•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Updated•7 years ago
|
Product: Testing → Testing Graveyard
Updated•7 years ago
|
Assignee: nobody → lina
status-firefox61:
fixed → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•