notes on testing Firefox themes

Discuss application theming and theme development.
Locked
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

Updated test checklist, through Firefox 38 (but not yet Fx38 devtools):

http://mcdavis.dreamhosters.com/comms/t ... 150505.txt
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: notes on testing themes

Post by ShareBird »

Thank you very much for the check list, mcdavis.

I was not able to run

Code: Select all

UITour.showHeartbeat(window, messageManager, "How would you rate Firefox?", "Thank you!", "ui-ratefirefox-54321", "http://www.mozilla.org")

I get a Reference Error when I try. On the white listed pages, I can get the object Mozilla, but Mozilla.UITour is undefined... What I'm missing here? (I never used the Scratchpad before, I need to learn what it can do :-) ). What does a "browser environment" mean??
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
Red_Fat_Lazy_Cat
Posts: 564
Joined: April 16th, 2003, 12:45 pm
Location: The ottoman near the fireplace
Contact:

Re: notes on testing themes

Post by Red_Fat_Lazy_Cat »

Hi Sharebird,

Go to the DevTools options and check this one: "Enable browser chrome and add-on debugging toolboxes". Now open the Scratchpad and click "Environment" -> "Browser". After that, the code runs just fine. :)

And I second your thank you to mcdavis. The checklist is a massive time saver! =D>
Some people say that cats are sneaky, evil, and cruel. True, and they have many other fine qualities as well. -- Missy Dizick

My Firefox themes: Red Cats (blue & green flavor), Curacao
User avatar
ShareBird
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil
Contact:

Re: notes on testing themes

Post by ShareBird »

Thanks!! ;-)
Got it
Silvermel - A Theme for Firefox and Thunderbird
YATT - Yet Another Theme Tutorial
Don't give a man a fish. Teach him how to fish instead.
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

ShareBird wrote:What does a "browser environment" mean??


Just to add a little to what red_fat_lazy_cat said: by default, JS in the Scratchpad runs "in the context of" whatever page is in tab, as if the JS were part of that page and came from that site. When you pick the browser context, that makes the JS run as if it were loaded with the main browser window, browser.xul, instead.

I think the security context of the JS is limited to that of the page by default, i.e. no chrome privileges, again unless you set the context to browser context, but I'm not certain and I'd have to look that up.
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

For Fx38.0.5 with reader mode and screen/window/tab-sharing.

http://mcdavis.dreamhosters.com/comms/t ... 150531.txt
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

New calling convention for testing Heartbeat UI via Scratchpad (discussed above), as of (Fx38) Bug 1137481:

Code: Select all

      UITour.showHeartbeat(window, messageManager,
        {
          message: "How would you rate Firefox?",
          thankyouMessage: "Thank you!",
          flowId: "ui-ratefirefox-54321",
          engagementURL: "http://www.mozilla.org",
          learnMoreLabel: "Learn More",
          learnMoreURL: "http://example.com",
        }
      )
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

The test pages for malware and phishing UI changed a couple years back. The new ones:

http://itisatrap.org/firefox/its-a-trap.html
http://itisatrap.org/firefox/its-an-attack.html

They replace the old ones, which are now 404:

https://www.mozilla.com/firefox/its-a-trap.html
https://www.mozilla.com/firefox/its-an-attack.html
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing themes

Post by patrickjdempsey »

Yeah, I think those pages have caused the mozilla.com domain to get flagged as a malware domain a few times. Oh the irony.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing themes

Post by mcdavis »

Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
nquangan
Posts: 2
Joined: October 1st, 2012, 9:27 pm
Location: 01 chung cu Pham The Hien, District 8, Ho Chi Minh City
Contact:

Re: notes on testing Firefox themes

Post by nquangan »

good job. it look very nice. but i can't set it to my browser.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing Firefox themes

Post by patrickjdempsey »

Doesn't matter very much now. Mozilla has announced they are removing support for Themes in December.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
ehume
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Re: notes on testing Firefox themes

Post by ehume »

patrickjdempsey wrote:Doesn't matter very much now. Mozilla has announced they are removing support for Themes in December.
Cite? I'd like to read it myself. But it sounds like our arrogant devs. Who would ever want to look at their crappy-looking default theme?
Firefox: Sic transit gloria mundi.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: notes on testing Firefox themes

Post by patrickjdempsey »

Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
mcdavis
Posts: 3195
Joined: December 9th, 2005, 5:51 am

Re: notes on testing Firefox themes

Post by mcdavis »

For all your SSL testing needs, open 24 hours for your convenience:

https://badssl.com/
Theme Development is Radical Participation.
NNL Beta Builds for Current and Up-coming Firefox
Dear User: Your Help is Needed
Locked