1. 14 Jul, 2009 32 commits
    • bfulgham@webkit.org's avatar
      JavaScriptCore: · 8a8a2f45
      bfulgham@webkit.org authored
      2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Darin Adler.
      
              Change all Noncopyable inheriting visibility to public.
              https://bugs.webkit.org/show_bug.cgi?id=27225
      
              Change all Noncopyable inheriting visibility to public because
              it is needed to the custom allocation framework (bug #20422).
      
              * bytecode/SamplingTool.h:
              * bytecompiler/RegisterID.h:
              * interpreter/CachedCall.h:
              * interpreter/RegisterFile.h:
              * parser/Lexer.h:
              * parser/Parser.h:
              * runtime/ArgList.h:
              * runtime/BatchedTransitionOptimizer.h:
              * runtime/Collector.h:
              * runtime/CommonIdentifiers.h:
              * runtime/JSCell.h:
              * runtime/JSGlobalObject.h:
              * runtime/JSLock.h:
              * runtime/JSONObject.cpp:
              * runtime/SmallStrings.cpp:
              * runtime/SmallStrings.h:
              * wtf/CrossThreadRefCounted.h:
              * wtf/GOwnPtr.h:
              * wtf/Locker.h:
              * wtf/MessageQueue.h:
              * wtf/OwnArrayPtr.h:
              * wtf/OwnFastMallocPtr.h:
              * wtf/OwnPtr.h:
              * wtf/RefCounted.h:
              * wtf/ThreadSpecific.h:
              * wtf/Threading.h:
              * wtf/Vector.h:
              * wtf/unicode/Collator.h:
      
      WebCore:
      
      2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Darin Adler.
      
              Change all Noncopyable inheriting visibility to public.
              https://bugs.webkit.org/show_bug.cgi?id=27225
      
              Change all Noncopyable inheriting visibility to public because
              it is needed to the custom allocation framework (bug #20422).
      
              * bindings/js/GCController.h:
              * bindings/js/WorkerScriptController.h:
              * bindings/v8/V8DOMMap.cpp:
              (WebCore::):
              * bridge/runtime.h:
              * css/CSSSelector.h:
              * css/CSSSelectorList.h:
              * css/CSSStyleSelector.h:
              * dom/ClassNames.h:
              * dom/MessagePortChannel.h:
              * dom/XMLTokenizerLibxml2.cpp:
              * dom/XMLTokenizerScope.h:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/SelectionController.h:
              * editing/TextIterator.cpp:
              * history/PageCache.h:
              * html/CanvasRenderingContext2D.h:
              * html/HTMLParser.h:
              * html/HTMLParserQuirks.h:
              * html/PreloadScanner.h:
              * loader/Cache.h:
              * loader/CrossOriginPreflightResultCache.h:
              * loader/FrameLoader.h:
              * loader/ProgressTracker.h:
              * loader/ThreadableLoader.h:
              * loader/appcache/ApplicationCacheGroup.h:
              * loader/archive/ArchiveResourceCollection.h:
              * loader/icon/IconDatabase.h:
              * loader/icon/IconLoader.h:
              * loader/icon/PageURLRecord.h:
              * loader/loader.h:
              * page/ContextMenuController.h:
              * page/EventHandler.h:
              * page/FrameTree.h:
              * page/Page.h:
              * page/PageGroup.h:
              * page/PageGroupLoadDeferrer.h:
              * page/mac/EventHandlerMac.mm:
              * platform/AutodrainedPool.h:
              * platform/ContextMenu.h:
              * platform/EventLoop.h:
              * platform/HostWindow.h:
              * platform/Pasteboard.h:
              * platform/PurgeableBuffer.h:
              * platform/RunLoopTimer.h:
              * platform/ThreadGlobalData.h:
              * platform/ThreadTimers.h:
              * platform/Timer.h:
              * platform/TreeShared.h:
              * platform/graphics/FontData.h:
              * platform/graphics/GlyphWidthMap.h:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/ImageBuffer.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/MediaPlayer.h:
              * platform/graphics/skia/GraphicsContextPlatformPrivate.h:
              * platform/graphics/skia/PlatformContextSkia.h:
              * platform/graphics/win/QTMovieWin.cpp:
              * platform/mac/LocalCurrentGraphicsContext.h:
              * platform/network/FormDataBuilder.h:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/soup/ResourceHandleSoup.cpp:
              * platform/text/StringBuffer.h:
              * platform/text/TextCodec.h:
              * platform/win/WindowMessageBroadcaster.h:
              * rendering/CounterNode.h:
              * rendering/LayoutState.h:
              * rendering/RenderFrameSet.h:
              * rendering/RenderView.h:
              * rendering/TransformState.h:
              * svg/SVGAnimatedProperty.h:
              * svg/SynchronizableTypeWrapper.h:
              * workers/WorkerMessagingProxy.h:
              * workers/WorkerRunLoop.cpp:
              * xml/XPathExpressionNode.h:
              * xml/XPathParser.h:
              * xml/XPathPredicate.h:
              * xml/XPathStep.h:
      
      WebKit/gtk:
      
      2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Darin Adler.
      
              Change all Noncopyable inheriting visibility to public.
              https://bugs.webkit.org/show_bug.cgi?id=27225
      
              Change all Noncopyable inheriting visibility to public because
              it is needed to the custom allocation framework (bug #20422).
      
              * webkit/webkitdownload.cpp:
      
      WebKit/win:
      
      2009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
      
              Reviewed by Darin Adler.
      
              Change all Noncopyable inheriting visibility to public.
              https://bugs.webkit.org/show_bug.cgi?id=27225
      
              Change all Noncopyable inheriting visibility to public because
              it is needed to the custom allocation framework (bug #20422).
      
              * COMEnumVariant.h:
              * WebDatabaseManager.cpp:
              * WebInspector.h:
              * WebLocalizableStrings.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a8a2f45
    • darin@chromium.org's avatar
      2009-07-14 Darin Fisher <darin@chromium.org> · 0d95a99f
      darin@chromium.org authored
              Reviewed by Darin Adler.
      
              Fails to save document state when navigating away from a page with a
              reference fragment.
              https://bugs.webkit.org/show_bug.cgi?id=27281
      
              Test: fast/history/saves-state-after-fragment-nav.html
      
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::isCurrentDocument): Use equalIgnoringRef
              to compare URLs.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d95a99f
    • bfulgham@webkit.org's avatar
      2009-07-14 Joseph Pecoraro <joepeck02@gmail.com> · 2e0f8bf3
      bfulgham@webkit.org authored
              Reviewed by Sam Weinig.
      
              Inspector: Remove Unintended Global Variables
              https://bugs.webkit.org/show_bug.cgi?id=27203
      
              * inspector/front-end/Console.js:
              (WebInspector.Console.prototype._ensureCommandLineAPIInstalled):
              * inspector/front-end/DatabasesPanel.js:
              (WebInspector.DatabasesPanel.prototype.dataGridForDOMStorage):
              * inspector/front-end/ObjectPropertiesSection.js:
              (WebInspector.ObjectPropertyTreeElement.prototype.update):
              * inspector/front-end/inspector.js:
              (WebInspector.animateStyle):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45889 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e0f8bf3
    • pkasting@chromium.org's avatar
      WebCore: · 2fd46bb0
      pkasting@chromium.org authored
      2009-07-14  Michelangelo De Simone  <micdesim@gmail.com>
      
              Reviewed by Adele Peterson.
      
              https://bugs.webkit.org/show_bug.cgi?id=19562
              Added build stuff and stub for the ValidityState class, part of HTML5
              section Forms:
              http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#validitystate
      
              Test: fast/forms/ValidityState-001.html
      
              * DerivedSources.cpp: Inclusion of ValidityState files
              * DerivedSources.make: ditto
              * GNUmakefile.am: ditto
              * WebCore.gypi: ditto
              * WebCore.pro: ditto
              * WebCore.vcproj/WebCore.vcproj: ditto
              * WebCore.xcodeproj/project.pbxproj: ditto
              * WebCoreSources.bkl: ditto
              * html/HTMLButtonElement.idl: validity attribute
              * html/HTMLFieldSetElement.idl: ditto
              * html/HTMLFormControlElement.cpp:
              (WebCore::HTMLFormControlElement::validity): ValidityState getter
              * html/HTMLFormControlElement.h: ditto
              * html/HTMLInputElement.idl: validity attribute
              * html/HTMLSelectElement.idl: ditto
              * html/HTMLTextAreaElement.idl: ditto
              * html/ValidityState.cpp: Added.
              (WebCore::ValidityState::ValidityState):
              (WebCore::ValidityState::valid): validation flag
              * html/ValidityState.h: Added.
              (WebCore::ValidityState::create): validation flag
              (WebCore::ValidityState::control): ditto
              (WebCore::ValidityState::valueMissing): ditto
              (WebCore::ValidityState::typeMismatch): ditto
              (WebCore::ValidityState::patternMismatch): ditto
              (WebCore::ValidityState::tooLong): ditto
              (WebCore::ValidityState::rangeUnderflow): ditto
              (WebCore::ValidityState::rangeOverflow): ditto
              (WebCore::ValidityState::stepMismatch): ditto
              (WebCore::ValidityState::customError): ditto
              * html/ValidityState.idl: Added.
      
      LayoutTests:
      
      2009-07-14  Michelangelo De Simone  <micdesim@gmail.com>
      
              Reviewed by Adele Peterson.
      
              https://bugs.webkit.org/show_bug.cgi?id=19562
              Minimal test case for ValidityState; more tests are going to be added
              along with specific validation routines.
      
              * fast/dom/domListEnumeration-expected.txt: increased expected value
              of 1 to match the new "validity" attribute
              * fast/dom/resources/domListEnumeration.js: ditto
              * fast/forms/ValidityState-001-expected.txt: Added.
              * fast/forms/ValidityState-001.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fd46bb0
    • bfulgham@webkit.org's avatar
      2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 7e7de756
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Change ParserArenaRefCounted's superclass to RefCountedCustomAllocated
              https://bugs.webkit.org/show_bug.cgi?id=27249
      
              ParserArenaDeletable customizes operator new, to avoid double inheritance
              ParserArenaDeletable's superclass has been changed to RefCountedCustomAllocated.
      
              * parser/Nodes.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e7de756
    • jparent@chromium.org's avatar
      WebCore: · 17a316eb
      jparent@chromium.org authored
      2009-07-14  Ryosuke Niwa  <rniwa@google.com>
      
              Reviewed by Eric Seidel.
      
              Outdenting a line inside a blockquote tag does nothing
              https://bugs.webkit.org/show_bug.cgi?id=25316
      
              The bug was caused by the code checking whether the blockquote is created by WebKit or not.
              We simply remove this code to be consistent with Firefox and Internet Explorer.
              Also, enclosingBlockFlow == enclosingNode in outdentParagraph isn't a sufficient condition to insert
              the placeholder before the enclosingNode because there could be contents before the current paragraph.
              Instead, we should split the enclosingNode (which is a blockquote) at the starting position of outdentation.
              It turned out that this solves the bug 25315 also: https://bugs.webkit.org/show_bug.cgi?id=25315
      
              Test: editing/execCommand/outdent-regular-blockquote.html
      
              * editing/IndentOutdentCommand.cpp:
              (WebCore::isIndentBlockquote): no longer checks whether a blockquote is created by WebKit or not.
              (WebCore::IndentOutdentCommand::outdentParagraph): takes care of the case enclosingBlockFlow == enclosingNode
      
      LayoutTests:
      
      2009-07-14  Ryosuke Niwa  <rniwa@google.com>
      
              Reviewed by Eric Seidel.
      
              Outdenting a line inside a blockquote tag does nothing
              https://bugs.webkit.org/show_bug.cgi?id=25315
              https://bugs.webkit.org/show_bug.cgi?id=25316
      
              The expected result for /editing/execCommand/outdent-selection-expected.html
              was rebaselined since the original expected result was wrong (Bug 25315).
              Namely, "ipsum" moved to the same paragraph as "more Lorem!"
              ("ipsum" was in the blockblock immediately below "more Lorem!")
              and "Dolor" was moved above the list items "Foo", "Bar", and "Baz".
      
              * editing/execCommand/outdent-regular-blockquote-expected.txt: Added.
              * editing/execCommand/outdent-regular-blockquote.html: Added.
              * platform/mac/editing/execCommand/outdent-selection-expected.checksum:
              * platform/mac/editing/execCommand/outdent-selection-expected.png:
              * platform/mac/editing/execCommand/outdent-selection-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      17a316eb
    • bfulgham@webkit.org's avatar
      2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 11424b94
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Add RefCountedCustomAllocated to RefCounted.h
              https://bugs.webkit.org/show_bug.cgi?id=27232
      
              Some class which are inherited from RefCounted customize
              operator new, but RefCounted is inherited from Noncopyable
              which will be inherited from FastAllocBase. To avoid
              conflicts Noncopyable inheriting was moved down to RefCounted
              and to avoid double inheritance this class has been added.
      
              * wtf/RefCounted.h:
              (WTF::RefCountedCustomAllocated::deref):
              (WTF::RefCountedCustomAllocated::~RefCountedCustomAllocated):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11424b94
    • abarth@webkit.org's avatar
      2009-07-14 Adam Barth <abarth@webkit.org> · ed79a1b8
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Fix isolated world wrappers for Node prototypes
              https://bugs.webkit.org/show_bug.cgi?id=27277
      
              This change does two things:
      
              1) We bypass the wrapper cache in the isolated world.  This is because
                 the wrapper template cache has prototypes that lead to the main
                 world.  We can add a template cache for the isolated world if
                 performance warrants.
      
              2) We introduce a smarter way to grab the wrapper context for a frame
                 that is aware that proxy <-> context do not stand in one-to-one
                 correspondence.  This generalizes our solution for the node wrapper
                 case to prototypes.
      
              The net result is that Node wrappers get the right prototypes.  As
              before, tests to follow.
      
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::setHiddenWindowReference):
              (WebCore::V8DOMWrapper::instantiateV8Object):
              (WebCore::V8DOMWrapper::convertNodeToV8Object):
              (WebCore::V8DOMWrapper::convertWindowToV8Object):
              (WebCore::V8DOMWrapper::getWrapperContext):
              * bindings/v8/V8DOMWrapper.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed79a1b8
    • bfulgham@webkit.org's avatar
      2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · a54a1ecc
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Add NoncopyableCustomAllocated to Noncopyable.h.
              https://bugs.webkit.org/show_bug.cgi?id=27228
              
              Some classes which inherited from Noncopyable overrides operator new
              since Noncopyable'll be inherited from FastAllocBase, Noncopyable.h 
              needs to be extended with this new class to support the overriding. 
      
              * wtf/Noncopyable.h:
              (WTFNoncopyable::NoncopyableCustomAllocated::NoncopyableCustomAllocated):
              (WTFNoncopyable::NoncopyableCustomAllocated::~NoncopyableCustomAllocated):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a54a1ecc
    • abarth@webkit.org's avatar
      2009-07-14 Adam Barth <abarth@webkit.org> · d80bb494
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Fix isolated world wrappers for Nodes
              https://bugs.webkit.org/show_bug.cgi?id=27271
      
              Previously, we keepy a pointer to the DOMMap on V8Proxy, but this
              caused us to miss the branch in V8DOMMap.cpp for isolated worlds.
      
              I have tests, but I can't land them until I get this feature under
              control.
      
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::convertNodeToV8Object):
              * bindings/v8/V8Proxy.h:
              (WebCore::V8Proxy::V8Proxy):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d80bb494
    • bfulgham@webkit.org's avatar
      2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 146fdfdd
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Allow custom memory allocation control for JavaScriptCore's IdentifierTable class
              https://bugs.webkit.org/show_bug.cgi?id=27260
      
              Inherits IdentifierTable class from FastAllocBase because it has been
              instantiated by 'new' in JavaScriptCore/runtime/Identifier.cpp:70.
      
              * runtime/Identifier.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      146fdfdd
    • abarth@webkit.org's avatar
      2009-07-14 Adam Barth <abarth@webkit.org> · 9012d44d
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Fix isolated world crash on getting window.location
              https://bugs.webkit.org/show_bug.cgi?id=27268
      
              I have a test for this locally, but it requires a compile-time hack to
              run.  Once I get the feature's stability under control, we can turn the
              feature on and add the tests.
      
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::V8DOMWrapper::setHiddenWindowReference):
              * bindings/v8/V8IsolatedWorld.h:
              (WebCore::V8IsolatedWorld::context):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9012d44d
    • bfulgham@webkit.org's avatar
      2009-07-14 Brent Fulgham <bfulgham@webkit.org> · 8116a50c
      bfulgham@webkit.org authored
              Correct failing tests after r45875.  The original patch did not
              test the m_player member for null, causing crashes.  This will
              happen fairly frequently in real use.  Was this original patch
              ever tested?
              https://bugs.webkit.org/show_bug.cgi?id=27246
      
              Test via existing media tests.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::supportsFullscreen): Check for null pointer.
              (WebCore::HTMLMediaElement::supportsSave): Check for null pointer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8116a50c
    • darin@chromium.org's avatar
      2009-07-14 Avi Drissman <avi@chromium.org> · 6464108d
      darin@chromium.org authored
              Reviewed by Darin Fisher.
      
              Explicitly mark the HTML generated for the Mac as being UTF-8 encoded.
              The Windows clipboard format is explicitly documented as being UTF-8,
              and all Linux apps assume UTF-8. On the Mac, though, unless otherwise
              indicated, Windows-1252 is assumed, which is wrong.
      
              Bug: https://bugs.webkit.org/show_bug.cgi?id=27262
      
              No new tests.
      
              * platform/chromium/ClipboardChromium.cpp:
              (WebCore::ClipboardChromium::writeRange):
              * platform/chromium/PasteboardChromium.cpp:
              (WebCore::Pasteboard::writeSelection):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6464108d
    • bfulgham@webkit.org's avatar
      2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> · 564fe58c
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Allow custom memory allocation control for JavaScriptCore's Profiler class
              https://bugs.webkit.org/show_bug.cgi?id=27253
      
              Inherits Profiler class from FastAllocBase because it has been instantiated by
              'new' in JavaScriptCore/profiler/Profiler.cpp:56.
      
              * profiler/Profiler.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      564fe58c
    • japhet@chromium.org's avatar
      2009-07-14 Albert J. Wong <ajwong@chromium.org> · 1882ffbd
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Upstream V8NPObject.h and V8NPObject.cpp.
              https://bugs.webkit.org/show_bug.cgi?id=27103
      
              This just upstreams the files from the chromium code base. Only
              minor changes to formatting and similar were done, so no testing
              is required because nothing really changed.  Code verified to compile.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1882ffbd
    • bfulgham@webkit.org's avatar
      2009-07-14 Albert J. Wong <ajwong@chromium.org> · baafe6f3
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Add HTMLMediaElement::supportSave() and a
              HitTestResult::absoluteMediaURL() functions
              https://bugs.webkit.org/show_bug.cgi?id=27246
      
              Added an implementation of supportsSave() into HTMLMediaElement
              that delegates to MediaPlayerPrivateImpl so that the media engine
              is able to signal whether or not a media source supports saving.
      
              Also added a function to HitTestResult that allows for retrieval
              of the currentSrc associated with the "hit" media element. 
              
              These functions are just pipeing with no visible UI change so there
              are no related layout test changes.
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::supportsFullscreen): 
              (WebCore::HTMLMediaElement::supportsSave):
              * html/HTMLMediaElement.h:
              * platform/graphics/MediaPlayer.cpp:
              (WebCore::MediaPlayer::supportsSave):
              * platform/graphics/MediaPlayer.h:
              * platform/graphics/MediaPlayerPrivate.h:
              (WebCore::MediaPlayerPrivateInterface::supportsFullscreen):
              (WebCore::MediaPlayerPrivateInterface::supportsSave):
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::altDisplayString):
              (WebCore::HitTestResult::absoluteMediaURL):
              * rendering/HitTestResult.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      baafe6f3
    • dglazkov@chromium.org's avatar
      2009-07-14 Dimitri Glazkov <dglazkov@chromium.org> · 1ae34838
      dglazkov@chromium.org authored
              Reviewed by Adam Barth.
      
              [V8] Implement Reflect and ReflectURL attribute support.
              https://bugs.webkit.org/show_bug.cgi?id=27273
      
              * bindings/scripts/CodeGeneratorV8.pm: Added support for Reflect and ReflectURL attributes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ae34838
    • bfulgham@webkit.org's avatar
      2009-07-14 Dmitry Titov <dimich@chromium.org> · b6201962
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              https://bugs.webkit.org/show_bug.cgi?id=27266
              Add hasCurrentPoint() to WebCore::Path.
              This fixes Skia-based Chromium regression caused by the fix for
              https://bugs.webkit.org/show_bug.cgi?id=27187.
              For Skia, the new method always returns 'true', pending actual implementation.
              This means Chromium still will differ from Gecko behavior, but at least its Canvas
              will not be completely broken.
      
              Existing Canvas Layout Tests should pass in Chromium after this change.
      
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::lineTo): insteand of Path::isEmpty() test for hasCurrentPoint().
              (WebCore::CanvasRenderingContext2D::quadraticCurveTo): ditto.
              (WebCore::CanvasRenderingContext2D::bezierCurveTo): ditto.
      
              * platform/graphics/Path.h:
              * platform/graphics/cairo/PathCairo.cpp:
              (WebCore::Path::hasCurrentPoint):
              * platform/graphics/cg/PathCG.cpp:
              (WebCore::Path::isEmpty):
              (WebCore::Path::hasCurrentPoint):
              * platform/graphics/qt/PathQt.cpp:
              (WebCore::Path::hasCurrentPoint):
              * platform/graphics/skia/PathSkia.cpp:
              (WebCore::Path::hasCurrentPoint):
              * platform/graphics/wx/PathWx.cpp:
              (WebCore::Path::hasCurrentPoint):
              All these files add a Path::hasCurrentPoint() for various platforms.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6201962
    • japhet@chromium.org's avatar
      2009-07-14 Nate Chapin <japhet@chromium.org> · 757d3a3c
      japhet@chromium.org authored
              Reviewed by Sam Weinig.
      
              Upstream RGBColor from src.chromium.org.
      
              https://bugs.webkit.org/show_bug.cgi?id=27133
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      757d3a3c
    • mpcomplete@chromium.org's avatar
      2009-07-10 Matt Perry <mpcomplete@chromium.org> · f922e348
      mpcomplete@chromium.org authored
              Reviewed by Darin Fisher.
      
              [V8] Rename the didCreate/DestroyScriptContext calls to make it
              clear that that those refer to the frame's contxt.  Add another
              similar call for when creating contexts via evaluateInNewContext.
              https://bugs.webkit.org/show_bug.cgi?id=27104
      
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::evaluateInNewContext):
              (WebCore::V8Proxy::disposeContextHandles):
              (WebCore::V8Proxy::initContextIfNeeded):
              * loader/EmptyClients.h:
              (WebCore::EmptyFrameLoaderClient::didCreateScriptContextForFrame):
              (WebCore::EmptyFrameLoaderClient::didDestroyScriptContextForFrame):
              (WebCore::EmptyFrameLoaderClient::didCreateIsolatedScriptContext):
              * loader/FrameLoaderClient.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f922e348
    • bfulgham@webkit.org's avatar
      2009-07-14 Brent Fulgham <bfulgham@webkit.org> · 22f338f5
      bfulgham@webkit.org authored
              Revert http://trac.webkit.org/changeset/45864 after
              breaking of Windows build.
      
              * storage/LocalStorageTask.cpp:
              * storage/LocalStorageTask.h:
              * storage/Storage.cpp:
              * storage/Storage.h:
              * storage/StorageArea.cpp:
              * storage/StorageArea.h:
              * storage/StorageAreaImpl.cpp:
              * storage/StorageAreaImpl.h:
              * storage/StorageAreaSync.cpp:
              * storage/StorageAreaSync.h:
              * storage/StorageEvent.cpp:
              * storage/StorageEvent.h:
              (WebCore::StorageEvent::create):
              (WebCore::StorageEvent::StorageEvent):
              * storage/StorageNamespace.h:
              * storage/StorageNamespaceImpl.cpp:
              * storage/StorageNamespaceImpl.h:
              * storage/StorageSyncManager.cpp:
              * storage/StorageSyncManager.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22f338f5
    • treat@webkit.org's avatar
      2009-07-06 George Staikos <george.staikos@torchmobile.com> · 1b5d2b76
      treat@webkit.org authored
              Reviewed by Adam Treat.
      
              Authors: George Staikos <george.staikos@torchmobile.com>, Joe Mason <joe.mason@torchmobile.com>, Makoto Matsumoto <matumoto@math.keio.ac.jp>, Takuji Nishimura
      
              https://bugs.webkit.org/show_bug.cgi?id=27030
              Implement custom RNG for WinCE using Mersenne Twister
      
              * wtf/RandomNumber.cpp:
              (WTF::randomNumber):
              * wtf/RandomNumberSeed.h:
              (WTF::initializeRandomNumberGenerator):
              * wtf/wince/mt19937ar.c: Added.
              (init_genrand):
              (init_by_array):
              (genrand_int32):
              (genrand_int31):
              (genrand_real1):
              (genrand_real2):
              (genrand_real3):
              (genrand_res53):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b5d2b76
    • bfulgham@webkit.org's avatar
      2009-07-11 Jeremy Orlow <jorlow@chromium.org> · 24e4bf0b
      bfulgham@webkit.org authored
              Reviewed by Darin Adler.
      
              Cleanup DOM Storage dependencies.
              https://bugs.webkit.org/show_bug.cgi?id=27180
      
              DOM Storage had several unnecessary (and probably unintended)
              dependencies.  This patch replaces many includes of header files with
              forward declaration of classes, making some destructors explicit, and
              taking some factories out of the header files.
      
              This will allow things like StorageAreaSync to take a StorageAreaImpl*
              (as it should) rather than a StorageArea* which previously weren't
              possible because the dependencies were such a tangled mess.
      
              * storage/LocalStorageTask.cpp:
              (WebCore::LocalStorageTask::~LocalStorageTask):
              * storage/LocalStorageTask.h:
              * storage/Storage.cpp:
              (WebCore::Storage::~Storage):
              * storage/Storage.h:
              * storage/StorageArea.cpp:
              * storage/StorageArea.h:
              * storage/StorageAreaImpl.cpp:
              * storage/StorageAreaImpl.h:
              * storage/StorageAreaSync.cpp:
              (WebCore::StorageAreaSync::~StorageAreaSync):
              * storage/StorageAreaSync.h:
              * storage/StorageEvent.cpp:
              (WebCore::StorageEvent::create):
              (WebCore::StorageEvent::StorageEvent):
              * storage/StorageEvent.h:
              * storage/StorageNamespace.h:
              * storage/StorageNamespaceImpl.cpp:
              * storage/StorageNamespaceImpl.h:
              * storage/StorageSyncManager.cpp:
              (WebCore::StorageSyncManager::~StorageSyncManager):
              * storage/StorageSyncManager.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24e4bf0b
    • treat@webkit.org's avatar
      2009-07-14 Adam Treat <adam.treat@torchmobile.com> · f9123a52
      treat@webkit.org authored
              Reviewed by David Hyatt.
      
              https://bugs.webkit.org/show_bug.cgi?id=26983
      
              Check to make sure the view is attached to a frame() in the visibleContentsResized()
              method as it can be triggered before the view is attached by Frame::createView(...)
              setting various values such as setScrollBarModes(...) for example.  An ASSERT is
              triggered when a view is layout before being attached to a frame().
      
              * page/FrameView.cpp:
              (WebCore::FrameView::visibleContentsResized):
              * page/FrameView.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9123a52
    • treat@webkit.org's avatar
      2009-07-14 Adam Treat <adam.treat@torchmobile.com> · 2d39fc9c
      treat@webkit.org authored
              Reviewed by Zack Rusin.
      
              https://bugs.webkit.org/show_bug.cgi?id=26983
      
              The default constructed values for QSize and WebCore::IntSize are different.  The former
              produces an invalid size whereas the latter produces a size of zero.  This was causing
              a layout to be triggered when constructing a view and an assert to be hit.  This patch fixes
              the crash by taking care not to cause an unnecessary layout triggered by ScrollView::setFixedL
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d39fc9c
    • pfeldman@chromium.org's avatar
      2009-07-14 Pavel Feldman <pfeldman@chromium.org> · dc5f55fb
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              WebInspector: show last opened panel when invoking inspector.
      
              https://bugs.webkit.org/show_bug.cgi?id=27263
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::setWindowVisible):
              (WebCore::InspectorController::storeLastActivePanel):
              (WebCore::InspectorController::specialPanelForJSName):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::Setting::Setting):
              * inspector/InspectorController.idl:
              * inspector/front-end/inspector.js:
              (WebInspector.set currentPanel):
              (WebInspector.loaded):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc5f55fb
    • dglazkov@chromium.org's avatar
      2009-07-14 Anton Muhin <antonm@chromium.org> · 54a1501f
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Speed up access to NodeList length.
              https://bugs.webkit.org/show_bug.cgi?id=27264
      
              That's a minimal alternation of the code.
      
              * bindings/v8/custom/V8NodeListCustom.cpp:
              (WebCore::NAMED_PROPERTY_GETTER): 1) use AtomicString for comparison, 2) use
              v8::Integer::New instead of v8::Number::New.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54a1501f
    • dglazkov@chromium.org's avatar
      2009-07-14 Anton Muhin <antonm@chromium.org> · a23000ff
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Do not do unnecessary conversions from v8::Handle<v8::Value> to
              v8::Handle<v8::Object> and accompanying changes.
              https://bugs.webkit.org/show_bug.cgi?id=26953
      
              Three things:
      
              1) do not cast from v8::Value to v8::Object if unnecessary---casts are cheap,
              but are not free (they check for emptiness of handle);
              2) inline conversion from wrapper to node;
              3) simplify case to an ASSERT.
      
              This is just a refactoring, so no new tests are needed.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::evaluateInNewContext):
              (WebCore::V8Proxy::convertToSVGPODTypeImpl):
              * bindings/v8/V8Proxy.h:
              (WebCore::V8Proxy::convertDOMWrapperToNative):
              (WebCore::V8Proxy::convertToNativeObject):
              (WebCore::V8Proxy::convertToNativeEvent):
              * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
              (WebCore::toCanvasStyle):
              (WebCore::CALLBACK_FUNC_DECL):
              * bindings/v8/custom/V8CustomBinding.cpp:
              (WebCore::V8Custom::GetTargetFrame):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::CALLBACK_FUNC_DECL):
              (WebCore::V8Custom::ClearTimeoutImpl):
              (WebCore::NAMED_ACCESS_CHECK):
              (WebCore::INDEXED_ACCESS_CHECK):
              * bindings/v8/custom/V8DocumentCustom.cpp:
              (WebCore::CALLBACK_FUNC_DECL):
              * bindings/v8/custom/V8LocationCustom.cpp:
              (WebCore::CALLBACK_FUNC_DECL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a23000ff
    • darin@apple.com's avatar
      WebCore: · 576c622d
      darin@apple.com authored
      2009-07-14  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Straight quotes should match fancy quotes in in-page search
              https://bugs.webkit.org/show_bug.cgi?id=27217
      
              Tests: fast/text/find-quotes.html
      
              * editing/TextIterator.cpp:
              (WebCore::foldQuoteMark): Added.
              (WebCore::foldQuoteMarks): Added.
              (WebCore::SearchBuffer::SearchBuffer): Call foldQuoteMarks on the target string.
              (WebCore::SearchBuffer::append): Call foldQuoteMarks on characters as they are
              added to the search buffer.
      
              * platform/text/CharacterNames.h: Added more quotation mark character names.
              Sorted character names with the sort tool.
      
      LayoutTests:
      
      2009-07-14  Darin Adler  <darin@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Straight quotes should match fancy quotes in in-page search
              https://bugs.webkit.org/show_bug.cgi?id=27217
      
              * fast/text/find-quotes-expected.txt: Added.
              * fast/text/find-quotes.html: Copied from LayoutTests/fast/text/find-case-folding.html.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      576c622d
    • levin@chromium.org's avatar
      2009-07-14 Shinichiro Hamaji <hamaji@chromium.org> · 645dfa76
      levin@chromium.org authored
              Reviewed by David Levin.
      
              WebKit needs a style linting tool
              https://bugs.webkit.org/show_bug.cgi?id=25884
      
              Modifies cpplint (http://google-styleguide.googlecode.com/svn/trunk/cpplint/)
              based on WebKit's style guide.
      
              * Scripts/cpplint.py: Added.
              * Scripts/cpplint_unittest.py: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      645dfa76
    • hausmann@webkit.org's avatar
      2009-07-14 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 6c6e1c21
      hausmann@webkit.org authored
              Reviewed by Simon Hausmann.
      
              [Qt] DumpRenderTree no longer builds with Qt4.4
              https://bugs.webkit.org/show_bug.cgi?id=27257
      
              Flag Qt 4.5 dependency to allow building with Qt 4.4.
      
              * DumpRenderTree/qt/main.cpp:
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c6e1c21
  2. 13 Jul, 2009 8 commits
    • pfeldman@chromium.org's avatar
      2009-07-13 Pavel Feldman <pfeldman@chromium.org> · 14081483
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              WebInspector: handle debugger shortcuts while on source frame or on
              script file selector.
      
              https://bugs.webkit.org/show_bug.cgi?id=27224
      
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel):
              * inspector/front-end/SourceFrame.js:
              (WebInspector.SourceFrame.prototype._loaded):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14081483
    • weinig@apple.com's avatar
      2009-07-13 Sam Weinig <sam@webkit.org> · 53c5fa7c
      weinig@apple.com authored
              Reviewed by Darin Adler.
      
              Use standard HashCountedSet instead of a hand rolled one
              in HTMLDocument.
      
              * html/HTMLDocument.cpp:
              (WebCore::addItemToMap):
              (WebCore::removeItemFromMap):
              * html/HTMLDocument.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53c5fa7c
    • beidson@apple.com's avatar
      2009-07-13 Brady Eidson <beidson@apple.com> · 8ce4deb7
      beidson@apple.com authored
              Fix Leopard regression I just introduced.
      
              * platform/mac-leopard/platform/mac/fast/loader/file-url-mimetypes-2-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ce4deb7
    • beidson@apple.com's avatar
      2009-07-13 Brady Eidson <beidson@apple.com> · e0cb90d1
      beidson@apple.com authored
              Rubberstamped by Mark Rowe.
      
              Add SnowLeopard specific results for differing MIME types that are (mostly) progressions.
      
              * platform/mac-leopard/platform/mac/fast/loader: Added.
              * platform/mac-leopard/platform/mac/fast/loader/file-url-mimetypes-2-expected.txt: Copied from platform/mac/fast/loader/file-url-mimetypes-2-expected.txt.
              * platform/mac-leopard/platform/mac/fast/loader/file-url-mimetypes-3-expected.txt: Copied from platform/mac/fast/loader/file-url-mimetypes-3-expected.txt.
              * platform/mac-leopard/platform/mac/fast/loader/file-url-mimetypes-expected.txt: Copied from platform/mac/fast/loader/file-url-mimetypes-expected.txt.
              * platform/mac/fast/loader/file-url-mimetypes-2-expected.txt:
              * platform/mac/fast/loader/file-url-mimetypes-3-expected.txt:
              * platform/mac/fast/loader/file-url-mimetypes-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0cb90d1
    • darin@apple.com's avatar
      WebCore: · 2fbab983
      darin@apple.com authored
      2009-07-13  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Darin Adler and Maciej Stachowiak.
      
              Implement HTML5 draggable
              https://bugs.webkit.org/show_bug.cgi?id=26262
      
              This adds support for the HTML5 draggable attribute and its DOM binding. It maps the draggable property
              to the CSS properties -webkit-user-drag and -webkit-user-select respectively.
      
              Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-draggable-attribute
      
              Test: fast/html/draggable.html
      
              * css/html.css:
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::draggable):
              * html/HTMLAnchorElement.h:
              * html/HTMLAttributeNames.in:
              * html/HTMLElement.cpp:
              (WebCore::HTMLElement::draggable):
              (WebCore::HTMLElement::setDraggable):
              * html/HTMLElement.h:
              * html/HTMLElement.idl:
              * html/HTMLImageElement.cpp:
              (WebCore::HTMLImageElement::draggable):
              * html/HTMLImageElement.h:
      
      LayoutTests:
      
      2009-07-13  Erik Arvidsson  <arv@chromium.org>
      
              Reviewed by Darin Adler and Maciej Stachowiak.
      
              Implement HTML5 draggable
              https://bugs.webkit.org/show_bug.cgi?id=26262
      
              This adds support for the HTML5 draggable attribute and its DOM binding. It maps the draggable property
              to the CSS properties -webkit-user-drag and -webkit-user-select respectively.
      
              Spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#the-draggable-attribute
      
              * fast/html/draggable-expected.txt: Added.
              * fast/html/draggable.html: Added.
              * fast/html/resources: Added.
              * fast/html/resources/images: Added.
              * fast/html/resources/images/lime.png: Added.
      
              * fast/dom/resources/domListEnumeration.js: Updated.
              * fast/dom/domListEnumeration-expected.txt: Updated.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fbab983
    • simon.fraser@apple.com's avatar
      2009-07-13 Simon Fraser <simon.fraser@apple.com> · e9eb4722
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Image rendered as layer contents looks different from image rendered via CG.
              <rdar://problem/7048830>
      
              Fix a visible color profile difference between between images rendered via Core Graphics
              and those rendered via a compositing layer, by assigning the GenericRGB profile to
              untagged images (which come through as having the DeviceRGB profile) when they are set
              as layer contents.
      
              Test: compositing/color-matching/image-color-matching.html
      
              * platform/graphics/mac/GraphicsLayerCA.mm:
              (WebCore::GraphicsLayerCA::setContentsToImage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9eb4722
    • darin@apple.com's avatar
      2009-07-13 Darin Adler <darin@apple.com> · 635046ca
      darin@apple.com authored
              Reviewed by Oliver Hunt.
      
              https://bugs.webkit.org/show_bug.cgi?id=27220
              Assertion failure in createSearcher() (usearch_open() status is U_USING_DEFAULT_WARNING)
      
              * editing/TextIterator.cpp:
              (WebCore::createSearcher): Add U_USING_DEFAULT_WARNING as a possible status code
              in the assertion. Affects only the assertion.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      635046ca
    • ap@webkit.org's avatar
      Reviewed by Darin Adler. · ead1b57b
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=26925
              <rdar://problem/7027850> URL Fragment Breaks Application Cache Loads
      
              Test: http/tests/appcache/main-resource-hash.html
      
              * loader/appcache/ApplicationCache.cpp:
              (WebCore::ApplicationCache::resourceForURL):
              (WebCore::ApplicationCache::resourceForRequest):
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::cacheForMainRequest):
              (WebCore::ApplicationCacheGroup::fallbackCacheForMainRequest):
              (WebCore::ApplicationCacheGroup::selectCache):
              (WebCore::ApplicationCacheGroup::finishedLoadingMainResource):
              (WebCore::ApplicationCacheGroup::didReceiveResponse):
              (WebCore::ApplicationCacheGroup::didFail):
              (WebCore::ApplicationCacheGroup::addEntry):
              Remove URL fragment at appcache code borders.
      
              * loader/appcache/ApplicationCacheResource.h:
              (WebCore::ApplicationCacheResource::create):
              * loader/appcache/ApplicationCacheStorage.cpp:
              (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
              (WebCore::ApplicationCacheStorage::cacheGroupForURL):
              (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
              Assert that there is no URL fragment in URL at key points in appcache code.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@45848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ead1b57b