From 4f19e9a87dd8b97d89b3fe040e66e5c254be606f Mon Sep 17 00:00:00 2001 From: Jordan Santell Date: Fri, 22 May 2015 11:56:49 -0700 Subject: [PATCH] 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. --- .../performance/test/browser_profiler_tree-frame-node.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/devtools/performance/test/browser_profiler_tree-frame-node.js b/browser/devtools/performance/test/browser_profiler_tree-frame-node.js index 9f36431986a8..7b35f9567e07 100644 --- a/browser/devtools/performance/test/browser_profiler_tree-frame-node.js +++ b/browser/devtools/performance/test/browser_profiler_tree-frame-node.js @@ -48,7 +48,7 @@ function test() { "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."); @@ -75,7 +75,7 @@ function test() { "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.");