Commit f9ee6fd
committed
Edge:evaluate deadlock fix #1466
This commit cotributes to replicating the behaviour of Edge:evaluate as
it is in WebKit - it must not wait for the execution of script to obtain
the result, in case evaluate is called inside a WebView callback. This
commit also makes sure that OpenWindowListeners are execute
synchronously or asynchronously depending on if the
handleNewWindowRequested is called from the evaluate script. Moreover,
this enables all the tests which were failing because of Edge:evaluate
limitations.
contributes to
#1771 and #19191 parent 0fe4a76 commit f9ee6fd
File tree
2 files changed
+30
-10
lines changed- bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser
- tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit
2 files changed
+30
-10
lines changedLines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
906 | 907 | | |
907 | 908 | | |
908 | 909 | | |
909 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
910 | 917 | | |
911 | 918 | | |
912 | | - | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
913 | 925 | | |
914 | 926 | | |
915 | 927 | | |
| |||
1319 | 1331 | | |
1320 | 1332 | | |
1321 | 1333 | | |
1322 | | - | |
| 1334 | + | |
1323 | 1335 | | |
1324 | 1336 | | |
1325 | 1337 | | |
| |||
1355 | 1367 | | |
1356 | 1368 | | |
1357 | 1369 | | |
1358 | | - | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
1359 | 1385 | | |
1360 | 1386 | | |
1361 | 1387 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | 748 | | |
750 | 749 | | |
751 | 750 | | |
| |||
1578 | 1577 | | |
1579 | 1578 | | |
1580 | 1579 | | |
1581 | | - | |
1582 | | - | |
1583 | 1580 | | |
1584 | 1581 | | |
1585 | 1582 | | |
| |||
1628 | 1625 | | |
1629 | 1626 | | |
1630 | 1627 | | |
1631 | | - | |
1632 | | - | |
1633 | 1628 | | |
1634 | 1629 | | |
1635 | 1630 | | |
| |||
2189 | 2184 | | |
2190 | 2185 | | |
2191 | 2186 | | |
2192 | | - | |
2193 | 2187 | | |
2194 | 2188 | | |
2195 | 2189 | | |
| |||
0 commit comments