Closed Bug 1368370 Opened 7 years ago Closed 7 years ago

Permaorange on DevEdition and beta in browser_photon_customization_context_menus.js when Gecko 55 merges to beta on 2016-06-12

Categories

(Firefox :: Toolbars and Customization, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox-esr45 --- unaffected
firefox-esr52 --- unaffected
firefox53 --- unaffected
firefox54 --- unaffected
firefox55 blocking fixed

People

(Reporter: philor, Assigned: Gijs)

References

Details

Attachments

(1 file)

https://treeherder.mozilla.org/logviewer.html#?job_id=102697503&repo=try

Guessing that the test isn't expecting the developer toolbar button?

Minimum to repro locally is probably changing /config/milestone.txt from 55.0a1 to 55.0 and building with ac_add_options --with-branding=browser/branding/aurora (and clobbering, and not trying to do an artifact build). Try with all three platforms is https://hg.mozilla.org/try/rev/fa9d0b5989246f52b218e875871e2bb129c2316b plus -p linux-devedition-nightly,linux64-devedition-nightly,macosx64,win32,win64

[Tracking Requested - why for this release]: merge bustage, closed tree, delayed b1.
Oh, not just DevEdition, didn't realize I was pushing a different revision of m-c than my last central-as-beta. Same timeout on opt, add in some leaked until shutdown noise for debug, https://treeherder.mozilla.org/logviewer.html#?job_id=102716347&repo=try
Summary: Permaorange on DevEdition in browser_photon_customization_context_menus.js when Gecko 55 merges to beta on 2016-06-12 → Permaorange on DevEdition and beta in browser_photon_customization_context_menus.js when Gecko 55 merges to beta on 2016-06-12
The test is the first that actively flips the photon structure pref, and it's paying for that by tripping up code that should have been removed in bug 1364090 but wasn't (even though the hidden=true attribute was removed...).
Assignee: nobody → gijskruitbosch+bugs
Blocks: 1364090
Status: NEW → ASSIGNED
Comment on attachment 8872314 [details]
Bug 1368370 - remove leftover page action hiding,

https://reviewboard.mozilla.org/r/143818/#review147508

I feel like I'm missing some context. Is there some other code hiding the button besides the ifdef? Otherwise the removed code looks like it should be a no-op, so I don't see how this would fix a test.

The patch by itself seems fine regardless.
Attachment #8872314 - Flags: review?(dao+bmo) → review+
(In reply to Dão Gottwald [::dao] from comment #4)
> Comment on attachment 8872314 [details]
> Bug 1368370 - remove leftover page action hiding,
> 
> https://reviewboard.mozilla.org/r/143818/#review147508
> 
> I feel like I'm missing some context. Is there some other code hiding the
> button besides the ifdef? Otherwise the removed code looks like it should be
> a no-op, so I don't see how this would fix a test.
> 
> The patch by itself seems fine regardless.

First link in comment #0:

[task 2017-05-28T17:39:10.578185Z] 17:39:10     INFO - Console message: [JavaScript Error: "TypeError: this.button is null" {file: "chrome://browser/content/browser.js" line: 7747}]
[task 2017-05-28T17:39:10.580046Z] 17:39:10     INFO - init@chrome://browser/content/browser.js:7747:7
[task 2017-05-28T17:39:10.583402Z] 17:39:10     INFO - _delayedStartup@chrome://browser/content/browser.js:1713:5

... because this used to be behind a pref (the code I'm removing, and the button was always in the markup but had hidden=true). Then bug 1364090 removed the hidden attribute but added ifdefs, and didn't remove this code, which runs on window init / delayed startup. So now if we run without the ifdef but *with* the pref, like say on aurora/beta, on a test that checks that other code behind the pref works, and we happen to open a new window... boom.
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/79c629f3a50e
remove leftover page action hiding, r=dao
https://hg.mozilla.org/mozilla-central/rev/79c629f3a50e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: