[webkit-changes] [194495] trunk/Source

2016-01-01 Thread simon . fraser
Title: [194495] trunk/Source








Revision 194495
Author simon.fra...@apple.com
Date 2016-01-01 22:55:12 -0800 (Fri, 01 Jan 2016)


Log Message
Fix the iOS and EFL builds, after an over-eager commit-queue commit.

Source/WebKit/mac:

* History/WebHistoryItem.mm:
(-[WebHistoryItem initFromDictionaryRepresentation:]):

Source/WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::restoreViewState):
* WebProcess/WebPage/efl/WebPageEfl.cpp:
(WebKit::WebPage::restorePageState):

Modified Paths

trunk/Source/WebKit/mac/ChangeLog
trunk/Source/WebKit/mac/History/WebHistoryItem.mm
trunk/Source/WebKit2/ChangeLog
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
trunk/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp




Diff

Modified: trunk/Source/WebKit/mac/ChangeLog (194494 => 194495)

--- trunk/Source/WebKit/mac/ChangeLog	2016-01-02 06:06:35 UTC (rev 194494)
+++ trunk/Source/WebKit/mac/ChangeLog	2016-01-02 06:55:12 UTC (rev 194495)
@@ -1,5 +1,12 @@
 2016-01-01  Simon Fraser  
 
+Fix the iOS and EFL builds, after an over-eager commit-queue commit.
+
+* History/WebHistoryItem.mm:
+(-[WebHistoryItem initFromDictionaryRepresentation:]):
+
+2016-01-01  Simon Fraser  
+
 Fix naming in HistoryItem to refer to scrollPositions
 https://bugs.webkit.org/show_bug.cgi?id=152646
 


Modified: trunk/Source/WebKit/mac/History/WebHistoryItem.mm (194494 => 194495)

--- trunk/Source/WebKit/mac/History/WebHistoryItem.mm	2016-01-02 06:06:35 UTC (rev 194494)
+++ trunk/Source/WebKit/mac/History/WebHistoryItem.mm	2016-01-02 06:55:12 UTC (rev 194495)
@@ -377,7 +377,7 @@
 NSNumber *scrollPointXValue = [dict objectForKey:scrollPointXKey];
 NSNumber *scrollPointYValue = [dict objectForKey:scrollPointYKey];
 if (scrollPointXValue && scrollPointYValue)
-core(_private)->setScrollPoint(IntPoint([scrollPointXValue intValue], [scrollPointYValue intValue]));
+core(_private)->setScrollPosition(IntPoint([scrollPointXValue intValue], [scrollPointYValue intValue]));
 
 uint32_t bookmarkIDValue = [[dict objectForKey:bookmarkIDKey] unsignedIntValue];
 if (bookmarkIDValue)
@@ -471,9 +471,9 @@
 if (viewportArguments)
 [dict setObject:viewportArguments forKey:@"WebViewportArguments"];
 
-IntPoint scrollPoint = core(_private)->scrollPoint();
-[dict setObject:[NSNumber numberWithInt:scrollPoint.x()] forKey:scrollPointXKey];
-[dict setObject:[NSNumber numberWithInt:scrollPoint.y()] forKey:scrollPointYKey];
+IntPoint scrollPosition = core(_private)->scrollPosition();
+[dict setObject:[NSNumber numberWithInt:scrollPosition.x()] forKey:scrollPointXKey];
+[dict setObject:[NSNumber numberWithInt:scrollPosition.y()] forKey:scrollPointYKey];
 
 uint32_t bookmarkID = core(_private)->bookmarkID();
 if (bookmarkID)


Modified: trunk/Source/WebKit2/ChangeLog (194494 => 194495)

--- trunk/Source/WebKit2/ChangeLog	2016-01-02 06:06:35 UTC (rev 194494)
+++ trunk/Source/WebKit2/ChangeLog	2016-01-02 06:55:12 UTC (rev 194495)
@@ -1,5 +1,14 @@
 2016-01-01  Simon Fraser  
 
+Fix the iOS and EFL builds, after an over-eager commit-queue commit.
+
+* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
+(WebKit::WebFrameLoaderClient::restoreViewState):
+* WebProcess/WebPage/efl/WebPageEfl.cpp:
+(WebKit::WebPage::restorePageState):
+
+2016-01-01  Simon Fraser  
+
 Fix naming in HistoryItem to refer to scrollPositions
 https://bugs.webkit.org/show_bug.cgi?id=152646
 


Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp (194494 => 194495)

--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2016-01-02 06:06:35 UTC (rev 194494)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp	2016-01-02 06:55:12 UTC (rev 194495)
@@ -1206,7 +1206,7 @@
 if (m_frame->isMainFrame())
 m_frame->page()->restorePageState(*currentItem);
 else if (!view->wasScrolledByUser())
-view->setScrollPosition(currentItem->scrollPoint());
+view->setScrollPosition(currentItem->scrollPosition());
 }
 #else
 // Inform the UI process of the scale factor.


Modified: trunk/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp (194494 => 194495)

