javascript: can not set cookies with some names

javascript: can not set cookies with some names:

Chrome devtool console

> document.cookie
  (empty)

> document.cookie='clientDeviceId=123'
  (no error, but cookie was not added)

> document.cookie
   (empty)

> document.cookie='clientDeviceId2=123'
  (cookie added successfully)

> document.cookie
  'clientDeviceId2=123'

Is “clientDeviceId” a reserved name?

Same for clientSecretKey. Renaming it to
clientSecretKey2 works.