WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
64807
Change behavior of expectation overrides to strictly override.
https://bugs.webkit.org/show_bug.cgi?id=64807
Summary
Change behavior of expectation overrides to strictly override.
Dimitri Glazkov (Google)
Reported
2011-07-19 09:22:58 PDT
Change behavior of expectation overrides to strictly override.
Attachments
Patch
(5.90 KB, patch)
2011-07-19 09:28 PDT
,
Dimitri Glazkov (Google)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Dimitri Glazkov (Google)
Comment 1
2011-07-19 09:28:39 PDT
Created
attachment 101331
[details]
Patch
Dimitri Glazkov (Google)
Comment 2
2011-07-19 09:31:30 PDT
Dirk, wanted you to see this. Even though it relaxes the grip of tidiness on the downstream test_expectations.txt, this division between "insert" and "update" will make for much more straightforward TestExpectationModel code.
Dirk Pranke
Comment 3
2011-07-19 13:11:14 PDT
Comment on
attachment 101331
[details]
Patch Hm. I'm not convinced this is a win, since it will allow us to generate what would be (IMO) buggy overrides files that do contain duplicates that we wouldn't notice. Perhaps there is another way to do this, that would distinguish when you were parsing a block of updates that needed to be self-consistent from when you were updating entries one at a time, and you did want the last-one-wins behavior?
Adam Barth
Comment 4
2011-07-19 15:21:10 PDT
Sounds like we need more discussion here.
Dirk Pranke
Comment 5
2011-07-19 15:54:54 PDT
Per further discussion w/ dimitri, I can see how if we create an object that manages the "view" (in the database sense, not the MVC sense) that can deal with lines as a set, we can pull this logic out of here. This change will potentially break things in the short term (since you can put overrides in with duplicates that won't be caught) but the risk of this seems low.
Dimitri Glazkov (Google)
Comment 6
2011-08-03 11:08:53 PDT
Comment on
attachment 101331
[details]
Patch Turns out I don't need this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug