Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
webkitCreateShadowRoot is removed in Chrome 36
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Apr 9, 2014
1 parent 4815d16 commit ad962bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/js/marshall.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ suite('marshall', function() {

test('node references shadow root', function() {
var foo = document.createElement('x-foo');
var sr = foo.webkitCreateShadowRoot();
var sr = foo.createShadowRoot();
sr.innerHTML = '<div id="bar">barContent</div><div id="zot">zotContent</div>';
Polymer.api.instance.base.marshalNodeReferences.call(foo, sr);
assert.equal(foo.$.bar.textContent, 'barContent');
Expand Down

0 comments on commit ad962bc

Please sign in to comment.