1. 09 Sep, 2011 16 commits
  2. 08 Sep, 2011 24 commits
    • ukai@chromium.org's avatar
      Unreviewed, update chromium test expectations. · da560641
      ukai@chromium.org authored
      * platform/chromium/test_expectations.txt: chromium/compositing/zoom-animator-scale-test missing on leopard gpu
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94834 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da560641
    • ukai@chromium.org's avatar
      Unreviewed, update chromium test expectations. · 5a8f23ea
      ukai@chromium.org authored
      * platform/chromium/test_expectations.txt: add webaudio/sample-accurate-scheduling.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94833 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a8f23ea
    • sullivan@chromium.org's avatar
      Crashes in WebCore::InsertNodeBeforeCommand constructor. · f91bb620
      sullivan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67763
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Changes editableRootForPosition() to use the position's containerNode instead of deprecatedNode so that
      positions which are before or after a given node cannot return that node as the editable root.
      
      Test: editing/inserting/insert-paragraph-selection-outside-contenteditable.html
      
      * editing/htmlediting.cpp:
      (WebCore::editableRootForPosition): use containerNode instead of deprecatedNode.
      
      LayoutTests:
      
      Tests for crash when the selection is outside the contenteditable node.
      
      * editing/inserting/insert-paragraph-selection-outside-contenteditable-expected.txt: Added.
      * editing/inserting/insert-paragraph-selection-outside-contenteditable.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f91bb620
    • commit-queue@webkit.org's avatar
      Release the reference to the HTMLPlugInElement's script object, when the... · 0c6b1005
      commit-queue@webkit.org authored
      Release the reference to the HTMLPlugInElement's script object, when the element is removed from the document.  This breaks a cyclical reference that would otherwise cause the element to be retained until the document is torn down.
      https://bugs.webkit.org/show_bug.cgi?id=66181
      
      Patch by James Weatherall <wez@chromium.org> on 2011-09-08
      Reviewed by Anders Carlsson.
      
      No new tests - no functional change.
      
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::removedFromDocument):
      * html/HTMLPlugInElement.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94831 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c6b1005
    • commit-queue@webkit.org's avatar
      Test how HTMLAnchorElement.getParameter reacts to too few arguments · e834d67e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66522
      
      Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-09-08
      Reviewed by Adam Barth.
      
      * LayoutTests/fast/dom/HTMLAnchorElement/get-parameter-expected.txt: Added.
      * LayoutTests/fast/dom/HTMLAnchorElement/get-parameter.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e834d67e
    • dbates@webkit.org's avatar
      XSS filter bypass via non-standard URL encoding · adf5c3c2
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66588
      
      Reviewed by Adam Barth.
      
      Source/WebCore: 
      
      Tests: http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html
             http/tests/security/xssAuditor/script-tag-with-16bit-unicode.html
             http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html
             http/tests/security/xssAuditor/script-tag-with-16bit-unicode3.html
             http/tests/security/xssAuditor/script-tag-with-16bit-unicode4.html
             http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html
             http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode.html
             http/tests/security/xssAuditor/window-open-without-url-should-not-assert.html
      
      Implement support for decoding non-standard 16-bit Unicode escape sequences of
      the form %u26C4 as described in <http://www.w3.org/International/iri-edit/draft-duerst-iri.html#anchor29>.
      
      See also <http://en.wikipedia.org/wiki/Percent-encoding#Non-standard_implementations>.
      
      * GNUmakefile.list.am: Added DecodeEscapeSequences.h.
      * WebCore.gypi: Ditto.
      * WebCore.pro: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      * html/parser/XSSAuditor.cpp:
      (WebCore::decode16BitUnicodeEscapeSequences): Added.
      (WebCore::decodeStandardURLEscapeSequences): Added.
      (WebCore::fullyDecodeString): Modified to call decode16BitUnicodeEscapeSequences().
      (WebCore::XSSAuditor::init): Modified to return early when the URL of the document
      is the empty string. This can happen when opening a new browser window or calling
      window.open("").
      * platform/KURL.cpp:
      (WebCore::decodeURLEscapeSequences): Abstracted code into template-function decodeEscapeSequences().
      This function just calls decodeEscapeSequences<URLEscapeSequence>().
      * platform/text/DecodeEscapeSequences.h: Added.
      (WebCore::Unicode16BitEscapeSequence::findInString):
      (WebCore::Unicode16BitEscapeSequence::matchStringPrefix):
      (WebCore::Unicode16BitEscapeSequence::decodeRun):
      (WebCore::URLEscapeSequence::findInString):
      (WebCore::URLEscapeSequence::matchStringPrefix):
      (WebCore::URLEscapeSequence::decodeRun):
      (WebCore::decodeEscapeSequences):
      
      LayoutTests: 
      
      Add tests for decoding non-standard 16-bit Unicode escape sequences.
      
      Also add a test to ensure that we don't cause an assertion failure when
      calling window.open("").
      
      * http/tests/security/xssAuditor/resources/echo-intertag-decode-16bit-unicode.pl: Added.
      (isUTF16Surrogate):
      (decodeRunOf16BitUnicodeEscapeSequences):
      (decode16BitUnicodeEscapeSequences):
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode2.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode3.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode4.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode5.html: Added.
      * http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt: Updated expected
      result since we now pass this test. We should rename this file to something more descriptive,
      see <https://bugs.webkit.org/show_bug.cgi?id=67818>.
      * http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt: Added.
      * http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode.html: Added.
      * http/tests/security/xssAuditor/window-open-without-url-should-not-assert-expected.txt: Added.
      * http/tests/security/xssAuditor/window-open-without-url-should-not-assert.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adf5c3c2
    • ukai@chromium.org's avatar
      Unreviewed. Chromium rebaseline of css3/bdi-element.html · 4fc0052d
      ukai@chromium.org authored
      * platform/chromium-cg-mac/css3/bdi-element-expected.png: Added.
      * platform/chromium-linux/css3/bdi-element-expected.png: Added.
      * platform/chromium-mac/css3/bdi-element-expected.png: Added.
      * platform/chromium-win/css3/bdi-element-expected.png: Added.
      * platform/chromium-win/css3/bdi-element-expected.txt: Added.
      * platform/chromium/css3/bdi-element-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4fc0052d
    • dbates@webkit.org's avatar
      2011-09-08 Daniel Bates <dbates@webkit.org> · 58e24c14
      dbates@webkit.org authored
              Fix the GTK build after <http://trac.webkit.org/changeset/94810>
              (https://bugs.webkit.org/show_bug.cgi?id=67807).
      
              * webkit/webkitwebview.cpp:
              (webkit_web_view_get_encoding): Substitute DocumentWriter::deprecatedFrameEncoding() for
              DocumentWriter::encoding().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58e24c14
    • abarth@webkit.org's avatar
      DocumentWriter::deprecatedFrameEncoding doesn't need to refert to Settings · 2edec853
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67812
      
      Reviewed by Eric Seidel.
      
      The one caller of this function does this work already.
      
      * loader/DocumentWriter.cpp:
      (WebCore::DocumentWriter::deprecatedFrameEncoding):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2edec853
    • adamk@chromium.org's avatar
      Always zero-out m_sortedTextBoxesPosition to avoid uninitialized read in TextIterator · 2c63b57a
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67810
      
      Reviewed by Tony Chang.
      
      Reported as a valgrind failure in http://crbug.com/84777.
      
      No possible change in behavior, so no tests. The unitialized read
      could never have an impact:
      
         if (m_sortedTextBoxesPosition + 1 < m_sortedTextBoxes.size()) ...
      
      Since m_sortedTextBoxes.size() will be zero here if
      m_sortedTextBoxesPosition is uninitialized, and they're both unsigned,
      so no possible value of m_sortedTextBoxesPosition could be < 0.
      
      * editing/TextIterator.cpp:
      (WebCore::TextIterator::TextIterator):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c63b57a
    • tony@chromium.org's avatar
      Cleanup of switch statements with default cases · 7a8a9709
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67808
      
      Reviewed by Adam Barth.
      
      No new tests, just a small refactoring.
      
      * page/WebKitAnimation.cpp:
      (WebCore::WebKitAnimation::fillMode):
      * platform/audio/Distance.cpp:
      (WebCore::DistanceEffect::gain):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94823 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a8a9709
    • eric@webkit.org's avatar
      [BiDi] Add support for the BDI element · 0c65fb0f
      eric@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=50913
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      This patch is ridiculously trivial now that we have unicode-bidi: isolate support in WebKit.
      
      Test: css3/bdi-element.html
      
      * css/html.css:
      (bdi):
      
      LayoutTests:
      
      * css3/bdi-element.html: Added.
      * platform/mac/css3/bdi-element-expected.png: Added.
      * platform/mac/css3/bdi-element-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c65fb0f
    • levin@chromium.org's avatar
      [chromium] KURL::copy doesn't produce something usable on another thread. · 14547540
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67809
      
      Reviewed by Adam Barth.
      
      No new functionality exposed so no new test. This was caught by testing code: the thread
      sanitizer run in Chromium (http://code.google.com/p/chromium/issues/detail?id=93708).
      
      * platform/KURLGoogle.cpp:
      (WebCore::KURLGooglePrivate::copyTo): Clear out the invalid String so that it will
      not be used on another thread.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14547540
    • ap@apple.com's avatar
      REGRESSION (r66874): Missing RefPtr in ScriptController · 4e3a4b35
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=67748
      
              Reviewed by Adam Barth.
      
              * bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::executeScript):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e3a4b35
    • abarth@webkit.org's avatar
      Another attempt to fix the Chromium build. (Missed one.) · c75f975b
      abarth@webkit.org authored
      * src/WebPageSerializerImpl.cpp:
      (WebKit::WebPageSerializerImpl::serialize):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c75f975b
    • mrowe@apple.com's avatar
      <rdar://problem/9742393> Spell checking a text area causes the page to reload · 0850c8ee
      mrowe@apple.com authored
      Ensure that m_pendingLearnOrIgnoreWordMessageCount is incremented when we use
      executeEditCommand to ignore a word. This will ensure that WebPageProxy::ignoreWord
      is expecting to be called, and will not turn around and terminate the web process.
      
      Reviewed by Anders Carlsson.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::executeEditCommand):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0850c8ee
    • abarth@webkit.org's avatar
      Second attempt to fix Chromium build. · 9c3ff546
      abarth@webkit.org authored
      * dom/Document.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c3ff546
    • abarth@webkit.org's avatar
      Attempt to fix Chromium build. We can just grab the encoding from the document. · 969a1ef4
      abarth@webkit.org authored
      * src/ContextMenuClientImpl.cpp:
      (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
      * src/WebDocument.cpp:
      (WebKit::WebDocument::encoding):
      * src/WebPageSerializerImpl.cpp:
      (WebKit::WebPageSerializerImpl::preActionBeforeSerializeOpenTag):
      * src/WebSearchableFormData.cpp:
      (HTMLNames::GetFormEncoding):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::pageEncoding):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      969a1ef4
    • weinig@apple.com's avatar
      Remove accidentally committed typo. · f19acb08
      weinig@apple.com authored
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::waitForSyncReply):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f19acb08
    • oliver@apple.com's avatar
      Use bump allocator for initial property storage · ba6907b7
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67494
      
      Reviewed by Geoffrey Garen.
      
      ../../../../Volumes/Data/git/WebKit/OpenSource/Source/JavaScriptCore:
      
      Use a bump allocator for initial allocation of property storage,
      and promote to fastMalloc memory only if it survives a GC pass.
      
      Comes out as a 1% win on v8, and is a useful step on the way to
      GC allocation of all property storage.
      
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * heap/Heap.cpp:
      (JSC::Heap::collect):
      * heap/Heap.h:
      (JSC::Heap::allocatePropertyStorage):
      (JSC::Heap::inPropertyStorageNursery):
      * heap/MarkedBlock.h:
      * heap/NewSpace.cpp:
      (JSC::NewSpace::NewSpace):
      * heap/NewSpace.h:
      (JSC::NewSpace::resetPropertyStorageNursery):
      (JSC::NewSpace::allocatePropertyStorage):
      (JSC::NewSpace::inPropertyStorageNursery):
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/JSObject.cpp:
      (JSC::JSObject::allocatePropertyStorage):
      * runtime/JSObject.h:
      (JSC::JSObject::isUsingInlineStorage):
      (JSC::JSObject::JSObject):
      (JSC::JSObject::propertyStorage):
      (JSC::JSObject::~JSObject):
      (JSC::JSObject::putDirectInternal):
      (JSC::JSObject::putDirectWithoutTransition):
      (JSC::JSObject::putDirectFunctionWithoutTransition):
      (JSC::JSObject::transitionTo):
      (JSC::JSObject::visitChildrenDirect):
      * runtime/StorageBarrier.h: Added.
      (JSC::StorageBarrier::StorageBarrier):
      (JSC::StorageBarrier::set):
      (JSC::StorageBarrier::operator->):
      (JSC::StorageBarrier::operator*):
      (JSC::StorageBarrier::operator[]):
      (JSC::StorageBarrier::get):
      
      ../../../../Volumes/Data/git/WebKit/OpenSource/Source/WebCore:
      
      Add a forwarding header.
      
      * ForwardingHeaders/runtime/StorageBarrier.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba6907b7
    • rolandsteiner@chromium.org's avatar
      Unreviewed, rolling out r94809. · 55b28ab6
      rolandsteiner@chromium.org authored
      http://trac.webkit.org/changeset/94809
      https://bugs.webkit.org/show_bug.cgi?id=67718
      
      commit _still_ premature, despite CQ eagerness
      
      Source/WebCore:
      
      * html/HTMLAttributeNames.in:
      * html/HTMLStyleElement.cpp:
      * html/HTMLStyleElement.h:
      * html/HTMLStyleElement.idl:
      
      LayoutTests:
      
      * fast/css/style-scoped/basic-attribute-expected.txt: Removed.
      * fast/css/style-scoped/basic-attribute.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55b28ab6
    • bweinstein@apple.com's avatar
      Source/WebKit2: WebKit2: Assertion when calling didPerform*Redirect on null... · da7434ad
      bweinstein@apple.com authored
      Source/WebKit2: WebKit2: Assertion when calling didPerform*Redirect on null source/destination URL string
      https://bugs.webkit.org/show_bug.cgi?id=67794
      <rdar://problem/9892024>
              
      Don't call didPerformClientRedirect or didPerformServerRedirect when source or destination URL string
      is empty or null.
              
      If we call didPerformClientRedirect or didPerformServerRedirect when the source or destination is null,
      it causes an assert in WKURLCF::WKURLCopyCFURL when we try to convert the WKURLRef into a CFURLRef.
      
      Reviewed by Brady Eidson.
      
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::didPerformClientRedirect): Return early if the source or destination URL string is empty or null.
      (WebKit::WebContext::didPerformServerRedirect): Ditto.
      
      Tools: WebKit2: Assertion when calling didPerform*Redirect on null source/destination URL string
      https://bugs.webkit.org/show_bug.cgi?id=67794
      <rdar://problem/9892024>
              
      Add a test that we don't send a didPerformServerRedirect when a load is cancelled from willSendRequest.
      
      Reviewed by Brady Eidson.
      
      * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback.cpp: Added.
      (TestWebKitAPI::didFinishLoadForFrame): Set flags on whether we've loaded the main frame, iframe, or both.
      (TestWebKitAPI::didPerformServerRedirect): Set a flag for whether we've performed a server redirect.
      (TestWebKitAPI::TEST): Set up a WKPageLoaderClient and WKContextHistoryClient, and load simple-iframe.html.
          Once both frames have loaded (main frame and blocked iframe), make sure that we have never called
          didPerformServerRedirect.
      
      * TestWebKitAPI/Tests/WebKit2/LoadCanceledNoServerRedirectCallback_Bundle.cpp: Added.
      (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::LoadCanceledNoServerRedirectCallbackTest): Initialize
          our InjectedBundleTest.
      (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::willSendRequestForFrame): If we are dealing with a request
          from the main frame (the main resource in simple-iframe.html), allow it. If not (dealing with the iframe), block
          the request.
      (TestWebKitAPI::LoadCanceledNoServerRedirectCallbackTest::didCreatePage): Set up the WKBundlePageResourceLoadClient.
      
      * TestWebKitAPI/Tests/WebKit2/simple-iframe.html: Added.
              
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add new files.
      * TestWebKitAPI/win/TestWebKitAPI.vcproj: Ditto.
      * TestWebKitAPI/win/TestWebKitAPIInjectedBundle.vcproj: Ditto.
      * TestWebKitAPI/win/copy-resources.cmd: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da7434ad
    • weinig@apple.com's avatar
      Remove the Completion object from JSC, I have never liked it · f41a7da7
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67755
      
      Reviewed by Gavin Barraclough.
      
      ../JavaScriptCore: 
      
      - Removes the Completion object and replaces its use with out parameter exceptions.
      - Remove ComplType and virtual exceptionType() function on JSObject. Replace with
        ClassInfo for InterruptedExecutionError and TerminatedExecutionError.
      
      * API/JSBase.cpp:
      (JSEvaluateScript):
      (JSCheckScriptSyntax):
      * JavaScriptCore.exp:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::throwException):
      * jsc.cpp:
      (functionLoad):
      (functionCheckSyntax):
      (runWithScripts):
      (runInteractive):
      * runtime/Completion.cpp:
      (JSC::checkSyntax):
      (JSC::evaluate):
      * runtime/Completion.h:
      * runtime/ExceptionHelpers.cpp:
      (JSC::InterruptedExecutionError::toString):
      (JSC::TerminatedExecutionError::toString):
      (JSC::createInterruptedExecutionException):
      * runtime/ExceptionHelpers.h:
      (JSC::InterruptedExecutionError::InterruptedExecutionError):
      (JSC::InterruptedExecutionError::create):
      (JSC::InterruptedExecutionError::createStructure):
      (JSC::TerminatedExecutionError::TerminatedExecutionError):
      (JSC::TerminatedExecutionError::create):
      (JSC::TerminatedExecutionError::createStructure):
      * runtime/JSGlobalData.cpp:
      (JSC::JSGlobalData::JSGlobalData):
      * runtime/JSObject.h:
      
      ../JavaScriptGlue: 
      
      * JSRun.cpp:
      (JSRun::Evaluate):
      (JSRun::CheckSyntax):
      * JSRun.h:
      * JavaScriptGlue.cpp:
      (JSRunEvaluate):
      
      ../WebCore: 
      
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::reportException):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSInjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::createInjectedScript):
      * bindings/js/JSMainThreadExecState.h:
      (WebCore::JSMainThreadExecState::evaluate):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::evaluateInWorld):
      * bindings/js/WorkerScriptController.cpp:
      (WebCore::WorkerScriptController::evaluate):
      * bindings/objc/WebScriptObject.mm:
      (-[WebScriptObject evaluateWebScript:]):
      * bridge/NP_jsobject.cpp:
      (_NPN_Evaluate):
      * bridge/jni/jni_jsobject.mm:
      (JavaJSObject::eval):
      
      ../WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::evaluate):
      
      ../WebKit/qt: 
      
      * Api/qwebelement.cpp:
      (QWebElement::evaluateJavaScript):
      
      ../WebKit2: 
      
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::evaluate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f41a7da7
    • abarth@webkit.org's avatar
      Inline DocumentWriter::encoding() into it's only caller: deprecatedFrameEncoding() · d5b296c6
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67807
      
      Reviewed by Eric Seidel.
      
      This function is super nutty.  We don't want any more folks to call it
      thinking that it does something sane.
      
      * loader/DocumentWriter.cpp:
      (WebCore::DocumentWriter::deprecatedFrameEncoding):
      * loader/DocumentWriter.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5b296c6