|
isTrusted is incorrect for events generated by Element.click()
A click generates a SimulatedMouseEvent which always was a trusted event.
This didn't match what FireFox was providing (but did match IE). The
decision has been made to match what FF is doing.
BUG= 334015
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200401
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+33 lines, -22 lines) |
Patch |
|
M |
LayoutTests/fast/events/event-trusted.html
|
View
|
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/event-trusted-expected.txt
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/SimulatedClickOptions.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/EventDispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/EventDispatcher.cpp
|
View
|
1
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.cpp
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLElement.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLElement.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/CustomContextMenuProvider.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|