Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: client/dom/scripts/systemfrog.py

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/dom/scripts/systemfrog.py
diff --git a/client/dom/scripts/systemfrog.py b/client/dom/scripts/systemfrog.py
index 76d86193ca3d26ed1925625f9d9029e3a872f4c1..cb8267edd04d36ffe3cad819eea591ab72c5a3ad 100644
--- a/client/dom/scripts/systemfrog.py
+++ b/client/dom/scripts/systemfrog.py
@@ -14,11 +14,12 @@ from systembase import *
# either removed or custom implemented.
_dom_frog_omitted_members = set([
# Replace with custom.
+ 'DOMWindow.get:top',
'HTMLIFrameElement.get:contentWindow',
# Remove.
- 'HTMLIFrameElement.get:contentDocument',
'DOMWindow.get:frameElement',
+ 'HTMLIFrameElement.get:contentDocument',
])
class FrogSystem(System):

Powered by Google App Engine
This is Rietveld 408576698