Closed Bug 1080361 Opened 6 years ago Closed 6 years ago
State Error when set Pointer Capture was invoke on element from alien document tree
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140825202822 Steps to reproduce: Test assertion 13.4 Expected results: If the Element on which this method is invoked does not participate in its ownerDocument's tree, throw an exception with the name InvalidStateError.
Add check for correct detecting element in DOM tree in setPointerCapture function
OS: Windows 8 → All
Hardware: x86_64 → All
Attachment #8502459 - Flags: feedback?(mbrubeck) → feedback+
Comment on attachment 8502459 [details] [diff] [review] invalid_state_error_ver1.diff A test would be nice (and since this is a tiny change, you could just add the test to some existing test file).
Attachment #8502459 - Flags: review?(bugs) → review+
+ Test. Several tests for check several exception in setPointerCapture function
Test without patch: https://tbpl.mozilla.org/?tree=Try&rev=a92dfb2a4c58 Test with patch: https://tbpl.mozilla.org/?tree=Try&rev=c5d23d65b4d0
+ Changes: Repair wrong variable name
Test without patch: https://tbpl.mozilla.org/?tree=Try&rev=fd769912ee5a Tests with patch: https://tbpl.mozilla.org/?tree=Try&rev=e654a4c3681d
Attachment #8504768 - Flags: feedback?(mbrubeck) → feedback+
If nobody have objections, I put checkin flag.
Assignee: nobody → alessarik
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.