Bug 805639 - Intermittent devtools/webconsole/test/test_file_uri.html | file URI match; r=paul
authorMihai Sucan <mihai.sucan@gmail.com>
Fri, 26 Oct 2012 19:35:30 +0300
changeset 111674 e7ef0d64a8a7288854d1e7410f8146cd892fdac0
parent 111673 029363c238ae78479f6a37b3e8ea1ded17579141
child 111675 194dcfbc328daddabd340cdd0bf52d0250382f95
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewerspaul
bugs805639
milestone19.0a1
Bug 805639 - Intermittent devtools/webconsole/test/test_file_uri.html | file URI match; r=paul
toolkit/devtools/webconsole/test/test_file_uri.html
--- a/toolkit/devtools/webconsole/test/test_file_uri.html
+++ b/toolkit/devtools/webconsole/test/test_file_uri.html
@@ -65,17 +65,17 @@ function onAttach(aState, aResponse)
 
 function onFileActivity(aType, aPacket)
 {
   is(aPacket.from, gState.actor, "fileActivity actor");
 
   gState.dbgClient.removeListener("fileActivity", onFileActivity);
 
   info("aPacket.uri: " + aPacket.uri);
-  ok(/bug798764\.html$/.test(aPacket.uri), "file URI match");
+  ok(/\bbug798764\b.*\.html$/.test(aPacket.uri), "file URI match");
 
   testEnd();
 }
 
 function testEnd()
 {
   if (gTmpFile) {
     SimpleTest.executeSoon(function() {