Closed Bug 562945 Opened 14 years ago Closed 14 years ago

remote=false browser binding should have similar JSON objects as remote=true

Categories

(Firefox for Android Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stechz, Unassigned)

References

Details

So that Fennec doesn't have to do messy if statements, our remote=false browser should implement some things that the remote browser does for us.  In particular:
* Progress listener callbacks should have isRootWindow property on aWebProgress
* onSecurityChange should pass in security info as JSON
Depends on: 560827
(In reply to comment #0)
> So that Fennec doesn't have to do messy if statements, our remote=false browser
> should implement some things that the remote browser does for us.  In
> particular:
> * Progress listener callbacks should have isRootWindow property on aWebProgress
> * onSecurityChange should pass in security info as JSON

I don't think we want to implement either of these as suggested. We don't want to change the nsIWebProgressListener callback interface. Let's do this instead:
* Get a mock .contentWindow object created and set it to aWebProgress.DOMWindow when passing the remote=true progress listener back.
* Add a .securityData property to both bindings and not pass it back in the progress listener
This has been fixed by various bugs
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.