Bug 1330867 - Clean urlOpts after each round of mochitest draft
authorpyang <pyang@mozilla.com>
Fri, 13 Jan 2017 11:58:25 +0800
changeset 460566 1ef3cf08b0ef4db3804c2584e913871029b26a2c
parent 460419 b1c31c4a0a678194931779e0f13fba7b508eb109
child 542077 30072d5a9bcdb19ea8de365e44cb1cd89ff97b0f
push id41423
push userbmo:pyang@mozilla.com
push dateFri, 13 Jan 2017 09:24:39 +0000
bugs1330867
milestone53.0a1
Bug 1330867 - Clean urlOpts after each round of mochitest MozReview-Commit-ID: KThra7apcvp
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2068,16 +2068,17 @@ toolbar#nav-bar {
 
             if crash_count or zombieProcesses:
                 status = 1
 
         finally:
             # cleanup
             if os.path.exists(processLog):
                 os.remove(processLog)
+            self.urlOpts = []
 
         return status
 
     def initializeLooping(self, options):
         """
           This method is used to clear the contents before each run of for loop.
           This method is used for --run-by-dir and --bisect-chunk.
         """