This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21273 - Multiviewer shared worker example seems broken
Summary: Multiviewer shared worker example seems broken
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 18:39 UTC by Alexey Proskuryakov
Modified: 2013-04-13 06:26 UTC (History)
2 users (show)

See Also:


Attachments

Description Alexey Proskuryakov 2013-03-13 18:39:00 UTC
http://www.whatwg.org/demos/workers/multiviewer/page.html

I get an exception opening it in Safari, and the example is dysfunctional.

worker.js:47 TypeError: 'undefined' is not an object (evaluating 'event.port._data')

Should it be event.ports[0]._data?
Comment 1 Ian 'Hixie' Hickson 2013-04-13 06:26:41 UTC
(turns out that wasn't the only problem... it's hard to write code when you can't run it!)