--- trunk/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp	2016-01-02 06:06:35 UTC (rev 194494)
+++ trunk/Source/WebKit2/WebProcess/WebPage/efl/WebPageEfl.cpp	2016-01-02 06:55:12 UTC (rev 194495)
@@ -232,12 +232,12 @@
 void WebPage::restorePageState(const HistoryItem& historyItem)
 {
 float restorePageScaleFactor = historyItem.pageScaleFactor();
-IntPoint restoreScrollPoint = historyItem.scrollPoint();
+IntPoint restoreScrollPosition = historyItem.scrollPosition();
 
 // A scale factor or 

[webkit-changes] [194493] trunk/Source/JavaScriptCore

2016-01-01 Thread fpizlo
Title: [194493] trunk/Source/_javascript_Core








Revision 194493
Author fpi...@apple.com
Date 2016-01-01 22:03:17 -0800 (Fri, 01 Jan 2016)


Log Message
FTL B3 should be able to run all of the old V8v7 tests
https://bugs.webkit.org/show_bug.cgi?id=152579

Reviewed by Saam Barati.

Fixes some silly bugs that were preventing us from running all of the old V8v7 tests.

IRC's analysis of when to turn a Move into a Move32 when spilling is based on the premise
that if the dst has a 32-bit def width, then the src must also have a 32-bit def width. But
that doesn't happen if the src is an immediate.

This changes that condition in IRC to use the combined use/def width of both src and dst
rather than being clever. This is great because it's the combined width that determines the
size of the spill slot.

Also added some more debug support to TmpWidth.

This also fixes Air's description of DivDouble; previously it claimed to be a 32-bit
operation. Also implements Output::unsignedToDouble(), since we already had everything we
needed to implement this optimally.

* b3/air/AirIteratedRegisterCoalescing.cpp:
* b3/air/AirOpcode.opcodes:
* b3/air/AirTmpWidth.cpp:
(JSC::B3::Air::TmpWidth::recompute):
(JSC::B3::Air::TmpWidth::Widths::dump):
* b3/air/AirTmpWidth.h:
(JSC::B3::Air::TmpWidth::Widths::Widths):
* ftl/FTLB3Output.cpp:
(JSC::FTL::Output::doubleToUInt):
(JSC::FTL::Output::unsignedToDouble):
* ftl/FTLB3Output.h:
(JSC::FTL::Output::zeroExt):
(JSC::FTL::Output::zeroExtPtr):
(JSC::FTL::Output::intToDouble):
(JSC::FTL::Output::castToInt32):
(JSC::FTL::Output::unsignedToDouble): Deleted.

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp
trunk/Source/_javascript_Core/b3/air/AirOpcode.opcodes
trunk/Source/_javascript_Core/b3/air/AirTmpWidth.cpp
trunk/Source/_javascript_Core/b3/air/AirTmpWidth.h
trunk/Source/_javascript_Core/ftl/FTLB3Output.cpp
trunk/Source/_javascript_Core/ftl/FTLB3Output.h




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (194492 => 194493)

--- trunk/Source/_javascript_Core/ChangeLog	2016-01-02 05:56:29 UTC (rev 194492)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-02 06:03:17 UTC (rev 194493)
@@ -1,3 +1,43 @@
+2015-12-28  Filip Pizlo  
+
+FTL B3 should be able to run all of the old V8v7 tests
+https://bugs.webkit.org/show_bug.cgi?id=152579
+
+Reviewed by Saam Barati.
+
+Fixes some silly bugs that were preventing us from running all of the old V8v7 tests.
+
+IRC's analysis of when to turn a Move into a Move32 when spilling is based on the premise
+that if the dst has a 32-bit def width, then the src must also have a 32-bit def width. But
+that doesn't happen if the src is an immediate.
+
+This changes that condition in IRC to use the combined use/def width of both src and dst
+rather than being clever. This is great because it's the combined width that determines the
+size of the spill slot.
+
+Also added some more debug support to TmpWidth.
+
+This also fixes Air's description of DivDouble; previously it claimed to be a 32-bit
+operation. Also implements Output::unsignedToDouble(), since we already had everything we
+needed to implement this optimally.
+
+* b3/air/AirIteratedRegisterCoalescing.cpp:
+* b3/air/AirOpcode.opcodes:
+* b3/air/AirTmpWidth.cpp:
+(JSC::B3::Air::TmpWidth::recompute):
+(JSC::B3::Air::TmpWidth::Widths::dump):
+* b3/air/AirTmpWidth.h:
+(JSC::B3::Air::TmpWidth::Widths::Widths):
+* ftl/FTLB3Output.cpp:
+(JSC::FTL::Output::doubleToUInt):
+(JSC::FTL::Output::unsignedToDouble):
+* ftl/FTLB3Output.h:
+(JSC::FTL::Output::zeroExt):
+(JSC::FTL::Output::zeroExtPtr):
+(JSC::FTL::Output::intToDouble):
+(JSC::FTL::Output::castToInt32):
+(JSC::FTL::Output::unsignedToDouble): Deleted.
+
 2016-01-01  Jeff Miller  
 
 Update user-visible copyright strings to include 2016


Modified: trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp (194492 => 194493)

--- trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp	2016-01-02 05:56:29 UTC (rev 194492)
+++ trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp	2016-01-02 06:03:17 UTC (rev 194493)
@@ -1193,8 +1193,8 @@
 bool forceMove32IfDidSpill = false;
 bool didSpill = false;
 if (type == Arg::GP && inst.opcode == Move) {
-if ((inst.args[0].isTmp() && m_tmpWidth.defWidth(inst.args[0].tmp()) <= Arg::Width32)
-|| (inst.args[1].isTmp() && m_tmpWidth.useWidth(inst.args[1].tmp()) <= Arg::Width32))
+if ((inst.args[0].isTmp() && m_tmpWidth.width(inst.args[0].tmp()) <= Arg::Width32)
+|| 

[webkit-changes] [194494] trunk/Source/JavaScriptCore

2016-01-01 Thread fpizlo
Title: [194494] trunk/Source/_javascript_Core








Revision 194494
Author fpi...@apple.com
Date 2016-01-01 22:06:35 -0800 (Fri, 01 Jan 2016)


Log Message
Unreviewed, fix copyright dates. It's super annoying when we forget to update these, and I
just forgot to do so in the last commit. Also update the date of the last commit in the
ChangeLog.

* b3/air/AirIteratedRegisterCoalescing.cpp:
* b3/air/AirOpcode.opcodes:
* b3/air/AirTmpWidth.cpp:
* b3/air/AirTmpWidth.h:
* ftl/FTLB3Output.cpp:
* ftl/FTLB3Output.h:

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp
trunk/Source/_javascript_Core/b3/air/AirOpcode.opcodes
trunk/Source/_javascript_Core/b3/air/AirTmpWidth.cpp
trunk/Source/_javascript_Core/b3/air/AirTmpWidth.h
trunk/Source/_javascript_Core/ftl/FTLB3Output.cpp
trunk/Source/_javascript_Core/ftl/FTLB3Output.h




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (194493 => 194494)

--- trunk/Source/_javascript_Core/ChangeLog	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,18 @@
-2015-12-28  Filip Pizlo  
+2016-01-01  Filip Pizlo  
 
+Unreviewed, fix copyright dates. It's super annoying when we forget to update these, and I
+just forgot to do so in the last commit. Also update the date of the last commit in the
+ChangeLog.
+
+* b3/air/AirIteratedRegisterCoalescing.cpp:
+* b3/air/AirOpcode.opcodes:
+* b3/air/AirTmpWidth.cpp:
+* b3/air/AirTmpWidth.h:
+* ftl/FTLB3Output.cpp:
+* ftl/FTLB3Output.h:
+
+2016-01-01  Filip Pizlo  
+
 FTL B3 should be able to run all of the old V8v7 tests
 https://bugs.webkit.org/show_bug.cgi?id=152579
 


Modified: trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp (194493 => 194494)

--- trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/b3/air/AirIteratedRegisterCoalescing.cpp	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2016 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions


Modified: trunk/Source/_javascript_Core/b3/air/AirOpcode.opcodes (194493 => 194494)

--- trunk/Source/_javascript_Core/b3/air/AirOpcode.opcodes	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/b3/air/AirOpcode.opcodes	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015 Apple Inc. All rights reserved.
+# Copyright (C) 2015-2016 Apple Inc. All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions


Modified: trunk/Source/_javascript_Core/b3/air/AirTmpWidth.cpp (194493 => 194494)

--- trunk/Source/_javascript_Core/b3/air/AirTmpWidth.cpp	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/b3/air/AirTmpWidth.cpp	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2016 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions


Modified: trunk/Source/_javascript_Core/b3/air/AirTmpWidth.h (194493 => 194494)

--- trunk/Source/_javascript_Core/b3/air/AirTmpWidth.h	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/b3/air/AirTmpWidth.h	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Apple Inc. All rights reserved.
+ * Copyright (C) 2015-2016 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions


Modified: trunk/Source/_javascript_Core/ftl/FTLB3Output.cpp (194493 => 194494)

--- trunk/Source/_javascript_Core/ftl/FTLB3Output.cpp	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/ftl/FTLB3Output.cpp	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2013-2016 Apple Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions


Modified: trunk/Source/_javascript_Core/ftl/FTLB3Output.h (194493 => 194494)

--- trunk/Source/_javascript_Core/ftl/FTLB3Output.h	2016-01-02 06:03:17 UTC (rev 194493)
+++ trunk/Source/_javascript_Core/ftl/FTLB3Output.h	2016-01-02 06:06:35 UTC (rev 194494)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013-2015 Apple Inc. All 

[webkit-changes] [194480] trunk

2016-01-01 Thread mcatanzaro
Title: [194480] trunk








Revision 194480
Author mcatanz...@igalia.com
Date 2016-01-01 13:22:22 -0800 (Fri, 01 Jan 2016)


Log Message
[SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
https://bugs.webkit.org/show_bug.cgi?id=152634

Reviewed by Carlos Garcia Campos.

Source/WebKit2:

Load GResource URIs locally, not in the network process. Applications expect calling
g_resource_load in a web extension to make it possible to load resource URIs, but that
doesn't work now that the network process is in use. Loading them locally solves this.

* WebProcess/Network/WebLoaderStrategy.cpp:
(WebKit::WebLoaderStrategy::scheduleLoad):

Tools:

* TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
(testLoadFromGResource): Added test.
(beforeAll):
* TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
(registerGResource): Added.
(webkit_web_extension_initialize_with_user_data): Load the test gresource.
* TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
* TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.

Modified Paths

trunk/Source/WebKit2/ChangeLog
trunk/Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp
trunk/Tools/ChangeLog
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp
trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml


Added Paths

trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html




Diff

Modified: trunk/Source/WebKit2/ChangeLog (194479 => 194480)

--- trunk/Source/WebKit2/ChangeLog	2016-01-01 16:30:12 UTC (rev 194479)
+++ trunk/Source/WebKit2/ChangeLog	2016-01-01 21:22:22 UTC (rev 194480)
@@ -1,3 +1,17 @@
+2016-01-01  Michael Catanzaro  
+
+[SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
+https://bugs.webkit.org/show_bug.cgi?id=152634
+
+Reviewed by Carlos Garcia Campos.
+
+Load GResource URIs locally, not in the network process. Applications expect calling
+g_resource_load in a web extension to make it possible to load resource URIs, but that
+doesn't work now that the network process is in use. Loading them locally solves this.
+
+* WebProcess/Network/WebLoaderStrategy.cpp:
+(WebKit::WebLoaderStrategy::scheduleLoad):
+
 2016-01-01  Jeff Miller  
 
 Update user-visible copyright strings to include 2016


Modified: trunk/Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp (194479 => 194480)

--- trunk/Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp	2016-01-01 16:30:12 UTC (rev 194479)
+++ trunk/Source/WebKit2/WebProcess/Network/WebLoaderStrategy.cpp	2016-01-01 21:22:22 UTC (rev 194480)
@@ -160,6 +160,16 @@
 }
 #endif
 
+#if USE(SOUP)
+// For apps that call g_resource_load in a web extension.
+// https://blogs.gnome.org/alexl/2012/01/26/resources-in-glib/
+if (resourceLoader->request().url().protocolIs("resource")) {
+LOG(NetworkScheduling, "(WebProcess) WebLoaderStrategy::scheduleLoad, url '%s' will be handled as a GResource.", resourceLoader->url().string().utf8().data());
+startLocalLoad(*resourceLoader);
+return;
+}
+#endif
+
 LOG(NetworkScheduling, "(WebProcess) WebLoaderStrategy::scheduleLoad, url '%s' will be scheduled with the NetworkProcess with priority %d", resourceLoader->url().string().utf8().data(), static_cast(resourceLoader->request().priority()));
 
 ContentSniffingPolicy contentSniffingPolicy = resourceLoader->shouldSniffContent() ? SniffContent : DoNotSniffContent;


Modified: trunk/Tools/ChangeLog (194479 => 194480)

--- trunk/Tools/ChangeLog	2016-01-01 16:30:12 UTC (rev 194479)
+++ trunk/Tools/ChangeLog	2016-01-01 21:22:22 UTC (rev 194480)
@@ -1,3 +1,19 @@
+2016-01-01  Michael Catanzaro  
+
+[SOUP] REGRESSION(r192761): Broke resource URIs for applications that use g_resource_load in a web extension
+https://bugs.webkit.org/show_bug.cgi?id=152634
+
+Reviewed by Carlos Garcia Campos.
+
+* TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp:
+(testLoadFromGResource): Added test.
+(beforeAll):
+* TestWebKitAPI/Tests/WebKit2Gtk/WebExtensionTest.cpp:
+(registerGResource): Added.
+(webkit_web_extension_initialize_with_user_data): Load the test gresource.
+* TestWebKitAPI/Tests/WebKit2Gtk/resources/boring.html: Added.
+* TestWebKitAPI/Tests/WebKit2Gtk/resources/webkit2gtk-tests.gresource.xml: Add an HTML file.
+
 2015-12-31  David Kilzer  
 
 REGRESSION (r194470): Fix warnings uncovered by migrating to WTF_MOVE


Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp (194479 => 194480)

--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestLoaderClient.cpp	

[webkit-changes] [194484] trunk/LayoutTests

2016-01-01 Thread mcatanzaro
Title: [194484] trunk/LayoutTests








Revision 194484
Author mcatanz...@igalia.com
Date 2016-01-01 16:21:06 -0800 (Fri, 01 Jan 2016)


Log Message
[GTK] Several IndexedDB tests failing

Unreviewed gardening.

* platform/gtk/TestExpectations:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/gtk/TestExpectations




Diff

Modified: trunk/LayoutTests/ChangeLog (194483 => 194484)

--- trunk/LayoutTests/ChangeLog	2016-01-02 00:03:48 UTC (rev 194483)
+++ trunk/LayoutTests/ChangeLog	2016-01-02 00:21:06 UTC (rev 194484)
@@ -1,5 +1,13 @@
 2016-01-01  Michael Catanzaro  
 
+[GTK] Several IndexedDB tests failing
+
+Unreviewed gardening.
+
+* platform/gtk/TestExpectations:
+
+2016-01-01  Michael Catanzaro  
+
 [GTK] http/tests/misc/detached-frame-console.html is crashing
 
 Unreviewed gardening.


Modified: trunk/LayoutTests/platform/gtk/TestExpectations (194483 => 194484)

--- trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-02 00:03:48 UTC (rev 194483)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-02 00:21:06 UTC (rev 194484)
@@ -2660,6 +2660,12 @@
 
 webkit.org/b/152057 accessibility/textarea-selected-text-range.html [ Failure Timeout ]
 
+webkit.org/b/152643 imported/w3c/indexeddb/idbcursor-advance.htm [ Failure ]
+webkit.org/b/152643 imported/w3c/indexeddb/idbcursor-continue.htm [ Failure ]
+webkit.org/b/152643 imported/w3c/indexeddb/idbcursor-direction-index.htm [ Failure ]
+webkit.org/b/152643 imported/w3c/indexeddb/idbindex_get2.htm [ Failure ]
+webkit.org/b/152643 imported/w3c/indexeddb/idbindex_getKey2.htm [ Failure ]
+
 #
 # End of Tests failing
 #






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194487] trunk

2016-01-01 Thread simon . fraser
Title: [194487] trunk








Revision 194487
Author simon.fra...@apple.com
Date 2016-01-01 20:45:36 -0800 (Fri, 01 Jan 2016)


Log Message
Fix reload and programmatic scrolling in RTL documents
https://bugs.webkit.org/show_bug.cgi?id=152639

Reviewed by Zalan Bujtas.
Source/WebCore:

Reloading a left-scrolled RTL document would cause the content to appear
at an odd offset, and programmatic sideways scrolls in RTL documents also
jumped to the wrong location.

Fix by resolving offset/position confusion in ScrollableArea::scrollPositionChanged()
and the scrolling tree.

ScrollableArea::scrollPositionChanged() was erroneously passing a scrollPosition
to setScrollOffset().

ScrollingTreeFrameScrollingNode* were confused about offsets and positions. It
turns out that the layer position is just -scrollPosition, but minimumScrollPosition()
and maximumScrollPosition() need fixing to return positions, not offsets.

ScrollingTreeFrameScrollingNode::viewToContentsOffset() was also doing incorrect
math with scrollOrigin, which was detected by a failing test.

Add more logging to the Scrolling channel.

Tests: fast/scrolling/programmatic-document-rtl-scroll.html
   fast/scrolling/programmatic-document-rtl-scrollIntoView.html
   fast/scrolling/scroll-position-on-reload-rtl.html

* page/FrameView.cpp:
(WebCore::FrameView::requestScrollPositionUpdate):
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::shouldHandleWheelEventSynchronously):
* page/scrolling/ScrollingTreeFrameScrollingNode.cpp:
(WebCore::ScrollingTreeFrameScrollingNode::scrollBy):
(WebCore::ScrollingTreeFrameScrollingNode::viewToContentsOffset):
* page/scrolling/ScrollingTreeFrameScrollingNode.h:
* page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm:
(WebCore::ScrollingTreeFrameScrollingNodeIOS::scrollPosition):
(WebCore::ScrollingTreeFrameScrollingNodeIOS::setScrollLayerPosition):
(WebCore::ScrollingTreeFrameScrollingNodeIOS::updateChildNodesAfterScroll):
(WebCore::ScrollingTreeFrameScrollingNodeIOS::minimumScrollPosition):
(WebCore::ScrollingTreeFrameScrollingNodeIOS::maximumScrollPosition):
* page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
(WebCore::ScrollingTreeFrameScrollingNodeMac::immediateScrollBy):
(WebCore::ScrollingTreeFrameScrollingNodeMac::scrollPosition):
(WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollPosition):
(WebCore::ScrollingTreeFrameScrollingNodeMac::setScrollLayerPosition):
(WebCore::ScrollingTreeFrameScrollingNodeMac::minimumScrollPosition):
(WebCore::ScrollingTreeFrameScrollingNodeMac::maximumScrollPosition):
* platform/ScrollView.cpp:
(WebCore::ScrollView::setScrollOffset):
(WebCore::ScrollView::scrollTo):
(WebCore::ScrollView::setScrollPosition):
(WebCore::ScrollView::updateScrollbars):
* platform/ScrollView.h:
* platform/ScrollableArea.cpp:
(WebCore::ScrollableArea::scrollPositionChanged):
(WebCore::ScrollableArea::setScrollOffsetFromAnimation):
(WebCore::ScrollableArea::scrollPositionFromOffset):
(WebCore::ScrollableArea::scrollOffsetFromPosition):
* platform/ScrollableArea.h:
(WebCore::ScrollableArea::scrollPositionFromOffset):
(WebCore::ScrollableArea::scrollOffsetFromPosition):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::setScrollOffset):
* rendering/RenderListBox.h:

Source/WebKit2:

Reloading a left-scrolled RTL document would cause the content to appear
at an odd offset, and programmatic sideways scrolls in RTL documents also
jumped to the wrong location.

Fix by resolving offset/position confusion in ScrollableArea::scrollPositionChanged()
and the scrolling tree.

ScrollableArea::scrollPositionChanged() was erroneously passing a scrollPosition
to setScrollOffset().

ScrollingTreeFrameScrollingNode* were confused about offsets and positions. It
turns out that the layer position is just -scrollPosition, but minimumScrollPosition()
and maximumScrollPosition() need fixing to return positions, not offsets.

ScrollingTreeFrameScrollingNode::viewToContentsOffset() was also doing incorrect
math with scrollOrigin, which was detected by a failing test.

Add more logging to the Scrolling channel.

* WebProcess/Plugins/PDF/DeprecatedPDFPlugin.h:
* WebProcess/Plugins/PDF/DeprecatedPDFPlugin.mm:
(WebKit::PDFPlugin::setScrollOffset):

LayoutTests:

New tests for programmatic scrolling (2 kinds!) in RTL documents, and
reloading a scrolled RTL document.

* fast/scrolling/programmatic-document-rtl-scroll-expected.html: Added.
* fast/scrolling/programmatic-document-rtl-scroll.html: Added.
* fast/scrolling/programmatic-document-rtl-scrollIntoView-expected.txt: Added.
* fast/scrolling/programmatic-document-rtl-scrollIntoView.html: Added.
* fast/scrolling/scroll-position-on-reload-rtl-expected.txt: Added.
* fast/scrolling/scroll-position-on-reload-rtl.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/page/FrameView.cpp
trunk/Source/WebCore/page/scrolling/ScrollingTree.cpp

[webkit-changes] [194488] trunk

2016-01-01 Thread beidson
Title: [194488] trunk








Revision 194488
Author beid...@apple.com
Date 2016-01-01 21:48:58 -0800 (Fri, 01 Jan 2016)


Log Message
Modern IDB: storage/indexeddb/database-deletepending-flag.html fails.
https://bugs.webkit.org/show_bug.cgi?id=152600

Reviewed by Alex Christensen.

Source/WebCore:

No new tests (At least one failing test now passes, and at least 2 crashing tests now timeout).

* Modules/indexeddb/server/IDBBackingStore.h:

* Modules/indexeddb/server/MemoryIDBBackingStore.cpp:
(WebCore::IDBServer::MemoryIDBBackingStore::deleteBackingStore):
* Modules/indexeddb/server/MemoryIDBBackingStore.h:

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
(WebCore::IDBServer::UniqueIDBDatabase::deleteBackingStore):
(WebCore::IDBServer::UniqueIDBDatabase::didDeleteBackingStore):
* Modules/indexeddb/server/UniqueIDBDatabase.h:

LayoutTests:

* platform/mac-wk1/TestExpectations:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/mac-wk1/TestExpectations
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/indexeddb/server/IDBBackingStore.h
trunk/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.cpp
trunk/Source/WebCore/Modules/indexeddb/server/MemoryIDBBackingStore.h
trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp
trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.h




Diff

Modified: trunk/LayoutTests/ChangeLog (194487 => 194488)

--- trunk/LayoutTests/ChangeLog	2016-01-02 04:45:36 UTC (rev 194487)
+++ trunk/LayoutTests/ChangeLog	2016-01-02 05:48:58 UTC (rev 194488)
@@ -1,3 +1,12 @@
+2016-01-01  Brady Eidson  
+
+Modern IDB: storage/indexeddb/database-deletepending-flag.html fails.
+https://bugs.webkit.org/show_bug.cgi?id=152600
+
+Reviewed by Alex Christensen.
+
+* platform/mac-wk1/TestExpectations:
+
 2016-01-01  Simon Fraser  
 
 Fix reload and programmatic scrolling in RTL documents


Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (194487 => 194488)

--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2016-01-02 04:45:36 UTC (rev 194487)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2016-01-02 05:48:58 UTC (rev 194488)
@@ -69,8 +69,6 @@
 inspector/indexeddb
 
 # IDB tests that crash
-storage/indexeddb/deletedatabase-delayed-by-versionchange.html [ Skip ]
-storage/indexeddb/intversion-long-queue.html [ Skip ]
 storage/indexeddb/lazy-index-population.html [ Skip ]
 storage/indexeddb/structured-clone.html [ Skip ]
 
@@ -90,11 +88,12 @@
 
 # IDB tests that timeout   
 storage/indexeddb/database-quota.html [ Skip ]
+storage/indexeddb/deletedatabase-delayed-by-versionchange.html [ Skip ]
 storage/indexeddb/dont-wedge.html [ Skip ]
+storage/indexeddb/intversion-long-queue.html [ Skip ]
 storage/indexeddb/transaction-starvation.html [ Skip ]
 
 # IDB tests with text failures 
-storage/indexeddb/database-deletepending-flag.html [ Failure ]
 storage/indexeddb/intversion-gated-on-delete.html [ Failure ]
 storage/indexeddb/odd-strings.html [ Failure ]
 storage/indexeddb/open-db-private-browsing.html [ Failure ]


Modified: trunk/Source/WebCore/ChangeLog (194487 => 194488)

--- trunk/Source/WebCore/ChangeLog	2016-01-02 04:45:36 UTC (rev 194487)
+++ trunk/Source/WebCore/ChangeLog	2016-01-02 05:48:58 UTC (rev 194488)
@@ -1,3 +1,24 @@
+2016-01-01  Brady Eidson  
+
+Modern IDB: storage/indexeddb/database-deletepending-flag.html fails.
+https://bugs.webkit.org/show_bug.cgi?id=152600
+
+Reviewed by Alex Christensen.
+
+No new tests (At least one failing test now passes, and at least 2 crashing tests now timeout).
+
+* Modules/indexeddb/server/IDBBackingStore.h:
+
+* Modules/indexeddb/server/MemoryIDBBackingStore.cpp:
+(WebCore::IDBServer::MemoryIDBBackingStore::deleteBackingStore):
+* Modules/indexeddb/server/MemoryIDBBackingStore.h:
+
+* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
+(WebCore::IDBServer::UniqueIDBDatabase::performCurrentDeleteOperation):
+(WebCore::IDBServer::UniqueIDBDatabase::deleteBackingStore):
+(WebCore::IDBServer::UniqueIDBDatabase::didDeleteBackingStore):
+* Modules/indexeddb/server/UniqueIDBDatabase.h:
+
 2016-01-01  Simon Fraser  
 
 Fix reload and programmatic scrolling in RTL documents


Modified: trunk/Source/WebCore/Modules/indexeddb/server/IDBBackingStore.h (194487 => 194488)

--- trunk/Source/WebCore/Modules/indexeddb/server/IDBBackingStore.h	2016-01-02 04:45:36 UTC (rev 194487)
+++ trunk/Source/WebCore/Modules/indexeddb/server/IDBBackingStore.h	2016-01-02 05:48:58 UTC (rev 194488)
@@ -75,6 +75,8 @@
 virtual IDBError 

[webkit-changes] [194483] trunk/LayoutTests

2016-01-01 Thread mcatanzaro
Title: [194483] trunk/LayoutTests








Revision 194483
Author mcatanz...@igalia.com
Date 2016-01-01 16:03:48 -0800 (Fri, 01 Jan 2016)


Log Message
[GTK] http/tests/misc/detached-frame-console.html is crashing

Unreviewed gardening.

* platform/gtk/TestExpectations:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/gtk/TestExpectations




Diff

Modified: trunk/LayoutTests/ChangeLog (194482 => 194483)

--- trunk/LayoutTests/ChangeLog	2016-01-01 23:51:33 UTC (rev 194482)
+++ trunk/LayoutTests/ChangeLog	2016-01-02 00:03:48 UTC (rev 194483)
@@ -1,5 +1,13 @@
 2016-01-01  Michael Catanzaro  
 
+[GTK] http/tests/misc/detached-frame-console.html is crashing
+
+Unreviewed gardening.
+
+* platform/gtk/TestExpectations:
+
+2016-01-01  Michael Catanzaro  
+
 [GTK] http/tests/media/clearkey/clear-key-hls-aes128.html is crashing
 
 Unreviewed gardening.


Modified: trunk/LayoutTests/platform/gtk/TestExpectations (194482 => 194483)

--- trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-01 23:51:33 UTC (rev 194482)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-02 00:03:48 UTC (rev 194483)
@@ -794,6 +794,8 @@
 webkit.org/b/152043 [ Debug ] http/tests/media/hls/video-controls-live-stream.html [ Crash ]
 webkit.org/b/152043 [ Debug ] http/tests/media/hls/video-cookie.html [ Crash ]
 
+webkit.org/b/152642 http/tests/misc/detached-frame-console.html [ Crash Pass Timeout Failure ]
+
 #
 # End of Crashing tests
 #






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194492] trunk/Source

