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

Side by Side Diff: LayoutTests/inspector/elements/edit/edit-dom-test.js

Issue 1158883003: DevTools: shard inspector/elements tests for faster execution. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 function initialize_EditDOMTests() 1 function initialize_EditDOMTests()
2 { 2 {
3 3
4 // Preload codemirror which is used for "Edit as HTML". 4 // Preload codemirror which is used for "Edit as HTML".
5 InspectorTest.preloadPanel("sources"); 5 InspectorTest.preloadPanel("sources");
6 6
7 InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex t) 7 InspectorTest.doAddAttribute = function(testName, dataNodeId, attributeText, nex t)
8 { 8 {
9 InspectorTest.domActionTestForNodeId(testName, dataNodeId, testBody, next); 9 InspectorTest.domActionTestForNodeId(testName, dataNodeId, testBody, next);
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 var editorElement = InspectorTest.editNodePart(node, className); 75 var editorElement = InspectorTest.editNodePart(node, className);
76 editorElement.textContent = newValue; 76 editorElement.textContent = newValue;
77 editorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); 77 editorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
78 if (useSniffer) 78 if (useSniffer)
79 InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_u pdateModifiedNodes", step2); 79 InspectorTest.addSniffer(WebInspector.ElementsTreeOutline.prototype, "_u pdateModifiedNodes", step2);
80 else 80 else
81 InspectorTest.runAfterPendingDispatches(step2); 81 InspectorTest.runAfterPendingDispatches(step2);
82 } 82 }
83 83
84 } 84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698