Web Inspector: DOM Storage Editing is broken in many ways, frustrating
https://bugs.webkit.org/show_bug.cgi?id=137547

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-10-09
Reviewed by Timothy Hatcher.

* UserInterface/Models/DOMStorageObject.js:
(WebInspector.DOMStorageObject.prototype.getEntries): Deleted.
When getting entires, populate the model object with these keys/values
so we can accurately detect duplicates in editing.

* UserInterface/Views/DataGrid.js:
(WebInspector.DataGrid.prototype.determineNextCell):
(WebInspector.DataGrid.prototype.moveToNextCell):
When the users uses "Enter" to commit, stop editing.

(WebInspector.DataGrid.prototype._editingCommitted):
Fix title property accessor. This is not a map. This fixes an exception
when showing context menus on editable data grid rows.

* UserInterface/Views/DOMStorageContentView.js:
(WebInspector.DOMStorageContentView.prototype.cleanup):
(WebInspector.DOMStorageContentView.prototype.restoreOriginalValues):
(WebInspector.DOMStorageContentView.prototype._editingCallback):
Completely rewrite editing here. As soon as an edit is made, enter
an uncommitted state with the original key/value. When a commit is
allowed, update as appropriate based on the original values.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Enable ARM64 disassembler for all platforms
https://bugs.webkit.org/show_bug.cgi?id=137560

Patch by Akos Kiss <akiss@inf.u-szeged.hu> on 2014-10-09
Reviewed by Michael Saboff.

Remove PLATFORM conditions from around WTF_USE_ARM64_DISASSEMBLER since
the ARM64 disassembler has no platform dependencies anymore.

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[iOS] Crash in CFURLDownloadClient.didFail if the download has a null resumeData
https://bugs.webkit.org/show_bug.cgi?id=137551

Reviewed by David Kilzer.

CFDataGetBytePtr() and CFDataGetLength() crash if passed a null value.

* Shared/Downloads/ios/DownloadIOS.mm:
(WebKit::setUpDownloadClient):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed Windows build fix after r174506.

We no longer needed to dereference as it is a reference instead of a
pointer now.

* page/win/EventHandlerWin.cpp:
(WebCore::EventHandler::passWheelEventToWidget):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
iOS Simulator results for editing tests.

* platform/ios-simulator/editing/*: Added

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Font Loading] Decrement the font loading count before notifying callbacks
https://bugs.webkit.org/show_bug.cgi?id=137401

Reviewed by Alexey Proskuryakov.

Source/WebCore:

In the callbacks, it should appear that font load has completed. This is
accessed through loading(), which relies on the current number of
fonts loading via JS and CSS.

Unskipping the failing test http/tests/webfont/fontloader-loading-attribute.html
test which tests this.

* css/FontLoader.cpp:
(WebCore::LoadFontCallback::notifyLoaded):

LayoutTests:

* platform/mac/TestExpectations: Unskip the test this bug was causing to fail.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@174515 268f45cc-cd09-0410-ab3c-d52691b4dbfc