External javascript sandboxing breaks PrototypeJS

Not reproducible Issue #4274652


Aug 18, 2015
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Build website that pulls in external javascript. Then try to do a .toString on a function in that external javascript.

This is seen with PrototypeJS. Build an external javascript file that has prototype included and then try to make a class, and then make a subclass. When trying to instantiate the subclass it will not work.

Expected Results:

Expected behavior is to be able to .toString a function and get the string representation back.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Christian F.”

      Changed Assigned To from “Christian F.” to “Justin R.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Steve B.”

      Changed Assigned To from “Steve B.” to “IE S.”

      Changed Status

      Changed Assigned To to “Steve B.”

      Changed Status

      Changed Assigned To from “Steve B.” to “Jeff W.”

    • Link to original IEFeedback bug with some additional commentary: https://connect.microsoft.com/IE/feedback/details/1680728

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

    • Well, this bug got lost in bug purgatory for a while. :(

      Now that it has escaped and made its way to me, I can’t repro this myself, either by trying the suggested steps in the original report, or by using the OkCupid URLs (the URLs aren’t dead).  I’ve tested on TH1/TH2/RS2/RS3 versions of Edge, and all of them appear in working order with regard to this issue.  So, either I’m missing something obvious, or we serviced a fix for this at some point after shipping TH1.

      If someone is indeed still seeing this broken, please send this bug back my way, as I’d love to take a look.  Make sure to include current repro steps! :)

      Attempted code (from non-okccdn.com, obviously):
      <script src="//includes.okccdn.com/lang/en/version/000/prototype-1.7.js"></script>
      Ajax.Request.toString(); // “function klass() { this.initialize.apply(this, arguments); }”

    You need to sign in to your Microsoft account to add a comment.

    Sign in