www.eyebuydirect.ca - Paypal button does not work
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(firefox126 affected, firefox128 affected)
People
(Reporter: ctanase, Assigned: twisniewski)
References
(Blocks 1 open bug, )
Details
(Keywords: leave-open, webcompat:needs-diagnosis, webcompat:sitepatch-applied)
User Story
platform:windows,mac,linux,android impact:workflow-broken configuration:general affects:all
Attachments
(2 files)
Environment:
Operating system: Linux / Windows 10
Firefox version: Firefox 126/128
Steps to reproduce:
- Go to https://www.eyebuydirect.ca
- Add a product to the cart.
- Access the cart.
- Click on the Paypal button.
Expected Behavior:
A new window redirecting to paypal opens.
Actual Behavior:
Nothing happens.
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in Firefox Nightly, Firefox Release
- Does not reproduce in Chrome
Created from https://github.com/webcompat/web-bugs/issues/137777
Reporter | ||
Comment 1•8 months ago
|
||
Reporter | ||
Updated•8 months ago
|
Updated•8 months ago
|
Comment 2•3 months ago
•
|
||
I see the following in the console:
Uncaught Error: zoid destroyed all components
e https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
o https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
Ne https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
all https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
xu https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
value https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
value https://www.paypal.com/sdk/js?client-id=AXSBliolnV_Tf2Gn8x9EV3dabvIY4CDblp7cKFSpcb1MW76iGeOyTZ-7bo2RV7_KCbgNBxmmgSodcnHE&components=messages:2
<anonymous> https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:3
<anonymous> https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:3
t https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:3
<anonymous> https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:3
<anonymous> https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:3
<anonymous> https://www.paypal.com/sdk/js?client-id=AZFOmmmaLmWxhicfDY-NczizVmm-Ny2yDGJcAy1oSM0d4tTmCHCUTOAzIddVQTJl2_8WNUJj7N09D1zQ&intent=capture&components=buttons,funding-eligibility¤cy=CAD&commit=false:4
Comment 3•3 months ago
|
||
Chrome mask doesn't fix it
Comment 4•3 months ago
|
||
Two different versions of https://www.paypal.com/sdk/js are being loaded that might be contributing to the weird situation
Updated•3 months ago
|
Assignee | ||
Updated•3 months ago
|
Comment 5•3 months ago
|
||
Reduced test-case: https://iridescent-road-theory.glitch.me/
Clicking the green square should sow an alert(). It seems opacity: 0
, which they're using to hide the paypal button while showing a background, is breaking the hit-testing of the iframe. This is only if it's a fission iframe, on the same origin it works: https://crisal.io/tmp/fission-hit-testing.html
Source, for reference:
<!doctype html>
<style>
iframe {
width: 100px;
height: 100px;
border: 0;
}
#container {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<div id="container">
<div style="opacity: 0; z-index: 1;">
<iframe src="https://crisal.io/tmp/fission-iframe-hit-testing-inner.html"></iframe>
</div>
</div>
Not sure if it's Core: Web Painting or APZ. This seems very similar to bug 1923513
Assignee | ||
Comment 6•3 months ago
|
||
If it helps, while writing an automated test-case for a site-patch here, which uses windowUtils.sendNativeMouseEvent
to click on the element, I noticed that the mouse events are fired not on the PayPal button's iframe, but the underlying top-level frame.
Assignee | ||
Comment 7•3 months ago
|
||
Updated•3 months ago
|
Comment 9•3 months ago
|
||
bugherder |
Assignee | ||
Updated•3 months ago
|
Comment 11•2 months ago
|
||
There is a reduced test-case in comment 5 fwiw. Not sure this needs further diagnosis? It seems like a display list / hit testing / APZ bug to me.
Comment 12•2 months ago
|
||
If it only happens with a fission iframe, apz is more likely to be involved, cc'ing botond and hiro.
Comment 13•2 months ago
|
||
Based on a quick look at display list dumps, it looks like a Web Painting issue to me. I'll file a dependent webcompat:platform-bug for the reduced testcase with some more details.
Comment 14•2 months ago
|
||
(In reply to Botond Ballo [:botond] from comment #13)
Based on a quick look at display list dumps, it looks like a Web Painting issue to me. I'll file a dependent webcompat:platform-bug for the reduced testcase with some more details.
I filed bug 1933851 with display list dumps demonstrating that the hit-testing issue stems from display list building not building a Remote
display item inside the Opacity
.
Comment 15•2 months ago
|
||
Patch posted to bug 1933851 for the underlying problem.
Description
•