2016-01-01 Thread simon . fraser
Title: [194492] trunk/Source








Revision 194492
Author simon.fra...@apple.com
Date 2016-01-01 21:56:29 -0800 (Fri, 01 Jan 2016)


Log Message
Fix naming in HistoryItem to refer to scrollPositions
https://bugs.webkit.org/show_bug.cgi?id=152646

Reviewed by Zalan Bujtas.
Source/WebCore:

HistoryItem stores a scrollPosition, so call it that.

No behavior change.

* history/HistoryItem.cpp:
(WebCore::HistoryItem::HistoryItem):
(WebCore::HistoryItem::scrollPosition):
(WebCore::HistoryItem::setScrollPosition):
(WebCore::HistoryItem::clearScrollPosition):
(WebCore::HistoryItem::scrollPoint): Deleted.
(WebCore::HistoryItem::setScrollPoint): Deleted.
(WebCore::HistoryItem::clearScrollPoint): Deleted.
* history/HistoryItem.h:
* loader/HistoryController.cpp:
(WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
(WebCore::HistoryController::clearScrollPositionAndViewState):
(WebCore::HistoryController::restoreScrollPositionAndViewState):
(WebCore::HistoryController::updateForClientRedirect):

Source/WebKit/mac:

HistoryItem stores a scrollPosition, so call it that.

* History/WebHistoryItem.mm:
(-[WebHistoryItem scrollPoint]):

Source/WebKit2:

HistoryItem stores a scrollPosition, so call it that.

No behavior change.

* Shared/SessionState.cpp:
(WebKit::FrameState::encode):
(WebKit::FrameState::decode):
* Shared/SessionState.h:
* UIProcess/mac/LegacySessionStateCoding.cpp:
(WebKit::encodeFrameStateNode):
(WebKit::decodeBackForwardTreeNode):
* WebProcess/WebCoreSupport/SessionStateConversion.cpp:
(WebKit::toFrameState):
(WebKit::applyFrameState):

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/history/HistoryItem.cpp
trunk/Source/WebCore/history/HistoryItem.h
trunk/Source/WebCore/loader/HistoryController.cpp
trunk/Source/WebKit/mac/ChangeLog
trunk/Source/WebKit/mac/History/WebHistoryItem.mm
trunk/Source/WebKit2/ChangeLog
trunk/Source/WebKit2/Shared/SessionState.cpp
trunk/Source/WebKit2/Shared/SessionState.h
trunk/Source/WebKit2/UIProcess/mac/LegacySessionStateCoding.cpp
trunk/Source/WebKit2/WebProcess/WebCoreSupport/SessionStateConversion.cpp




Diff

Modified: trunk/Source/WebCore/ChangeLog (194491 => 194492)

--- trunk/Source/WebCore/ChangeLog	2016-01-02 05:53:01 UTC (rev 194491)
+++ trunk/Source/WebCore/ChangeLog	2016-01-02 05:56:29 UTC (rev 194492)
@@ -1,3 +1,29 @@
+2016-01-01  Simon Fraser  
+
+Fix naming in HistoryItem to refer to scrollPositions
+https://bugs.webkit.org/show_bug.cgi?id=152646
+
+Reviewed by Zalan Bujtas.
+
+HistoryItem stores a scrollPosition, so call it that.
+
+No behavior change.
+
+* history/HistoryItem.cpp:
+(WebCore::HistoryItem::HistoryItem):
+(WebCore::HistoryItem::scrollPosition):
+(WebCore::HistoryItem::setScrollPosition):
+(WebCore::HistoryItem::clearScrollPosition):
+(WebCore::HistoryItem::scrollPoint): Deleted.
+(WebCore::HistoryItem::setScrollPoint): Deleted.
+(WebCore::HistoryItem::clearScrollPoint): Deleted.
+* history/HistoryItem.h:
+* loader/HistoryController.cpp:
+(WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
+(WebCore::HistoryController::clearScrollPositionAndViewState):
+(WebCore::HistoryController::restoreScrollPositionAndViewState):
+(WebCore::HistoryController::updateForClientRedirect):
+
 2016-01-01  Zalan Bujtas  
 
 Simple line layout: Add support for toggling simple line layout from command line.


Modified: trunk/Source/WebCore/history/HistoryItem.cpp (194491 => 194492)

--- trunk/Source/WebCore/history/HistoryItem.cpp	2016-01-02 05:53:01 UTC (rev 194491)
+++ trunk/Source/WebCore/history/HistoryItem.cpp	2016-01-02 05:56:29 UTC (rev 194492)
@@ -123,7 +123,7 @@
 , m_target(item.m_target)
 , m_title(item.m_title)
 , m_displayTitle(item.m_displayTitle)
-, m_scrollPoint(item.m_scrollPoint)
+, m_scrollPosition(item.m_scrollPosition)
 , m_pageScaleFactor(item.m_pageScaleFactor)
 , m_lastVisitWasFailure(item.m_lastVisitWasFailure)
 , m_isTargetItem(item.m_isTargetItem)
@@ -277,20 +277,19 @@
 notifyHistoryItemChanged(this);
 }
 
-const IntPoint& HistoryItem::scrollPoint() const
+const IntPoint& HistoryItem::scrollPosition() const
 {
-return m_scrollPoint;
+return m_scrollPosition;
 }
 
-void HistoryItem::setScrollPoint(const IntPoint& point)
+void HistoryItem::setScrollPosition(const IntPoint& position)
 {
-m_scrollPoint = point;
+m_scrollPosition = position;
 }
 
-void HistoryItem::clearScrollPoint()
+void HistoryItem::clearScrollPosition()
 {
-m_scrollPoint.setX(0);
-m_scrollPoint.setY(0);
+m_scrollPosition = IntPoint();
 }
 
 float HistoryItem::pageScaleFactor() const


Modified: trunk/Source/WebCore/history/HistoryItem.h (194491 => 194492)

--- trunk/Source/WebCore/history/HistoryItem.h	2016-01-02 05:53:01 UTC (rev 194491)
+++ 

[webkit-changes] [194491] trunk/Source/WebInspectorUI

2016-01-01 Thread commit-queue
Title: [194491] trunk/Source/WebInspectorUI








Revision 194491
Author commit-qu...@webkit.org
Date 2016-01-01 21:53:01 -0800 (Fri, 01 Jan 2016)


Log Message
Web Inspector: shadow visual sidebar section can be confused with the box shadow section
https://bugs.webkit.org/show_bug.cgi?id=148107

Patch by Devin Rousso  on 2016-01-01
Reviewed by Brian Burg.

* Localizations/en.lproj/localizedStrings.js:
* UserInterface/Views/VisualStyleDetailsPanel.js:
(WebInspector.VisualStyleDetailsPanel):
Changed title of "Shadow" sub-section in "Background" to "Box Shadow".

Modified Paths

trunk/Source/WebInspectorUI/ChangeLog
trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js




Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (194490 => 194491)

--- trunk/Source/WebInspectorUI/ChangeLog	2016-01-02 05:51:18 UTC (rev 194490)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-01-02 05:53:01 UTC (rev 194491)
@@ -1,5 +1,17 @@
 2016-01-01  Devin Rousso  
 
+Web Inspector: shadow visual sidebar section can be confused with the box shadow section
+https://bugs.webkit.org/show_bug.cgi?id=148107
+
+Reviewed by Brian Burg.
+
+* Localizations/en.lproj/localizedStrings.js:
+* UserInterface/Views/VisualStyleDetailsPanel.js:
+(WebInspector.VisualStyleDetailsPanel):
+Changed title of "Shadow" sub-section in "Background" to "Box Shadow".
+
+2016-01-01  Devin Rousso  
+
 Web Inspector: The Computed Styles Properties section shows warning icons and doesn't update if collapsed
 https://bugs.webkit.org/show_bug.cgi?id=152609
 


Modified: trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js (194490 => 194491)

--- trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js	2016-01-02 05:51:18 UTC (rev 194490)
+++ trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js	2016-01-02 05:53:01 UTC (rev 194491)
@@ -101,6 +101,7 @@
 localizedStrings["Bottom"] = "Bottom";
 localizedStrings["Boundary"] = "Boundary";
 localizedStrings["Box Model"] = "Box Model";
+localizedStrings["Box Shadow"] = "Box Shadow";
 localizedStrings["Bubbling"] = "Bubbling";
 localizedStrings["Busy"] = "Busy";
 localizedStrings["Cached"] = "Cached";


Modified: trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js (194490 => 194491)

--- trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js	2016-01-02 05:51:18 UTC (rev 194490)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/VisualStyleDetailsPanel.js	2016-01-02 05:53:01 UTC (rev 194491)
@@ -88,7 +88,7 @@
 this._generateSection("background-style", WebInspector.UIString("Style"));
 this._generateSection("border", WebInspector.UIString("Border"));
 this._generateSection("outline", WebInspector.UIString("Outline"));
-this._generateSection("box-shadow", WebInspector.UIString("Shadow"));
+this._generateSection("box-shadow", WebInspector.UIString("Box Shadow"));
 
 this._sections.background = "" WebInspector.DetailsSection("background", WebInspector.UIString("Background"), [this._groups.backgroundStyle.section, this._groups.border.section, this._groups.outline.section, this._groups.boxShadow.section]);
 this.element.appendChild(this._sections.background.element);






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194481] trunk/LayoutTests

