This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 208167 - Failing JavaScript test due to changes in registering mime-types
Summary: Failing JavaScript test due to changes in registering mime-types
Status: RESOLVED DUPLICATE of bug 208160
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 15:01 UTC by Petr Pisl
Modified: 2012-02-10 13:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Pisl 2012-02-08 15:01:27 UTC
There are failing tests in JavaScript, because there are is not registered HTML data object properly. See for example here: http://bertram-tst.netbeans.org:8080/job/javaee/3720/#showFailuresLink

I think that it can be cased by the changes in registration or mime-types
Comment 1 Jaroslav Tulach 2012-02-10 13:21:08 UTC
The problems are caused by registration(!) of 

@org.openide.util.lookup.ServiceProvider(service=org.openide.filesystems.MIMEResolver.class)
public class JsTestMimeResolver extends MIMEResolver {

when this registration is found, the mime resolvers from @MR.xyzRegistration are ignored in test environment. I'll fix that together with bug 208160.

*** This bug has been marked as a duplicate of bug 208160 ***