Modified: branches/safari-613-branch/LayoutTests/platform/gtk/inspector/timeline/line-column-expected.txt (292322 => 292323)
--- branches/safari-613-branch/LayoutTests/platform/gtk/inspector/timeline/line-column-expected.txt 2022-04-04 21:54:46 UTC (rev 292322)
+++ branches/safari-613-branch/LayoutTests/platform/gtk/inspector/timeline/line-column-expected.txt 2022-04-04 21:54:49 UTC (rev 292323)
@@ -8,50 +8,7 @@
PASS: Capturing started.
{
"startTime": "<filtered>",
- "stackTrace": [
- {
- "functionName": "click",
- "url": "[native code]",
- "scriptId": "<filtered>",
- "lineNumber": 0,
- "columnNumber": 0
- },
- {
- "functionName": "willCallFunctionTest",
- "url": "timeline/line-column.html",
- "scriptId": "<filtered>",
- "lineNumber": 26,
- "columnNumber": 44
- },
- {
- "functionName": "global code",
- "url": "",
- "scriptId": "<filtered>",
- "lineNumber": 1,
- "columnNumber": 21
- },
- {
- "functionName": "evaluateWithScopeExtension",
- "url": "[native code]",
- "scriptId": "<filtered>",
- "lineNumber": 0,
- "columnNumber": 0
- },
- {
- "functionName": "",
- "url": "",
- "scriptId": "<filtered>",
- "lineNumber": 142,
- "columnNumber": 97
- }
- ],
- "data": {},
"frameId": "<filtered>",
- "type": "ScheduleStyleRecalculation"
-}
-{
- "startTime": "<filtered>",
- "frameId": "<filtered>",
"data": {
"type": "click",
"defaultPrevented": false
Modified: branches/safari-613-branch/Source/WebCore/dom/SimulatedClick.cpp (292322 => 292323)
--- branches/safari-613-branch/Source/WebCore/dom/SimulatedClick.cpp 2022-04-04 21:54:46 UTC (rev 292322)
+++ branches/safari-613-branch/Source/WebCore/dom/SimulatedClick.cpp 2022-04-04 21:54:49 UTC (rev 292323)
@@ -95,7 +95,8 @@
if (mouseEventOptions != SendNoEvents)
simulateMouseEvent(eventNames().mousedownEvent, element, underlyingEvent, creationOptions);
- element.setActive(true, visualOptions == ShowPressedLook);
+ if (mouseEventOptions != SendNoEvents || visualOptions == ShowPressedLook)
+ element.setActive(true, true);
if (mouseEventOptions != SendNoEvents)
simulateMouseEvent(eventNames().mouseupEvent, element, underlyingEvent, creationOptions);
element.setActive(false);