2016-01-01 Thread mcatanzaro
Title: [194481] trunk/LayoutTests








Revision 194481
Author mcatanz...@igalia.com
Date 2016-01-01 15:43:33 -0800 (Fri, 01 Jan 2016)


Log Message
[GTK] Expect missing results for CSS table anonymous objects tests

Unreviewed gardening.

* platform/gtk/TestExpectations:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/gtk/TestExpectations




Diff

Modified: trunk/LayoutTests/ChangeLog (194480 => 194481)

--- trunk/LayoutTests/ChangeLog	2016-01-01 21:22:22 UTC (rev 194480)
+++ trunk/LayoutTests/ChangeLog	2016-01-01 23:43:33 UTC (rev 194481)
@@ -1,3 +1,11 @@
+2016-01-01  Michael Catanzaro  
+
+[GTK] Expect missing results for CSS table anonymous objects tests
+
+Unreviewed gardening.
+
+* platform/gtk/TestExpectations:
+
 2015-12-31  Simon Fraser  
 
 [iOS WK2] Fix incorrect scrollPosition handling


Modified: trunk/LayoutTests/platform/gtk/TestExpectations (194480 => 194481)

--- trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-01 21:22:22 UTC (rev 194480)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-01 23:43:33 UTC (rev 194481)
@@ -52,8 +52,78 @@
 # Tests that require new results.
 #
 
