B2G/QA/WebAPI Test Plan/TimeClock

< B2G‎ | QA‎ | WebAPI Test Plan
Revision as of 21:47, 21 September 2012 by Mw22 (talk | contribs) (Created page with "=B2G Contacts API Test Plan= == Summary == {| class="fullwidth-table" |- | style="width:28%" | '''Lead''' | [mailto:mwargers@mozilla.com Martijn Wargers] (irc: mw22) |- | '...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

B2G Contacts API Test Plan

Summary

Lead Martijn Wargers (irc: mw22)
Contributors TBD
API Description Provides read/write DOM API access to the device address book, and the contacts contained therein.
API Developer Steven Lee
API Project Page
API Tracking Bugs bug 714358
API Status Delivered and ready for test

Scope

This test plan covers functional testing of the Time API as delivered for Boot2Gecko.

Strategy

Time API tests can be added to Mochitest, they seem to be only working on b2g.

API

Time API is part of the nsIDOMNavigator interface, when the "dom.mozContacts.enabled" preference is set to true.

nsIDOMNavigator (subset)

Attributes

  • readonly attribute nsIDOMMozTimeManager mozTime;
    • interface nsIDOMMozTimeManager : nsISupports
      • [implicit_jscontext] void set(in jsval time);
  • window.onmoztimechange

Tests

Marionette/JS

mochitest-plain

Sanity Tests

Basic Negative Tests

Test App Design


This page is based on the WebAPI Test Plan Template

URLS