Contract Senior Software Engineer, Firefox
Software engineeringPosted over 2 months agofrom mozilla's own hiring page
- Work type
- RemoteIn Canada, Germany and the UK
- Experience
- Not stated
- Pay
- Not listedUsually C$88k a yearSoftware engineering, median, all levels, in Canada (Payscale)
- Posted
- Over 2 months agoOpen 2 months
Skills it mentions
Add your skills to see which ones you have.
About the job
The role
You will help the Firefox DOM Core team improve the health of the Session History area. You will write tests to improve the coverage; you will fix tests and/or problems to improve the Gecko correctness.
Responsibilities
- Write Web-Platform tests to improve the coverage, and Gecko mochitests as needed
- Fix the problems and pass the tests to improve the Gecko correctness
- Work through code review with the relevant Gecko module owners and iterate to landing
Definition of done
Improved Session History test coverage and code correctness in Gecko, measured by passed test cases, allowing the team’s senior engineers to focus on security, performance and strategic projects.
Required qualifications
- Substantial experience in a browser-engine codebase or in automating for a browser-engine, ideally Firefox/Gecko.
- Solid Javascript and applying that language skill to write automated tests.
- Proficiency in and experience developing software in C++.
- Strong debugging skills in a mature larget codebase.
- Comfort working in the open: public bugs, code review, and upstream landing.
Preferred
- Prior contributions to Gecko or another major browser engine.
- Familiarity with web standards and Web Platform Tests.
Interested?Contract Senior Software Engineer, Firefox at mozilla
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on JavaScript, Test automation and C++
Interview questions for this job
For the skills the ad mentions: JavaScript, Test automation and C++.
Generate an array, containing the Fibonacci sequence, up until the nth term.JavaScriptIntermediate
Initialize an empty array of length
n. UseArray.prototype.reduce()to add values into the array, using the sum of the last two values, except for the first two.const fibonacci = n => [...Array(n)].reduce( (acc, val, i) => acc.concat(i > 1 ? acc[i - 1] + acc[i - 2] : i), [] )Good to hear
From 30 seconds of interviews (MIT)
What makes a good selenium locator?Test automation
Good question, especially if people will read it and stop using XPath (I am not holding my breath).
- Selenium best practices mentions order of preference: id > name > css > xpath
- Mozilla explains why IDs
- Saucelabs explains why CSS locators are preferred over XPath
- slideshare compares locators (slide 23: CSS vs XPath)
- CSS vs XPath - with benchmark
- Simon Stewart with video
I read somewhere (cannot find the link) that another cause of flaky tests is locating elements by changeable attributes. Problem is, both browser and Selenium use internal cache to speed up access to attributes, so busting that cache might not be in sync and lead to flakiness.
- CSS vs XPath: benchmark says that with current browsers (page has no date, sadly) difference is minimal. But because pages are styled by CSS, we can expect CSS to be more stable than XPath. Has few links for follow-up considerations.
Exception where XPath is OK: parent element of the current one (if a parent has no ID or name).
My order of preference for locating elements is: By.ID > By.NAME > By.CSS_SELECTOR > By.LINK_TEXT > By.CLASS_NAME > By.TAG_NAME > By.XPATH
From Software Quality Assurance & Testing Stack Exchange: asked by alecxe, answered by Peter M. - stands for Monica (CC BY-SA 4.0)
What's the problem with "using namespace std;"?C++
Consider two libraries called Foo and Bar:
using namespace foo; using namespace bar;Everything works fine, and you can call
Blah()from Foo andQuux()from Bar without problems. But one day you upgrade to a new version of Foo 2.0, which now offers a function calledQuux(). Now you've got a conflict: Both Foo 2.0 and Bar importQuux()into your global namespace. This is going to take some effort to fix, especially if the function parameters happen to match.If you had used
foo::Blah()andbar::Quux(), then the introduction offoo::Quux()would have been a non-event.From Stack Overflow: asked by akbiggs, answered by Greg Hewgill (CC BY-SA 4.0)
Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"?JavaScript
I use
javascript:void(0).Three reasons. Encouraging the use of
#amongst a team of developers inevitably leads to some using the return value of the function called like this:function doSomething() { //Some code return false; }But then they forget to use
return doSomething()in the onclick and just usedoSomething().A second reason for avoiding
#is that the finalreturn false;will not execute if the called function throws an error. Hence the developers have to also remember to handle any error appropriately in the called function.A third reason is that there are cases where the
onclickevent property is assigned dynamically. I prefer to be able to call a function or assign it dynamically without having to code the function specifically for one method of attachment or another. Hence myonclick(or on anything) in HTML markup look like this:onclick="someFunc.call(this)"OR
onclick="someFunc.apply(this, arguments)"Using
javascript:void(0)avoids all of the above headaches, and I haven't found any examples of a downside.So if you're a lone developer then you can clearly make your own choice, but if you work as a team you have to either state:
Use
href="#", make sureonclickalways containsreturn false;at the end, that any called function does not throw an error and if you attach a function dynamically to theonclickproperty make sure that as well as not throwing an error it returnsfalse.OR
Use
href="javascript:void(0)"The second is clearly much easier to communicate.
From Stack Overflow: asked by 2cBGj7vsfp, answered by AnthonyWJones (CC BY-SA 3.0)
Why should a software QA engineer need to learn JavaScript?Test automation
Well, apart from the obvious answer like "QA engineer should learn JavaScript to be able to use TA frameworks which work with JavaScript" I would say that a QA engineer should learn JS because knowing even basic aspects of how JS works or how it is applied to Web development brings you to a new level of defect hunting.
Knowing basics of JS will let you:
- understand how dynamic and asynchronous UI is built
- troubleshoot different problematic cases when something is working in the different way than you expect and filter out the cases which are NaB
- catch the potential defects when everything is working fine but there are some error messages in JS console
- help your dev team to resolve the root-causes of your defects and gain your professional reputation
- inject some JS which would help you to test the app (e.g. putting some valuable info on the current client state to the browser's status bar or alert )
- test for vulnerabilities like XSS
- ...and many other funny things...
From Software Quality Assurance & Testing Stack Exchange: asked by Syrus, answered by Alexey R. (CC BY-SA 3.0)
What is the STAR method, and how do you use it to answer?Behavioural
Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.
What STAR stands for
- Situation - the situation you had to deal with
- Task - the task you were given to do
- Action - the action you took
- Result - what happened as a result of your action and what you learned from the experience
When to use STAR
You can use the STAR method in your:
- CV
- cover letter
- application form - usually in a further information section
- interview
How to use STAR
You can use the STAR method to structure the examples you give to questions, especially in interviews.
A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these.
It can help to look at common interview questions when preparing.
When using STAR, remember to:
- use examples that work for you - these could be from work, home or volunteering
- keep examples short and to the point
- try to get your points across in a conversational way so as not to appear too rehearsed
- be prepared to answer follow-up questions about the examples you give
Example 1 - leadership skills
Tell me about a time when you have shown leadership skills.
Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.
Task - my job was to find a way of getting more people to sign up.
Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.
Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.
Example 2 - teamwork
Tell me about a time you have worked as part of a team?
Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.
Task - my job was to work with the rest of the team to set up a bake sale to raise money.
Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.
Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.
Example 3 - problem solving
Give me an example of when you faced a problem at work. How did you handle it?
Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Research Engineer: Clinical Simulation & Agent EvalsLeague, Remote in Canada +1Today
- Senior Data Product EngineerPower Digital Marketing, Remote in Canada +1Today
- Staff Software EngineerOkta, Toronto, hybridYesterday
- Linux devices software engineer - snapdCanonical, Remote in Canada +1Yesterday
More like this: Software engineer jobs in Canada (369)