+# These XHTML files are being processed as HTML files.
+# Need to fix this before we can add expectations.
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-015.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-016.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-023.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-024.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-035.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-036.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-037.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-038.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-045.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-046.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-047.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-048.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-049.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-050.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-055.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-056.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-091.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-092.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-099.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-100.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-103.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-104.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-105.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-106.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-107.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-108.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-109.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-110.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-111.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-112.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-113.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-114.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-115.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-116.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-117.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-118.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-119.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-120.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-121.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-122.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-123.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-124.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-139.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-140.xht [ Missing ]
+webkit.org/b/152455 css2.1/tables/table-anonymous-objects-149.xht [ Missing ]

[webkit-changes] [194490] trunk/Source/WebInspectorUI

2016-01-01 Thread commit-queue
Title: [194490] trunk/Source/WebInspectorUI








Revision 194490
Author commit-qu...@webkit.org
Date 2016-01-01 21:51:18 -0800 (Fri, 01 Jan 2016)


Log Message
Web Inspector: The Computed Styles Properties section shows warning icons and doesn't update if collapsed
https://bugs.webkit.org/show_bug.cgi?id=152609

Patch by Devin Rousso  on 2016-01-01
Reviewed by Brian Burg.

* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
(WebInspector.CSSStyleDeclarationTextEditor.prototype._createTextMarkerForPropertyIfNeeded):
If the CodeMirror instance is read-only, don't add any warning icons.

