Automattic / Automattic/google-docs-add-on

Clicking (?) in the Add-on's footer doesn't open the link

Open
#132 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
169
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Description
------------------

Clicking the (?) in the footer of the Add-on window doesn't do anything and produces an error in Chrome Console:

```
Unsafe attempt to initiate navigation for frame with origin 'https://docs.google.com' from frame with URL 'https://n-iuogkxbn2sa775flbhawthhj7aunrmf3qvds76a-0lu-script.googleusercontent.com/userCodeAppPanel'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set.
```

![image](https://user-images.githubusercontent.com/39308239/123101236-7fab6f80-d43c-11eb-808d-c4e3327aa518.png)

https://user-images.githubusercontent.com/39308239/123101082-5b4f9300-d43c-11eb-9ab8-57aa36be46aa.mov

Device information
------------------

* Device: MacBook Pro (16-inch, 2019)
* Operating system: macOS Big Sur 11.4
* Browser: Chrome 91

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by opening the add-on window and clicking the (?) footer link, while watching the Chrome Console for the reported sandbox navigation error. Trace the footer link's navigation behavior in the add-on, then verify that the link opens successfully without producing the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.