Closed Bug 679544 Opened 13 years ago Closed 9 years ago

Use one function to determine the origin from a URL

Categories

(Web Apps :: HTML, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: ianbicking, Assigned: ianbicking)

Details

There are may places in the code that use typically url.URLParse(url).originOnly().toString() to determine the origin.  We should have one function, which should also include any custom ways we want to determine the origin (for instance in Bug 678007 a special case is made for resource: URLs).
Component: OpenWebApps → General
Product: Mozilla Labs → Web Apps
QA Contact: openWebApps → general
Priority: -- → P4
Component: General → DOM: Mozilla Extensions
Product: Web Apps → Core
QA Contact: general → general
Whiteboard: [mozApps API 1.0]
Blocks: 746465
Whiteboard: [mozApps API 1.0]
Note this now only applies to the HTML implementation.
Assignee: nobody → ianb
Component: DOM: Mozilla Extensions → HTML
Product: Core → Web Apps
QA Contact: general
No longer blocks: 746465
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.