Closed
Bug 800824
Opened 12 years ago
Closed 12 years ago
[Dialer] Can't receive the phone call
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 800898
People
(Reporter: johnshih.bugs, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
205.63 KB,
text/plain
|
Details |
## Environment : Otoro phone, build 2012-10-12 Build info: * "gaia" revision= 2ab7bd25e21b7931b700731389ad433286a18945 * "gecko" revision= c96b188e4b7d480bdd897eb7b368afc91b8e6e5f ## Repro : 1. Make a call from another phone to testing device ## Expected: * Receive the call ## Actual: * Nothing happen
Comment 1•12 years ago
|
||
I will try to reproduce this issue in latest repo.
Comment 3•12 years ago
|
||
I found that in the latest gaia commit, "window.open" returns null, but it should return [object window].
Comment 4•12 years ago
|
||
Hi Hsin-Yi, Are you mean the following code in dialer.js? window.open(urlBase + '#' + screenState, 'call_screen', 'attention'); Where are you see the return value?
Comment 5•12 years ago
|
||
(In reply to vliu from comment #4) > Hi Hsin-Yi, > > Are you mean the following code in dialer.js? > > window.open(urlBase + '#' + screenState, > 'call_screen', 'attention'); > > Where are you see the return value? Yes, this is the code I mentioned. Sorry that I didn't explain clear enough. I added additional debug messages to check the return value here.
Comment 6•12 years ago
|
||
According to logcat, the system message 'telephony-incoming' was sent successfully, so the platform worked fine. I found that in the latest gaia, 'window.open' (in dialer.js) returns null, but it should return '[object window]'. This seems the root cause.
Attachment #670708 -
Attachment is obsolete: true
Comment 7•12 years ago
|
||
Hi Hsin-Yi, I added the dump function to observe the value of window object before and after window.open. They both showed [object Window]. var dump_check = window; dump ("====> : dump_check = " + dump_check); window.open(urlBase + '#' + screenState, 'call_screen', 'attention'); dump ("====> : dump_check(1) = " + dump_check); Did I do it the same as you?
Comment 8•12 years ago
|
||
(In reply to vliu from comment #7) > Hi Hsin-Yi, > > I added the dump function to observe the value of window object before and > after window.open. They both showed [object Window]. > > var dump_check = window; > dump ("====> : dump_check = " + dump_check); > window.open(urlBase + '#' + screenState, > 'call_screen', 'attention'); > dump ("====> : dump_check(1) = " + dump_check); > > Did I do it the same as you? vliu, below is what I did: var rt = window.open(urlBase + '#' + screenState, 'call_screen', 'attention'); dump(" window.open: " + rt);
Comment 9•12 years ago
|
||
Hi Hsin-Yi, Sorry to confuse. I got the same result with you. Window object is created by gaia, it should be something wrong in it.
Comment 10•12 years ago
|
||
This bug is reported the same issue with bug 800898.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•