This function should return a valid display ID.
Created attachment 345604 [details] Patch
<rdar://problem/42286933>
Comment on attachment 345604 [details] Patch r=me You could probably test this in an automated way if you added a function or property in window.internals to override screenProperties().primaryDisplayID. That would at least test the fact that primaryScreenDisplayID() no longer unconditionally returns 0. (You just need the test harness to remember to
...reset the value when it's done.
(In reply to Geoffrey Garen from comment #4) > ...reset the value when it's done. Thanks for reviewing! I added https://bugs.webkit.org/show_bug.cgi?id=187922 to track adding a test.
Comment on attachment 345604 [details] Patch Clearing flags on attachment: 345604 Committed r234113: <https://trac.webkit.org/changeset/234113>
All reviewed patches have been landed. Closing bug.
(In reply to Per Arne Vollan from comment #5) > (In reply to Geoffrey Garen from comment #4) > > ...reset the value when it's done. > > Thanks for reviewing! I added https://bugs.webkit.org/show_bug.cgi?id=187922 > to track adding a test. Sorry, that was not the correct bug. It should be https://bugs.webkit.org/show_bug.cgi?id=187925.