Bug 236097 - [WinCairo] TypeError: The SVGElement.onload getter can only be used on instances of SVGElement in https://itogo.ru/
Summary: [WinCairo] TypeError: The SVGElement.onload getter can only be used on instan...
Status: RESOLVED DUPLICATE of bug 238030
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 12:26 PST by Fujii Hironori
Modified: 2022-03-23 12:44 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2022-02-03 12:26:08 PST
[WinCairo] TypeError: The SVGElement.onload getter can only be used on instances of SVGElement in https://itogo.ru/

Reported for Playwight:
  https://github.com/microsoft/playwright/issues/11837

1. Start WinCairo MiniBrowser
2. Go to https://itogo.ru/
3. Blank page

Web Inspector Console reports the following error.

TypeError: The SVGElement.onload getter can only be used on instances of SVGElement
onload
(anonymous function) — polyfills-es2015.95b7e487f432fff84d0d.js:1:18856
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:100451
forEach
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:100450
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:9029:293
_trySubscribe — main-es2015.e2684406aafab48f8b7f.js:58567
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560:184
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
_innerSub — main-es2015.e2684406aafab48f8b7f.js:60519
_tryNext — main-es2015.e2684406aafab48f8b7f.js:60512
_next — main-es2015.e2684406aafab48f8b7f.js:60500
next — main-es2015.e2684406aafab48f8b7f.js:59002
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:61568
_trySubscribe — main-es2015.e2684406aafab48f8b7f.js:58567
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560:184
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:59636
_trySubscribe — main-es2015.e2684406aafab48f8b7f.js:58567
subscribe — main-es2015.e2684406aafab48f8b7f.js:58560:184
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:16875
A — polyfills-es2015.95b7e487f432fff84d0d.js:1:24502
runInitializers — main-es2015.e2684406aafab48f8b7f.js:16874
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:17431
(anonymous function) — main-es2015.e2684406aafab48f8b7f.js:17422
onInvoke — main-es2015.e2684406aafab48f8b7f.js:17043
run — polyfills-es2015.95b7e487f432fff84d0d.js:1:8755
run — polyfills-es2015.95b7e487f432fff84d0d.js:1:8755
(anonymous function) — polyfills-es2015.95b7e487f432fff84d0d.js:1:23440
runTask — polyfills-es2015.95b7e487f432fff84d0d.js:1:9374
m — polyfills-es2015.95b7e487f432fff84d0d.js:1:15969
invokeTask — polyfills-es2015.95b7e487f432fff84d0d.js:1:15048
g — polyfills-es2015.95b7e487f432fff84d0d.js:1:26841
y — polyfills-es2015.95b7e487f432fff84d0d.js:1:27157
Comment 1 Fujii Hironori 2022-02-06 21:22:11 PST
comment#0 is tested with WinCairo r287971.
WinCairo r289048 reports the following.

[Error] TypeError: The Document.onload getter can only be used on instances of Document — polyfills-es2015.95b7e487f432fff84d0d.js:1:18856
	(anonymous function) (main-es2015.816250ffaef98877a738.js:1:973050)
	(anonymous function) (main-es2015.816250ffaef98877a738.js:1:2882916)
	run (polyfills-es2015.95b7e487f432fff84d0d.js:1:8755)
	(anonymous function) (main-es2015.816250ffaef98877a738.js:1:364079)
	onInvoke (main-es2015.816250ffaef98877a738.js:1:357451)
	run (polyfills-es2015.95b7e487f432fff84d0d.js:1:8755)
	(anonymous function) (polyfills-es2015.95b7e487f432fff84d0d.js:1:23440)
	onInvokeTask (main-es2015.816250ffaef98877a738.js:1:357271)
	runTask (polyfills-es2015.95b7e487f432fff84d0d.js:1:9374)
	m (polyfills-es2015.95b7e487f432fff84d0d.js:1:15969)
	invokeTask (polyfills-es2015.95b7e487f432fff84d0d.js:1:15048)
	g (polyfills-es2015.95b7e487f432fff84d0d.js:1:26841)
	y (polyfills-es2015.95b7e487f432fff84d0d.js:1:27157)
Comment 2 Fujii Hironori 2022-02-06 22:27:45 PST
Old WinCairo binaries can load the page.

r272293 OK
r273306 Blank page
Comment 3 Fujii Hironori 2022-02-14 11:57:03 PST
Debug build of WinCairo can load the page.
This seems a bug only of Release build.
I tested Release and Debug builds of WinCairo trunk r289516.
Comment 4 Fujii Hironori 2022-03-18 00:23:46 PDT
I confirmed Debug build of WinCairo (64bit) compiled by clang-cl can load the page successfully,
but Release build reports the same error.
I used attachment#455038 [details] patch to compile with clang-cl.
See also: Bug 238030
Comment 5 Fujii Hironori 2022-03-21 19:22:53 PDT
This issue might be same with Bug 238180.
Comment 6 Fujii Hironori 2022-03-23 12:44:06 PDT
This is fixed by r291756.

*** This bug has been marked as a duplicate of bug 238030 ***