It's pretty simple: Clear intellectual properties, e.g. make sure it's all your own...
Developer Documentation
WebKit and Adobe Contributions