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

Dartpad on Safari doesn't show flutter #2963

Closed
camfrandsen opened this issue May 11, 2024 · 2 comments
Closed

Dartpad on Safari doesn't show flutter #2963

camfrandsen opened this issue May 11, 2024 · 2 comments

Comments

@camfrandsen
Copy link

This was working earlier this week on Wednesday, May 8th. I noticed it not working yesterday, May 9th.

When I try to run any flutter code in dartpad, it doesn't show anything.

What happened?

When I attempt to run any flutter code, it says it compiles, but then shows nothing. This does work in the other browsers though. I will also note that pure dart code also runs just fine.

Steps to reproduce problem

The code that I am attempting to run is the code that is generated when you click New -> flutter.

This is very reproducible, and have reproduced it on two different machines running safari. (a laptop and a Mac mini) All you have to do is try to run flutter code.

Additional info

Browser

Browser: Safari

Version: Version 17.4.1 (19618.1.15.11.14)

Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?

Not using any extensions

Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:

[Error] Not allowed to load local resource: blob://nullnull/main.dart.js.map
[Error] Not allowed to request resource
[Error] Cannot load blob://nullnull/main.dart.js.map due to access control checks.

Machine

Operating system: Mac

Version: 14.4.1 (23E224)

Your code

What code was in the editor, if any, when the failure occurred? You
can paste it in below:

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: Text('Hello, World!'),
        ),
      ),
    );
  }
}

DartPad's output

Did DartPad print anything to the console pane? If so, paste it below:
None

If you were running Flutter code, you can also paste an image of the
Flutter output directly into this bug report.
None

Screen.Recording.2024-05-10.at.8.54.21.PM.mov
@joodo
Copy link

joodo commented May 13, 2024

Same problem on macOS and Firefox 125.0.3

@johnpryan
Copy link
Contributor

Thanks for filing an issue, this is fixed by #2965

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants