750
edits
No edit summary |
|||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= | = Web Console/ConsoleObjectCompletion = | ||
; Console Object Completion is a feature integrated into the Web Console (named generically 'sub-feature') therefore the testing approach will be similar and in interaction with the main feature. | |||
== General info/Overview == | == General info/Overview == | ||
This feature tracks work that was originally blended into the [[DevTools/Features/WebConsole7|WebConsole7]] feature, but not completed for Firefox 7. | |||
When the Web Console shipped with Firefox 4, it provided the first <tt>console</tt> object to be always available to content in Firefox. It provided enough of the <tt>console</tt> object to be useful (console.log being by far the most popular method on the object). However, it was still lacking in features that developers commonly use. | |||
|Feature users and use cases=You can open up the Web Console and type <tt>console.dir(window)</tt> and see a set of properties and values from the window object in the console object. | |||
In a JavaScript program, you can use <tt>console.group</tt> and <tt>console.groupEnd</tt> to visually group together related log messages. | |||
|Feature requirements=* The <tt>console</tt> object implements the portion of [http://getfirebug.com/wiki/index.php/Console_API the API] that is implemented by both Firebug and WebKit. Notably, this includes time, timeEnd, dir, group and groupEnd. | |||
== Feature page == | == Feature page == | ||
[https://wiki.mozilla.org/DevTools/Features/ConsoleObjectCompletion https://wiki.mozilla.org/DevTools/Features/ConsoleObjectCompletion] | |||
== Tracking bug == | == Tracking bug == | ||
; | ; Tracking bug is divided for this feature, meaning | ||
;; {{bug|658368}} for time/timeEnd | |||
;; {{bug|664131}} for group/groupEnd | |||
== Feature status == | == Feature status == | ||
Line 26: | Line 35: | ||
== Team == | == Team == | ||
; Team members | ; Team members | ||
* Development | * ''Development :'' Kevin Dangoor, Panos Astithas | ||
* Security | * Security | ||
* QA | * ''QA :'' Vlad Maniac (irc: vladmaniac) | ||
* Contributors | * ''Contributors :'' AlexLakatos (irc: AlexLakatos) | ||
* Other members | * Other members | ||
== Builds == | == Builds == | ||
; Available builds | ; Available builds : feature is landed in Firefox 10 | ||
;; [ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/ '''DOWNLOAD BUILDS''' - latest-mozilla-aurora] | |||
;; [http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ '''DOWNLOAD BUILDS''' - latest-mozilla-nightly] | |||
; Mochitests available (link to mochitests and what has been covered by mochitests) | ; Mochitests available (link to mochitests and what has been covered by mochitests) | ||
Line 40: | Line 51: | ||
=== Prerequisites === | === Prerequisites === | ||
; Environment needed | ; Environment needed | ||
* Firefox clean build with new profile [http://kb.mozillazine.org/Profile_manager How To?] | |||
* Firefox 'dirty' profile | |||
; Settings | ; Settings | ||
* No extra settings needed | |||
; Preparations for test | ; Preparations for test | ||
* No extra preparations needed | |||
; Areas planned to be covered by testing | ; Areas planned to be covered by testing | ||
* Functional | |||
; Areas that will not be covered by testing (not in scope) | ; Areas that will not be covered by testing (not in scope) | ||
* Automation | |||
=== Use cases === | === Use cases === | ||
; | ; group/groupEnd | ||
console.group(object[, object, ...]) | |||
Writes a message to the console and opens a nested block to indent all future messages sent to the console. Call console.groupEnd() to close the block. | |||
console.groupCollapsed(object[, object, ...]) | |||
Like console.group(), but the block is initially collapsed. | |||
console.groupEnd() | |||
Closes the most recently opened block created by a call to console.group() or console.groupCollapsed() | |||
; time/timeEnd | |||
console.time(name) | |||
Creates a new timer under the given name. Call console.timeEnd(name) with the same name to stop the timer and print the time elapsed.. | |||
console.timeEnd(name) | |||
Stops a timer created by a call to console.time(name) and writes the time elapsed. | |||
=== Focus on === | === Focus on === | ||
; | ; {{done|}} Functionality of console.group(), console.groupEnd(), console.time(), console.timeEnd() | ||
; {{ok|}}Corner cases | |||
* Optional, does not affect the sign-off criteria | |||
=== Bug queries === | === Bug queries === | ||
; | ; See the [http://mozilla.github.com/devtools/status/index.html#consoleobj PROJECT STATUS PAGE] for feature bugs and dependencies | ||
=== Manual testing === | === Manual testing === | ||
; List of testcases and scenarios | ; List of testcases and scenarios | ||
* For this feature in particular, testcases can be identified with the use cases | |||
; Corner cases (optional) | ; Corner cases (optional) | ||
; Exploratory testing | ; Exploratory testing | ||
=== Automation === | === Automation === | ||
; | ; NOT COVERED | ||
=== Results === | === Results === | ||
; Platform | ; {{done|}} '''Basic Functionality''' | ||
* PASS | ;; Platform | ||
; Comments/Unreproducible issues | * Windows PASS | ||
* Linux PASS | |||
* Mac PASS | |||
;; Comments/Unreproducible issues | |||
* none so far | |||
; {{ok|}} '''Corner cases''' | |||
;; Logged issues as a result of corner cases | |||
* '''{{bug|713197}}''' | |||
=== Sign-off === | === Sign-off === | ||
; sign-off criteria | ; sign-off criteria | ||
* Sign off criteria for merge (Aurora -> Beta) | * Sign off criteria for merge (Aurora -> Beta) | ||
** | ** Callback of console.group and console.time functions echo desired result | ||
** Basic functionality requirements are addressed | |||
; '''SIGNED - OFF''' | |||
* Sign off criteria for release (Beta -> Released) | * Sign off criteria for release (Beta -> Released) | ||
** | ** Callback of console.group and console.time functions echo desired result | ||
** Basic functionality requirements are addressed | |||
** Testing coverage of all situations/scenarios cause no blocker bugs | |||
; ''pending'' |
edits