зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1883202 - Set property_error_message_fix pref in tests for it. r=arai
We now use the same default value for this pref in the shell as in the browser and this pref is disabled on beta and release. Differential Revision: https://phabricator.services.mozilla.com/D203420
This commit is contained in:
Родитель
5602fd6a10
Коммит
0a175bae6c
|
@ -1,4 +1,4 @@
|
|||
// |jit-test| --disable-property-error-message-fix; skip-if: getBuildConfiguration('pbl')
|
||||
// |jit-test| --setpref=property_error_message_fix=false; skip-if: getBuildConfiguration('pbl')
|
||||
|
||||
function check(f, message) {
|
||||
let caught = false;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// |jit-test| skip-if: getBuildConfiguration('pbl')
|
||||
// |jit-test| --setpref=property_error_message_fix=true; skip-if: getBuildConfiguration('pbl')
|
||||
|
||||
function check(f, message) {
|
||||
let caught = false;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// |jit-test| error:TypeError: can't access property
|
||||
// |jit-test| --setpref=property_error_message_fix=true; error:TypeError: can't access property "x"
|
||||
let obj = {x: 1};
|
||||
obj.x = 1.1;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче