ipc/ipdl/msgtype-components
author Ehsan Akhgari <ehsan@mozilla.com>
Wed, 10 Oct 2018 14:51:25 +0000
changeset 496273 f89516a277dcd86555f8334cce9bb1ea9bc47e24
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 507243 0bb1f2417265f9c9fbcf1a07f553ea08ad7308d5
permissions -rw-r--r--
Bug 1494476 - Part 3: Require having had first-party interaction before being granted a first-party storage exception r=baku Depends on D8156 Differential Revision: https://phabricator.services.mozilla.com/D8157

#!/usr/bin/python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


import sys

msgid = int(sys.argv[1])
protocol = (msgid >> 16)
msg = (msgid - (protocol << 16))

print 'protocol', protocol, 'message', msg