* UserInterface/Views/ComputedStyleDetailsPanel.js:
(WebInspector.ComputedStyleDetailsPanel):
(WebInspector.ComputedStyleDetailsPanel.prototype._handleCollapsedStateChanged):
The properties text editor will now refresh whenever the details section
becomes un-collapsed.

* UserInterface/Views/DetailsSection.js:
(WebInspector.DetailsSection.prototype.set collapsed):
Now fires an event with the current collapsed state as data.

Modified Paths

trunk/Source/WebInspectorUI/ChangeLog
trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js
trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js
trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js




Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (194489 => 194490)

--- trunk/Source/WebInspectorUI/ChangeLog	2016-01-02 05:50:48 UTC (rev 194489)
+++ trunk/Source/WebInspectorUI/ChangeLog	2016-01-02 05:51:18 UTC (rev 194490)
@@ -1,3 +1,24 @@
+2016-01-01  Devin Rousso  
+
+Web Inspector: The Computed Styles Properties section shows warning icons and doesn't update if collapsed
+https://bugs.webkit.org/show_bug.cgi?id=152609
+
+Reviewed by Brian Burg.
+
+* UserInterface/Views/CSSStyleDeclarationTextEditor.js:
+(WebInspector.CSSStyleDeclarationTextEditor.prototype._createTextMarkerForPropertyIfNeeded):
+If the CodeMirror instance is read-only, don't add any warning icons.
+
+* UserInterface/Views/ComputedStyleDetailsPanel.js:
+(WebInspector.ComputedStyleDetailsPanel):
+(WebInspector.ComputedStyleDetailsPanel.prototype._handleCollapsedStateChanged):
+The properties text editor will now refresh whenever the details section
+becomes un-collapsed.
+
+* UserInterface/Views/DetailsSection.js:
+(WebInspector.DetailsSection.prototype.set collapsed):
+Now fires an event with the current collapsed state as data.
+
 2015-12-31  Matt Baker  
 
 Web Inspector: "No Filter Results" message overlaps Debugger sidebar sections


Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js (194489 => 194490)

--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2016-01-02 05:50:48 UTC (rev 194489)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js	2016-01-02 05:51:18 UTC (rev 194490)
@@ -1045,7 +1045,7 @@
 }
 }
 
-if (property.hasOtherVendorNameOrKeyword() || property.text.trim().endsWith(":"))
+if (this._codeMirror.getOption("readOnly") || property.hasOtherVendorNameOrKeyword() || property.text.trim().endsWith(":"))
 return;
 
 var propertyHasUnnecessaryPrefix = property.name.startsWith("-webkit-") && WebInspector.CSSCompletions.cssNameCompletions.isValidPropertyName(property.canonicalName);


Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js (194489 => 194490)

--- trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js	2016-01-02 05:50:48 UTC (rev 194489)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js	2016-01-02 05:51:18 UTC (rev 194490)
@@ -48,6 +48,7 @@
 var propertiesRow = new WebInspector.DetailsSectionRow;
 var propertiesGroup = new WebInspector.DetailsSectionGroup([propertiesRow]);
 var propertiesSection = new WebInspector.DetailsSection("computed-style-properties", WebInspector.UIString("Properties"), [propertiesGroup], computedStyleShowAllLabel);
+propertiesSection.addEventListener(WebInspector.DetailsSection.Event.CollapsedStateChanged, this._handleCollapsedStateChanged, this);
 
 propertiesRow.element.appendChild(this._propertiesTextEditor.element);
 
