Closed
Bug 940717
Opened 12 years ago
Closed 12 years ago
Unify the IsChromeURI functions we have in various places
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: bjacob, Assigned: bjacob)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 1 obsolete file)
7.83 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
This blocks using UNIFIED_SOURCES in a few places.
Attachment #8334896 -
Flags: review?(ehsan)
Comment 1•12 years ago
|
||
Comment on attachment 8334896 [details] [diff] [review]
IsChromeURI
Review of attachment 8334896 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/xbl/src/nsXBLDocumentInfo.h
@@ +72,5 @@
> #else
> inline void AssertInCompilationScope() {}
> #endif
>
> +bool IsChromeURI(nsIURI* aURI);
This should not be needed, just #include URL.h in the cpp file.
::: dom/base/URL.cpp
@@ +67,5 @@
> }
>
> nsCOMPtr<nsIURI> baseUri;
> rv = ioService->NewURI(NS_ConvertUTF16toUTF8(aBase), nullptr, nullptr,
> + getter_AddRefs(baseUri)); if (NS_FAILED(rv)) {
Whoa!
::: dom/base/URL.h
@@ +132,5 @@
>
> }
> }
>
> +bool IsChromeURI(nsIURI* aURI);
Please put this in mozilla::dom.
Attachment #8334896 -
Flags: review?(ehsan) → review-
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8334896 -
Attachment is obsolete: true
Attachment #8335050 -
Flags: review?(ehsan)
Updated•12 years ago
|
Attachment #8335050 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Assignee: nobody → bjacob
Target Milestone: --- → mozilla28
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [qa-]
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•