Closed
Bug 942163
Opened 11 years ago
Closed 11 years ago
WebNFC: Security problem: Content process does not have `nfc-write'. It will be killed.
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 948850
People
(Reporter: posidron, Unassigned)
References
Details
(Keywords: crash)
Attachments
(1 file)
535 bytes,
text/html
|
Details |
I/Gecko ( 178): Security problem: Content process does not have `nfc-write'. It will be killed.
I/Gecko ( 178):
I/Gecko ( 178): ###!!! [Parent][MessageChannel] Error: Channel error: cannot send/recv
Not sure about whether this is actually a security problem or caused by not yet implemented functionality.
Tested with https://github.com/svic/B2G
Reporter | ||
Updated•11 years ago
|
Component: Bluetooth → NFC
Comment 1•11 years ago
|
||
Currently, that's expected behavior (mainly developers would find this problem, and likely hit it soon in development), unless there's a failover mechanism/best practices established to a UI for the user (Force Kill: This application has insufficient permissions to use the following permission [%s], and has been killed."
The fix is of course, update the manifest if intended, or find out who's injecting javascript into the local webapp...
Comment 2•11 years ago
|
||
Can we unhide this, if we're just failing a permission check?
Comment 3•11 years ago
|
||
The parent killing a misbehaving child sounds fine (of course the child bug would need to be fixed if it weren't a test app), but if I'm understanding him correctly Christoph says this appears to also be killing the b2g parent process and requires rebooting the device.
Comment 4•11 years ago
|
||
From what I have seen in the past, only the app gets killed, and not the B2G parent itself (the homescreen shows up), which I think makes perfect sense.
If the app somehow segfaults, I expect the parent B2G process to remain untouched, and still alive in the same manner.
Updated•11 years ago
|
Group: core-security
The crash should be from setting onpeerready callbacks, which I already fixed in Bug 948850.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Blocks: b2g-nfc
Reporter | ||
Updated•11 years ago
|
Blocks: fuzzing-nfc
You need to log in
before you can comment on or make changes to this bug.
Description
•