MozillaZine

notes on testing Firefox themes

Discuss application theming and theme development.
mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted May 5th, 2015, 2:28 am

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

ShareBird

User avatar
 
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil

Post Posted May 16th, 2015, 11:37 am

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.

Red_Fat_Lazy_Cat

User avatar
 
Posts: 564
Joined: April 16th, 2003, 12:45 pm
Location: The ottoman near the fireplace

Post Posted May 16th, 2015, 4:41 pm

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

ShareBird

User avatar
 
Posts: 2740
Joined: December 8th, 2004, 7:09 am
Location: Berlin | Made in Brasil

Post Posted May 16th, 2015, 7:05 pm

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.

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted May 17th, 2015, 3:00 pm

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

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted May 31st, 2015, 3:59 am

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

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted June 1st, 2015, 1:39 am

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

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted June 6th, 2015, 9:35 pm

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

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted June 6th, 2015, 11:10 pm

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/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted June 25th, 2015, 4:01 am

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

Post Posted November 7th, 2015, 9:52 pm

good job. it look very nice. but i can't set it to my browser.

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted November 7th, 2015, 10:06 pm

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/

ehume

User avatar
 
Posts: 6741
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post Posted November 8th, 2015, 7:28 am

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.

patrickjdempsey

User avatar
 
Posts: 23734
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted November 8th, 2015, 10:28 am

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/

mcdavis

User avatar
 
Posts: 3194
Joined: December 9th, 2005, 5:51 am

Post Posted January 25th, 2016, 8:33 am

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

Return to Theme Development


Who is online

Users browsing this forum: No registered users and 2 guests

cron