model.js; add a test on value before using it

Link to #4394
13 jobs for feature-c/4394-loadanalysis-error-top-order in 11 minutes and 5 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test Tools
passed #700222
test_tools

00:00:09

 
  Test Quality
passed #700223
web
code_quality

00:00:12

 
  Test Unit
passed #700224
web
test_browser_unit

00:00:23

 
  Deploy Review
passed #700225
web
deploy_review

00:00:10

passed #700226
web manual
stop_deploy_review

00:00:04

 
  Test Functional
passed #700229
web
chrome-browser-functional

00:03:53

passed #700227
web
ff32-browser-functional

00:03:41

passed #700228
web
ff45-browser-functional

00:04:18

passed #700230
legacy
old-chrome-browser-functional

00:03:51

 
  Test Functional External
passed #700233
web
chrome-browser-functional-external

00:01:11

passed #700231
web
ff32-browser-functional-external

00:01:16

passed #700232
web
ff45-browser-functional-external

00:01:33

passed #700234
legacy
old-chrome-browser-functional-external-chrome

00:01:28