Descriptiondistiller: Retires support of CreateNewContext.
The binding team in Blink is working to make the implementation of
"window" JS object comformant to the web spec. Once it gets implemented
correctly, you can no longer create a fake "window" object just by
calling Object.create(window). Such a fake "window" object cannot pass
our upcoming type check.
Thus, this CL removes support of such a fake "window" object.
WIP CL http://crrev.com/1380503002 requires this change.
BUG=43394, 516274
TEST=Ran DomDistillerTabUtilsBrowserTest in browser_tests and DistillerPageWebContentsTest in components_browsertests.
Committed: https://crrev.com/36b22ec535dfa52829d7e3651bf664ab416287ec
Cr-Commit-Position: refs/heads/master@{#352294}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : Synced. #
Messages
Total messages: 11 (3 generated)
|