Re: dom/ and content/ source reorganization

Jonas Sicking <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Benjamin Smedberg wrote:
> On 1/20/09 7:38 PM, Jonas Sicking wrote:
> 
>>> 3) Use the following other directories:
>> Don't really think the following deserve their own directories
>>
>> dom/json
> 
> I can merge this into dom/window

Why dom/window? It's not window related at all. I'd say dom/base

>> dom/html/canvas
> 
> ok, this can be in dom/html
> 
>> dom/offline  (don't feel strongly here)
>> dom/storage  (don't feel strongly here either)
> 
> I can merge either/both of these with dom/window

Hmm.. why this facination with dom/window? I would have expected that it 
would only do the window objects, and maybe a couple supporting 
dom-level-0 objects like window.location and window.navigator?

>> I'm assuming we'll still have the
>>
>> dom/X/src
>> dom/X/tests
>> dom/X/locales (or maybe just dom/locales?)
>> dom/X/res     (or maybe just dom/res?)
> 
>> structure? But move everything in /public into /src? Or are we putting
>> all the source files in dom/X and the tests in dom/X/tests?
> 
> I'm merging, so there will not be separate public/ or src/ directories. I
> will keep the tests/ separate.

Ok, so the structure will be something like:

dom/X/         (cpp, h and idl files go in here)
dom/X/tests/   (mochitests, crashtests, reftests go in here)
dom/locales/en-US/
dom/res/

/ Jonas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.