| Differences between
and this patch
- a/Source/WebCore/ChangeLog +15 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2018-04-21  Dean Jackson  <dino@apple.com>
2
3
        Expose whether you've build with the Apple Internal SDK
4
        https://bugs.webkit.org/show_bug.cgi?id=184864
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Internals API to let a test know if it is running with the
9
        Apple internal SDK.
10
11
        * testing/Internals.cpp:
12
        (WebCore::usingAppleInternalSDK const):
13
        * testing/Internals.h:
14
        * testing/Internals.idl:
15
1
2018-04-20  Nan Wang  <n_wang@apple.com>
16
2018-04-20  Nan Wang  <n_wang@apple.com>
2
17
3
        AX: AOM does not work with DOM Level 1 events
18
        AX: AOM does not work with DOM Level 1 events
- a/Source/WebCore/testing/Internals.cpp +9 lines
Lines 4495-4498 bool Internals::isSystemPreviewImage(Element& element) const a/Source/WebCore/testing/Internals.cpp_sec1
4495
    return false;
4495
    return false;
4496
}
4496
}
4497
4497
4498
bool usingAppleInternalSDK() const
4499
{
4500
#if USE(APPLE_INTERNAL_SDK)
4501
    return true;
4502
#else
4503
    return false;
4504
#endif
4505
}
4506
4498
} // namespace WebCore
4507
} // namespace WebCore
- a/Source/WebCore/testing/Internals.h +2 lines
Lines 661-666 public: a/Source/WebCore/testing/Internals.h_sec1
661
    bool isSystemPreviewLink(Element&) const;
661
    bool isSystemPreviewLink(Element&) const;
662
    bool isSystemPreviewImage(Element&) const;
662
    bool isSystemPreviewImage(Element&) const;
663
663
664
    bool usingAppleInternalSDK() const;
665
664
private:
666
private:
665
    explicit Internals(Document&);
667
    explicit Internals(Document&);
666
    Document* contextDocument() const;
668
    Document* contextDocument() const;
- a/Source/WebCore/testing/Internals.idl +2 lines
Lines 592-595 enum EventThrottlingBehavior { a/Source/WebCore/testing/Internals.idl_sec1
592
    DOMString systemPreviewRelType();
592
    DOMString systemPreviewRelType();
593
    boolean isSystemPreviewLink(Element element);
593
    boolean isSystemPreviewLink(Element element);
594
    boolean isSystemPreviewImage(Element element);
594
    boolean isSystemPreviewImage(Element element);
595
596
    boolean usingAppleInternalSDK();
595
};
597
};

Return to Bug 184864