Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 402339

Summary: [IE] Can't edit files in IE10
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: simon_kaegi
Version: 2.0   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-03-04 10:06:48 EST
Using IE10 (10.0.9200.whatever)

1. Open a file in the Orion editor
2. You'll see an error:
> Error loading file metadata: undefined 

This causes the file contents to appear as empty. It happens because of this line:

> read: function(location, isMetadata) {
>     var url = new URL(location, window.location);
>     if (isMetadata) {
>         url.query.set("parts", "meta");	// query is null
>     }

Possibly related -- several URL-shim tests fail when run in IE10.
Comment 1 Simon Kaegi CLA 2013-03-05 22:54:22 EST
It looks like the current ie10 has broken a few things here... Running the tests I see it always returns a "port" and its apparently unhappy about something in how we check if a url is valid.
Comment 2 Simon Kaegi CLA 2013-03-05 23:22:22 EST
Great.
In addition to returning a port for URLs that don't provide them we now get a security exception for URLs that contain userinfo and... <base> is ignored. Well done IE team.
Comment 3 Grant Gayed CLA 2013-06-03 12:46:03 EDT
Editing works in IE10 now, possibly as a result of the IE10 url shim fix.