Bug 220039 - Unable to log to console from Audio Worklet processor
Summary: Unable to log to console from Audio Worklet processor
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-19 09:58 PST by Richard Newman
Modified: 2022-05-01 14:51 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Newman 2020-12-19 09:58:43 PST
I tested with a little chunk of code like

```
  console.info('XXX');
  this.port.postMessage({ message: 'yo' });
```

in an AudioWorklet constructor. The `postMessage` arrives in the page, but the console logging does not appear in the browser console.

This works in both Firefox and Chrome.

This makes for a pretty aggravating developer experience when Safari's Audio Worklet is not out-of-the-box at parity with major browsers (see e.g., Bug 220038).
Comment 1 Richard Newman 2020-12-19 10:00:13 PST
Tested in Safari Technology Preview (117, WebKit 15611.1.7.2).
Comment 2 Radar WebKit Bug Importer 2020-12-22 12:24:04 PST
<rdar://problem/72596373>