зеркало из https://github.com/mozilla/gecko-dev.git
Bug 905007 - Fix test_ril_worker_buf.js. r=vicamo
This commit is contained in:
Родитель
71b08ea4dd
Коммит
66866967d3
|
@ -27,7 +27,7 @@ function add_test_incoming_parcel(parcel, handler) {
|
||||||
if (!parcel) {
|
if (!parcel) {
|
||||||
parcel = newIncomingParcel(-1,
|
parcel = newIncomingParcel(-1,
|
||||||
worker.RESPONSE_TYPE_UNSOLICITED,
|
worker.RESPONSE_TYPE_UNSOLICITED,
|
||||||
worker.REQUEST_REGISTRATION_STATE,
|
worker.REQUEST_VOICE_REGISTRATION_STATE,
|
||||||
[0, 0, 0, 0]);
|
[0, 0, 0, 0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +106,7 @@ add_test(function test_incoming_parcel_buffer_overwritten() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do nothing in handleParcel().
|
// Do nothing in handleParcel().
|
||||||
let request = worker.REQUEST_REGISTRATION_STATE;
|
let request = worker.REQUEST_VOICE_REGISTRATION_STATE;
|
||||||
worker.RIL[request] = null;
|
worker.RIL[request] = null;
|
||||||
|
|
||||||
// Prepare two parcels, whose sizes are both smaller than the incoming buffer
|
// Prepare two parcels, whose sizes are both smaller than the incoming buffer
|
||||||
|
|
Загрузка…
Ссылка в новой задаче