https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 21a72eb9f201261a780e535049baeae6565290c2 authored by Birunthan Mohanathas on 21 July 2015, 16:42:58 UTC
Bug 1182723 - Properly handle self-assignment in nsTArray::operator=. r=mccr8, a=2.0+
Tip revision: 21a72eb
test_ipcshell_child.js
const Cc = Components.classes;
const Ci = Components.interfaces;

const runtime = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime);

if (typeof(run_test) == "undefined") {
  run_test = function() {
    do_check_eq(runtime.processType, Ci.nsIXULRuntime.PROCESS_TYPE_DEFAULT);
  }
}
back to top