@@ -225,6 +226,12 @@
 this._propertiesTextEditor.showsImplicitProperties = checked;
 }
 
+_handleCollapsedStateChanged(event)
+{
+if (event && event.data && !event.data.collapsed)
+this._propertiesTextEditor.refresh();
+}
+
 _updateFlowNamesSectionVisibility()
 {
 this._flowNamesSection.element.classList.toggle("hidden", !this._contentFlow && !this._regionFlow);


Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DetailsSection.js (194489 

[webkit-changes] [194489] trunk/Source/WebCore

2016-01-01 Thread zalan
Title: [194489] trunk/Source/WebCore








Revision 194489
Author za...@apple.com
Date 2016-01-01 21:50:48 -0800 (Fri, 01 Jan 2016)


Log Message
Simple line layout: Add support for toggling simple line layout from command line.
https://bugs.webkit.org/show_bug.cgi?id=152636

Reviewed by Simon Fraser.

No change in functionality.

* rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseForWithReason):
(WebCore::SimpleLineLayout::toggleSimpleLineLayout):

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/rendering/SimpleLineLayout.cpp




Diff

Modified: trunk/Source/WebCore/ChangeLog (194488 => 194489)

--- trunk/Source/WebCore/ChangeLog	2016-01-02 05:48:58 UTC (rev 194488)
+++ trunk/Source/WebCore/ChangeLog	2016-01-02 05:50:48 UTC (rev 194489)
@@ -1,3 +1,16 @@
+2016-01-01  Zalan Bujtas  
+
+Simple line layout: Add support for toggling simple line layout from command line.
+https://bugs.webkit.org/show_bug.cgi?id=152636
+
+Reviewed by Simon Fraser.
+
+No change in functionality.
+
+* rendering/SimpleLineLayout.cpp:
+(WebCore::SimpleLineLayout::canUseForWithReason):
+(WebCore::SimpleLineLayout::toggleSimpleLineLayout):
+
 2016-01-01  Brady Eidson  
 
 Modern IDB: storage/indexeddb/database-deletepending-flag.html fails.


Modified: trunk/Source/WebCore/rendering/SimpleLineLayout.cpp (194488 => 194489)

--- trunk/Source/WebCore/rendering/SimpleLineLayout.cpp	2016-01-02 05:48:58 UTC (rev 194488)
+++ trunk/Source/WebCore/rendering/SimpleLineLayout.cpp	2016-01-02 05:50:48 UTC (rev 194489)
@@ -58,6 +58,7 @@
 #ifndef NDEBUG
 void printSimpleLineLayoutCoverage();
 void printSimpleLineLayoutBlockList();
+void toggleSimpleLineLayout();
 #endif
 
 enum AvoidanceReason_ : uint64_t {
@@ -267,6 +268,7 @@
 std::call_once(onceFlag, [] {
 registerNotifyCallback("com.apple.WebKit.showSimpleLineLayoutCoverage", printSimpleLineLayoutCoverage);
 registerNotifyCallback("com.apple.WebKit.showSimpleLineLayoutReasons", printSimpleLineLayoutBlockList);
+registerNotifyCallback("com.apple.WebKit.toggleSimpleLineLayout", toggleSimpleLineLayout);
 });
 #endif
 AvoidanceReasonFlags reasons = { };
@@ -1005,6 +1007,16 @@
 }
 }
 
+void toggleSimpleLineLayout()
+{
+for (const auto* document : Document::allDocuments()) {
+auto* settings = document->settings();
+if (!settings)
+continue;
+settings->setSimpleLineLayoutEnabled(!settings->simpleLineLayoutEnabled());
+}
+}
+
 void printSimpleLineLayoutBlockList()
 {
 HashSet leafRenderers;






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194482] trunk/LayoutTests

2016-01-01 Thread mcatanzaro
Title: [194482] trunk/LayoutTests








Revision 194482
Author mcatanz...@igalia.com
Date 2016-01-01 15:51:33 -0800 (Fri, 01 Jan 2016)


Log Message
[GTK] http/tests/media/clearkey/clear-key-hls-aes128.html is crashing

Unreviewed gardening.

* platform/gtk/TestExpectations:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/platform/gtk/TestExpectations




Diff

Modified: trunk/LayoutTests/ChangeLog (194481 => 194482)

--- trunk/LayoutTests/ChangeLog	2016-01-01 23:43:33 UTC (rev 194481)
+++ trunk/LayoutTests/ChangeLog	2016-01-01 23:51:33 UTC (rev 194482)
@@ -1,5 +1,13 @@
 2016-01-01  Michael Catanzaro  
 
+[GTK] http/tests/media/clearkey/clear-key-hls-aes128.html is crashing
+
+Unreviewed gardening.
+
+* platform/gtk/TestExpectations:
+
+2016-01-01  Michael Catanzaro  
+
 [GTK] Expect missing results for CSS table anonymous objects tests
 
 Unreviewed gardening.


Modified: trunk/LayoutTests/platform/gtk/TestExpectations (194481 => 194482)

--- trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-01 23:43:33 UTC (rev 194481)
+++ trunk/LayoutTests/platform/gtk/TestExpectations	2016-01-01 23:51:33 UTC (rev 194482)
@@ -1428,7 +1428,7 @@
 webkit.org/b/142292 fast/images/animated-gif-zooming.html [ Timeout Pass ]
 
 webkit.org/b/142488 http/tests/appcache/404-resource-with-slow-main-resource.php [ Timeout ]
-webkit.org/b/141959 [ Release ] http/tests/media/clearkey/clear-key-hls-aes128.html [ Timeout ]
+webkit.org/b/141959 [ Release ] http/tests/media/clearkey/clear-key-hls-aes128.html [ Crash Timeout ]
 webkit.org/b/142489 http/tests/media/video-play-waiting.html [ Timeout ]
 webkit.org/b/142490 inspector/css/selector-dynamic-specificity.html [ Timeout ]
 webkit.org/b/142491 media/media-source/media-source-stalled-holds-sleep-assertion.html [ Timeout ]






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194485] trunk/Source/WebCore

2016-01-01 Thread bfulgham
Title: [194485] trunk/Source/WebCore








Revision 194485
Author bfulg...@apple.com
Date 2016-01-01 18:41:01 -0800 (Fri, 01 Jan 2016)


Log Message
[WebGL] Blacklisted OpenGL contexts are not safe to use
https://bugs.webkit.org/show_bug.cgi?id=152513


Reviewed by Zalan Bujtas.

When the GPU has blacklisted an OpenGL context, it is not safe to use -- even to
attempt to release GL resources. Instead, our only correct behavior is to terminate
the WebProcess.

* platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::GraphicsContext3D::checkGPUStatusIfNecessary): If the context was lost
because the GPU blacklisted it, terminate the process.

Modified Paths

trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm




Diff

Modified: trunk/Source/WebCore/ChangeLog (194484 => 194485)

--- trunk/Source/WebCore/ChangeLog	2016-01-02 00:21:06 UTC (rev 194484)
+++ trunk/Source/WebCore/ChangeLog	2016-01-02 02:41:01 UTC (rev 194485)
@@ -1,3 +1,19 @@
+2015-12-22  Brent Fulgham  
+
+[WebGL] Blacklisted OpenGL contexts are not safe to use
+https://bugs.webkit.org/show_bug.cgi?id=152513
+
+
+Reviewed by Zalan Bujtas.
+
+When the GPU has blacklisted an OpenGL context, it is not safe to use -- even to
+attempt to release GL resources. Instead, our only correct behavior is to terminate
+the WebProcess.
+
+* platform/graphics/mac/GraphicsContext3DMac.mm:
+(WebCore::GraphicsContext3D::checkGPUStatusIfNecessary): If the context was lost
+because the GPU blacklisted it, terminate the process.
+
 2016-01-01  Jeff Miller  
 
 Update user-visible copyright strings to include 2016


Modified: trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm (194484 => 194485)

--- trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm	2016-01-02 00:21:06 UTC (rev 194484)
+++ trunk/Source/WebCore/platform/graphics/mac/GraphicsContext3DMac.mm	2016-01-02 02:41:01 UTC (rev 194485)
@@ -59,6 +59,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 namespace WebCore {
@@ -376,8 +377,12 @@
 GLint restartStatus = 0;
 #if PLATFORM(MAC)
 CGLGetParameter(platformGraphicsContext3D(), kCGLCPGPURestartStatus, );
-if (restartStatus == kCGLCPGPURestartStatusCaused || restartStatus == kCGLCPGPURestartStatusBlacklisted) {
-LOG(WebGL, "The GPU has either reset or blacklisted us. Lose the context.");
+if (restartStatus == kCGLCPGPURestartStatusBlacklisted) {
+LOG(WebGL, "The GPU has blacklisted us. Terminating.");
+exit(EX_OSERR);
+}
+if (restartStatus == kCGLCPGPURestartStatusCaused) {
+LOG(WebGL, "The GPU has reset us. Lose the context.");
 forceContextLost();
 CGLSetCurrentContext(0);
 }






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [194486] trunk

2016-01-01 Thread simon . fraser
Title: [194486] trunk








Revision 194486
Author simon.fra...@apple.com
Date 2016-01-01 20:44:16 -0800 (Fri, 01 Jan 2016)


Log Message
REGRESSION (r194448): Scrolling overflow:scroll goes too far
https://bugs.webkit.org/show_bug.cgi?id=152645

Reviewed by Zalan Bujtas.

Source/WebCore:

Fix a bug introduced in r194448: use the scrollPosition, not the scrollOrigin
to compute the overhang amount.

Test: fast/scrolling/overflow-scroll-past-max.html

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::overhangAmount):

LayoutTests:

Test that scrolls and overflow div with wheel events, then checks that it has
not passed the max scroll offset.

* fast/scrolling/overflow-scroll-past-max-expected.txt: Added.
* fast/scrolling/overflow-scroll-past-max.html: Added.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/rendering/RenderLayer.cpp


Added Paths

trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max-expected.txt
trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max.html




Diff

Modified: trunk/LayoutTests/ChangeLog (194485 => 194486)

--- trunk/LayoutTests/ChangeLog	2016-01-02 02:41:01 UTC (rev 194485)
+++ trunk/LayoutTests/ChangeLog	2016-01-02 04:44:16 UTC (rev 194486)
@@ -1,3 +1,16 @@
+2016-01-01  Simon Fraser  
+
+REGRESSION (r194448): Scrolling overflow:scroll goes too far
+https://bugs.webkit.org/show_bug.cgi?id=152645
+
+Reviewed by Zalan Bujtas.
+
+Test that scrolls and overflow div with wheel events, then checks that it has
+not passed the max scroll offset.
+
+* fast/scrolling/overflow-scroll-past-max-expected.txt: Added.
+* fast/scrolling/overflow-scroll-past-max.html: Added.
+
 2016-01-01  Michael Catanzaro  
 
 [GTK] Several IndexedDB tests failing


Added: trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max-expected.txt (0 => 194486)

--- trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max-expected.txt	(rev 0)
+++ trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max-expected.txt	2016-01-02 04:44:16 UTC (rev 194486)
@@ -0,0 +1 @@
+PASS: scrollTop was 300


Added: trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max.html (0 => 194486)

--- trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max.html	(rev 0)
+++ trunk/LayoutTests/fast/scrolling/overflow-scroll-past-max.html	2016-01-02 04:44:16 UTC (rev 194486)
@@ -0,0 +1,71 @@
+
+
+
+
+
+#scrolling {
+height: 300px;
+width: 300px;
+border: 1px solid black;
+overflow-y: scroll;
+}
+
+.content {
+height: 600px;
+width: 100%;
+background-image: linear-gradient(silver, gray);
+}
+
+
+function checkForScroll()
+{
+var scroller = document.getElementById("scrolling");
+var expectedScrollTop = 300;
+
+if (scroller.scrollTop == expectedScrollTop)
+document.getElementById('result').textContent = "PASS: scrollTop was " + expectedScrollTop;
+else
+document.getElementById('result').textContent = "FAIL: scrollTop was " + scroller.scrollTop;
+
+testRunner.notifyDone();
+}
+
+function scrollTest()
+{
+eventSender.mouseMoveTo(20, 20);
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "began", "none");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "changed", "none");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "changed", "none");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -1, "changed", "none");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, "ended", "none");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "begin");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "continue");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "continue");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "continue");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "continue");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, -100, "none", "continue");
+eventSender.mouseScrollByWithWheelAndMomentumPhases(0, 0, "none", "end");
+eventSender.callAfterScrollingCompletes(checkForScroll);
+}
+
+function startTest()
+{
+if (window.eventSender) {
+testRunner.dumpAsText();
+testRunner.waitUntilDone();
+
+eventSender.monitorWheelEvents();
+setTimeout(scrollTest, 0);
+}
+}
+
+

[webkit-changes] [194479] trunk

2016-01-01 Thread jeffm
Title: [194479] trunk








Revision 194479
Author je...@apple.com
Date 2016-01-01 08:30:12 -0800 (Fri, 01 Jan 2016)


Log Message
Update user-visible copyright strings to include 2016
https://bugs.webkit.org/show_bug.cgi?id=152531

Reviewed by Alexey Proskuryakov.

Source/_javascript_Core:

* Info.plist:

Source/WebCore:

* Info.plist:

Source/WebKit/mac:

* Info.plist:

Source/WebKit2:

* DatabaseProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist:
* DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist:
* Info.plist:
* NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info-OSX.plist:
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info-iOS.plist:
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist:
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist:
* NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-iOS.plist:
* PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist:
* PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist:
* PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist:
* WebProcess/EntryPoint/mac/LegacyProcess/Info.plist:
* WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-OSX.plist:
* WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-iOS.plist:
* WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist:
* WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist:
* WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist:

WebKitLibraries:

* win/tools/scripts/COPYRIGHT-END-YEAR:

Modified Paths

trunk/Source/_javascript_Core/ChangeLog
trunk/Source/_javascript_Core/Info.plist
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Info.plist
trunk/Source/WebKit/mac/ChangeLog
trunk/Source/WebKit/mac/Info.plist
trunk/Source/WebKit2/ChangeLog
trunk/Source/WebKit2/DatabaseProcess/EntryPoint/mac/LegacyProcess/Info.plist
trunk/Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService/Info.plist
trunk/Source/WebKit2/DatabaseProcess/EntryPoint/mac/XPCService/DatabaseService.Development/Info.plist
trunk/Source/WebKit2/Info.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/LegacyProcess/Info.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX-10.9-10.10.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-OSX.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService/Info-iOS.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info-OSX.plist
trunk/Source/WebKit2/NetworkProcess/EntryPoint/mac/XPCService/NetworkService.Development/Info-iOS.plist
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/LegacyProcess/Info.plist
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64-10.9-10.10.Info.plist
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.32-64.Info.plist
trunk/Source/WebKit2/PluginProcess/EntryPoint/mac/XPCService/PluginService.Development/Info.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/LegacyProcess/Info.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX-10.9-10.10.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-OSX.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService/Info-iOS.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-OSX.plist
trunk/Source/WebKit2/WebProcess/EntryPoint/mac/XPCService/WebContentService.Development/Info-iOS.plist
trunk/WebKitLibraries/ChangeLog
trunk/WebKitLibraries/win/tools/scripts/COPYRIGHT-END-YEAR




Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (194478 => 194479)

--- trunk/Source/_javascript_Core/ChangeLog	2016-01-01 07:53:30 UTC (rev 194478)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-01-01 16:30:12 UTC (rev 194479)
@@ -1,3 +1,12 @@
+2016-01-01  Jeff Miller  
+
+Update user-visible copyright strings to include 2016
+https://bugs.webkit.org/show_bug.cgi?id=152531
+
+Reviewed by Alexey Proskuryakov.
+
+* Info.plist:
+
 2015-12-31  Andy Estes  
 
 Fix warnings uncovered by migrating to WTF_MOVE


Modified: trunk/Source/_javascript_Core/Info.plist (194478 => 194479)

--- trunk/Source/_javascript_Core/Info.plist	2016-01-01 07:53:30 UTC (rev 194478)
+++ trunk/Source/_javascript_Core/Info.plist	2016-01-01 16:30:12 UTC (rev 194479)
@@ -7,7 +7,7 @@
 	CFBundleExecutable
 	${PRODUCT_NAME}
 	CFBundleGetInfoString
-	${BUNDLE_VERSION}, Copyright