QA/Firefox3.5/HTML 5 Drag and drop API
From MozillaWiki
< QA | Firefox3.5(Redirected from QA/Firefox3.1/HTML 5 Drag and drop API)
- Feature HTML 5 Drag and Drop API Test Plan
- First draft created 9-12-08
Owner: jmaher@mozilla.org
Overview
HTML Drag and Drop is a new feature for firefox (IE & Safari already have this) which allows you to drag data from one location in a web page to another location. You can move or copy the data. Normally this will be done with a mouse where the mouse down event would signal the Drag and Drop code, the mouse move events would be handled, and the mouse up event would signal the Drop code.
Test Strategy
- General Testing
- Data types
- Selected text
- image (draggable by default)
- href (draggable by default)
- Unicode text
- Table
- Audio/Video
- No Data
- Div
- Data source locations / destinations
- Move from http to http
- Move from https to https
- Move from http to https
- Move from https to http
- Move from one tab to another tab
- Move from one window to another window
- Types of Drag and Drop
- Copy
- Move
- Link
- Cancel / None
- Other tests
- Cancel during a move
- restricting permissions (drag data into a non editable area)
- using other keys such as CTRL/ALT/SHIFT to create
- Screen refresh while moving data
- Large amounts of data (10M of data from one element to another)
- drag data which is updating, drop and you should get old data dropped
- Data types
- Negative Testing
- moving an invalid data type
- TODO: investigate internal errors that can occur
- Interop with other Firefox features
- cut and paste
- clipboard
- bookmarks
- Application Compatibility
- cut and paste
- Areas Covered by Developer Testing
- Browser Chrome Tests for: https://bugzilla.mozilla.org/show_bug.cgi?id=356295
The majority of the tests will be done with mochitests, but some will be in litmus (since we need to test interaction with other programs)
Schedule Scoping
- ready to test as of Sept 10
- will take about 2 days to develop litmus/mochitests
References
- WhatWG HTML5 Spec: http://www.whatwg.org/specs/web-apps/current-work/#dnd
- Neil's Blog Post: http://www.xulplanet.com/ndeakin/item/16
- Mozilla Documentation: http://developer.mozilla.org/En/DragDrop/Drag_and_Drop
- Relevant Bugs
- https://bugzilla.mozilla.org/show_bug.cgi?id=356295 - Drag and Drop (WHATWG)
- Open Bugs
- none
Testcases already added to Litmus
- none