New issue
Advanced search Search tips

Issue 875743 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 812297
Owner: ----
Closed: Aug 20
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Name and icon from the manifest not getting displayed when payment handler installed from an iframe which is in another domain.

Reported by rakhila....@gmail.com, Aug 20

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. The name and icon from the web app manifest is not getting displayed when payment handler installed from an iframe which is another domain. It is displayed only when the payment handler is installed from the top-level context. 

What is the expected behavior?
The name and icon from the web app manifest should get displayed when payment handler installed from an iframe which is another domain.

What went wrong?
The name and icon from the web app manifest is not getting displayed when payment handler installed from an iframe which is another domain. It is displayed only when the payment handler is installed from the top-level context.

Top level page is in domain – http://www.xyz.com
Manifest json and service worker are in different domain: https://www.abc .com
Manifest json URL - https://www.abc .com/manifest.json
Service worker URL - https://www.abc .com/sw.js

Top level page includes the iframe to install service worker and the link tag for manifest json.
Eg: http://www.xyz.com/index.html
<!doctype html>
<meta charset="utf-8">
<title>Toplevel</title>
<link rel="manifest" href=" https://www.abc .com/manifest.json">
<head></head>
<body>
<iframe src=" https://www.abc .com/installer.html" allowpaymentrequest></iframe>
</body>

Manifest json file looks like:
{
  "name": "Payment ABC",
  "icons": [   {
      "src": "icon.png",
      "sizes": "600x600",
      "type": "image/png"   }  ],
  "serviceworker": {
    "src": " sw.js",
    "use_cache": false
  }
}

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 69.0.3481.0  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Labels: Needs-Triage-M69
Mergedinto: 812297
Status: Duplicate (was: Unconfirmed)
Thank you for the report, this seems like a duplicate of issue 812297.

Sign in to add a comment