Closed Bug 1288367 Opened 8 years ago Closed 8 years ago

dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
Tracking Status
firefox50 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

Details

Attachments

(1 file)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=abe3f0322e63&filter-tier=1&filter-tier=2&filter-tier=3&selectedJob=24296608

/home/worker/workspace/gecko/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp:53:69: error: no matching function for call to 'nsIXMLHttpRequest::Init(nsCOMPtr<nsIPrincipal>&, std::nullptr_t, std::nullptr_t, std::nullptr_t, std::nullptr_t)'
make[6]: *** [Unified_cpp_dom_system_gonk1.o] Error 1
make[5]: *** [dom/system/gonk/target] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [compile] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
make: *** [out/target/product/aries/obj/DATA/gecko_intermediates/gecko] Error 2
09:43:09     INFO -  /home/worker/workspace/gecko/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp: In member function 'nsresult UploadStumbleRunnable::Upload()':
09:43:09    ERROR -  /home/worker/workspace/gecko/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp:53:69: error: no matching function for call to 'nsIXMLHttpRequest::Init(nsCOMPtr<nsIPrincipal>&, std::nullptr_t, std::nullptr_t, std::nullptr_t, std::nullptr_t)'
09:43:09     INFO -     rv = xhr->Init(systemPrincipal, nullptr, nullptr, nullptr, nullptr);
09:43:09     INFO -                                                                       ^
09:43:09     INFO -  /home/worker/workspace/gecko/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp:53:69: note: candidate is:
09:43:09     INFO -  In file included from /home/worker/workspace/gecko/dom/system/gonk/mozstumbler/UploadStumbleRunnable.cpp:13:0,
09:43:09     INFO -                   from Unified_cpp_dom_system_gonk1.cpp:65:
09:43:09     INFO -  ../../../dist/include/nsIXMLHttpRequest.h:265:20: note: virtual nsresult nsIXMLHttpRequest::Init(nsIPrincipal*, nsIGlobalObject*, nsIURI*, nsILoadGroup*)
09:43:09     INFO -     NS_IMETHOD Init(nsIPrincipal *principal, nsIGlobalObject *globalObject, nsIURI *baseURI, nsILoadGroup *loadGroup) = 0;
09:43:09     INFO -                      ^
09:43:09     INFO -  ../../../dist/include/nsIXMLHttpRequest.h:265:20: note:   candidate expects 4 arguments, 5 provided
Assignee: nobody → lissyx+mozillians
Comment on attachment 8773235 [details]
Bug 1288367 - Fix XHR Init call in mozstumbler gonk

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66012/diff/1-2/
Attachment #8773235 - Attachment description: Bug 1288367 - Fix XHR Init call in mozstumbler gonk r? → Bug 1288367 - Fix XHR Init call in mozstumbler gonk
Comment on attachment 8773235 [details]
Bug 1288367 - Fix XHR Init call in mozstumbler gonk

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66012/diff/2-3/
Comment on attachment 8773235 [details]
Bug 1288367 - Fix XHR Init call in mozstumbler gonk

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66012/diff/3-4/
Attachment #8773235 - Flags: review?(tzimmermann)
Attachment #8773235 - Flags: review?(tzimmermann) → review+
Pushed by alissy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4ff8b2aeedf8
Fix XHR Init call in mozstumbler gonk r=tzimmermann
https://hg.mozilla.org/mozilla-central/rev/4ff8b2aeedf8
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: