Bug 1049865 - part 2 - fix up browser_profiler_tree-frame-node.js to handle the new stripping of query params from a displayed filename in tree models. a=sledru
authorJordan Santell <jsantell@mozilla.com>
Fri, 22 May 2015 11:56:49 -0700
changeset 274867 c47ce06ace203de60316d89622cb9a10efa3a4f7
parent 274866 955dc6f63530fb279a8b6bf78484182bf1a677f8
child 274868 f0fa2388c1e8515e5fb9b0ae2048eac82ccf0ad1
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssledru
bugs1049865
milestone40.0a2
Bug 1049865 - part 2 - fix up browser_profiler_tree-frame-node.js to handle the new stripping of query params from a displayed filename in tree models. a=sledru
browser/devtools/performance/test/browser_profiler_tree-frame-node.js
--- a/browser/devtools/performance/test/browser_profiler_tree-frame-node.js
+++ b/browser/devtools/performance/test/browser_profiler_tree-frame-node.js
@@ -43,17 +43,17 @@ function test() {
       location: "hello/<.world (http://foo/bar.js#baz:123:987)"
     })
   }, false);
 
   is(frame2.getInfo().nodeType, "Frame",
     "The second frame node has the correct type.");
   is(frame2.getInfo().functionName, "hello/<.world",
     "The second frame node has the correct function name.");
-  is(frame2.getInfo().fileName, "bar.js#baz",
+  is(frame2.getInfo().fileName, "bar.js",
     "The second frame node has the correct file name.");
   is(frame2.getInfo().hostName, "foo",
     "The second frame node has the correct host name.");
   is(frame2.getInfo().url, "http://foo/bar.js#baz",
     "The second frame node has the correct url.");
   is(frame2.getInfo().line, 123,
     "The second frame node has the correct line.");
   is(frame2.getInfo().column, 987,
@@ -70,17 +70,17 @@ function test() {
       location: "hello/<.world (http://foo/#bar:123:987)"
     })
   }, false);
 
   is(frame3.getInfo().nodeType, "Frame",
     "The third frame node has the correct type.");
   is(frame3.getInfo().functionName, "hello/<.world",
     "The third frame node has the correct function name.");
-  is(frame3.getInfo().fileName, "#bar",
+  is(frame3.getInfo().fileName, "/",
     "The third frame node has the correct file name.");
   is(frame3.getInfo().hostName, "foo",
     "The third frame node has the correct host name.");
   is(frame3.getInfo().url, "http://foo/#bar",
     "The third frame node has the correct url.");
   is(frame3.getInfo().line, 123,
     "The third frame node has the correct line.");
   is(frame3.getInfo().column, 987,