This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1426501 - Change nsIURIMutator to call set spec on cloned URI if …
…available r=mayhemer Calling SetSpec on an nsIURI object doesn't reinitialize the object, meaning it's not equivalent with creating a new URI with the same spec. While this might be counter-intuitive we want to preserve existing behaviour for the moment. This change makes BaseURIMutator::InitFromSpec call SetSpec on the existing cloned URI if available. Otherwise it creates a new one. MozReview-Commit-ID: LuHVRhBItiP
- Loading branch information
Showing
3 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters