Changeset 56067 in webkit
- Timestamp:
- Mar 16, 2010 9:21:39 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r56057 r56067 1 2010-03-16 Pavel Feldman <pfeldman@chromium.org> 2 3 Not reviewed: inspector http test fix that migrates it to the new inspector api. 4 5 * http/tests/inspector/inspect-iframe-from-different-domain.html: 6 1 7 2010-03-11 Antonio Gomes <tonikitoo@webkit.org> 2 8 -
trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html
r54659 r56067 69 69 WebInspector.panels.elements.focusedDOMNode = domNode; 70 70 testController.runAfterPendingDispatches(function() { 71 for (var i = 0; i < domNode._matchedCSSRules.length; i++) { 72 var rule = domNode._matchedCSSRules[i]; 73 if (rule.isUser || rule.isUserAgent) 74 continue; 75 var bg = rule.style.getShorthandValue("background"); 76 if (bg) { 77 testController.notifyDone("background = " + bg); 71 72 function callback(styles) 73 { 74 if (!styles) { 75 testController.notifyDone("Background property not found"); 78 76 return; 79 77 } 78 79 for (var i = styles.matchedCSSRules.length - 1; i >= 0; --i) { 80 var rule = WebInspector.CSSStyleDeclaration.parseRule(styles.matchedCSSRules[i]); 81 if (rule.isUser || rule.isUserAgent) 82 continue; 83 var bg = rule.style.getShorthandValue("background"); 84 if (bg) { 85 testController.notifyDone("background = " + bg); 86 return; 87 } 88 } 89 90 testController.notifyDone("Background property not found"); 80 91 } 81 testController.notifyDone("Background property not found"); 92 93 InspectorBackend.getStyles(WebInspector.Callback.wrap(callback), domNode.id, true); 82 94 }); 83 95 });
Note: See TracChangeset
for help on using the changeset viewer.