github / github/browser-support

Github action views deliver less content to Firefox and Chrome than Safari

未關閉
#55 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
165
分支
43
平均合併
1 天 18 小時
30 天內合併 PR
2

描述

This is probably the wrong repo, but I'm at a loss, and have to use safari now.

Trying to view the results of https://github.com/rancher/webhook/actions/runs/9473749556/job/26101987673 I can see 3 lines in Safari at the start of the run, including the syntax error in the runner which is why the job is permanently queued. But I don't see those lines in either Firefox or Chrome (all on macOS), do see them on Firefox on Ubuntu.

## Safari (no bug):

Using the browser extensions, in Safari the key elements are:

```
div: class="uxr_CheckRun-header CheckRun-header mb-2 d-flex flex-justify-between flex-items-center mb-1 py-3 pr-3 js-checks-log-toolbar rounded-top-0 rounded-md-top-1 pl-3 pl-md-4"

nextSibling:
div: class="position-relative js-full-logs-container WorkflowRunLogsScroll"

child:
div: class="text-mono text-small py-1 my-2 mx-2 js-check-run-log-display-container"

child:
bunch of divs and spans leading to text like
Requested labels: org-9343010-{{ arch }}-k8s

```

## In Firefox, I see this instead:

```
div: uxr_CheckRun-header CheckRun-header mb-2 d-flex flex-justify-between flex-items-center mb-1 py-3 pr-3 js-checks-log-toolbar rounded-top-0 rounded-md-top-1 pl-3 pl-md-4

nextSibling:
div: position-relative js-full-logs-container WorkflowRunLogsScroll

child:
div: js-check-run-log-display

child:


```
... notice the empty element

## Chrome:

I get the same behavior happening on Chrome.

This might be a case of "doesn't work on my machine". I see the helpful text on ubuntu/firefox.

I'm not running any extensions that mess with the DOM.

Any ideas?

貢獻指南

開啟貢獻指南

研究方向

首先在 macOS 上使用 Safari、Firefox 和 Chrome 重現連結的 GitHub Actions 工作,然後將日誌 DOM 與 Ubuntu 上的 Firefox 進行比較。調查為什麼日誌容器只有在 macOS 上的 Firefox 和 Chrome 中是空的。完成的標準是找出可重現的瀏覽器支援原因,並透過跨瀏覽器驗證記錄或修正該行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
frontend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。