Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boxy-svg.com - site is not usable #88587

Closed
karlcow opened this issue Oct 1, 2021 · 5 comments
Closed

boxy-svg.com - site is not usable #88587

karlcow opened this issue Oct 1, 2021 · 5 comments
Labels
browser-firefox browser-safari engine-gecko The browser uses the Gecko rendering engine type-unsupported Doesn't support one or more browser
Milestone

Comments

@karlcow
Copy link
Member

karlcow commented Oct 1, 2021

URL: https://boxy-svg.com/app

Browser / Version: Firefox 94.0
Operating System: Mac OS X 10.15
Tested Another Browser: Yes Edge

Problem type: Site is not usable
Description: Browser unsupported
Steps to Reproduce:

  1. Go to https://boxy-svg.com/app

Expected:
Use the SVG editor

Actual:
Redirected to https://boxy-svg.com/requirements

This happens in https://boxy-svg.com/runtime/web-preload.js

which contains

(function() {
  var isSupportedBrowser = (
    window.customElements                        !== undefined &&
    window.customElements.define                 !== undefined &&
    window.requestIdleCallback                   !== undefined &&
    window.Animation                             !== undefined &&
    window.CSSStyleSheet                         !== undefined &&
    window.CSSStyleSheet.prototype.replaceSync   !== undefined &&
    window.DOMPoint                              !== undefined &&
    window.DOMRect                               !== undefined &&
    window.HTMLDialogElement                     !== undefined &&
    window.HTMLDialogElement.prototype.showModal !== undefined &&
    window.MutationObserver                      !== undefined &&
    window.PointerEvent                          !== undefined &&
    window.ResizeObserver                        !== undefined &&
    window.ShadowRoot                            !== undefined &&
    window.CSS                                   !== undefined &&
    window.CSS.supports("color", "var(--test)")                &&
    window.CSS.supports("d", "path('M 0 0 H 10')")
  );

  if (isSupportedBrowser === false) {
    window.location.replace("/requirements");
  }
  else {

}

The part which fails is

window.CSSStyleSheet.prototype.replaceSync which is behind a pref in about:config on Firefox Nightly 94.

This fails too in Safari Tech Preview, which has no support at all.
For Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1613746

View the screenshot Screenshot
Browser Configuration
  • gfx.webrender.all: false
  • gfx.webrender.blob-images: true
  • gfx.webrender.enabled: false
  • image.mem.shared: true
  • buildID: 20210930095024
  • channel: nightly
  • hasTouchScreen: false
  • mixed active content blocked: false
  • mixed passive content blocked: false
  • tracking content blocked: false

View console log messages

From webcompat.com with ❤️

@webcompat-bot webcompat-bot added this to the needstriage milestone Oct 1, 2021
@webcompat-bot webcompat-bot added browser-firefox engine-gecko The browser uses the Gecko rendering engine labels Oct 1, 2021
@karlcow
Copy link
Member Author

karlcow commented Oct 1, 2021

Close as duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1613746

@karlcow karlcow modified the milestones: needstriage, duplicate Oct 1, 2021
@karlcow karlcow closed this as completed Oct 1, 2021
@karlcow
Copy link
Member Author

karlcow commented Oct 1, 2021

@karlcow
Copy link
Member Author

karlcow commented Oct 1, 2021

I didn't find a webkit bug for it.
so I opened one.
https://bugs.webkit.org/show_bug.cgi?id=231054

@karlcow
Copy link
Member Author

karlcow commented Oct 1, 2021

for Safari it will be a bit harder to solve. These are all missing.

window.requestIdleCallback
window.CSSStyleSheet.prototype.replaceSync
window.HTMLDialogElement                    
window.HTMLDialogElement.prototype.showModal
window.CSS.supports("d", "path('M 0 0 H 10')")

@karlcow
Copy link
Member Author

karlcow commented Oct 1, 2021

For Safari

@karlcow karlcow added the type-unsupported Doesn't support one or more browser label Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-firefox browser-safari engine-gecko The browser uses the Gecko rendering engine type-unsupported Doesn't support one or more browser
Projects
None yet
Development

No branches or pull requests

2 participants