Copying Popcorn code to Thimble editor & publishing leads to broken webpage

RESOLVED INVALID

Status

Webmaker
Thimble
RESOLVED INVALID
6 years ago
5 years ago

People

(Reporter: lsblakk, Unassigned)

Tracking

Details

STR:

1. Go to Popcorn maker (from Tools on the Summer Code Party page)
2. Take the code for the pop-up video (http://maker.mozillapopcorn.org/templates/supported/popup/#)
3. Paste into thimble editor (start a project from scratch) https://thimble.webmaker.org/p/0ir/edit

Expected results:
Both the thimble editor and the published web site show the video with popups

Actual results:
The thimble editor viewer shows the video and the published page is broken (shows the javascript on the page, doesn't display video):
https://thimble.webmaker.org/p/0ir

Updated

5 years ago
Component: General → Thimble
Product: Thimble → Webmaker

Comment 1

5 years ago
that's intentional. you should have seen a massive red marker with an exclamation point that, if you clicked on it, would have told you javascript is not currently allowed in thimble. Publishing would have told you the same thing (warning you that the page would not look the way you think it will because it contains errors).
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.