WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145281
Add an "initiated by user gesture" flag to ResourceRequest
https://bugs.webkit.org/show_bug.cgi?id=145281
Summary
Add an "initiated by user gesture" flag to ResourceRequest
Brady Eidson
Reported
2015-05-21 13:20:56 PDT
Add an "initiated by user gesture" flag to ResourceRequest This is in support of
https://bugs.webkit.org/show_bug.cgi?id=145280
, and will be tested along with that bug.
Attachments
Patch v1
(17.41 KB, patch)
2015-05-21 13:55 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch v2 - Less WK1 test crashing
(18.89 KB, patch)
2015-05-21 14:36 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Patch v3 - More iOS building
(19.45 KB, patch)
2015-05-21 15:01 PDT
,
Brady Eidson
achristensen
: review+
Details
Formatted Diff
Diff
Patch for landing.
(19.37 KB, patch)
2015-05-21 16:46 PDT
,
Brady Eidson
no flags
Details
Formatted Diff
Diff
Followup to fix WCSI/WSI misusage - v1
(9.16 KB, patch)
2015-05-22 10:11 PDT
,
Brady Eidson
mitz: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2015-05-21 13:55:07 PDT
Created
attachment 253540
[details]
Patch v1
Brady Eidson
Comment 2
2015-05-21 14:36:31 PDT
Created
attachment 253544
[details]
Patch v2 - Less WK1 test crashing
Brady Eidson
Comment 3
2015-05-21 15:01:19 PDT
Created
attachment 253546
[details]
Patch v3 - More iOS building
Alex Christensen
Comment 4
2015-05-21 16:41:22 PDT
Comment on
attachment 253546
[details]
Patch v3 - More iOS building View in context:
https://bugs.webkit.org/attachment.cgi?id=253546&action=review
> Source/WebCore/platform/mac/WebCoreSystemInterface.h:321 > +#if PLATFORM(COCOA)
PLATFORM(COCOA) shouldn't be needed in platform/mac
> Source/WebCore/platform/mac/WebCoreSystemInterface.mm:173 > +#if PLATFORM(COCOA)
shouldn't be needed.
> Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:211 > +#if PLATFORM(COCOA)
shouldn't be needed.
Brady Eidson
Comment 5
2015-05-21 16:46:58 PDT
Created
attachment 253552
[details]
Patch for landing.
WebKit Commit Bot
Comment 6
2015-05-21 17:36:04 PDT
Comment on
attachment 253552
[details]
Patch for landing. Clearing flags on attachment: 253552 Committed
r184741
: <
http://trac.webkit.org/changeset/184741
>
mitz
Comment 7
2015-05-22 08:46:08 PDT
Comment on
attachment 253546
[details]
Patch v3 - More iOS building View in context:
https://bugs.webkit.org/attachment.cgi?id=253546&action=review
> Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:31 >
WebSystemInterface exists solely for binding symbols from libWebKitSystemInterface. It’s unnecessary and inappropriate to use it for this.
Brady Eidson
Comment 8
2015-05-22 09:06:22 PDT
(In reply to
comment #7
)
> Comment on
attachment 253546
[details]
> Patch v3 - More iOS building > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=253546&action=review
> > > Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:31 > > > > WebSystemInterface exists solely for binding symbols from > libWebKitSystemInterface. It’s unnecessary and inappropriate to use it for > this.
I was not aware that it was inappropriate, as I haven't seen that documented anywhere. I would like to here the obviously better alternative that makes it unnecessary, as I was unable to figure another obvious way for WebCore to have access to a static string provided by WebKit. There might *be* an obvious way, I just don't know what it is off hand.
Brady Eidson
Comment 9
2015-05-22 09:34:21 PDT
(In reply to
comment #8
)
> (In reply to
comment #7
) > > Comment on
attachment 253546
[details]
> > Patch v3 - More iOS building > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=253546&action=review
> > > > > Source/WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:31 > > > > > > > WebSystemInterface exists solely for binding symbols from > > libWebKitSystemInterface. It’s unnecessary and inappropriate to use it for > > this. > > I was not aware that it was inappropriate, as I haven't seen that documented > anywhere. > > I would like to here the obviously better alternative that makes it > unnecessary, as I was unable to figure another obvious way for WebCore to > have access to a static string provided by WebKit. > > There might *be* an obvious way, I just don't know what it is off hand.
I realize now that I shifted strategies partway through my patch in a way that no longer required the string to be WebKit provided, and in fact it can live in WebCore. Will fix.
Brady Eidson
Comment 10
2015-05-22 10:11:56 PDT
Created
attachment 253594
[details]
Followup to fix WCSI/WSI misusage - v1
Brady Eidson
Comment 11
2015-05-22 10:24:32 PDT
http://trac.webkit.org/changeset/184775
Alexey Proskuryakov
Comment 12
2015-05-22 11:58:43 PDT
Trying to fix the build in
r184783
.
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