Project: SWT
Bug 267680 embedded browser cache does not reset
Reported: 2009-03-09 13:10:48 | Status: resolved fixed

Once a local filesystem image is viewed once in an embedded Browser widget, it is cached and never updated To reproduce: # Open the Mylyn WikiText file editor on the Mylyn WikiText User Guide.textile # switch to the preview tab # scroll to view a portion of the document that has an image # replace the local file that backs the image viewed # close the editor # reopen the editor, switching to preview again # observe that the image displayed is the same one as first observed, not the new image In Carbon repeating this scenario would result in the new image being displayed

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java