[Bug 21696] add onbefore(copy|cut|paste) tests

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21696

Hallvord R. M. Steen <hsteen@mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Hallvord R. M. Steen <hsteen@mozilla.com> ---
Done. (Won't link to tests because the test suite is auto-generated, meaning
that the URLs are in flux)

Tests will basically be written like this:

document.onbeforecopy = function(){return true;}
function test(e){
    result('UI test: passes if "copy" menu UI state is enabled');
}

..now, I know this doesn't actually work in IE (before* event support is
actually *very* limited in IE). I think it would be nicer and more usable if
before* events worked this way, so that's what I'm currently spec'ing.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 21 January 2014 00:31:41 UTC