Ticket #178 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Bug when page includes another IFRAME

Reported by: akaEdge Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: critical Keywords: iframe popups
Cc:

Description

I have used a very simple page that includes nothing else - so you should be able to replicate this bug pretty easily.

Basically editor works fine until I put an iframe on the page somewhere. Then it still looks like it is working however the popups then start to throw errors (either insert picture or insert link for example) when you open them, and the "OK" and "Cancel" buttons don't work either.

Here are the errors:

Firefox: Error: [Exception... "'Permission denied to get property Window.addEventListener' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

Error: opener.Dialog._return is not a function

IE 6: Line: 3886 Char: 5 Error: Access is denied Code: 0 URL: my page...

Change History

Changed 8 years ago by gogo

put an iframe on the page somewhere

Do you mean just put an iframe on the page that the editor is on, or put an iframe inside the html being edited? Can you attach a test case html file.

Changed 8 years ago by gogo

I have marked #171 as a dup of this, I think adsense uses iframes. I guess that means that it's when an iframe is on the page containing a Xinha area that the problem happens. That's crazy.

Changed 8 years ago by gogo

  • version set to trunk
  • severity changed from major to critical
  • milestone set to Version 1.0

Changed 8 years ago by gogo

  • status changed from new to closed
  • resolution set to fixed

This is fixed in changset:183

Note: See TracTickets for help on using tickets.