On 17 August 2015 at 20:06, Philip Chee <philip.c...@gmail.com> wrote:
> On 17/08/2015 02:56, Neil wrote: > > Philip Chee wrote: > > > >> The first question that occurs to me is what is the rationale? Can > >> we revisit this in 2015 to see if the original reason still holds? > >> > > Back then ignoring the hash or the search were equally complicated; > > nowadays ignoring the hash is relatively easy. > > Yes we now have a CloneIgnoringRef. How difficult is it to make a > clone-ignoring-query? I mean for an experienced C++ developer and not a > C++ Dummies like myself. > I don't know if this would solve the initial issue with XUL overlays, but adding CloneIgnoringRef is definitely possible. In the meantime, I think you can achieve the same result with the following code: nsCOMPtr<nsIURL> url = do_QueryInterface(uri); url->SetQuery(EmptyCString()); _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform