Today I've tried to upgrade my project to the new Firefox 52 release.
My project was still based on Firefox 46.
I've pulled and merged and as far as I can see that went well.
However when building I run into this error:

10:23.73 In file included from 
/source/release/browser/components/shell/nsMacShellService.cpp:10:
10:23.73 /build/dist/include/nsIDocument.h:1876:46: error: no type named 
'myFunctionResultContainer' in namespace 'mozilla::dom'
10:23.73                                
mozilla::dom::myFunctionResultContainer& aResult) = 0;
10:23.73                                ~~~~~~~~~~~~~~^
10:23.75 /build/dist/include/nsIDocument.h:2729:49: error: no type named 
'myFunctionResultContainer' in namespace 'mozilla::dom'
10:23.75   void myFunction(bool extended, 
mozilla::dom::myFunctionResultContainer& aResult);
10:23.75                                   ~~~~~~~~~~~~~~^
10:23.97 libaccessible_xul.a.desc
10:24.51 2 errors generated.

I've declared the dictionary myFunctionResultContainer in Document.webidl, and 
this was working for me with my Firefox 46 codebase.

Do you know if anything changed related to this between 46 and 52?

I experimented with removing the 'mozilla::dom::' part and to my surprise the 
output suggested I might mean 'mozilla::dom::myFunctionResultContainer'. So 
this makes me think I did correctly declare my dictionary in Document.webidl...

 0:08.02 /build/dist/include/nsIDocument.h:1876:32: error: unknown type name 
'myFunctionResultContainer'; did you mean 
'mozilla::dom::myFunctionResultContainer'?
 0:08.02                                myFunctionResultContainer& aResult) = 0;
 0:08.02                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
 0:08.02                                mozilla::dom::myFunctionResultContainer
 0:08.02 /build/dist/include/mozilla/dom/DocumentBinding.h:438:8: note: 
'mozilla::dom::myFunctionResultContainer' declared here
 0:08.02 struct myFunctionResultContainer : public DictionaryBase
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to