Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(616)

Issue 4576044: Label caja.js frames for debugging convenience (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by felix8a
Modified:
15 years, 5 months ago
Reviewers:
Jasvir, ihab.awad
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Chrome's debugger lets me examine the execution context of the current statement, but it's not always obvious what frame that's in. This change adds a className to caja's frames, which means I can type "frameElement.className" in the console to help identify the frame. The answer can be - "caja-taming-frame" - "caja-guest-frame" - some other string value for some non-caja frame. - frameElement undefined for the top-level window.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M src/com/google/caja/plugin/caja.js View 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 3
felix8a
15 years, 5 months ago (2011-06-06 20:53:51 UTC) #1
Jasvir
LGTM
15 years, 5 months ago (2011-06-06 21:02:05 UTC) #2
felix8a
15 years, 5 months ago (2011-06-06 21:13:35 UTC) #3
@r4493
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b