mozilla / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
174 stars 276 forks source link

Test path resolution of post message transport messages #260

Open gideonthomas opened 9 years ago

gideonthomas commented 9 years ago

We use some very complex regex strings in PostMessageTransport.js which are very fragile.

We need to test them so that they do not match unnecessary portions in a message and replace them with something unwanted, thus corrupting the message string.

We will need to find out all possible variations of messages that are sent and received using post message and create tests for the path resolution algorithm based on them.

humphd commented 9 years ago

I suggest we move this out of the current milestone, unless you get everything done and need more to do.