Steps to replicate this issue:
Using Firefox 28 or 33 on Ubuntu:
- Visit the polymer elements documentation and click on the links in the left hand navigation.
- Visit the page for an individual element and attempt to dismiss the popup or navigate to another element.
- Visit the polymer designer tool.
Expected results:
When visiting the polymer elements documentation I expect to be able to use the navigation.
When visiting the documentation for an individual element I expect to be able to dismiss the demonstration. I also expect to be able to navigate to other elements.
When visiting the designer tool I expect to see more than a blank page.
Observed results:
The polymer elements documentation navigation links are entirely unresponsive. The console shows:
Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:53
"%cWelcome to Polymer!
%cweb components are the <bees-knees>" "font-size:1.5em;color:#4558c9;" "color:#d61a7f;font-size:1em;" app.js:361
The individual polymer element demo appears in a dialog and cannot be dismissed. The navigation links to other elements are entirely unresponsive. The console shiows:
Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:53
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol. demo.html
Loading mixed (insecure) display content on a secure page "http://www.polymer-project.org/images/logos/p-logo-16.png"[Learn More] browser.js:11952
Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:53
The learn more link goes to https://developer.mozilla.org/en-US/docs/Security/MixedContent
The polymer design page is entirely blank. The console shows:
Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. requestNotifier.js:53
SecurityError: The operation is insecure. data:%0A%20%20%20%20Polymer('github-element'%2C%20%7B%0A%20%20%20%20%20%20token%3A%20null%2C%0A%20%20%20%20%20%20message%3A%20''%2C%0A%20%20%20%20%20%20signedIn%3A%20false%2C%0A%20%20%20%20%20%20signingIn%3A%20false%2C%0A%0A%20%20%20%20%20%20ready%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20if%20(!this.token)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.token%20%3D%20window.localStorage%5B'github-element-token'%5D%20%7C%7C%20''%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20signingInChanged%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20this.%24%5B'signIn-screen'%5D.style.display%20%3D%20this.signingIn%20%3F%20'block'%20%3A%20'none'%3B%0A%20%20%20%20%20%20%20%20if%20(this.signingIn)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.%24%5B'github-token'%5D.focus()%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20tokenChanged%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20if%20(this.token)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.signedIn%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%20window.localStorage%5B'github-element-token'%5D%20%3D%20this.token%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.signedIn%20%3D%20false%3B%0A%20%20%20%20%20%20%20%20%20%20window.localStorage.clear()%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20this.github%20%3D%20new%20Github(%7Btoken%3A%20this.token%7D)%3B%0A%20%20%20%20%20%20%20%20%2F*%0A%20%20%20%20%20%20%20%20if%20(!this.signedIn)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.signIn()%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20*%2F%0A%20%20%20%20%20%20%20%20this.fire('token-changed')%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20toast%3A%20function(message)%20%7B%0A%20%20%20%20%20%20%20%20this.message%20%3D%20message%3B%0A%20%20%20%20%20%20%20%20this.fire('github-toast'%2C%20message)%3B%0A%20%20%20%20%20%20%20%20%2F*%0A%20%20%20%20%20%20%20%20if%20(this.message)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.clearMessage(3000)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20*%2F%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20clearMessage%3A%20function(delay)%20%7B%0A%20%20%20%20%20%20%20%20if%20(this.messageTimeout)%20%7B%0A%20%20%20%20%20%20%20%20%20%20clearTimeout(this.messageTimeout)%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20if%20(delay%20%3D%3D%3D%20undefined)%20%7B%0A%20%20%20%20%20%20%20%20%20%20delay%20%3D%203000%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20this.messageTimeout%20%3D%20setTimeout(function()%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.message%20%3D%20''%3B%0A%20%20%20%20%20%20%20%20%7D.bind(this)%2C%20delay)%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20save%3A%20function(description%2C%20publicGist%2C%20files%2C%20callback)%20%7B%0A%20%20%20%20%20%20%20%20if%20(!this.github)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.toast('No%20GitHub%20connection%20was%20established.')%3B%0A%20%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20var%20gist%20%3D%20this.github.getGist()%3B%0A%20%20%20%20%20%20%20%20gist.create(%7B%0A%20%20%20%20%20%20%20%20%20%20'description'%3A%20description%2C%0A%20%20%20%20%20%20%20%20%20%20'public'%3A%20publicGist%2C%0A%20%20%20%20%20%20%20%20%20%20'files'%3A%20files%2C%0A%20%20%20%20%20%20%20%20%20%20%7D%2C%20function(error%2C%20response)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!error)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20window.location.hash%20%3D%20response.id%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.fire('files-saved'%2C%20response)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Saved%20files%20to%20%3Ca%20href%3D%22'%20%2B%20response.html_url%20%2B%20'%22%3E'%20%20%2B%20response.html_url%20%2B%20'%3C%2Fa%3E')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(error.error%20%3D%3D%20401)%20%7B%20%2F%2F%20unauthorized%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.token%20%3D%20''%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Please%20sign%20in%20using%20a%20valid%20GitHub%20token.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(error.error%20%3D%3D%20403)%20%7B%20%2F%2F%20forbidden%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Sorry%2C%20too%20much%20anonymous%20GitHub%20activity!%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20'Please%20either%20sign%20in%20or%20try%20again%20later.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20console.error(error)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(callback)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20callback(error%2C%20response)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D.bind(this))%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20update%3A%20function(id%2C%20description%2C%20publicGist%2C%20files%2C%20callback)%20%7B%0A%20%20%20%20%20%20%20%20if%20(!this.github)%20%7B%0A%20%20%20%20%20%20%20%20%20%20this.toast('No%20GitHub%20connection%20was%20established.')%3B%0A%20%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20%20%20var%20gist%20%3D%20this.github.getGist(id)%3B%0A%20%20%20%20%20%20%20%20gist.update(%7B%0A%20%20%20%20%20%20%20%20%20%20'description'%3A%20description%2C%0A%20%20%20%20%20%20%20%20%20%20'files'%3A%20files%2C%0A%20%20%20%20%20%20%20%20%20%20%7D%2C%20function(error%2C%20response)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(!error)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20window.location.hash%20%3D%20response.id%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.fire('files-updated'%2C%20response)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Saved%20files%20to%20%3Ca%20href%3D%22'%20%2B%20response.html_url%20%2B%20'%22%3E'%20%20%2B%20response.html_url%20%2B%20'%3C%2Fa%3E')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%20(error.error%20%3D%3D%20401)%20%7B%20%2F%2F%20unauthorized%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.token%20%3D%20''%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Please%20sign%20in%20using%20a%20valid%20GitHub%20token.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(error.error%20%3D%3D%20403)%20%7B%20%2F%2F%20forbidden%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Sorry%2C%20too%20much%20anonymous%20GitHub%20activity!%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20'Please%20either%20sign%20in%20or%20try%20again%20later.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(error.error%20%3D%3D%20404)%20%7B%20%2F%2F%20not%20found%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('The%20animation%20was%20not%20updated%20because%20it%20could%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20'not%20be%20found%20on%20GitHub.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20console.error(error)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(callback)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20callback(error%2C%20response)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D.bind(this))%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20load%3A%20function(id%2C%20callback)%20%7B%0A%20%20%20%20%20%20%20%20if%20(!this.github)%20%7B%0A%20%20%20%20%20%20%20%20%20%20return%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20var%20gist%20%3D%20this.github.getGist(id)%3B%0A%20%20%20%20%20%20%20%20gist.read(function(error%2C%20response)%20%7B%0A%20%20%20%20%20%20%20%20%20%20if%20(!error)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.fire('files-loaded'%2C%20response.files)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Loaded%20files%20from%20'%20%2B%20response.html_url)%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20if%20(error.error%20%3D%3D%20401)%20%7B%20%2F%2F%20unauthorized%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.token%20%3D%20''%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Please%20sign%20in%20using%20a%20valid%20GitHub%20token.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(error.error%20%3D%3D%20403)%20%7B%20%2F%2F%20forbidden%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('Sorry%2C%20too%20much%20anonymous%20GitHub%20activity!%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20'Please%20either%20sign%20in%20or%20try%20again%20later.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20if%20(error.error%20%3D%3D%20404)%20%7B%20%2F%2F%20not%20found%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20this.toast('The%20animation%20was%20not%20loaded%20because%20it%20could%20not%20'%20%2B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20'be%20found%20on%20GitHub.')%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20console.error(error)%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20if%20(callback)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20callback(error%2C%20response)%3B%0A%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%7D.bind(this))%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20signIn%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20this.signingIn%20%3D%20true%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20signOut%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20this.token%20%3D%20''%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20confirm%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20this.token%20%3D%20this.%24%5B'github-token'%5D.value%3B%0A%20%20%20%20%20%20%20%20this.signingIn%20%3D%20false%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20cancel%3A%20function()%20%7B%0A%20%20%20%20%20%20%20%20this.signingIn%20%3D%20false%3B%0A%20%20%20%20%20%20%7D%2C%0A%0A%20%20%20%20%20%20checkKeyCode%3A%20function(e)%20%7B%0A%20%20%20%20%20%20%20%20if%20(e.keyCode%20%3D%3D%2013)%20%7B%20%2F%2F%20'Enter'%0A%20%20%20%20%20%20%20%20%20%20this.confirm()%3B%0A%20%20%20%20%20%20%20%20%7D%20else%20if%20(e.keyCode%20%3D%3D%2027)%20%7B%20%2F%2F%20'Escape'%0A%20%20%20%20%20%20%20%20%20%20this.cancel()%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D)%3B%0A%20%20%0A%2F%2F%23%20sourceURL%3Dhttps%3A%2F%2Fwww.polymer-project.org%2Ftools%2Fdesigner%2Fcomponents%2Fgithub-elements%2Fgithub-elements.html.js%0A:10
"Exception caught during observer callback: [Exception... "The operation is insecure." code: "18" nsresult: "0x80530012 (SecurityError)" location: "<unknown>"]" polymer.js:12
Steps to replicate this issue:
Using Firefox 28 or 33 on Ubuntu:
Expected results:
When visiting the polymer elements documentation I expect to be able to use the navigation.
When visiting the documentation for an individual element I expect to be able to dismiss the demonstration. I also expect to be able to navigate to other elements.
When visiting the designer tool I expect to see more than a blank page.
Observed results:
The polymer elements documentation navigation links are entirely unresponsive. The console shows:
The individual polymer element demo appears in a dialog and cannot be dismissed. The navigation links to other elements are entirely unresponsive. The console shiows:
The learn more link goes to https://developer.mozilla.org/en-US/docs/Security/MixedContent
The polymer design page is entirely blank. The console shows: