Skip to content

Commit

Permalink
Remove content JS nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbasta committed May 24, 2013
1 parent 564eb37 commit 6e20341
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions appvalidator/testcases/javascript/predefinedentities.py
Expand Up @@ -11,9 +11,6 @@
# See https://github.com/mattbasta/amo-validator/wiki/JS-Predefined-Entities
# for details on entity properties.

# This will be populated later, we just need to reserve its name now.
CONTENT_DOCUMENT = None


def get_global(*args):
def wrap(t):
Expand Down Expand Up @@ -175,15 +172,5 @@ def global_identity():
u"innerWidth": MUTABLE,
u"width": MUTABLE,
u"height": MUTABLE,

u"content":
{"context": "content",
"value": {u"document": {"value": get_global("document")}}},
u"contentWindow":
{"context": "content",
"value": global_identity()},
u"_content": {"value": get_global("content")},
u"opener": {"value": global_identity()},
}

CONTENT_DOCUMENT = GLOBAL_ENTITIES[u"content"]["value"][u"document"]

0 comments on commit 6e20341

Please sign in to comment.